From bff4ee7b6c0e93cc216b0c1bf6ddf5060d30acf9 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:09:29 -0700 Subject: [PATCH 01/10] 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/.openapi-generator/FILES | 354 ++ .../FastCommentsSwift/APIs/DefaultAPI.swift | 900 ++-- .../APIs/ModerationAPI.swift | 672 ++- client/FastCommentsSwift/APIs/PublicAPI.swift | 440 +- .../URLSessionImplementations.swift | 116 +- .../Models/AddHashTagResponse.swift | 61 + .../Models/AddHashTagsBulkResponse.swift | 61 + .../AggregateQuestionResultsResponse1.swift | 61 + .../BlockFromCommentPublicResponse.swift | 62 + .../Models/BlockUserFromCommentResponse.swift | 62 + ...ulkAggregateQuestionResultsResponse1.swift | 62 + .../Models/ChangeTicketStateResponse1.swift | 61 + .../CheckedCommentsForBlockedResponse.swift | 62 + ...eCommentsWithQuestionResultsResponse.swift | 61 + .../Models/CreateCommentPublicResponse.swift | 74 + .../Models/CreateEmailTemplateResponse1.swift | 61 + .../Models/CreateFeedPostPublicResponse.swift | 61 + .../Models/CreateFeedPostResponse1.swift | 61 + .../Models/CreateModeratorResponse1.swift | 61 + .../CreateQuestionConfigResponse1.swift | 61 + .../CreateQuestionResultResponse1.swift | 61 + .../Models/CreateTenantPackageResponse1.swift | 61 + .../Models/CreateTenantResponse1.swift | 61 + .../Models/CreateTenantUserResponse1.swift | 61 + .../Models/CreateTicketResponse1.swift | 61 + .../Models/CreateUserBadgeResponse.swift | 65 + .../Models/CreateV1PageReactResponse.swift | 57 + .../Models/CreateV2PageReactResponse.swift | 57 + .../Models/CreateVoteResponse.swift | 73 + .../Models/DeleteCommentPublicResponse.swift | 65 + .../Models/DeleteCommentResponse.swift | 61 + .../Models/DeleteCommentVoteResponse.swift | 61 + ...leteEmailTemplateRenderErrorResponse.swift | 57 + .../Models/DeleteEmailTemplateResponse.swift | 57 + .../Models/DeleteFeedPostPublicResponse.swift | 32 +- .../DeleteFeedPostPublicResponseAnyOf.swift | 29 + .../Models/DeleteHashTagResponse.swift | 57 + .../Models/DeleteModerationVoteResponse.swift | 61 + .../Models/DeleteModeratorResponse.swift | 57 + .../DeleteNotificationCountResponse.swift | 57 + .../DeletePendingWebhookEventResponse.swift | 57 + .../Models/DeleteQuestionConfigResponse.swift | 57 + .../Models/DeleteQuestionResultResponse.swift | 57 + .../Models/DeleteTenantPackageResponse.swift | 57 + .../Models/DeleteTenantResponse.swift | 57 + .../Models/DeleteTenantUserResponse.swift | 57 + .../Models/DeleteUserBadgeResponse.swift | 57 + .../Models/DeleteV1PageReactResponse.swift | 57 + .../Models/DeleteV2PageReactResponse.swift | 57 + .../Models/DeleteVoteResponse.swift | 61 + .../Models/FlagCommentPublicResponse.swift | 57 + .../Models/FlagCommentResponse1.swift | 65 + .../Models/GetApiCommentsResponse.swift | 69 + .../Models/GetApiExportStatusResponse.swift | 69 + .../Models/GetApiIdsResponse.swift | 65 + .../Models/GetAuditLogsResponse1.swift | 61 + .../GetBanUsersFromCommentResponse.swift | 61 + .../GetCachedNotificationCountResponse1.swift | 61 + .../Models/GetCommentBanStatusResponse1.swift | 65 + .../Models/GetCommentChildrenResponse.swift | 61 + .../Models/GetCommentResponse.swift | 61 + .../Models/GetCommentTextResponse1.swift | 65 + .../GetCommentVoteUserNamesResponse.swift | 65 + .../Models/GetCommentsForUserResponse1.swift | 61 + .../Models/GetCommentsPublicResponse.swift | 150 + .../Models/GetCommentsResponse.swift | 61 + .../Models/GetCountResponse.swift | 61 + .../Models/GetCountsResponse.swift | 61 + ...GetEmailTemplateDefinitionsResponse1.swift | 61 + ...etEmailTemplateRenderErrorsResponse1.swift | 61 + .../Models/GetEmailTemplateResponse1.swift | 61 + .../Models/GetEmailTemplatesResponse1.swift | 61 + .../Models/GetEventLogResponse1.swift | 61 + .../Models/GetFeedPostsPublicResponse.swift | 81 + .../Models/GetFeedPostsResponse1.swift | 61 + .../Models/GetFeedPostsStatsResponse.swift | 61 + .../Models/GetGifLargeResponse.swift | 61 + .../Models/GetGifsSearchResponse.swift | 28 +- .../Models/GetGlobalEventLogResponse.swift | 61 + .../Models/GetHashTagsResponse1.swift | 61 + .../Models/GetLogsResponse.swift | 61 + .../GetManualBadgesForUserResponse.swift | 61 + .../Models/GetManualBadgesResponse.swift | 61 + .../Models/GetModerationCommentResponse.swift | 61 + .../GetModerationCommentTextResponse.swift | 61 + .../Models/GetModeratorResponse1.swift | 61 + .../Models/GetModeratorsResponse1.swift | 61 + .../GetNotificationCountResponse1.swift | 61 + .../Models/GetNotificationsResponse1.swift | 61 + .../Models/GetOfflineUsersResponse.swift | 69 + .../Models/GetOnlineUsersResponse.swift | 77 + .../Models/GetPagesPublicResponse.swift | 65 + ...GetPendingWebhookEventCountResponse1.swift | 61 + .../GetPendingWebhookEventsResponse1.swift | 61 + .../Models/GetPreBanSummaryResponse.swift | 65 + .../Models/GetQuestionConfigResponse1.swift | 61 + .../Models/GetQuestionConfigsResponse1.swift | 61 + .../Models/GetQuestionResultResponse1.swift | 61 + .../Models/GetQuestionResultsResponse1.swift | 61 + .../GetSearchCommentsSummaryResponse.swift | 61 + .../Models/GetSearchPagesResponse.swift | 61 + .../Models/GetSearchSitesResponse.swift | 61 + .../Models/GetSearchSuggestResponse.swift | 65 + .../Models/GetSearchUsersResponse.swift | 61 + .../GetTenantDailyUsagesResponse1.swift | 61 + .../Models/GetTenantPackageResponse1.swift | 61 + .../Models/GetTenantPackagesResponse1.swift | 61 + .../Models/GetTenantResponse1.swift | 61 + .../Models/GetTenantUserResponse1.swift | 61 + .../Models/GetTenantUsersResponse1.swift | 61 + .../Models/GetTenantsResponse1.swift | 61 + .../Models/GetTicketResponse1.swift | 65 + .../Models/GetTicketsResponse1.swift | 61 + .../Models/GetTranslationsResponse1.swift | 62 + .../Models/GetTrustFactorResponse.swift | 65 + .../GetUserBadgeProgressByIdResponse.swift | 61 + ...GetUserBadgeProgressByUserIdResponse.swift | 61 + .../GetUserBadgeProgressListResponse.swift | 61 + .../Models/GetUserBadgeResponse.swift | 61 + .../Models/GetUserBadgesResponse.swift | 61 + .../Models/GetUserBanPreferenceResponse.swift | 61 + .../GetUserInternalProfileResponse1.swift | 61 + .../GetUserNotificationCountResponse1.swift | 61 + .../Models/GetUserNotificationsResponse.swift | 74 + .../GetUserPresenceStatusesResponse1.swift | 62 + .../Models/GetUserReactsPublicResponse.swift | 61 + .../Models/GetUserResponse1.swift | 61 + .../Models/GetUsersInfoResponse.swift | 61 + .../Models/GetV1PageLikesResponse.swift | 73 + .../Models/GetV2PageReactUsersResponse1.swift | 61 + .../Models/GetV2PageReactsResponse.swift | 66 + .../Models/GetVotesForUserResponse1.swift | 69 + .../Models/GetVotesResponse1.swift | 69 + .../Models/LockCommentResponse.swift | 57 + .../Models/PatchHashTagResponse.swift | 61 + .../Models/PinCommentResponse.swift | 62 + .../PostAdjustCommentVotesResponse.swift | 61 + .../Models/PostApiExportResponse.swift | 61 + .../PostBanUserFromCommentResponse.swift | 61 + .../Models/PostBanUserUndoResponse.swift | 57 + .../PostBulkPreBanSummaryResponse.swift | 77 + .../Models/PostCommentsByIdsResponse.swift | 61 + .../Models/PostFlagCommentResponse.swift | 57 + .../Models/PostRemoveCommentResponse.swift | 38 +- .../PostRestoreDeletedCommentResponse.swift | 57 + ...PostSetCommentApprovalStatusResponse.swift | 61 + .../PostSetCommentReviewStatusResponse.swift | 57 + .../PostSetCommentSpamStatusResponse.swift | 57 + .../Models/PostSetCommentTextResponse.swift | 61 + .../Models/PostUnFlagCommentResponse.swift | 57 + .../Models/PostVoteResponse.swift | 73 + .../Models/PutAwardBadgeResponse.swift | 65 + .../Models/PutCloseThreadResponse.swift | 57 + .../Models/PutRemoveBadgeResponse.swift | 61 + .../Models/PutReopenThreadResponse.swift | 57 + .../Models/ReactFeedPostPublicResponse.swift | 65 + .../Models/RenderEmailTemplateResponse1.swift | 61 + .../Models/ReplaceTenantPackageResponse.swift | 57 + .../Models/ReplaceTenantUserResponse.swift | 57 + .../ResetUserNotificationCountResponse.swift | 57 + .../ResetUserNotificationsResponse1.swift | 57 + .../Models/SaveCommentResponse.swift | 70 + .../Models/SearchUsersResponse1.swift | 65 + .../Models/SendInviteResponse.swift | 57 + .../Models/SendLoginLinkResponse.swift | 57 + .../Models/SetCommentTextResponse1.swift | 61 + .../Models/SetTrustFactorResponse.swift | 61 + .../Models/UnBlockCommentPublicResponse.swift | 62 + .../UnBlockUserFromCommentResponse.swift | 62 + .../Models/UnFlagCommentResponse.swift | 65 + .../Models/UnLockCommentResponse.swift | 57 + .../Models/UnPinCommentResponse.swift | 62 + .../Models/UpdateCommentResponse.swift | 57 + .../Models/UpdateEmailTemplateResponse.swift | 57 + .../Models/UpdateFeedPostPublicResponse.swift | 61 + .../Models/UpdateFeedPostResponse.swift | 57 + .../Models/UpdateModeratorResponse.swift | 57 + .../Models/UpdateNotificationResponse.swift | 57 + .../Models/UpdateQuestionConfigResponse.swift | 57 + .../Models/UpdateQuestionResultResponse.swift | 57 + .../Models/UpdateTenantPackageResponse.swift | 57 + .../Models/UpdateTenantResponse.swift | 57 + .../Models/UpdateTenantUserResponse.swift | 57 + .../Models/UpdateUserBadgeResponse.swift | 57 + ...ionCommentSubscriptionStatusResponse.swift | 30 +- ...cationPageSubscriptionStatusResponse.swift | 30 +- ...UpdateUserNotificationStatusResponse.swift | 30 +- .../Models/VoteCommentResponse.swift | 73 + client/README.md | 177 + client/docs/AddHashTagResponse.md | 18 + client/docs/AddHashTagsBulkResponse.md | 18 + .../docs/AggregateQuestionResultsResponse1.md | 18 + client/docs/BlockFromCommentPublicResponse.md | 18 + client/docs/BlockUserFromCommentResponse.md | 18 + .../BulkAggregateQuestionResultsResponse1.md | 18 + client/docs/ChangeTicketStateResponse1.md | 18 + .../docs/CheckedCommentsForBlockedResponse.md | 18 + ...bineCommentsWithQuestionResultsResponse.md | 18 + client/docs/CreateCommentPublicResponse.md | 21 + client/docs/CreateEmailTemplateResponse1.md | 18 + client/docs/CreateFeedPostPublicResponse.md | 18 + client/docs/CreateFeedPostResponse1.md | 18 + client/docs/CreateModeratorResponse1.md | 18 + client/docs/CreateQuestionConfigResponse1.md | 18 + client/docs/CreateQuestionResultResponse1.md | 18 + client/docs/CreateTenantPackageResponse1.md | 18 + client/docs/CreateTenantResponse1.md | 18 + client/docs/CreateTenantUserResponse1.md | 18 + client/docs/CreateTicketResponse1.md | 18 + client/docs/CreateUserBadgeResponse.md | 19 + client/docs/CreateV1PageReactResponse.md | 17 + client/docs/CreateV2PageReactResponse.md | 17 + client/docs/CreateVoteResponse.md | 21 + client/docs/DefaultAPI.md | 360 +- client/docs/DeleteCommentPublicResponse.md | 19 + client/docs/DeleteCommentResponse.md | 18 + client/docs/DeleteCommentVoteResponse.md | 18 + .../DeleteEmailTemplateRenderErrorResponse.md | 17 + client/docs/DeleteEmailTemplateResponse.md | 17 + client/docs/DeleteFeedPostPublicResponse.md | 7 + .../docs/DeleteFeedPostPublicResponseAnyOf.md | 10 + client/docs/DeleteHashTagResponse.md | 17 + client/docs/DeleteModerationVoteResponse.md | 18 + client/docs/DeleteModeratorResponse.md | 17 + .../docs/DeleteNotificationCountResponse.md | 17 + .../docs/DeletePendingWebhookEventResponse.md | 17 + client/docs/DeleteQuestionConfigResponse.md | 17 + client/docs/DeleteQuestionResultResponse.md | 17 + client/docs/DeleteTenantPackageResponse.md | 17 + client/docs/DeleteTenantResponse.md | 17 + client/docs/DeleteTenantUserResponse.md | 17 + client/docs/DeleteUserBadgeResponse.md | 17 + client/docs/DeleteV1PageReactResponse.md | 17 + client/docs/DeleteV2PageReactResponse.md | 17 + client/docs/DeleteVoteResponse.md | 18 + client/docs/FlagCommentPublicResponse.md | 17 + client/docs/FlagCommentResponse1.md | 19 + client/docs/GetApiCommentsResponse.md | 20 + client/docs/GetApiExportStatusResponse.md | 20 + client/docs/GetApiIdsResponse.md | 19 + client/docs/GetAuditLogsResponse1.md | 18 + client/docs/GetBanUsersFromCommentResponse.md | 18 + .../GetCachedNotificationCountResponse1.md | 18 + client/docs/GetCommentBanStatusResponse1.md | 19 + client/docs/GetCommentChildrenResponse.md | 18 + client/docs/GetCommentResponse.md | 18 + client/docs/GetCommentTextResponse1.md | 19 + .../docs/GetCommentVoteUserNamesResponse.md | 19 + client/docs/GetCommentsForUserResponse1.md | 18 + client/docs/GetCommentsPublicResponse.md | 40 + client/docs/GetCommentsResponse.md | 18 + client/docs/GetCountResponse.md | 18 + client/docs/GetCountsResponse.md | 18 + .../GetEmailTemplateDefinitionsResponse1.md | 18 + .../GetEmailTemplateRenderErrorsResponse1.md | 18 + client/docs/GetEmailTemplateResponse1.md | 18 + client/docs/GetEmailTemplatesResponse1.md | 18 + client/docs/GetEventLogResponse1.md | 18 + client/docs/GetFeedPostsPublicResponse.md | 23 + client/docs/GetFeedPostsResponse1.md | 18 + client/docs/GetFeedPostsStatsResponse.md | 18 + client/docs/GetGifLargeResponse.md | 18 + client/docs/GetGifsSearchResponse.md | 6 + client/docs/GetGlobalEventLogResponse.md | 18 + client/docs/GetHashTagsResponse1.md | 18 + client/docs/GetLogsResponse.md | 18 + client/docs/GetManualBadgesForUserResponse.md | 18 + client/docs/GetManualBadgesResponse.md | 18 + client/docs/GetModerationCommentResponse.md | 18 + .../docs/GetModerationCommentTextResponse.md | 18 + client/docs/GetModeratorResponse1.md | 18 + client/docs/GetModeratorsResponse1.md | 18 + client/docs/GetNotificationCountResponse1.md | 18 + client/docs/GetNotificationsResponse1.md | 18 + client/docs/GetOfflineUsersResponse.md | 20 + client/docs/GetOnlineUsersResponse.md | 22 + client/docs/GetPagesPublicResponse.md | 19 + .../GetPendingWebhookEventCountResponse1.md | 18 + .../docs/GetPendingWebhookEventsResponse1.md | 18 + client/docs/GetPreBanSummaryResponse.md | 19 + client/docs/GetQuestionConfigResponse1.md | 18 + client/docs/GetQuestionConfigsResponse1.md | 18 + client/docs/GetQuestionResultResponse1.md | 18 + client/docs/GetQuestionResultsResponse1.md | 18 + .../docs/GetSearchCommentsSummaryResponse.md | 18 + client/docs/GetSearchPagesResponse.md | 18 + client/docs/GetSearchSitesResponse.md | 18 + client/docs/GetSearchSuggestResponse.md | 19 + client/docs/GetSearchUsersResponse.md | 18 + client/docs/GetTenantDailyUsagesResponse1.md | 18 + client/docs/GetTenantPackageResponse1.md | 18 + client/docs/GetTenantPackagesResponse1.md | 18 + client/docs/GetTenantResponse1.md | 18 + client/docs/GetTenantUserResponse1.md | 18 + client/docs/GetTenantUsersResponse1.md | 18 + client/docs/GetTenantsResponse1.md | 18 + client/docs/GetTicketResponse1.md | 19 + client/docs/GetTicketsResponse1.md | 18 + client/docs/GetTranslationsResponse1.md | 18 + client/docs/GetTrustFactorResponse.md | 19 + .../docs/GetUserBadgeProgressByIdResponse.md | 18 + .../GetUserBadgeProgressByUserIdResponse.md | 18 + .../docs/GetUserBadgeProgressListResponse.md | 18 + client/docs/GetUserBadgeResponse.md | 18 + client/docs/GetUserBadgesResponse.md | 18 + client/docs/GetUserBanPreferenceResponse.md | 18 + .../docs/GetUserInternalProfileResponse1.md | 18 + .../docs/GetUserNotificationCountResponse1.md | 18 + client/docs/GetUserNotificationsResponse.md | 21 + .../docs/GetUserPresenceStatusesResponse1.md | 18 + client/docs/GetUserReactsPublicResponse.md | 18 + client/docs/GetUserResponse1.md | 18 + client/docs/GetUsersInfoResponse.md | 18 + client/docs/GetV1PageLikesResponse.md | 21 + client/docs/GetV2PageReactUsersResponse1.md | 18 + client/docs/GetV2PageReactsResponse.md | 19 + client/docs/GetVotesForUserResponse1.md | 20 + client/docs/GetVotesResponse1.md | 20 + client/docs/LockCommentResponse.md | 17 + client/docs/ModerationAPI.md | 364 +- client/docs/PatchHashTagResponse.md | 18 + client/docs/PinCommentResponse.md | 18 + client/docs/PostAdjustCommentVotesResponse.md | 18 + client/docs/PostApiExportResponse.md | 18 + client/docs/PostBanUserFromCommentResponse.md | 18 + client/docs/PostBanUserUndoResponse.md | 17 + client/docs/PostBulkPreBanSummaryResponse.md | 22 + client/docs/PostCommentsByIdsResponse.md | 18 + client/docs/PostFlagCommentResponse.md | 17 + client/docs/PostRemoveCommentResponse.md | 11 +- .../docs/PostRestoreDeletedCommentResponse.md | 17 + .../PostSetCommentApprovalStatusResponse.md | 18 + .../PostSetCommentReviewStatusResponse.md | 17 + .../docs/PostSetCommentSpamStatusResponse.md | 17 + client/docs/PostSetCommentTextResponse.md | 18 + client/docs/PostUnFlagCommentResponse.md | 17 + client/docs/PostVoteResponse.md | 21 + client/docs/PublicAPI.md | 176 +- client/docs/PutAwardBadgeResponse.md | 19 + client/docs/PutCloseThreadResponse.md | 17 + client/docs/PutRemoveBadgeResponse.md | 18 + client/docs/PutReopenThreadResponse.md | 17 + client/docs/ReactFeedPostPublicResponse.md | 19 + client/docs/RenderEmailTemplateResponse1.md | 18 + client/docs/ReplaceTenantPackageResponse.md | 17 + client/docs/ReplaceTenantUserResponse.md | 17 + .../ResetUserNotificationCountResponse.md | 17 + .../docs/ResetUserNotificationsResponse1.md | 17 + client/docs/SaveCommentResponse.md | 20 + client/docs/SearchUsersResponse1.md | 19 + client/docs/SendInviteResponse.md | 17 + client/docs/SendLoginLinkResponse.md | 17 + client/docs/SetCommentTextResponse1.md | 18 + client/docs/SetTrustFactorResponse.md | 18 + client/docs/UnBlockCommentPublicResponse.md | 18 + client/docs/UnBlockUserFromCommentResponse.md | 18 + client/docs/UnFlagCommentResponse.md | 19 + client/docs/UnLockCommentResponse.md | 17 + client/docs/UnPinCommentResponse.md | 18 + client/docs/UpdateCommentResponse.md | 17 + client/docs/UpdateEmailTemplateResponse.md | 17 + client/docs/UpdateFeedPostPublicResponse.md | 18 + client/docs/UpdateFeedPostResponse.md | 17 + client/docs/UpdateModeratorResponse.md | 17 + client/docs/UpdateNotificationResponse.md | 17 + client/docs/UpdateQuestionConfigResponse.md | 17 + client/docs/UpdateQuestionResultResponse.md | 17 + client/docs/UpdateTenantPackageResponse.md | 17 + client/docs/UpdateTenantResponse.md | 17 + client/docs/UpdateTenantUserResponse.md | 17 + client/docs/UpdateUserBadgeResponse.md | 17 + ...cationCommentSubscriptionStatusResponse.md | 7 + ...ificationPageSubscriptionStatusResponse.md | 7 + .../UpdateUserNotificationStatusResponse.md | 7 + client/docs/VoteCommentResponse.md | 21 + openapi.json | 4082 +++++++++-------- 376 files changed, 18631 insertions(+), 3391 deletions(-) create mode 100644 client/FastCommentsSwift/Models/AddHashTagResponse.swift create mode 100644 client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift create mode 100644 client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift create mode 100644 client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift create mode 100644 client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateModeratorResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateTenantResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateTicketResponse1.swift create mode 100644 client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift create mode 100644 client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift create mode 100644 client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift create mode 100644 client/FastCommentsSwift/Models/CreateVoteResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift create mode 100644 client/FastCommentsSwift/Models/DeleteHashTagResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteModeratorResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteTenantResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift create mode 100644 client/FastCommentsSwift/Models/DeleteVoteResponse.swift create mode 100644 client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/FlagCommentResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetApiCommentsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetApiIdsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentTextResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCommentsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCountResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetCountsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetEventLogResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetGifLargeResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetHashTagsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetLogsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetManualBadgesResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetModerationCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetModeratorResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetModeratorsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetNotificationsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetPagesPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetSearchPagesResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetSearchSitesResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetSearchUsersResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantUserResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTenantsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTicketResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTicketsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTranslationsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetTrustFactorResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserBadgeResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserBadgesResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetUserResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetUsersInfoResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift create mode 100644 client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift create mode 100644 client/FastCommentsSwift/Models/GetVotesResponse1.swift create mode 100644 client/FastCommentsSwift/Models/LockCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/PatchHashTagResponse.swift create mode 100644 client/FastCommentsSwift/Models/PinCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostApiExportResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostFlagCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/PostVoteResponse.swift create mode 100644 client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift create mode 100644 client/FastCommentsSwift/Models/PutCloseThreadResponse.swift create mode 100644 client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift create mode 100644 client/FastCommentsSwift/Models/PutReopenThreadResponse.swift create mode 100644 client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift create mode 100644 client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift create mode 100644 client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift create mode 100644 client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift create mode 100644 client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift create mode 100644 client/FastCommentsSwift/Models/SaveCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/SearchUsersResponse1.swift create mode 100644 client/FastCommentsSwift/Models/SendInviteResponse.swift create mode 100644 client/FastCommentsSwift/Models/SendLoginLinkResponse.swift create mode 100644 client/FastCommentsSwift/Models/SetCommentTextResponse1.swift create mode 100644 client/FastCommentsSwift/Models/SetTrustFactorResponse.swift create mode 100644 client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/UnFlagCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/UnLockCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/UnPinCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateCommentResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateModeratorResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateNotificationResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateTenantResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift create mode 100644 client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift create mode 100644 client/FastCommentsSwift/Models/VoteCommentResponse.swift create mode 100644 client/docs/AddHashTagResponse.md create mode 100644 client/docs/AddHashTagsBulkResponse.md create mode 100644 client/docs/AggregateQuestionResultsResponse1.md create mode 100644 client/docs/BlockFromCommentPublicResponse.md create mode 100644 client/docs/BlockUserFromCommentResponse.md create mode 100644 client/docs/BulkAggregateQuestionResultsResponse1.md create mode 100644 client/docs/ChangeTicketStateResponse1.md create mode 100644 client/docs/CheckedCommentsForBlockedResponse.md create mode 100644 client/docs/CombineCommentsWithQuestionResultsResponse.md create mode 100644 client/docs/CreateCommentPublicResponse.md create mode 100644 client/docs/CreateEmailTemplateResponse1.md create mode 100644 client/docs/CreateFeedPostPublicResponse.md create mode 100644 client/docs/CreateFeedPostResponse1.md create mode 100644 client/docs/CreateModeratorResponse1.md create mode 100644 client/docs/CreateQuestionConfigResponse1.md create mode 100644 client/docs/CreateQuestionResultResponse1.md create mode 100644 client/docs/CreateTenantPackageResponse1.md create mode 100644 client/docs/CreateTenantResponse1.md create mode 100644 client/docs/CreateTenantUserResponse1.md create mode 100644 client/docs/CreateTicketResponse1.md create mode 100644 client/docs/CreateUserBadgeResponse.md create mode 100644 client/docs/CreateV1PageReactResponse.md create mode 100644 client/docs/CreateV2PageReactResponse.md create mode 100644 client/docs/CreateVoteResponse.md create mode 100644 client/docs/DeleteCommentPublicResponse.md create mode 100644 client/docs/DeleteCommentResponse.md create mode 100644 client/docs/DeleteCommentVoteResponse.md create mode 100644 client/docs/DeleteEmailTemplateRenderErrorResponse.md create mode 100644 client/docs/DeleteEmailTemplateResponse.md create mode 100644 client/docs/DeleteFeedPostPublicResponseAnyOf.md create mode 100644 client/docs/DeleteHashTagResponse.md create mode 100644 client/docs/DeleteModerationVoteResponse.md create mode 100644 client/docs/DeleteModeratorResponse.md create mode 100644 client/docs/DeleteNotificationCountResponse.md create mode 100644 client/docs/DeletePendingWebhookEventResponse.md create mode 100644 client/docs/DeleteQuestionConfigResponse.md create mode 100644 client/docs/DeleteQuestionResultResponse.md create mode 100644 client/docs/DeleteTenantPackageResponse.md create mode 100644 client/docs/DeleteTenantResponse.md create mode 100644 client/docs/DeleteTenantUserResponse.md create mode 100644 client/docs/DeleteUserBadgeResponse.md create mode 100644 client/docs/DeleteV1PageReactResponse.md create mode 100644 client/docs/DeleteV2PageReactResponse.md create mode 100644 client/docs/DeleteVoteResponse.md create mode 100644 client/docs/FlagCommentPublicResponse.md create mode 100644 client/docs/FlagCommentResponse1.md create mode 100644 client/docs/GetApiCommentsResponse.md create mode 100644 client/docs/GetApiExportStatusResponse.md create mode 100644 client/docs/GetApiIdsResponse.md create mode 100644 client/docs/GetAuditLogsResponse1.md create mode 100644 client/docs/GetBanUsersFromCommentResponse.md create mode 100644 client/docs/GetCachedNotificationCountResponse1.md create mode 100644 client/docs/GetCommentBanStatusResponse1.md create mode 100644 client/docs/GetCommentChildrenResponse.md create mode 100644 client/docs/GetCommentResponse.md create mode 100644 client/docs/GetCommentTextResponse1.md create mode 100644 client/docs/GetCommentVoteUserNamesResponse.md create mode 100644 client/docs/GetCommentsForUserResponse1.md create mode 100644 client/docs/GetCommentsPublicResponse.md create mode 100644 client/docs/GetCommentsResponse.md create mode 100644 client/docs/GetCountResponse.md create mode 100644 client/docs/GetCountsResponse.md create mode 100644 client/docs/GetEmailTemplateDefinitionsResponse1.md create mode 100644 client/docs/GetEmailTemplateRenderErrorsResponse1.md create mode 100644 client/docs/GetEmailTemplateResponse1.md create mode 100644 client/docs/GetEmailTemplatesResponse1.md create mode 100644 client/docs/GetEventLogResponse1.md create mode 100644 client/docs/GetFeedPostsPublicResponse.md create mode 100644 client/docs/GetFeedPostsResponse1.md create mode 100644 client/docs/GetFeedPostsStatsResponse.md create mode 100644 client/docs/GetGifLargeResponse.md create mode 100644 client/docs/GetGlobalEventLogResponse.md create mode 100644 client/docs/GetHashTagsResponse1.md create mode 100644 client/docs/GetLogsResponse.md create mode 100644 client/docs/GetManualBadgesForUserResponse.md create mode 100644 client/docs/GetManualBadgesResponse.md create mode 100644 client/docs/GetModerationCommentResponse.md create mode 100644 client/docs/GetModerationCommentTextResponse.md create mode 100644 client/docs/GetModeratorResponse1.md create mode 100644 client/docs/GetModeratorsResponse1.md create mode 100644 client/docs/GetNotificationCountResponse1.md create mode 100644 client/docs/GetNotificationsResponse1.md create mode 100644 client/docs/GetOfflineUsersResponse.md create mode 100644 client/docs/GetOnlineUsersResponse.md create mode 100644 client/docs/GetPagesPublicResponse.md create mode 100644 client/docs/GetPendingWebhookEventCountResponse1.md create mode 100644 client/docs/GetPendingWebhookEventsResponse1.md create mode 100644 client/docs/GetPreBanSummaryResponse.md create mode 100644 client/docs/GetQuestionConfigResponse1.md create mode 100644 client/docs/GetQuestionConfigsResponse1.md create mode 100644 client/docs/GetQuestionResultResponse1.md create mode 100644 client/docs/GetQuestionResultsResponse1.md create mode 100644 client/docs/GetSearchCommentsSummaryResponse.md create mode 100644 client/docs/GetSearchPagesResponse.md create mode 100644 client/docs/GetSearchSitesResponse.md create mode 100644 client/docs/GetSearchSuggestResponse.md create mode 100644 client/docs/GetSearchUsersResponse.md create mode 100644 client/docs/GetTenantDailyUsagesResponse1.md create mode 100644 client/docs/GetTenantPackageResponse1.md create mode 100644 client/docs/GetTenantPackagesResponse1.md create mode 100644 client/docs/GetTenantResponse1.md create mode 100644 client/docs/GetTenantUserResponse1.md create mode 100644 client/docs/GetTenantUsersResponse1.md create mode 100644 client/docs/GetTenantsResponse1.md create mode 100644 client/docs/GetTicketResponse1.md create mode 100644 client/docs/GetTicketsResponse1.md create mode 100644 client/docs/GetTranslationsResponse1.md create mode 100644 client/docs/GetTrustFactorResponse.md create mode 100644 client/docs/GetUserBadgeProgressByIdResponse.md create mode 100644 client/docs/GetUserBadgeProgressByUserIdResponse.md create mode 100644 client/docs/GetUserBadgeProgressListResponse.md create mode 100644 client/docs/GetUserBadgeResponse.md create mode 100644 client/docs/GetUserBadgesResponse.md create mode 100644 client/docs/GetUserBanPreferenceResponse.md create mode 100644 client/docs/GetUserInternalProfileResponse1.md create mode 100644 client/docs/GetUserNotificationCountResponse1.md create mode 100644 client/docs/GetUserNotificationsResponse.md create mode 100644 client/docs/GetUserPresenceStatusesResponse1.md create mode 100644 client/docs/GetUserReactsPublicResponse.md create mode 100644 client/docs/GetUserResponse1.md create mode 100644 client/docs/GetUsersInfoResponse.md create mode 100644 client/docs/GetV1PageLikesResponse.md create mode 100644 client/docs/GetV2PageReactUsersResponse1.md create mode 100644 client/docs/GetV2PageReactsResponse.md create mode 100644 client/docs/GetVotesForUserResponse1.md create mode 100644 client/docs/GetVotesResponse1.md create mode 100644 client/docs/LockCommentResponse.md create mode 100644 client/docs/PatchHashTagResponse.md create mode 100644 client/docs/PinCommentResponse.md create mode 100644 client/docs/PostAdjustCommentVotesResponse.md create mode 100644 client/docs/PostApiExportResponse.md create mode 100644 client/docs/PostBanUserFromCommentResponse.md create mode 100644 client/docs/PostBanUserUndoResponse.md create mode 100644 client/docs/PostBulkPreBanSummaryResponse.md create mode 100644 client/docs/PostCommentsByIdsResponse.md create mode 100644 client/docs/PostFlagCommentResponse.md create mode 100644 client/docs/PostRestoreDeletedCommentResponse.md create mode 100644 client/docs/PostSetCommentApprovalStatusResponse.md create mode 100644 client/docs/PostSetCommentReviewStatusResponse.md create mode 100644 client/docs/PostSetCommentSpamStatusResponse.md create mode 100644 client/docs/PostSetCommentTextResponse.md create mode 100644 client/docs/PostUnFlagCommentResponse.md create mode 100644 client/docs/PostVoteResponse.md create mode 100644 client/docs/PutAwardBadgeResponse.md create mode 100644 client/docs/PutCloseThreadResponse.md create mode 100644 client/docs/PutRemoveBadgeResponse.md create mode 100644 client/docs/PutReopenThreadResponse.md create mode 100644 client/docs/ReactFeedPostPublicResponse.md create mode 100644 client/docs/RenderEmailTemplateResponse1.md create mode 100644 client/docs/ReplaceTenantPackageResponse.md create mode 100644 client/docs/ReplaceTenantUserResponse.md create mode 100644 client/docs/ResetUserNotificationCountResponse.md create mode 100644 client/docs/ResetUserNotificationsResponse1.md create mode 100644 client/docs/SaveCommentResponse.md create mode 100644 client/docs/SearchUsersResponse1.md create mode 100644 client/docs/SendInviteResponse.md create mode 100644 client/docs/SendLoginLinkResponse.md create mode 100644 client/docs/SetCommentTextResponse1.md create mode 100644 client/docs/SetTrustFactorResponse.md create mode 100644 client/docs/UnBlockCommentPublicResponse.md create mode 100644 client/docs/UnBlockUserFromCommentResponse.md create mode 100644 client/docs/UnFlagCommentResponse.md create mode 100644 client/docs/UnLockCommentResponse.md create mode 100644 client/docs/UnPinCommentResponse.md create mode 100644 client/docs/UpdateCommentResponse.md create mode 100644 client/docs/UpdateEmailTemplateResponse.md create mode 100644 client/docs/UpdateFeedPostPublicResponse.md create mode 100644 client/docs/UpdateFeedPostResponse.md create mode 100644 client/docs/UpdateModeratorResponse.md create mode 100644 client/docs/UpdateNotificationResponse.md create mode 100644 client/docs/UpdateQuestionConfigResponse.md create mode 100644 client/docs/UpdateQuestionResultResponse.md create mode 100644 client/docs/UpdateTenantPackageResponse.md create mode 100644 client/docs/UpdateTenantResponse.md create mode 100644 client/docs/UpdateTenantUserResponse.md create mode 100644 client/docs/UpdateUserBadgeResponse.md create mode 100644 client/docs/VoteCommentResponse.md diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 49cabea..ecbc237 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -54,11 +54,14 @@ FastCommentsSwift/Models/APIUserSubscription.swift FastCommentsSwift/Models/AddDomainConfigParams.swift FastCommentsSwift/Models/AddDomainConfigResponse.swift FastCommentsSwift/Models/AddDomainConfigResponseAnyOf.swift +FastCommentsSwift/Models/AddHashTagResponse.swift +FastCommentsSwift/Models/AddHashTagsBulkResponse.swift FastCommentsSwift/Models/AddPageAPIResponse.swift FastCommentsSwift/Models/AddSSOUserAPIResponse.swift FastCommentsSwift/Models/AdjustCommentVotesParams.swift FastCommentsSwift/Models/AdjustVotesResponse.swift FastCommentsSwift/Models/AggregateQuestionResultsResponse.swift +FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift FastCommentsSwift/Models/AggregateResponse.swift FastCommentsSwift/Models/AggregateTimeBucket.swift FastCommentsSwift/Models/AggregationAPIError.swift @@ -78,12 +81,15 @@ FastCommentsSwift/Models/BannedUserMatchMatchedOnValue.swift FastCommentsSwift/Models/BannedUserMatchType.swift FastCommentsSwift/Models/BillingInfo.swift FastCommentsSwift/Models/BlockFromCommentParams.swift +FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift FastCommentsSwift/Models/BlockSuccess.swift +FastCommentsSwift/Models/BlockUserFromCommentResponse.swift FastCommentsSwift/Models/BuildModerationFilterParams.swift FastCommentsSwift/Models/BuildModerationFilterResponse.swift FastCommentsSwift/Models/BulkAggregateQuestionItem.swift FastCommentsSwift/Models/BulkAggregateQuestionResultsRequest.swift FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse.swift +FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift FastCommentsSwift/Models/BulkCreateHashTagsBody.swift FastCommentsSwift/Models/BulkCreateHashTagsBodyTagsInner.swift FastCommentsSwift/Models/BulkCreateHashTagsResponse.swift @@ -93,7 +99,10 @@ FastCommentsSwift/Models/BulkPreBanSummary.swift FastCommentsSwift/Models/ChangeCommentPinStatusResponse.swift FastCommentsSwift/Models/ChangeTicketStateBody.swift FastCommentsSwift/Models/ChangeTicketStateResponse.swift +FastCommentsSwift/Models/ChangeTicketStateResponse1.swift FastCommentsSwift/Models/CheckBlockedCommentsResponse.swift +FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift +FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift FastCommentsSwift/Models/CombineQuestionResultsWithCommentsResponse.swift FastCommentsSwift/Models/CommentData.swift FastCommentsSwift/Models/CommentHTMLRenderingMode.swift @@ -113,40 +122,75 @@ FastCommentsSwift/Models/CreateAPIPageData.swift FastCommentsSwift/Models/CreateAPISSOUserData.swift FastCommentsSwift/Models/CreateAPIUserSubscriptionData.swift FastCommentsSwift/Models/CreateCommentParams.swift +FastCommentsSwift/Models/CreateCommentPublicResponse.swift FastCommentsSwift/Models/CreateEmailTemplateBody.swift FastCommentsSwift/Models/CreateEmailTemplateResponse.swift +FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift FastCommentsSwift/Models/CreateFeedPostParams.swift +FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift FastCommentsSwift/Models/CreateFeedPostResponse.swift +FastCommentsSwift/Models/CreateFeedPostResponse1.swift FastCommentsSwift/Models/CreateFeedPostsResponse.swift FastCommentsSwift/Models/CreateHashTagBody.swift FastCommentsSwift/Models/CreateHashTagResponse.swift FastCommentsSwift/Models/CreateModeratorBody.swift FastCommentsSwift/Models/CreateModeratorResponse.swift +FastCommentsSwift/Models/CreateModeratorResponse1.swift FastCommentsSwift/Models/CreateQuestionConfigBody.swift FastCommentsSwift/Models/CreateQuestionConfigResponse.swift +FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift FastCommentsSwift/Models/CreateQuestionResultBody.swift FastCommentsSwift/Models/CreateQuestionResultResponse.swift +FastCommentsSwift/Models/CreateQuestionResultResponse1.swift FastCommentsSwift/Models/CreateSubscriptionAPIResponse.swift FastCommentsSwift/Models/CreateTenantBody.swift FastCommentsSwift/Models/CreateTenantPackageBody.swift FastCommentsSwift/Models/CreateTenantPackageResponse.swift +FastCommentsSwift/Models/CreateTenantPackageResponse1.swift FastCommentsSwift/Models/CreateTenantResponse.swift +FastCommentsSwift/Models/CreateTenantResponse1.swift FastCommentsSwift/Models/CreateTenantUserBody.swift FastCommentsSwift/Models/CreateTenantUserResponse.swift +FastCommentsSwift/Models/CreateTenantUserResponse1.swift FastCommentsSwift/Models/CreateTicketBody.swift FastCommentsSwift/Models/CreateTicketResponse.swift +FastCommentsSwift/Models/CreateTicketResponse1.swift FastCommentsSwift/Models/CreateUserBadgeParams.swift +FastCommentsSwift/Models/CreateUserBadgeResponse.swift FastCommentsSwift/Models/CreateV1PageReact.swift +FastCommentsSwift/Models/CreateV1PageReactResponse.swift +FastCommentsSwift/Models/CreateV2PageReactResponse.swift +FastCommentsSwift/Models/CreateVoteResponse.swift FastCommentsSwift/Models/CustomConfigParameters.swift FastCommentsSwift/Models/CustomEmailTemplate.swift FastCommentsSwift/Models/DeleteCommentAction.swift +FastCommentsSwift/Models/DeleteCommentPublicResponse.swift +FastCommentsSwift/Models/DeleteCommentResponse.swift FastCommentsSwift/Models/DeleteCommentResult.swift +FastCommentsSwift/Models/DeleteCommentVoteResponse.swift FastCommentsSwift/Models/DeleteDomainConfigResponse.swift +FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift +FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift +FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift FastCommentsSwift/Models/DeleteHashTagRequestBody.swift +FastCommentsSwift/Models/DeleteHashTagResponse.swift +FastCommentsSwift/Models/DeleteModerationVoteResponse.swift +FastCommentsSwift/Models/DeleteModeratorResponse.swift +FastCommentsSwift/Models/DeleteNotificationCountResponse.swift FastCommentsSwift/Models/DeletePageAPIResponse.swift +FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift +FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift +FastCommentsSwift/Models/DeleteQuestionResultResponse.swift FastCommentsSwift/Models/DeleteSSOUserAPIResponse.swift FastCommentsSwift/Models/DeleteSubscriptionAPIResponse.swift +FastCommentsSwift/Models/DeleteTenantPackageResponse.swift +FastCommentsSwift/Models/DeleteTenantResponse.swift +FastCommentsSwift/Models/DeleteTenantUserResponse.swift +FastCommentsSwift/Models/DeleteUserBadgeResponse.swift +FastCommentsSwift/Models/DeleteV1PageReactResponse.swift +FastCommentsSwift/Models/DeleteV2PageReactResponse.swift +FastCommentsSwift/Models/DeleteVoteResponse.swift FastCommentsSwift/Models/DeletedCommentResultComment.swift FastCommentsSwift/Models/DigestEmailFrequency.swift FastCommentsSwift/Models/EmailTemplateDefinition.swift @@ -162,72 +206,154 @@ FastCommentsSwift/Models/FeedPostStats.swift FastCommentsSwift/Models/FeedPostsStatsResponse.swift FastCommentsSwift/Models/FindCommentsByRangeItem.swift FastCommentsSwift/Models/FindCommentsByRangeResponse.swift +FastCommentsSwift/Models/FlagCommentPublicResponse.swift FastCommentsSwift/Models/FlagCommentResponse.swift +FastCommentsSwift/Models/FlagCommentResponse1.swift +FastCommentsSwift/Models/GetApiCommentsResponse.swift +FastCommentsSwift/Models/GetApiExportStatusResponse.swift +FastCommentsSwift/Models/GetApiIdsResponse.swift FastCommentsSwift/Models/GetAuditLogsResponse.swift +FastCommentsSwift/Models/GetAuditLogsResponse1.swift +FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift FastCommentsSwift/Models/GetBannedUsersCountResponse.swift FastCommentsSwift/Models/GetBannedUsersFromCommentResponse.swift FastCommentsSwift/Models/GetCachedNotificationCountResponse.swift +FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift FastCommentsSwift/Models/GetCommentBanStatusResponse.swift +FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift +FastCommentsSwift/Models/GetCommentChildrenResponse.swift +FastCommentsSwift/Models/GetCommentResponse.swift FastCommentsSwift/Models/GetCommentTextResponse.swift +FastCommentsSwift/Models/GetCommentTextResponse1.swift +FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift FastCommentsSwift/Models/GetCommentVoteUserNamesSuccessResponse.swift FastCommentsSwift/Models/GetCommentsForUserResponse.swift +FastCommentsSwift/Models/GetCommentsForUserResponse1.swift +FastCommentsSwift/Models/GetCommentsPublicResponse.swift +FastCommentsSwift/Models/GetCommentsResponse.swift FastCommentsSwift/Models/GetCommentsResponsePublicComment.swift FastCommentsSwift/Models/GetCommentsResponseWithPresencePublicComment.swift +FastCommentsSwift/Models/GetCountResponse.swift +FastCommentsSwift/Models/GetCountsResponse.swift FastCommentsSwift/Models/GetDomainConfigResponse.swift FastCommentsSwift/Models/GetDomainConfigsResponse.swift FastCommentsSwift/Models/GetDomainConfigsResponseAnyOf.swift FastCommentsSwift/Models/GetDomainConfigsResponseAnyOf1.swift FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse.swift +FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse.swift +FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift FastCommentsSwift/Models/GetEmailTemplateResponse.swift +FastCommentsSwift/Models/GetEmailTemplateResponse1.swift FastCommentsSwift/Models/GetEmailTemplatesResponse.swift +FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift FastCommentsSwift/Models/GetEventLogResponse.swift +FastCommentsSwift/Models/GetEventLogResponse1.swift +FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift FastCommentsSwift/Models/GetFeedPostsResponse.swift +FastCommentsSwift/Models/GetFeedPostsResponse1.swift +FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift +FastCommentsSwift/Models/GetGifLargeResponse.swift FastCommentsSwift/Models/GetGifsSearchResponse.swift FastCommentsSwift/Models/GetGifsTrendingResponse.swift +FastCommentsSwift/Models/GetGlobalEventLogResponse.swift FastCommentsSwift/Models/GetHashTagsResponse.swift +FastCommentsSwift/Models/GetHashTagsResponse1.swift +FastCommentsSwift/Models/GetLogsResponse.swift +FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift +FastCommentsSwift/Models/GetManualBadgesResponse.swift +FastCommentsSwift/Models/GetModerationCommentResponse.swift +FastCommentsSwift/Models/GetModerationCommentTextResponse.swift FastCommentsSwift/Models/GetModeratorResponse.swift +FastCommentsSwift/Models/GetModeratorResponse1.swift FastCommentsSwift/Models/GetModeratorsResponse.swift +FastCommentsSwift/Models/GetModeratorsResponse1.swift FastCommentsSwift/Models/GetMyNotificationsResponse.swift FastCommentsSwift/Models/GetNotificationCountResponse.swift +FastCommentsSwift/Models/GetNotificationCountResponse1.swift FastCommentsSwift/Models/GetNotificationsResponse.swift +FastCommentsSwift/Models/GetNotificationsResponse1.swift +FastCommentsSwift/Models/GetOfflineUsersResponse.swift +FastCommentsSwift/Models/GetOnlineUsersResponse.swift FastCommentsSwift/Models/GetPageByURLIdAPIResponse.swift FastCommentsSwift/Models/GetPagesAPIResponse.swift +FastCommentsSwift/Models/GetPagesPublicResponse.swift FastCommentsSwift/Models/GetPendingWebhookEventCountResponse.swift +FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift FastCommentsSwift/Models/GetPendingWebhookEventsResponse.swift +FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift +FastCommentsSwift/Models/GetPreBanSummaryResponse.swift FastCommentsSwift/Models/GetPublicFeedPostsResponse.swift FastCommentsSwift/Models/GetPublicPagesResponse.swift FastCommentsSwift/Models/GetQuestionConfigResponse.swift +FastCommentsSwift/Models/GetQuestionConfigResponse1.swift FastCommentsSwift/Models/GetQuestionConfigsResponse.swift +FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift FastCommentsSwift/Models/GetQuestionResultResponse.swift +FastCommentsSwift/Models/GetQuestionResultResponse1.swift FastCommentsSwift/Models/GetQuestionResultsResponse.swift +FastCommentsSwift/Models/GetQuestionResultsResponse1.swift FastCommentsSwift/Models/GetSSOUserByEmailAPIResponse.swift FastCommentsSwift/Models/GetSSOUserByIdAPIResponse.swift FastCommentsSwift/Models/GetSSOUsersResponse.swift +FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift +FastCommentsSwift/Models/GetSearchPagesResponse.swift +FastCommentsSwift/Models/GetSearchSitesResponse.swift +FastCommentsSwift/Models/GetSearchSuggestResponse.swift +FastCommentsSwift/Models/GetSearchUsersResponse.swift FastCommentsSwift/Models/GetSubscriptionsAPIResponse.swift FastCommentsSwift/Models/GetTenantDailyUsagesResponse.swift +FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift FastCommentsSwift/Models/GetTenantManualBadgesResponse.swift FastCommentsSwift/Models/GetTenantPackageResponse.swift +FastCommentsSwift/Models/GetTenantPackageResponse1.swift FastCommentsSwift/Models/GetTenantPackagesResponse.swift +FastCommentsSwift/Models/GetTenantPackagesResponse1.swift FastCommentsSwift/Models/GetTenantResponse.swift +FastCommentsSwift/Models/GetTenantResponse1.swift FastCommentsSwift/Models/GetTenantUserResponse.swift +FastCommentsSwift/Models/GetTenantUserResponse1.swift FastCommentsSwift/Models/GetTenantUsersResponse.swift +FastCommentsSwift/Models/GetTenantUsersResponse1.swift FastCommentsSwift/Models/GetTenantsResponse.swift +FastCommentsSwift/Models/GetTenantsResponse1.swift FastCommentsSwift/Models/GetTicketResponse.swift +FastCommentsSwift/Models/GetTicketResponse1.swift FastCommentsSwift/Models/GetTicketsResponse.swift +FastCommentsSwift/Models/GetTicketsResponse1.swift FastCommentsSwift/Models/GetTranslationsResponse.swift +FastCommentsSwift/Models/GetTranslationsResponse1.swift +FastCommentsSwift/Models/GetTrustFactorResponse.swift +FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift +FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift +FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift +FastCommentsSwift/Models/GetUserBadgeResponse.swift +FastCommentsSwift/Models/GetUserBadgesResponse.swift +FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift FastCommentsSwift/Models/GetUserInternalProfileResponse.swift +FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift FastCommentsSwift/Models/GetUserInternalProfileResponseProfile.swift FastCommentsSwift/Models/GetUserManualBadgesResponse.swift FastCommentsSwift/Models/GetUserNotificationCountResponse.swift +FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift +FastCommentsSwift/Models/GetUserNotificationsResponse.swift FastCommentsSwift/Models/GetUserPresenceStatusesResponse.swift +FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift +FastCommentsSwift/Models/GetUserReactsPublicResponse.swift FastCommentsSwift/Models/GetUserResponse.swift +FastCommentsSwift/Models/GetUserResponse1.swift FastCommentsSwift/Models/GetUserTrustFactorResponse.swift +FastCommentsSwift/Models/GetUsersInfoResponse.swift FastCommentsSwift/Models/GetV1PageLikes.swift +FastCommentsSwift/Models/GetV1PageLikesResponse.swift FastCommentsSwift/Models/GetV2PageReactUsersResponse.swift +FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift FastCommentsSwift/Models/GetV2PageReacts.swift +FastCommentsSwift/Models/GetV2PageReactsResponse.swift FastCommentsSwift/Models/GetVotesForUserResponse.swift +FastCommentsSwift/Models/GetVotesForUserResponse1.swift FastCommentsSwift/Models/GetVotesResponse.swift +FastCommentsSwift/Models/GetVotesResponse1.swift FastCommentsSwift/Models/GifGetLargeResponse.swift FastCommentsSwift/Models/GifRating.swift FastCommentsSwift/Models/GifSearchInternalError.swift @@ -242,6 +368,7 @@ FastCommentsSwift/Models/ImportedSiteType.swift FastCommentsSwift/Models/LiveEvent.swift FastCommentsSwift/Models/LiveEventExtraInfo.swift FastCommentsSwift/Models/LiveEventType.swift +FastCommentsSwift/Models/LockCommentResponse.swift FastCommentsSwift/Models/MediaAsset.swift FastCommentsSwift/Models/MentionAutoCompleteMode.swift FastCommentsSwift/Models/MetaItem.swift @@ -275,10 +402,26 @@ FastCommentsSwift/Models/PageUsersOnlineResponse.swift FastCommentsSwift/Models/PagesSortBy.swift FastCommentsSwift/Models/PatchDomainConfigParams.swift FastCommentsSwift/Models/PatchDomainConfigResponse.swift +FastCommentsSwift/Models/PatchHashTagResponse.swift FastCommentsSwift/Models/PatchPageAPIResponse.swift FastCommentsSwift/Models/PatchSSOUserAPIResponse.swift FastCommentsSwift/Models/PendingCommentToSyncOutbound.swift +FastCommentsSwift/Models/PinCommentResponse.swift +FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift +FastCommentsSwift/Models/PostApiExportResponse.swift +FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift +FastCommentsSwift/Models/PostBanUserUndoResponse.swift +FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift +FastCommentsSwift/Models/PostCommentsByIdsResponse.swift +FastCommentsSwift/Models/PostFlagCommentResponse.swift FastCommentsSwift/Models/PostRemoveCommentResponse.swift +FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift +FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift +FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift +FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift +FastCommentsSwift/Models/PostSetCommentTextResponse.swift +FastCommentsSwift/Models/PostUnFlagCommentResponse.swift +FastCommentsSwift/Models/PostVoteResponse.swift FastCommentsSwift/Models/PreBanSummary.swift FastCommentsSwift/Models/PubSubComment.swift FastCommentsSwift/Models/PubSubCommentBase.swift @@ -292,7 +435,11 @@ FastCommentsSwift/Models/PublicCommentBase.swift FastCommentsSwift/Models/PublicFeedPostsResponse.swift FastCommentsSwift/Models/PublicPage.swift FastCommentsSwift/Models/PublicVote.swift +FastCommentsSwift/Models/PutAwardBadgeResponse.swift +FastCommentsSwift/Models/PutCloseThreadResponse.swift FastCommentsSwift/Models/PutDomainConfigResponse.swift +FastCommentsSwift/Models/PutRemoveBadgeResponse.swift +FastCommentsSwift/Models/PutReopenThreadResponse.swift FastCommentsSwift/Models/PutSSOUserAPIResponse.swift FastCommentsSwift/Models/QueryPredicate.swift FastCommentsSwift/Models/QueryPredicateValue.swift @@ -305,30 +452,42 @@ FastCommentsSwift/Models/QuestionResultAggregationOverall.swift FastCommentsSwift/Models/QuestionSubQuestionVisibility.swift FastCommentsSwift/Models/QuestionWhenSave.swift FastCommentsSwift/Models/ReactBodyParams.swift +FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift FastCommentsSwift/Models/ReactFeedPostResponse.swift FastCommentsSwift/Models/RecordStringBeforeStringOrNullAfterStringOrNullValue.swift FastCommentsSwift/Models/RemoveCommentActionResponse.swift FastCommentsSwift/Models/RemoveUserBadgeResponse.swift FastCommentsSwift/Models/RenderEmailTemplateBody.swift FastCommentsSwift/Models/RenderEmailTemplateResponse.swift +FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift FastCommentsSwift/Models/RenderableUserNotification.swift FastCommentsSwift/Models/RepeatCommentCheckIgnoredReason.swift FastCommentsSwift/Models/RepeatCommentHandlingAction.swift FastCommentsSwift/Models/ReplaceTenantPackageBody.swift +FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift FastCommentsSwift/Models/ReplaceTenantUserBody.swift +FastCommentsSwift/Models/ReplaceTenantUserResponse.swift +FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift FastCommentsSwift/Models/ResetUserNotificationsResponse.swift +FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift FastCommentsSwift/Models/SORTDIR.swift FastCommentsSwift/Models/SSOSecurityLevel.swift +FastCommentsSwift/Models/SaveCommentResponse.swift FastCommentsSwift/Models/SaveCommentResponseOptimized.swift FastCommentsSwift/Models/SaveCommentsBulkResponse.swift FastCommentsSwift/Models/SaveCommentsResponseWithPresence.swift FastCommentsSwift/Models/SearchUsersResponse.swift +FastCommentsSwift/Models/SearchUsersResponse1.swift FastCommentsSwift/Models/SearchUsersResult.swift FastCommentsSwift/Models/SearchUsersSectionedResponse.swift +FastCommentsSwift/Models/SendInviteResponse.swift +FastCommentsSwift/Models/SendLoginLinkResponse.swift FastCommentsSwift/Models/SetCommentApprovedResponse.swift FastCommentsSwift/Models/SetCommentTextParams.swift FastCommentsSwift/Models/SetCommentTextResponse.swift +FastCommentsSwift/Models/SetCommentTextResponse1.swift FastCommentsSwift/Models/SetCommentTextResult.swift +FastCommentsSwift/Models/SetTrustFactorResponse.swift FastCommentsSwift/Models/SetUserTrustFactorResponse.swift FastCommentsSwift/Models/SizePreset.swift FastCommentsSwift/Models/SortDirections.swift @@ -337,26 +496,43 @@ FastCommentsSwift/Models/TOSConfig.swift FastCommentsSwift/Models/TenantBadge.swift FastCommentsSwift/Models/TenantHashTag.swift FastCommentsSwift/Models/TenantPackage.swift +FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift FastCommentsSwift/Models/UnBlockFromCommentParams.swift +FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift +FastCommentsSwift/Models/UnFlagCommentResponse.swift +FastCommentsSwift/Models/UnLockCommentResponse.swift +FastCommentsSwift/Models/UnPinCommentResponse.swift FastCommentsSwift/Models/UnblockSuccess.swift FastCommentsSwift/Models/UpdatableCommentParams.swift FastCommentsSwift/Models/UpdateAPIPageData.swift FastCommentsSwift/Models/UpdateAPISSOUserData.swift FastCommentsSwift/Models/UpdateAPIUserSubscriptionData.swift +FastCommentsSwift/Models/UpdateCommentResponse.swift FastCommentsSwift/Models/UpdateDomainConfigParams.swift FastCommentsSwift/Models/UpdateEmailTemplateBody.swift +FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift FastCommentsSwift/Models/UpdateFeedPostParams.swift +FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift +FastCommentsSwift/Models/UpdateFeedPostResponse.swift FastCommentsSwift/Models/UpdateHashTagBody.swift FastCommentsSwift/Models/UpdateHashTagResponse.swift FastCommentsSwift/Models/UpdateModeratorBody.swift +FastCommentsSwift/Models/UpdateModeratorResponse.swift FastCommentsSwift/Models/UpdateNotificationBody.swift +FastCommentsSwift/Models/UpdateNotificationResponse.swift FastCommentsSwift/Models/UpdateQuestionConfigBody.swift +FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift FastCommentsSwift/Models/UpdateQuestionResultBody.swift +FastCommentsSwift/Models/UpdateQuestionResultResponse.swift FastCommentsSwift/Models/UpdateSubscriptionAPIResponse.swift FastCommentsSwift/Models/UpdateTenantBody.swift FastCommentsSwift/Models/UpdateTenantPackageBody.swift +FastCommentsSwift/Models/UpdateTenantPackageResponse.swift +FastCommentsSwift/Models/UpdateTenantResponse.swift FastCommentsSwift/Models/UpdateTenantUserBody.swift +FastCommentsSwift/Models/UpdateTenantUserResponse.swift FastCommentsSwift/Models/UpdateUserBadgeParams.swift +FastCommentsSwift/Models/UpdateUserBadgeResponse.swift FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift @@ -375,6 +551,7 @@ FastCommentsSwift/Models/UserSearchSectionResult.swift FastCommentsSwift/Models/UserSessionInfo.swift FastCommentsSwift/Models/UsersListLocation.swift FastCommentsSwift/Models/VoteBodyParams.swift +FastCommentsSwift/Models/VoteCommentResponse.swift FastCommentsSwift/Models/VoteDeleteResponse.swift FastCommentsSwift/Models/VoteResponse.swift FastCommentsSwift/Models/VoteResponseUser.swift @@ -416,11 +593,14 @@ docs/APIUserSubscription.md docs/AddDomainConfigParams.md docs/AddDomainConfigResponse.md docs/AddDomainConfigResponseAnyOf.md +docs/AddHashTagResponse.md +docs/AddHashTagsBulkResponse.md docs/AddPageAPIResponse.md docs/AddSSOUserAPIResponse.md docs/AdjustCommentVotesParams.md docs/AdjustVotesResponse.md docs/AggregateQuestionResultsResponse.md +docs/AggregateQuestionResultsResponse1.md docs/AggregateResponse.md docs/AggregateTimeBucket.md docs/AggregationAPIError.md @@ -440,12 +620,15 @@ docs/BannedUserMatchMatchedOnValue.md docs/BannedUserMatchType.md docs/BillingInfo.md docs/BlockFromCommentParams.md +docs/BlockFromCommentPublicResponse.md docs/BlockSuccess.md +docs/BlockUserFromCommentResponse.md docs/BuildModerationFilterParams.md docs/BuildModerationFilterResponse.md docs/BulkAggregateQuestionItem.md docs/BulkAggregateQuestionResultsRequest.md docs/BulkAggregateQuestionResultsResponse.md +docs/BulkAggregateQuestionResultsResponse1.md docs/BulkCreateHashTagsBody.md docs/BulkCreateHashTagsBodyTagsInner.md docs/BulkCreateHashTagsResponse.md @@ -455,7 +638,10 @@ docs/BulkPreBanSummary.md docs/ChangeCommentPinStatusResponse.md docs/ChangeTicketStateBody.md docs/ChangeTicketStateResponse.md +docs/ChangeTicketStateResponse1.md docs/CheckBlockedCommentsResponse.md +docs/CheckedCommentsForBlockedResponse.md +docs/CombineCommentsWithQuestionResultsResponse.md docs/CombineQuestionResultsWithCommentsResponse.md docs/CommentData.md docs/CommentHTMLRenderingMode.md @@ -475,41 +661,76 @@ docs/CreateAPIPageData.md docs/CreateAPISSOUserData.md docs/CreateAPIUserSubscriptionData.md docs/CreateCommentParams.md +docs/CreateCommentPublicResponse.md docs/CreateEmailTemplateBody.md docs/CreateEmailTemplateResponse.md +docs/CreateEmailTemplateResponse1.md docs/CreateFeedPostParams.md +docs/CreateFeedPostPublicResponse.md docs/CreateFeedPostResponse.md +docs/CreateFeedPostResponse1.md docs/CreateFeedPostsResponse.md docs/CreateHashTagBody.md docs/CreateHashTagResponse.md docs/CreateModeratorBody.md docs/CreateModeratorResponse.md +docs/CreateModeratorResponse1.md docs/CreateQuestionConfigBody.md docs/CreateQuestionConfigResponse.md +docs/CreateQuestionConfigResponse1.md docs/CreateQuestionResultBody.md docs/CreateQuestionResultResponse.md +docs/CreateQuestionResultResponse1.md docs/CreateSubscriptionAPIResponse.md docs/CreateTenantBody.md docs/CreateTenantPackageBody.md docs/CreateTenantPackageResponse.md +docs/CreateTenantPackageResponse1.md docs/CreateTenantResponse.md +docs/CreateTenantResponse1.md docs/CreateTenantUserBody.md docs/CreateTenantUserResponse.md +docs/CreateTenantUserResponse1.md docs/CreateTicketBody.md docs/CreateTicketResponse.md +docs/CreateTicketResponse1.md docs/CreateUserBadgeParams.md +docs/CreateUserBadgeResponse.md docs/CreateV1PageReact.md +docs/CreateV1PageReactResponse.md +docs/CreateV2PageReactResponse.md +docs/CreateVoteResponse.md docs/CustomConfigParameters.md docs/CustomEmailTemplate.md docs/DefaultAPI.md docs/DeleteCommentAction.md +docs/DeleteCommentPublicResponse.md +docs/DeleteCommentResponse.md docs/DeleteCommentResult.md +docs/DeleteCommentVoteResponse.md docs/DeleteDomainConfigResponse.md +docs/DeleteEmailTemplateRenderErrorResponse.md +docs/DeleteEmailTemplateResponse.md docs/DeleteFeedPostPublicResponse.md +docs/DeleteFeedPostPublicResponseAnyOf.md docs/DeleteHashTagRequestBody.md +docs/DeleteHashTagResponse.md +docs/DeleteModerationVoteResponse.md +docs/DeleteModeratorResponse.md +docs/DeleteNotificationCountResponse.md docs/DeletePageAPIResponse.md +docs/DeletePendingWebhookEventResponse.md +docs/DeleteQuestionConfigResponse.md +docs/DeleteQuestionResultResponse.md docs/DeleteSSOUserAPIResponse.md docs/DeleteSubscriptionAPIResponse.md +docs/DeleteTenantPackageResponse.md +docs/DeleteTenantResponse.md +docs/DeleteTenantUserResponse.md +docs/DeleteUserBadgeResponse.md +docs/DeleteV1PageReactResponse.md +docs/DeleteV2PageReactResponse.md +docs/DeleteVoteResponse.md docs/DeletedCommentResultComment.md docs/DigestEmailFrequency.md docs/EmailTemplateDefinition.md @@ -525,72 +746,154 @@ docs/FeedPostStats.md docs/FeedPostsStatsResponse.md docs/FindCommentsByRangeItem.md docs/FindCommentsByRangeResponse.md +docs/FlagCommentPublicResponse.md docs/FlagCommentResponse.md +docs/FlagCommentResponse1.md +docs/GetApiCommentsResponse.md +docs/GetApiExportStatusResponse.md +docs/GetApiIdsResponse.md docs/GetAuditLogsResponse.md +docs/GetAuditLogsResponse1.md +docs/GetBanUsersFromCommentResponse.md docs/GetBannedUsersCountResponse.md docs/GetBannedUsersFromCommentResponse.md docs/GetCachedNotificationCountResponse.md +docs/GetCachedNotificationCountResponse1.md docs/GetCommentBanStatusResponse.md +docs/GetCommentBanStatusResponse1.md +docs/GetCommentChildrenResponse.md +docs/GetCommentResponse.md docs/GetCommentTextResponse.md +docs/GetCommentTextResponse1.md +docs/GetCommentVoteUserNamesResponse.md docs/GetCommentVoteUserNamesSuccessResponse.md docs/GetCommentsForUserResponse.md +docs/GetCommentsForUserResponse1.md +docs/GetCommentsPublicResponse.md +docs/GetCommentsResponse.md docs/GetCommentsResponsePublicComment.md docs/GetCommentsResponseWithPresencePublicComment.md +docs/GetCountResponse.md +docs/GetCountsResponse.md docs/GetDomainConfigResponse.md docs/GetDomainConfigsResponse.md docs/GetDomainConfigsResponseAnyOf.md docs/GetDomainConfigsResponseAnyOf1.md docs/GetEmailTemplateDefinitionsResponse.md +docs/GetEmailTemplateDefinitionsResponse1.md docs/GetEmailTemplateRenderErrorsResponse.md +docs/GetEmailTemplateRenderErrorsResponse1.md docs/GetEmailTemplateResponse.md +docs/GetEmailTemplateResponse1.md docs/GetEmailTemplatesResponse.md +docs/GetEmailTemplatesResponse1.md docs/GetEventLogResponse.md +docs/GetEventLogResponse1.md +docs/GetFeedPostsPublicResponse.md docs/GetFeedPostsResponse.md +docs/GetFeedPostsResponse1.md +docs/GetFeedPostsStatsResponse.md +docs/GetGifLargeResponse.md docs/GetGifsSearchResponse.md docs/GetGifsTrendingResponse.md +docs/GetGlobalEventLogResponse.md docs/GetHashTagsResponse.md +docs/GetHashTagsResponse1.md +docs/GetLogsResponse.md +docs/GetManualBadgesForUserResponse.md +docs/GetManualBadgesResponse.md +docs/GetModerationCommentResponse.md +docs/GetModerationCommentTextResponse.md docs/GetModeratorResponse.md +docs/GetModeratorResponse1.md docs/GetModeratorsResponse.md +docs/GetModeratorsResponse1.md docs/GetMyNotificationsResponse.md docs/GetNotificationCountResponse.md +docs/GetNotificationCountResponse1.md docs/GetNotificationsResponse.md +docs/GetNotificationsResponse1.md +docs/GetOfflineUsersResponse.md +docs/GetOnlineUsersResponse.md docs/GetPageByURLIdAPIResponse.md docs/GetPagesAPIResponse.md +docs/GetPagesPublicResponse.md docs/GetPendingWebhookEventCountResponse.md +docs/GetPendingWebhookEventCountResponse1.md docs/GetPendingWebhookEventsResponse.md +docs/GetPendingWebhookEventsResponse1.md +docs/GetPreBanSummaryResponse.md docs/GetPublicFeedPostsResponse.md docs/GetPublicPagesResponse.md docs/GetQuestionConfigResponse.md +docs/GetQuestionConfigResponse1.md docs/GetQuestionConfigsResponse.md +docs/GetQuestionConfigsResponse1.md docs/GetQuestionResultResponse.md +docs/GetQuestionResultResponse1.md docs/GetQuestionResultsResponse.md +docs/GetQuestionResultsResponse1.md docs/GetSSOUserByEmailAPIResponse.md docs/GetSSOUserByIdAPIResponse.md docs/GetSSOUsersResponse.md +docs/GetSearchCommentsSummaryResponse.md +docs/GetSearchPagesResponse.md +docs/GetSearchSitesResponse.md +docs/GetSearchSuggestResponse.md +docs/GetSearchUsersResponse.md docs/GetSubscriptionsAPIResponse.md docs/GetTenantDailyUsagesResponse.md +docs/GetTenantDailyUsagesResponse1.md docs/GetTenantManualBadgesResponse.md docs/GetTenantPackageResponse.md +docs/GetTenantPackageResponse1.md docs/GetTenantPackagesResponse.md +docs/GetTenantPackagesResponse1.md docs/GetTenantResponse.md +docs/GetTenantResponse1.md docs/GetTenantUserResponse.md +docs/GetTenantUserResponse1.md docs/GetTenantUsersResponse.md +docs/GetTenantUsersResponse1.md docs/GetTenantsResponse.md +docs/GetTenantsResponse1.md docs/GetTicketResponse.md +docs/GetTicketResponse1.md docs/GetTicketsResponse.md +docs/GetTicketsResponse1.md docs/GetTranslationsResponse.md +docs/GetTranslationsResponse1.md +docs/GetTrustFactorResponse.md +docs/GetUserBadgeProgressByIdResponse.md +docs/GetUserBadgeProgressByUserIdResponse.md +docs/GetUserBadgeProgressListResponse.md +docs/GetUserBadgeResponse.md +docs/GetUserBadgesResponse.md +docs/GetUserBanPreferenceResponse.md docs/GetUserInternalProfileResponse.md +docs/GetUserInternalProfileResponse1.md docs/GetUserInternalProfileResponseProfile.md docs/GetUserManualBadgesResponse.md docs/GetUserNotificationCountResponse.md +docs/GetUserNotificationCountResponse1.md +docs/GetUserNotificationsResponse.md docs/GetUserPresenceStatusesResponse.md +docs/GetUserPresenceStatusesResponse1.md +docs/GetUserReactsPublicResponse.md docs/GetUserResponse.md +docs/GetUserResponse1.md docs/GetUserTrustFactorResponse.md +docs/GetUsersInfoResponse.md docs/GetV1PageLikes.md +docs/GetV1PageLikesResponse.md docs/GetV2PageReactUsersResponse.md +docs/GetV2PageReactUsersResponse1.md docs/GetV2PageReacts.md +docs/GetV2PageReactsResponse.md docs/GetVotesForUserResponse.md +docs/GetVotesForUserResponse1.md docs/GetVotesResponse.md +docs/GetVotesResponse1.md docs/GifGetLargeResponse.md docs/GifRating.md docs/GifSearchInternalError.md @@ -605,6 +908,7 @@ docs/ImportedSiteType.md docs/LiveEvent.md docs/LiveEventExtraInfo.md docs/LiveEventType.md +docs/LockCommentResponse.md docs/MediaAsset.md docs/MentionAutoCompleteMode.md docs/MetaItem.md @@ -639,10 +943,26 @@ docs/PageUsersOnlineResponse.md docs/PagesSortBy.md docs/PatchDomainConfigParams.md docs/PatchDomainConfigResponse.md +docs/PatchHashTagResponse.md docs/PatchPageAPIResponse.md docs/PatchSSOUserAPIResponse.md docs/PendingCommentToSyncOutbound.md +docs/PinCommentResponse.md +docs/PostAdjustCommentVotesResponse.md +docs/PostApiExportResponse.md +docs/PostBanUserFromCommentResponse.md +docs/PostBanUserUndoResponse.md +docs/PostBulkPreBanSummaryResponse.md +docs/PostCommentsByIdsResponse.md +docs/PostFlagCommentResponse.md docs/PostRemoveCommentResponse.md +docs/PostRestoreDeletedCommentResponse.md +docs/PostSetCommentApprovalStatusResponse.md +docs/PostSetCommentReviewStatusResponse.md +docs/PostSetCommentSpamStatusResponse.md +docs/PostSetCommentTextResponse.md +docs/PostUnFlagCommentResponse.md +docs/PostVoteResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -657,7 +977,11 @@ docs/PublicCommentBase.md docs/PublicFeedPostsResponse.md docs/PublicPage.md docs/PublicVote.md +docs/PutAwardBadgeResponse.md +docs/PutCloseThreadResponse.md docs/PutDomainConfigResponse.md +docs/PutRemoveBadgeResponse.md +docs/PutReopenThreadResponse.md docs/PutSSOUserAPIResponse.md docs/QueryPredicate.md docs/QueryPredicateValue.md @@ -670,30 +994,42 @@ docs/QuestionResultAggregationOverall.md docs/QuestionSubQuestionVisibility.md docs/QuestionWhenSave.md docs/ReactBodyParams.md +docs/ReactFeedPostPublicResponse.md docs/ReactFeedPostResponse.md docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md docs/RemoveCommentActionResponse.md docs/RemoveUserBadgeResponse.md docs/RenderEmailTemplateBody.md docs/RenderEmailTemplateResponse.md +docs/RenderEmailTemplateResponse1.md docs/RenderableUserNotification.md docs/RepeatCommentCheckIgnoredReason.md docs/RepeatCommentHandlingAction.md docs/ReplaceTenantPackageBody.md +docs/ReplaceTenantPackageResponse.md docs/ReplaceTenantUserBody.md +docs/ReplaceTenantUserResponse.md +docs/ResetUserNotificationCountResponse.md docs/ResetUserNotificationsResponse.md +docs/ResetUserNotificationsResponse1.md docs/SORTDIR.md docs/SSOSecurityLevel.md +docs/SaveCommentResponse.md docs/SaveCommentResponseOptimized.md docs/SaveCommentsBulkResponse.md docs/SaveCommentsResponseWithPresence.md docs/SearchUsersResponse.md +docs/SearchUsersResponse1.md docs/SearchUsersResult.md docs/SearchUsersSectionedResponse.md +docs/SendInviteResponse.md +docs/SendLoginLinkResponse.md docs/SetCommentApprovedResponse.md docs/SetCommentTextParams.md docs/SetCommentTextResponse.md +docs/SetCommentTextResponse1.md docs/SetCommentTextResult.md +docs/SetTrustFactorResponse.md docs/SetUserTrustFactorResponse.md docs/SizePreset.md docs/SortDirections.md @@ -702,26 +1038,43 @@ docs/TOSConfig.md docs/TenantBadge.md docs/TenantHashTag.md docs/TenantPackage.md +docs/UnBlockCommentPublicResponse.md docs/UnBlockFromCommentParams.md +docs/UnBlockUserFromCommentResponse.md +docs/UnFlagCommentResponse.md +docs/UnLockCommentResponse.md +docs/UnPinCommentResponse.md docs/UnblockSuccess.md docs/UpdatableCommentParams.md docs/UpdateAPIPageData.md docs/UpdateAPISSOUserData.md docs/UpdateAPIUserSubscriptionData.md +docs/UpdateCommentResponse.md docs/UpdateDomainConfigParams.md docs/UpdateEmailTemplateBody.md +docs/UpdateEmailTemplateResponse.md docs/UpdateFeedPostParams.md +docs/UpdateFeedPostPublicResponse.md +docs/UpdateFeedPostResponse.md docs/UpdateHashTagBody.md docs/UpdateHashTagResponse.md docs/UpdateModeratorBody.md +docs/UpdateModeratorResponse.md docs/UpdateNotificationBody.md +docs/UpdateNotificationResponse.md docs/UpdateQuestionConfigBody.md +docs/UpdateQuestionConfigResponse.md docs/UpdateQuestionResultBody.md +docs/UpdateQuestionResultResponse.md docs/UpdateSubscriptionAPIResponse.md docs/UpdateTenantBody.md docs/UpdateTenantPackageBody.md +docs/UpdateTenantPackageResponse.md +docs/UpdateTenantResponse.md docs/UpdateTenantUserBody.md +docs/UpdateTenantUserResponse.md docs/UpdateUserBadgeParams.md +docs/UpdateUserBadgeResponse.md docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md docs/UpdateUserNotificationPageSubscriptionStatusResponse.md docs/UpdateUserNotificationStatusResponse.md @@ -740,6 +1093,7 @@ docs/UserSearchSectionResult.md docs/UserSessionInfo.md docs/UsersListLocation.md docs/VoteBodyParams.md +docs/VoteCommentResponse.md docs/VoteDeleteResponse.md docs/VoteResponse.md docs/VoteResponseUser.md diff --git a/client/FastCommentsSwift/APIs/DefaultAPI.swift b/client/FastCommentsSwift/APIs/DefaultAPI.swift index 593612c..8582465 100644 --- a/client/FastCommentsSwift/APIs/DefaultAPI.swift +++ b/client/FastCommentsSwift/APIs/DefaultAPI.swift @@ -56,9 +56,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter createHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateHashTagResponse + - returns: AddHashTagResponse */ - open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { + open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddHashTagResponse { return try await addHashTagWithRequestBuilder(tenantId: tenantId, createHashTagBody: createHashTagBody, apiConfiguration: apiConfiguration).execute().body } @@ -70,9 +70,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter createHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func addHashTagWithRequestBuilder(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagWithRequestBuilder(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createHashTagBody, codableHelper: apiConfiguration.codableHelper) @@ -88,7 +88,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -98,9 +98,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter bulkCreateHashTagsBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BulkCreateHashTagsResponse + - returns: AddHashTagsBulkResponse */ - open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { + open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddHashTagsBulkResponse { return try await addHashTagsBulkWithRequestBuilder(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody, apiConfiguration: apiConfiguration).execute().body } @@ -112,9 +112,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter bulkCreateHashTagsBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func addHashTagsBulkWithRequestBuilder(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagsBulkWithRequestBuilder(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkCreateHashTagsBody, codableHelper: apiConfiguration.codableHelper) @@ -130,7 +130,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -278,9 +278,9 @@ open class DefaultAPI { - parameter startDate: (query) (optional) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: AggregateQuestionResultsResponse + - returns: AggregateQuestionResultsResponse1 */ - open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { + open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse1 { return try await aggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body } @@ -297,9 +297,9 @@ open class DefaultAPI { - parameter startDate: (query) (optional) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -321,7 +321,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -334,9 +334,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BlockSuccess + - returns: BlockUserFromCommentResponse */ - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockUserFromCommentResponse { return try await blockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -351,9 +351,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -374,7 +374,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -385,9 +385,9 @@ open class DefaultAPI { - parameter bulkAggregateQuestionResultsRequest: (body) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BulkAggregateQuestionResultsResponse + - returns: BulkAggregateQuestionResultsResponse1 */ - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse1 { return try await bulkAggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body } @@ -400,9 +400,9 @@ open class DefaultAPI { - parameter bulkAggregateQuestionResultsRequest: (body) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkAggregateQuestionResultsRequest, codableHelper: apiConfiguration.codableHelper) @@ -419,7 +419,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -431,9 +431,9 @@ open class DefaultAPI { - parameter id: (path) - parameter changeTicketStateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: ChangeTicketStateResponse + - returns: ChangeTicketStateResponse1 */ - open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse { + open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse1 { return try await changeTicketStateWithRequestBuilder(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody, apiConfiguration: apiConfiguration).execute().body } @@ -447,9 +447,9 @@ open class DefaultAPI { - parameter id: (path) - parameter changeTicketStateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func changeTicketStateWithRequestBuilder(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func changeTicketStateWithRequestBuilder(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tickets/{id}/state" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -469,7 +469,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -486,9 +486,9 @@ open class DefaultAPI { - parameter maxValue: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CombineQuestionResultsWithCommentsResponse + - returns: CombineCommentsWithQuestionResultsResponse */ - open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { + open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineCommentsWithQuestionResultsResponse { return try await combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit, apiConfiguration: apiConfiguration).execute().body } @@ -507,9 +507,9 @@ open class DefaultAPI { - parameter maxValue: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation/combine/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -533,7 +533,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -543,9 +543,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateEmailTemplateResponse + - returns: CreateEmailTemplateResponse1 */ - open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse { + open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse1 { return try await createEmailTemplateWithRequestBuilder(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body } @@ -557,9 +557,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createEmailTemplateWithRequestBuilder(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createEmailTemplateWithRequestBuilder(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -575,7 +575,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -589,9 +589,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter skipDupCheck: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateFeedPostsResponse + - returns: CreateFeedPostResponse1 */ - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse1 { return try await createFeedPostWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck, apiConfiguration: apiConfiguration).execute().body } @@ -607,9 +607,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter skipDupCheck: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createFeedPostParams, codableHelper: apiConfiguration.codableHelper) @@ -629,7 +629,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -639,9 +639,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateModeratorResponse + - returns: CreateModeratorResponse1 */ - open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse { + open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse1 { return try await createModeratorWithRequestBuilder(tenantId: tenantId, createModeratorBody: createModeratorBody, apiConfiguration: apiConfiguration).execute().body } @@ -653,9 +653,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createModeratorWithRequestBuilder(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createModeratorWithRequestBuilder(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createModeratorBody, codableHelper: apiConfiguration.codableHelper) @@ -671,7 +671,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -681,9 +681,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateQuestionConfigResponse + - returns: CreateQuestionConfigResponse1 */ - open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse { + open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse1 { return try await createQuestionConfigWithRequestBuilder(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body } @@ -695,9 +695,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createQuestionConfigWithRequestBuilder(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createQuestionConfigWithRequestBuilder(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionConfigBody, codableHelper: apiConfiguration.codableHelper) @@ -713,7 +713,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -723,9 +723,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateQuestionResultResponse + - returns: CreateQuestionResultResponse1 */ - open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse { + open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse1 { return try await createQuestionResultWithRequestBuilder(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody, apiConfiguration: apiConfiguration).execute().body } @@ -737,9 +737,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createQuestionResultWithRequestBuilder(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createQuestionResultWithRequestBuilder(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionResultBody, codableHelper: apiConfiguration.codableHelper) @@ -755,7 +755,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -807,9 +807,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTenantResponse + - returns: CreateTenantResponse1 */ - open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse { + open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse1 { return try await createTenantWithRequestBuilder(tenantId: tenantId, createTenantBody: createTenantBody, apiConfiguration: apiConfiguration).execute().body } @@ -821,9 +821,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTenantWithRequestBuilder(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantWithRequestBuilder(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantBody, codableHelper: apiConfiguration.codableHelper) @@ -839,7 +839,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -849,9 +849,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTenantPackageResponse + - returns: CreateTenantPackageResponse1 */ - open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse { + open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse1 { return try await createTenantPackageWithRequestBuilder(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } @@ -863,9 +863,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTenantPackageWithRequestBuilder(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantPackageWithRequestBuilder(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantPackageBody, codableHelper: apiConfiguration.codableHelper) @@ -881,7 +881,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -891,9 +891,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantUserBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTenantUserResponse + - returns: CreateTenantUserResponse1 */ - open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse { + open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse1 { return try await createTenantUserWithRequestBuilder(tenantId: tenantId, createTenantUserBody: createTenantUserBody, apiConfiguration: apiConfiguration).execute().body } @@ -905,9 +905,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantUserBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTenantUserWithRequestBuilder(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantUserWithRequestBuilder(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantUserBody, codableHelper: apiConfiguration.codableHelper) @@ -923,7 +923,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -934,9 +934,9 @@ open class DefaultAPI { - parameter userId: (query) - parameter createTicketBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTicketResponse + - returns: CreateTicketResponse1 */ - open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse { + open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse1 { return try await createTicketWithRequestBuilder(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody, apiConfiguration: apiConfiguration).execute().body } @@ -949,9 +949,9 @@ open class DefaultAPI { - parameter userId: (query) - parameter createTicketBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTicketWithRequestBuilder(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTicketWithRequestBuilder(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTicketBody, codableHelper: apiConfiguration.codableHelper) @@ -968,7 +968,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -978,9 +978,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APICreateUserBadgeResponse + - returns: CreateUserBadgeResponse */ - open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APICreateUserBadgeResponse { + open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateUserBadgeResponse { return try await createUserBadgeWithRequestBuilder(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams, apiConfiguration: apiConfiguration).execute().body } @@ -992,9 +992,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createUserBadgeWithRequestBuilder(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createUserBadgeWithRequestBuilder(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createUserBadgeParams, codableHelper: apiConfiguration.codableHelper) @@ -1010,7 +1010,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1031,9 +1031,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteResponse + - returns: CreateVoteResponse */ - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateVoteResponse { return try await createVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1048,9 +1048,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1070,7 +1070,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1082,9 +1082,9 @@ open class DefaultAPI { - parameter contextUserId: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteCommentResult + - returns: DeleteCommentResponse */ - open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { + open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResponse { return try await deleteCommentWithRequestBuilder(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive, apiConfiguration: apiConfiguration).execute().body } @@ -1098,9 +1098,9 @@ open class DefaultAPI { - parameter contextUserId: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1121,7 +1121,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1176,9 +1176,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteEmailTemplateResponse */ - open class func deleteEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteEmailTemplateResponse { return try await deleteEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1190,9 +1190,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1211,7 +1211,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1222,9 +1222,9 @@ open class DefaultAPI { - parameter id: (path) - parameter errorId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteEmailTemplateRenderErrorResponse */ - open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteEmailTemplateRenderErrorResponse { return try await deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: tenantId, id: id, errorId: errorId, apiConfiguration: apiConfiguration).execute().body } @@ -1237,9 +1237,9 @@ open class DefaultAPI { - parameter id: (path) - parameter errorId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}/render-errors/{errorId}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1261,7 +1261,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1272,9 +1272,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter deleteHashTagRequestBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteHashTagResponse */ - open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteHashTagResponse { return try await deleteHashTagWithRequestBuilder(tag: tag, tenantId: tenantId, deleteHashTagRequestBody: deleteHashTagRequestBody, apiConfiguration: apiConfiguration).execute().body } @@ -1287,9 +1287,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter deleteHashTagRequestBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1308,7 +1308,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1319,9 +1319,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sendEmail: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteModeratorResponse */ - open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteModeratorResponse { return try await deleteModeratorWithRequestBuilder(tenantId: tenantId, id: id, sendEmail: sendEmail, apiConfiguration: apiConfiguration).execute().body } @@ -1334,9 +1334,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sendEmail: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1356,7 +1356,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1366,9 +1366,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteNotificationCountResponse */ - open class func deleteNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteNotificationCountResponse { return try await deleteNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1380,9 +1380,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1401,7 +1401,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1456,9 +1456,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeletePendingWebhookEventResponse */ - open class func deletePendingWebhookEvent(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deletePendingWebhookEvent(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeletePendingWebhookEventResponse { return try await deletePendingWebhookEventWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1470,9 +1470,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deletePendingWebhookEventWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deletePendingWebhookEventWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/pending-webhook-events/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1491,7 +1491,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1501,9 +1501,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteQuestionConfigResponse */ - open class func deleteQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteQuestionConfigResponse { return try await deleteQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1515,9 +1515,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1536,7 +1536,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1546,9 +1546,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteQuestionResultResponse */ - open class func deleteQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteQuestionResultResponse { return try await deleteQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1560,9 +1560,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1581,7 +1581,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1691,9 +1691,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sure: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteTenantResponse */ - open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteTenantResponse { return try await deleteTenantWithRequestBuilder(tenantId: tenantId, id: id, sure: sure, apiConfiguration: apiConfiguration).execute().body } @@ -1706,9 +1706,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sure: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1728,7 +1728,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1738,9 +1738,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteTenantPackageResponse */ - open class func deleteTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteTenantPackageResponse { return try await deleteTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1752,9 +1752,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1773,7 +1773,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1785,9 +1785,9 @@ open class DefaultAPI { - parameter deleteComments: (query) (optional) - parameter commentDeleteMode: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: DeleteTenantUserResponse */ - open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteTenantUserResponse { return try await deleteTenantUserWithRequestBuilder(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode, apiConfiguration: apiConfiguration).execute().body } @@ -1801,9 +1801,9 @@ open class DefaultAPI { - parameter deleteComments: (query) (optional) - parameter commentDeleteMode: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1824,7 +1824,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1834,9 +1834,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptySuccessResponse + - returns: DeleteUserBadgeResponse */ - open class func deleteUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { + open class func deleteUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteUserBadgeResponse { return try await deleteUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1848,9 +1848,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1869,7 +1869,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1880,9 +1880,9 @@ open class DefaultAPI { - parameter id: (path) - parameter editKey: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteDeleteResponse + - returns: DeleteVoteResponse */ - open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteVoteResponse { return try await deleteVoteWithRequestBuilder(tenantId: tenantId, id: id, editKey: editKey, apiConfiguration: apiConfiguration).execute().body } @@ -1895,9 +1895,9 @@ open class DefaultAPI { - parameter id: (path) - parameter editKey: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/votes/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1917,7 +1917,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1929,9 +1929,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: FlagCommentResponse + - returns: FlagCommentResponse1 */ - open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse1 { return try await flagCommentWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1945,9 +1945,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func flagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1968,7 +1968,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1982,9 +1982,9 @@ open class DefaultAPI { - parameter after: (query) (optional) - parameter before: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetAuditLogsResponse + - returns: GetAuditLogsResponse1 */ - open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { + open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse1 { return try await getAuditLogsWithRequestBuilder(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before, apiConfiguration: apiConfiguration).execute().body } @@ -2000,9 +2000,9 @@ open class DefaultAPI { - parameter after: (query) (optional) - parameter before: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getAuditLogsWithRequestBuilder(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getAuditLogsWithRequestBuilder(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/audit-logs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2023,7 +2023,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2033,9 +2033,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCachedNotificationCountResponse + - returns: GetCachedNotificationCountResponse1 */ - open class func getCachedNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse { + open class func getCachedNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse1 { return try await getCachedNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2047,9 +2047,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCachedNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCachedNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2068,7 +2068,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2078,9 +2078,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetCommentResponse + - returns: GetCommentResponse */ - open class func getComment(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentResponse { + open class func getComment(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentResponse { return try await getCommentWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2092,9 +2092,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2113,7 +2113,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2138,9 +2138,9 @@ open class DefaultAPI { - parameter fromDate: (query) (optional) - parameter toDate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetCommentsResponse + - returns: GetCommentsResponse */ - open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { + open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponse { return try await getCommentsWithRequestBuilder(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate, apiConfiguration: apiConfiguration).execute().body } @@ -2167,9 +2167,9 @@ open class DefaultAPI { - parameter fromDate: (query) (optional) - parameter toDate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentsWithRequestBuilder(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsWithRequestBuilder(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2201,7 +2201,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2296,9 +2296,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplateResponse + - returns: GetEmailTemplateResponse1 */ - open class func getEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse { + open class func getEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse1 { return try await getEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2310,9 +2310,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2331,7 +2331,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2340,9 +2340,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplateDefinitionsResponse + - returns: GetEmailTemplateDefinitionsResponse1 */ - open class func getEmailTemplateDefinitions(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse { + open class func getEmailTemplateDefinitions(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse1 { return try await getEmailTemplateDefinitionsWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } @@ -2353,9 +2353,9 @@ open class DefaultAPI { - name: api_key - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplateDefinitionsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateDefinitionsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates/definitions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2371,7 +2371,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2382,9 +2382,9 @@ open class DefaultAPI { - parameter id: (path) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplateRenderErrorsResponse + - returns: GetEmailTemplateRenderErrorsResponse1 */ - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse1 { return try await getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: tenantId, id: id, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2397,9 +2397,9 @@ open class DefaultAPI { - parameter id: (path) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}/render-errors" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2419,7 +2419,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2429,9 +2429,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplatesResponse + - returns: GetEmailTemplatesResponse1 */ - open class func getEmailTemplates(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { + open class func getEmailTemplates(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse1 { return try await getEmailTemplatesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2443,9 +2443,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplatesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplatesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2462,7 +2462,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2474,9 +2474,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter tags: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetFeedPostsResponse + - returns: GetFeedPostsResponse1 */ - open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { + open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse1 { return try await getFeedPostsWithRequestBuilder(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, apiConfiguration: apiConfiguration).execute().body } @@ -2491,9 +2491,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter tags: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getFeedPostsWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2512,7 +2512,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2522,9 +2522,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter page: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetHashTagsResponse + - returns: GetHashTagsResponse1 */ - open class func getHashTags(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { + open class func getHashTags(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse1 { return try await getHashTagsWithRequestBuilder(tenantId: tenantId, page: page, apiConfiguration: apiConfiguration).execute().body } @@ -2536,9 +2536,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter page: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getHashTagsWithRequestBuilder(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getHashTagsWithRequestBuilder(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2555,7 +2555,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2565,9 +2565,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetModeratorResponse + - returns: GetModeratorResponse1 */ - open class func getModerator(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse { + open class func getModerator(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse1 { return try await getModeratorWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2579,9 +2579,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModeratorWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModeratorWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2600,7 +2600,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2610,9 +2610,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetModeratorsResponse + - returns: GetModeratorsResponse1 */ - open class func getModerators(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { + open class func getModerators(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse1 { return try await getModeratorsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2624,9 +2624,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModeratorsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModeratorsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2643,7 +2643,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2657,9 +2657,9 @@ open class DefaultAPI { - parameter viewed: (query) (optional) - parameter type: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetNotificationCountResponse + - returns: GetNotificationCountResponse1 */ - open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { + open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse1 { return try await getNotificationCountWithRequestBuilder(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, apiConfiguration: apiConfiguration).execute().body } @@ -2675,9 +2675,9 @@ open class DefaultAPI { - parameter viewed: (query) (optional) - parameter type: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getNotificationCountWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationCountWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/notifications/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2698,7 +2698,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2713,9 +2713,9 @@ open class DefaultAPI { - parameter type: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetNotificationsResponse + - returns: GetNotificationsResponse1 */ - open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { + open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse1 { return try await getNotificationsWithRequestBuilder(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2732,9 +2732,9 @@ open class DefaultAPI { - parameter type: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getNotificationsWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationsWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2756,7 +2756,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2854,9 +2854,9 @@ open class DefaultAPI { - parameter domain: (query) (optional) - parameter attemptCountGT: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPendingWebhookEventCountResponse + - returns: GetPendingWebhookEventCountResponse1 */ - open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { + open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse1 { return try await getPendingWebhookEventCountWithRequestBuilder(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, apiConfiguration: apiConfiguration).execute().body } @@ -2873,9 +2873,9 @@ open class DefaultAPI { - parameter domain: (query) (optional) - parameter attemptCountGT: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pending-webhook-events/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2897,7 +2897,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2913,9 +2913,9 @@ open class DefaultAPI { - parameter attemptCountGT: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPendingWebhookEventsResponse + - returns: GetPendingWebhookEventsResponse1 */ - open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { + open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse1 { return try await getPendingWebhookEventsWithRequestBuilder(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2933,9 +2933,9 @@ open class DefaultAPI { - parameter attemptCountGT: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pending-webhook-events" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2958,7 +2958,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2968,9 +2968,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionConfigResponse + - returns: GetQuestionConfigResponse1 */ - open class func getQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse { + open class func getQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse1 { return try await getQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2982,9 +2982,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3003,7 +3003,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3013,9 +3013,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionConfigsResponse + - returns: GetQuestionConfigsResponse1 */ - open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { + open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse1 { return try await getQuestionConfigsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3027,9 +3027,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionConfigsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionConfigsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3046,7 +3046,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3056,9 +3056,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionResultResponse + - returns: GetQuestionResultResponse1 */ - open class func getQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse { + open class func getQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse1 { return try await getQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3070,9 +3070,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3091,7 +3091,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3106,9 +3106,9 @@ open class DefaultAPI { - parameter questionIds: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionResultsResponse + - returns: GetQuestionResultsResponse1 */ - open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { + open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse1 { return try await getQuestionResultsWithRequestBuilder(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3125,9 +3125,9 @@ open class DefaultAPI { - parameter questionIds: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionResultsWithRequestBuilder(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultsWithRequestBuilder(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3149,7 +3149,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3335,9 +3335,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantResponse + - returns: GetTenantResponse1 */ - open class func getTenant(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse { + open class func getTenant(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse1 { return try await getTenantWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3349,9 +3349,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3370,7 +3370,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3383,9 +3383,9 @@ open class DefaultAPI { - parameter dayNumber: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantDailyUsagesResponse + - returns: GetTenantDailyUsagesResponse1 */ - open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { + open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse1 { return try await getTenantDailyUsagesWithRequestBuilder(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3400,9 +3400,9 @@ open class DefaultAPI { - parameter dayNumber: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-daily-usage" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3422,7 +3422,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3432,9 +3432,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantPackageResponse + - returns: GetTenantPackageResponse1 */ - open class func getTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse { + open class func getTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse1 { return try await getTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3446,9 +3446,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3467,7 +3467,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3477,9 +3477,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantPackagesResponse + - returns: GetTenantPackagesResponse1 */ - open class func getTenantPackages(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { + open class func getTenantPackages(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse1 { return try await getTenantPackagesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3491,9 +3491,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantPackagesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantPackagesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3510,7 +3510,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3520,9 +3520,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantUserResponse + - returns: GetTenantUserResponse1 */ - open class func getTenantUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse { + open class func getTenantUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse1 { return try await getTenantUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3534,9 +3534,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3555,7 +3555,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3565,9 +3565,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantUsersResponse + - returns: GetTenantUsersResponse1 */ - open class func getTenantUsers(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { + open class func getTenantUsers(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse1 { return try await getTenantUsersWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3579,9 +3579,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantUsersWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantUsersWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3598,7 +3598,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3609,9 +3609,9 @@ open class DefaultAPI { - parameter meta: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantsResponse + - returns: GetTenantsResponse1 */ - open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { + open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse1 { return try await getTenantsWithRequestBuilder(tenantId: tenantId, meta: meta, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3624,9 +3624,9 @@ open class DefaultAPI { - parameter meta: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantsWithRequestBuilder(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantsWithRequestBuilder(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3644,7 +3644,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3655,9 +3655,9 @@ open class DefaultAPI { - parameter id: (path) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTicketResponse + - returns: GetTicketResponse1 */ - open class func getTicket(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { + open class func getTicket(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse1 { return try await getTicketWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, apiConfiguration: apiConfiguration).execute().body } @@ -3670,9 +3670,9 @@ open class DefaultAPI { - parameter id: (path) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTicketWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tickets/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3692,7 +3692,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3705,9 +3705,9 @@ open class DefaultAPI { - parameter skip: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTicketsResponse + - returns: GetTicketsResponse1 */ - open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { + open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse1 { return try await getTicketsWithRequestBuilder(tenantId: tenantId, userId: userId, state: state, skip: skip, limit: limit, apiConfiguration: apiConfiguration).execute().body } @@ -3722,9 +3722,9 @@ open class DefaultAPI { - parameter skip: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTicketsWithRequestBuilder(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketsWithRequestBuilder(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3744,7 +3744,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3754,9 +3754,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserResponse + - returns: GetUserResponse1 */ - open class func getUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse { + open class func getUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse1 { return try await getUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3768,9 +3768,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3789,7 +3789,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3799,9 +3799,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetUserBadgeResponse + - returns: GetUserBadgeResponse */ - open class func getUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeResponse { + open class func getUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeResponse { return try await getUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3813,9 +3813,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3834,7 +3834,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3844,9 +3844,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetUserBadgeProgressResponse + - returns: GetUserBadgeProgressByIdResponse */ - open class func getUserBadgeProgressById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { + open class func getUserBadgeProgressById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeProgressByIdResponse { return try await getUserBadgeProgressByIdWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3858,9 +3858,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeProgressByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badge-progress/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3879,7 +3879,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3889,9 +3889,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter userId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetUserBadgeProgressResponse + - returns: GetUserBadgeProgressByUserIdResponse */ - open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { + open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeProgressByUserIdResponse { return try await getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: tenantId, userId: userId, apiConfiguration: apiConfiguration).execute().body } @@ -3903,9 +3903,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter userId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badge-progress/user/{userId}" let userIdPreEscape = "\(APIHelper.mapValueToPathItem(userId))" let userIdPostEscape = userIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3924,7 +3924,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3936,9 +3936,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetUserBadgeProgressListResponse + - returns: GetUserBadgeProgressListResponse */ - open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { + open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeProgressListResponse { return try await getUserBadgeProgressListWithRequestBuilder(tenantId: tenantId, userId: userId, limit: limit, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3952,9 +3952,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badge-progress" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3973,7 +3973,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3988,9 +3988,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIGetUserBadgesResponse + - returns: GetUserBadgesResponse */ - open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { + open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgesResponse { return try await getUserBadgesWithRequestBuilder(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -4007,9 +4007,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgesWithRequestBuilder(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgesWithRequestBuilder(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4031,7 +4031,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4041,9 +4041,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetVotesResponse + - returns: GetVotesResponse1 */ - open class func getVotes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse { + open class func getVotes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse1 { return try await getVotesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -4055,9 +4055,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getVotesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4074,7 +4074,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4086,9 +4086,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetVotesForUserResponse + - returns: GetVotesForUserResponse1 */ - open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { + open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse1 { return try await getVotesForUserWithRequestBuilder(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -4102,9 +4102,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes/for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4123,7 +4123,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4181,9 +4181,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter updateHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateHashTagResponse + - returns: PatchHashTagResponse */ - open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { + open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchHashTagResponse { return try await patchHashTagWithRequestBuilder(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody, apiConfiguration: apiConfiguration).execute().body } @@ -4196,9 +4196,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter updateHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func patchHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4217,7 +4217,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4422,9 +4422,9 @@ open class DefaultAPI { - parameter renderEmailTemplateBody: (body) - parameter locale: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RenderEmailTemplateResponse + - returns: RenderEmailTemplateResponse1 */ - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse1 { return try await renderEmailTemplateWithRequestBuilder(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale, apiConfiguration: apiConfiguration).execute().body } @@ -4437,9 +4437,9 @@ open class DefaultAPI { - parameter renderEmailTemplateBody: (body) - parameter locale: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates/render" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: renderEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -4456,7 +4456,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4467,9 +4467,9 @@ open class DefaultAPI { - parameter id: (path) - parameter replaceTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: ReplaceTenantPackageResponse */ - open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReplaceTenantPackageResponse { return try await replaceTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } @@ -4482,9 +4482,9 @@ open class DefaultAPI { - parameter id: (path) - parameter replaceTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func replaceTenantPackageWithRequestBuilder(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func replaceTenantPackageWithRequestBuilder(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4503,7 +4503,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4515,9 +4515,9 @@ open class DefaultAPI { - parameter replaceTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: ReplaceTenantUserResponse */ - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReplaceTenantUserResponse { return try await replaceTenantUserWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } @@ -4531,9 +4531,9 @@ open class DefaultAPI { - parameter replaceTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4553,7 +4553,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4567,9 +4567,9 @@ open class DefaultAPI { - parameter sendEmails: (query) (optional) - parameter populateNotifications: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APISaveCommentResponse + - returns: SaveCommentResponse */ - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentResponse { return try await saveCommentWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications, apiConfiguration: apiConfiguration).execute().body } @@ -4585,9 +4585,9 @@ open class DefaultAPI { - parameter sendEmails: (query) (optional) - parameter populateNotifications: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createCommentParams, codableHelper: apiConfiguration.codableHelper) @@ -4607,7 +4607,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4672,9 +4672,9 @@ open class DefaultAPI { - parameter id: (path) - parameter fromName: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: SendInviteResponse */ - open class func sendInvite(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func sendInvite(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SendInviteResponse { return try await sendInviteWithRequestBuilder(tenantId: tenantId, id: id, fromName: fromName, apiConfiguration: apiConfiguration).execute().body } @@ -4687,9 +4687,9 @@ open class DefaultAPI { - parameter id: (path) - parameter fromName: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func sendInviteWithRequestBuilder(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func sendInviteWithRequestBuilder(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}/send-invite" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4709,7 +4709,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4720,9 +4720,9 @@ open class DefaultAPI { - parameter id: (path) - parameter redirectURL: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: SendLoginLinkResponse */ - open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SendLoginLinkResponse { return try await sendLoginLinkWithRequestBuilder(tenantId: tenantId, id: id, redirectURL: redirectURL, apiConfiguration: apiConfiguration).execute().body } @@ -4735,9 +4735,9 @@ open class DefaultAPI { - parameter id: (path) - parameter redirectURL: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}/send-login-link" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4757,7 +4757,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4770,9 +4770,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnblockSuccess + - returns: UnBlockUserFromCommentResponse */ - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnBlockUserFromCommentResponse { return try await unBlockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -4787,9 +4787,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/un-block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4810,7 +4810,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4822,9 +4822,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: FlagCommentResponse + - returns: UnFlagCommentResponse */ - open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnFlagCommentResponse { return try await unFlagCommentWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -4838,9 +4838,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/un-flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4861,7 +4861,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4875,9 +4875,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateCommentResponse */ - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateCommentResponse { return try await updateCommentWithRequestBuilder(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive, apiConfiguration: apiConfiguration).execute().body } @@ -4893,9 +4893,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4917,7 +4917,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4928,9 +4928,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateEmailTemplateResponse */ - open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateEmailTemplateResponse { return try await updateEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body } @@ -4943,9 +4943,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateEmailTemplateWithRequestBuilder(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateEmailTemplateWithRequestBuilder(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4964,7 +4964,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4975,9 +4975,9 @@ open class DefaultAPI { - parameter id: (path) - parameter feedPost: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateFeedPostResponse */ - open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateFeedPostResponse { return try await updateFeedPostWithRequestBuilder(tenantId: tenantId, id: id, feedPost: feedPost, apiConfiguration: apiConfiguration).execute().body } @@ -4990,9 +4990,9 @@ open class DefaultAPI { - parameter id: (path) - parameter feedPost: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateFeedPostWithRequestBuilder(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostWithRequestBuilder(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/feed-posts/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5011,7 +5011,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5022,9 +5022,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateModeratorResponse */ - open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateModeratorResponse { return try await updateModeratorWithRequestBuilder(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody, apiConfiguration: apiConfiguration).execute().body } @@ -5037,9 +5037,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateModeratorWithRequestBuilder(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateModeratorWithRequestBuilder(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5058,7 +5058,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5070,9 +5070,9 @@ open class DefaultAPI { - parameter updateNotificationBody: (body) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateNotificationResponse */ - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateNotificationResponse { return try await updateNotificationWithRequestBuilder(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId, apiConfiguration: apiConfiguration).execute().body } @@ -5086,9 +5086,9 @@ open class DefaultAPI { - parameter updateNotificationBody: (body) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notifications/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5108,7 +5108,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5119,9 +5119,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateQuestionConfigResponse */ - open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateQuestionConfigResponse { return try await updateQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body } @@ -5134,9 +5134,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateQuestionConfigWithRequestBuilder(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateQuestionConfigWithRequestBuilder(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5155,7 +5155,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5166,9 +5166,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateQuestionResultResponse */ - open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateQuestionResultResponse { return try await updateQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody, apiConfiguration: apiConfiguration).execute().body } @@ -5181,9 +5181,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateQuestionResultWithRequestBuilder(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateQuestionResultWithRequestBuilder(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5202,7 +5202,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5263,9 +5263,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateTenantResponse */ - open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateTenantResponse { return try await updateTenantWithRequestBuilder(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody, apiConfiguration: apiConfiguration).execute().body } @@ -5278,9 +5278,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateTenantWithRequestBuilder(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantWithRequestBuilder(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5299,7 +5299,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5310,9 +5310,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateTenantPackageResponse */ - open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateTenantPackageResponse { return try await updateTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } @@ -5325,9 +5325,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateTenantPackageWithRequestBuilder(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantPackageWithRequestBuilder(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5346,7 +5346,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5358,9 +5358,9 @@ open class DefaultAPI { - parameter updateTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UpdateTenantUserResponse */ - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateTenantUserResponse { return try await updateTenantUserWithRequestBuilder(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } @@ -5374,9 +5374,9 @@ open class DefaultAPI { - parameter updateTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5396,7 +5396,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5407,9 +5407,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptySuccessResponse + - returns: UpdateUserBadgeResponse */ - open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { + open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserBadgeResponse { return try await updateUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams, apiConfiguration: apiConfiguration).execute().body } @@ -5422,9 +5422,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateUserBadgeWithRequestBuilder(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateUserBadgeWithRequestBuilder(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5443,7 +5443,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } diff --git a/client/FastCommentsSwift/APIs/ModerationAPI.swift b/client/FastCommentsSwift/APIs/ModerationAPI.swift index 722a34c..17d98b1 100644 --- a/client/FastCommentsSwift/APIs/ModerationAPI.swift +++ b/client/FastCommentsSwift/APIs/ModerationAPI.swift @@ -13,23 +13,27 @@ open class ModerationAPI { - parameter commentId: (path) - parameter voteId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteDeleteResponse + - returns: DeleteModerationVoteResponse */ - open class func deleteModerationVote(commentId: String, voteId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteModerationVoteWithRequestBuilder(commentId: commentId, voteId: voteId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteModerationVoteResponse { + return try await deleteModerationVoteWithRequestBuilder(commentId: commentId, voteId: voteId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - DELETE /auth/my-account/moderate-comments/vote/{commentId}/{voteId} - parameter commentId: (path) - parameter voteId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -42,6 +46,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -51,7 +57,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -66,12 +72,13 @@ open class ModerationAPI { - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) - parameter demo: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPIGetCommentsResponse + - returns: GetApiCommentsResponse */ - open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { - return try await getApiCommentsWithRequestBuilder(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetApiCommentsResponse { + return try await getApiCommentsWithRequestBuilder(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -84,11 +91,12 @@ open class ModerationAPI { - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) - parameter demo: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getApiCommentsWithRequestBuilder(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiCommentsWithRequestBuilder(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -103,6 +111,7 @@ open class ModerationAPI { "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sorts": (wrappedValue: sorts?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "demo": (wrappedValue: demo?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -112,7 +121,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -120,22 +129,24 @@ open class ModerationAPI { /** - parameter batchJobId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationExportStatusResponse + - returns: GetApiExportStatusResponse */ - open class func getApiExportStatus(batchJobId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { - return try await getApiExportStatusWithRequestBuilder(batchJobId: batchJobId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetApiExportStatusResponse { + return try await getApiExportStatusWithRequestBuilder(batchJobId: batchJobId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/api/export/status - parameter batchJobId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getApiExportStatusWithRequestBuilder(batchJobId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiExportStatusWithRequestBuilder(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/export/status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -143,6 +154,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "batchJobId": (wrappedValue: batchJobId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -152,7 +164,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -165,12 +177,13 @@ open class ModerationAPI { - parameter searchFilters: (query) (optional) - parameter afterId: (query) (optional) - parameter demo: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPIGetCommentIdsResponse + - returns: GetApiIdsResponse */ - open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { - return try await getApiIdsWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetApiIdsResponse { + return try await getApiIdsWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -181,11 +194,12 @@ open class ModerationAPI { - parameter searchFilters: (query) (optional) - parameter afterId: (query) (optional) - parameter demo: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getApiIdsWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiIdsWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -198,6 +212,7 @@ open class ModerationAPI { "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "afterId": (wrappedValue: afterId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "demo": (wrappedValue: demo?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -207,7 +222,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -215,22 +230,24 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetBannedUsersFromCommentResponse + - returns: GetBanUsersFromCommentResponse */ - open class func getBanUsersFromComment(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { - return try await getBanUsersFromCommentWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBanUsersFromCommentResponse { + return try await getBanUsersFromCommentWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -240,6 +257,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -249,7 +267,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -257,22 +275,24 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentBanStatusResponse + - returns: GetCommentBanStatusResponse1 */ - open class func getCommentBanStatus(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { - return try await getCommentBanStatusWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse1 { + return try await getCommentBanStatusWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentBanStatusWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentBanStatusWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -282,6 +302,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -291,7 +312,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -299,22 +320,24 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPIChildCommentsResponse + - returns: GetCommentChildrenResponse */ - open class func getCommentChildren(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await getCommentChildrenWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentChildrenResponse { + return try await getCommentChildrenWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/comment-children/{commentId} - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentChildrenWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentChildrenWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/comment-children/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -324,6 +347,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -333,7 +357,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -345,12 +369,13 @@ open class ModerationAPI { - parameter filter: (query) (optional) - parameter searchFilters: (query) (optional) - parameter demo: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPICountCommentsResponse + - returns: GetCountResponse */ - open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { - return try await getCountWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCountResponse { + return try await getCountWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -360,11 +385,12 @@ open class ModerationAPI { - parameter filter: (query) (optional) - parameter searchFilters: (query) (optional) - parameter demo: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCountWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -376,6 +402,7 @@ open class ModerationAPI { "filter": (wrappedValue: filter?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "demo": (wrappedValue: demo?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -385,34 +412,37 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } /** + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetBannedUsersCountResponse + - returns: GetCountsResponse */ - open class func getCounts(sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { - return try await getCountsWithRequestBuilder(sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCounts(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCountsResponse { + return try await getCountsWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/banned-users/counts + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCountsWithRequestBuilder(sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountsWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/banned-users/counts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -422,7 +452,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -430,22 +460,24 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPIGetLogsResponse + - returns: GetLogsResponse */ - open class func getLogs(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { - return try await getLogsWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetLogsResponse { + return try await getLogsWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/logs/{commentId} - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getLogsWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getLogsWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/logs/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -455,6 +487,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -464,34 +497,37 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } /** + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantManualBadgesResponse + - returns: GetManualBadgesResponse */ - open class func getManualBadges(sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { - return try await getManualBadgesWithRequestBuilder(sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetManualBadgesResponse { + return try await getManualBadgesWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/get-manual-badges + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getManualBadgesWithRequestBuilder(sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -501,7 +537,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -510,23 +546,25 @@ open class ModerationAPI { - parameter badgesUserId: (query) (optional) - parameter commentId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserManualBadgesResponse + - returns: GetManualBadgesForUserResponse */ - open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { - return try await getManualBadgesForUserWithRequestBuilder(badgesUserId: badgesUserId, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetManualBadgesForUserResponse { + return try await getManualBadgesForUserWithRequestBuilder(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/get-manual-badges-for-user - parameter badgesUserId: (query) (optional) - parameter commentId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getManualBadgesForUserWithRequestBuilder(badgesUserId: String? = nil, commentId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesForUserWithRequestBuilder(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -535,6 +573,7 @@ open class ModerationAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "badgesUserId": (wrappedValue: badgesUserId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -544,7 +583,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -554,12 +593,13 @@ open class ModerationAPI { - parameter commentId: (path) - parameter includeEmail: (query) (optional) - parameter includeIP: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPICommentResponse + - returns: GetModerationCommentResponse */ - open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { - return try await getModerationCommentWithRequestBuilder(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModerationCommentResponse { + return try await getModerationCommentWithRequestBuilder(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -567,11 +607,12 @@ open class ModerationAPI { - parameter commentId: (path) - parameter includeEmail: (query) (optional) - parameter includeIP: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModerationCommentWithRequestBuilder(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentWithRequestBuilder(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -583,6 +624,7 @@ open class ModerationAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "includeEmail": (wrappedValue: includeEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeIP": (wrappedValue: includeIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -592,7 +634,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -600,22 +642,24 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentTextResponse + - returns: GetModerationCommentTextResponse */ - open class func getModerationCommentText(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { - return try await getModerationCommentTextWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModerationCommentTextResponse { + return try await getModerationCommentTextWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/get-comment-text/{commentId} - parameter commentId: (path) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModerationCommentTextWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentTextWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/get-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -625,6 +669,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -634,7 +679,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -645,12 +690,13 @@ open class ModerationAPI { - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PreBanSummary + - returns: GetPreBanSummaryResponse */ - open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { - return try await getPreBanSummaryWithRequestBuilder(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPreBanSummaryResponse { + return try await getPreBanSummaryWithRequestBuilder(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -659,11 +705,12 @@ open class ModerationAPI { - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPreBanSummaryWithRequestBuilder(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPreBanSummaryWithRequestBuilder(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -676,6 +723,7 @@ open class ModerationAPI { "includeByUserIdAndEmail": (wrappedValue: includeByUserIdAndEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByIP": (wrappedValue: includeByIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByEmailDomain": (wrappedValue: includeByEmailDomain?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -685,7 +733,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -695,12 +743,13 @@ open class ModerationAPI { - parameter value: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationCommentSearchResponse + - returns: GetSearchCommentsSummaryResponse */ - open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { - return try await getSearchCommentsSummaryWithRequestBuilder(value: value, filters: filters, searchFilters: searchFilters, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchCommentsSummaryResponse { + return try await getSearchCommentsSummaryWithRequestBuilder(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -708,11 +757,12 @@ open class ModerationAPI { - parameter value: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchCommentsSummaryWithRequestBuilder(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchCommentsSummaryWithRequestBuilder(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/comments/summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -722,6 +772,7 @@ open class ModerationAPI { "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "filters": (wrappedValue: filters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -731,7 +782,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -739,22 +790,24 @@ open class ModerationAPI { /** - parameter value: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationPageSearchResponse + - returns: GetSearchPagesResponse */ - open class func getSearchPages(value: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { - return try await getSearchPagesWithRequestBuilder(value: value, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchPagesResponse { + return try await getSearchPagesWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/search/pages - parameter value: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchPagesWithRequestBuilder(value: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchPagesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -762,6 +815,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -771,7 +825,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -779,22 +833,24 @@ open class ModerationAPI { /** - parameter value: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationSiteSearchResponse + - returns: GetSearchSitesResponse */ - open class func getSearchSites(value: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { - return try await getSearchSitesWithRequestBuilder(value: value, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchSitesResponse { + return try await getSearchSitesWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/search/sites - parameter value: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchSitesWithRequestBuilder(value: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSitesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/sites" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -802,6 +858,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -811,7 +868,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -819,22 +876,24 @@ open class ModerationAPI { /** - parameter textSearch: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationSuggestResponse + - returns: GetSearchSuggestResponse */ - open class func getSearchSuggest(textSearch: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { - return try await getSearchSuggestWithRequestBuilder(textSearch: textSearch, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchSuggestResponse { + return try await getSearchSuggestWithRequestBuilder(textSearch: textSearch, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/search/suggest - parameter textSearch: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchSuggestWithRequestBuilder(textSearch: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSuggestWithRequestBuilder(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/suggest" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -842,6 +901,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "text-search": (wrappedValue: textSearch?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -851,7 +911,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -859,22 +919,24 @@ open class ModerationAPI { /** - parameter value: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationUserSearchResponse + - returns: GetSearchUsersResponse */ - open class func getSearchUsers(value: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { - return try await getSearchUsersWithRequestBuilder(value: value, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchUsersResponse { + return try await getSearchUsersWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/search/users - parameter value: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchUsersWithRequestBuilder(value: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchUsersWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -882,6 +944,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -891,7 +954,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -899,22 +962,24 @@ open class ModerationAPI { /** - parameter userId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserTrustFactorResponse + - returns: GetTrustFactorResponse */ - open class func getTrustFactor(userId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { - return try await getTrustFactorWithRequestBuilder(userId: userId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTrustFactorResponse { + return try await getTrustFactorWithRequestBuilder(userId: userId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/get-trust-factor - parameter userId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTrustFactorWithRequestBuilder(userId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTrustFactorWithRequestBuilder(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -922,6 +987,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -931,34 +997,37 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } /** + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIModerateGetUserBanPreferencesResponse + - returns: GetUserBanPreferenceResponse */ - open class func getUserBanPreference(sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { - return try await getUserBanPreferenceWithRequestBuilder(sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBanPreferenceResponse { + return try await getUserBanPreferenceWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/user-ban-preference + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBanPreferenceWithRequestBuilder(sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBanPreferenceWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/user-ban-preference" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -968,7 +1037,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -976,22 +1045,24 @@ open class ModerationAPI { /** - parameter commentId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserInternalProfileResponse + - returns: GetUserInternalProfileResponse1 */ - open class func getUserInternalProfile(commentId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { - return try await getUserInternalProfileWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse1 { + return try await getUserInternalProfileWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - GET /auth/my-account/moderate-comments/get-user-internal-profile - parameter commentId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserInternalProfileWithRequestBuilder(commentId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserInternalProfileWithRequestBuilder(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-user-internal-profile" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -999,6 +1070,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1008,7 +1080,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1017,23 +1089,27 @@ open class ModerationAPI { - parameter commentId: (path) - parameter adjustCommentVotesParams: (body) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: AdjustVotesResponse + - returns: PostAdjustCommentVotesResponse */ - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { - return try await postAdjustCommentVotesWithRequestBuilder(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostAdjustCommentVotesResponse { + return try await postAdjustCommentVotesWithRequestBuilder(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} - parameter commentId: (path) - parameter adjustCommentVotesParams: (body) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1043,6 +1119,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1052,7 +1130,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1064,12 +1142,13 @@ open class ModerationAPI { - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationExportResponse + - returns: PostApiExportResponse */ - open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { - return try await postApiExportWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostApiExportResponse { + return try await postApiExportWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1079,11 +1158,12 @@ open class ModerationAPI { - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postApiExportWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postApiExportWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/export" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1095,6 +1175,7 @@ open class ModerationAPI { "filters": (wrappedValue: filters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sorts": (wrappedValue: sorts?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1104,7 +1185,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1120,12 +1201,13 @@ open class ModerationAPI { - parameter isShadowBan: (query) (optional) - parameter updateId: (query) (optional) - parameter banReason: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BanUserFromCommentResult + - returns: PostBanUserFromCommentResponse */ - open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { - return try await postBanUserFromCommentWithRequestBuilder(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostBanUserFromCommentResponse { + return try await postBanUserFromCommentWithRequestBuilder(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1139,11 +1221,12 @@ open class ModerationAPI { - parameter isShadowBan: (query) (optional) - parameter updateId: (query) (optional) - parameter banReason: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postBanUserFromCommentWithRequestBuilder(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserFromCommentWithRequestBuilder(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1161,6 +1244,7 @@ open class ModerationAPI { "isShadowBan": (wrappedValue: isShadowBan?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "updateId": (wrappedValue: updateId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "banReason": (wrappedValue: banReason?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1170,7 +1254,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1178,28 +1262,31 @@ open class ModerationAPI { /** - parameter banUserUndoParams: (body) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PostBanUserUndoResponse */ - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postBanUserUndoWithRequestBuilder(banUserUndoParams: banUserUndoParams, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostBanUserUndoResponse { + return try await postBanUserUndoWithRequestBuilder(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/ban-user/undo - parameter banUserUndoParams: (body) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/ban-user/undo" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: banUserUndoParams, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1209,7 +1296,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1220,12 +1307,13 @@ open class ModerationAPI { - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BulkPreBanSummary + - returns: PostBulkPreBanSummaryResponse */ - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { - return try await postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostBulkPreBanSummaryResponse { + return try await postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1234,11 +1322,12 @@ open class ModerationAPI { - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/bulk-pre-ban-summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkPreBanParams, codableHelper: apiConfiguration.codableHelper) @@ -1248,6 +1337,7 @@ open class ModerationAPI { "includeByUserIdAndEmail": (wrappedValue: includeByUserIdAndEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByIP": (wrappedValue: includeByIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByEmailDomain": (wrappedValue: includeByEmailDomain?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1257,7 +1347,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1265,28 +1355,31 @@ open class ModerationAPI { /** - parameter commentsByIdsParams: (body) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ModerationAPIChildCommentsResponse + - returns: PostCommentsByIdsResponse */ - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await postCommentsByIdsWithRequestBuilder(commentsByIdsParams: commentsByIdsParams, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostCommentsByIdsResponse { + return try await postCommentsByIdsWithRequestBuilder(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/comments-by-ids - parameter commentsByIdsParams: (body) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/comments-by-ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: commentsByIdsParams, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1296,7 +1389,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1304,22 +1397,26 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PostFlagCommentResponse */ - open class func postFlagComment(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postFlagCommentWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostFlagCommentResponse { + return try await postFlagCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/flag-comment/{commentId} - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postFlagCommentWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1329,6 +1426,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1338,7 +1437,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1346,22 +1445,26 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: PostRemoveCommentResponse */ - open class func postRemoveComment(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { - return try await postRemoveCommentWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postRemoveComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { + return try await postRemoveCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/remove-comment/{commentId} - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postRemoveCommentWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postRemoveCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/remove-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1371,6 +1474,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1388,22 +1493,26 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PostRestoreDeletedCommentResponse */ - open class func postRestoreDeletedComment(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postRestoreDeletedCommentWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRestoreDeletedCommentResponse { + return try await postRestoreDeletedCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1413,6 +1522,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1422,7 +1533,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1431,23 +1542,27 @@ open class ModerationAPI { - parameter commentId: (path) - parameter approved: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SetCommentApprovedResponse + - returns: PostSetCommentApprovalStatusResponse */ - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { - return try await postSetCommentApprovalStatusWithRequestBuilder(commentId: commentId, approved: approved, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentApprovalStatusResponse { + return try await postSetCommentApprovalStatusWithRequestBuilder(commentId: commentId, approved: approved, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} - parameter commentId: (path) - parameter approved: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, approved: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1458,6 +1573,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "approved": (wrappedValue: approved?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1467,7 +1584,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1476,23 +1593,27 @@ open class ModerationAPI { - parameter commentId: (path) - parameter reviewed: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PostSetCommentReviewStatusResponse */ - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentReviewStatusWithRequestBuilder(commentId: commentId, reviewed: reviewed, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentReviewStatusResponse { + return try await postSetCommentReviewStatusWithRequestBuilder(commentId: commentId, reviewed: reviewed, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId} - parameter commentId: (path) - parameter reviewed: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, reviewed: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1503,6 +1624,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "reviewed": (wrappedValue: reviewed?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1512,7 +1635,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1522,12 +1645,14 @@ open class ModerationAPI { - parameter commentId: (path) - parameter spam: (query) (optional) - parameter permNotSpam: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PostSetCommentSpamStatusResponse */ - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentSpamStatusWithRequestBuilder(commentId: commentId, spam: spam, permNotSpam: permNotSpam, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentSpamStatusResponse { + return try await postSetCommentSpamStatusWithRequestBuilder(commentId: commentId, spam: spam, permNotSpam: permNotSpam, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1535,11 +1660,13 @@ open class ModerationAPI { - parameter commentId: (path) - parameter spam: (query) (optional) - parameter permNotSpam: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1551,6 +1678,8 @@ open class ModerationAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "spam": (wrappedValue: spam?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "permNotSpam": (wrappedValue: permNotSpam?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1560,7 +1689,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1569,23 +1698,27 @@ open class ModerationAPI { - parameter commentId: (path) - parameter setCommentTextParams: (body) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SetCommentTextResponse + - returns: PostSetCommentTextResponse */ - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { - return try await postSetCommentTextWithRequestBuilder(commentId: commentId, setCommentTextParams: setCommentTextParams, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentTextResponse { + return try await postSetCommentTextWithRequestBuilder(commentId: commentId, setCommentTextParams: setCommentTextParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/set-comment-text/{commentId} - parameter commentId: (path) - parameter setCommentTextParams: (body) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1595,6 +1728,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1604,7 +1739,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1612,22 +1747,26 @@ open class ModerationAPI { /** - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PostUnFlagCommentResponse */ - open class func postUnFlagComment(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postUnFlagCommentWithRequestBuilder(commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostUnFlagCommentResponse { + return try await postUnFlagCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/un-flag-comment/{commentId} - parameter commentId: (path) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postUnFlagCommentWithRequestBuilder(commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postUnFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/un-flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1637,6 +1776,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1646,7 +1787,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1655,23 +1796,27 @@ open class ModerationAPI { - parameter commentId: (path) - parameter direction: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteResponse + - returns: PostVoteResponse */ - open class func postVote(commentId: String, direction: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await postVoteWithRequestBuilder(commentId: commentId, direction: direction, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostVoteResponse { + return try await postVoteWithRequestBuilder(commentId: commentId, direction: direction, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/vote/{commentId} - parameter commentId: (path) - parameter direction: (query) (optional) + - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postVoteWithRequestBuilder(commentId: String, direction: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postVoteWithRequestBuilder(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1682,6 +1827,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "direction": (wrappedValue: direction?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1691,7 +1838,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1702,12 +1849,13 @@ open class ModerationAPI { - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: AwardUserBadgeResponse + - returns: PutAwardBadgeResponse */ - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { - return try await putAwardBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutAwardBadgeResponse { + return try await putAwardBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1716,11 +1864,12 @@ open class ModerationAPI { - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putAwardBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putAwardBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/award-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1731,6 +1880,7 @@ open class ModerationAPI { "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1740,7 +1890,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1748,22 +1898,24 @@ open class ModerationAPI { /** - parameter urlId: (query) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PutCloseThreadResponse */ - open class func putCloseThread(urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putCloseThreadWithRequestBuilder(urlId: urlId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutCloseThreadResponse { + return try await putCloseThreadWithRequestBuilder(urlId: urlId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - PUT /auth/my-account/moderate-comments/close-thread - parameter urlId: (query) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putCloseThreadWithRequestBuilder(urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putCloseThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/close-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1771,6 +1923,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "urlId": (wrappedValue: urlId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1780,7 +1933,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1791,12 +1944,13 @@ open class ModerationAPI { - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RemoveUserBadgeResponse + - returns: PutRemoveBadgeResponse */ - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { - return try await putRemoveBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutRemoveBadgeResponse { + return try await putRemoveBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1805,11 +1959,12 @@ open class ModerationAPI { - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - parameter broadcastId: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putRemoveBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putRemoveBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/remove-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1820,6 +1975,7 @@ open class ModerationAPI { "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1829,7 +1985,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1837,22 +1993,24 @@ open class ModerationAPI { /** - parameter urlId: (query) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: PutReopenThreadResponse */ - open class func putReopenThread(urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putReopenThreadWithRequestBuilder(urlId: urlId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutReopenThreadResponse { + return try await putReopenThreadWithRequestBuilder(urlId: urlId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - PUT /auth/my-account/moderate-comments/reopen-thread - parameter urlId: (query) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putReopenThreadWithRequestBuilder(urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putReopenThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/reopen-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1860,6 +2018,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "urlId": (wrappedValue: urlId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1869,7 +2028,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1878,23 +2037,25 @@ open class ModerationAPI { - parameter userId: (query) (optional) - parameter trustFactor: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SetUserTrustFactorResponse + - returns: SetTrustFactorResponse */ - open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { - return try await setTrustFactorWithRequestBuilder(userId: userId, trustFactor: trustFactor, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetTrustFactorResponse { + return try await setTrustFactorWithRequestBuilder(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - PUT /auth/my-account/moderate-comments/set-trust-factor - parameter userId: (query) (optional) - parameter trustFactor: (query) (optional) + - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func setTrustFactorWithRequestBuilder(userId: String? = nil, trustFactor: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setTrustFactorWithRequestBuilder(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/set-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1903,6 +2064,7 @@ open class ModerationAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "trustFactor": (wrappedValue: trustFactor?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1912,7 +2074,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } diff --git a/client/FastCommentsSwift/APIs/PublicAPI.swift b/client/FastCommentsSwift/APIs/PublicAPI.swift index e140e85..6736b25 100644 --- a/client/FastCommentsSwift/APIs/PublicAPI.swift +++ b/client/FastCommentsSwift/APIs/PublicAPI.swift @@ -16,9 +16,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BlockSuccess + - returns: BlockFromCommentPublicResponse */ - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockFromCommentPublicResponse { return try await blockFromCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -29,9 +29,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -51,7 +51,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -62,9 +62,9 @@ open class PublicAPI { - parameter commentIds: (query) A comma separated list of comment ids. - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CheckBlockedCommentsResponse + - returns: CheckedCommentsForBlockedResponse */ - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckedCommentsForBlockedResponse { return try await checkedCommentsForBlockedWithRequestBuilder(tenantId: tenantId, commentIds: commentIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -74,9 +74,9 @@ open class PublicAPI { - parameter commentIds: (query) A comma separated list of comment ids. - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/check-blocked-comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -94,7 +94,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -108,9 +108,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SaveCommentsResponseWithPresence + - returns: CreateCommentPublicResponse */ - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateCommentPublicResponse { return try await createCommentPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -123,9 +123,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -147,7 +147,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -159,9 +159,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateFeedPostResponse + - returns: CreateFeedPostPublicResponse */ - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostPublicResponse { return try await createFeedPostPublicWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -172,9 +172,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -194,7 +194,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -205,9 +205,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateV1PageReact + - returns: CreateV1PageReactResponse */ - open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReactResponse { return try await createV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, title: title, apiConfiguration: apiConfiguration).execute().body } @@ -217,9 +217,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -239,7 +239,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -251,9 +251,9 @@ open class PublicAPI { - parameter id: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateV1PageReact + - returns: CreateV2PageReactResponse */ - open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV2PageReactResponse { return try await createV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, title: title, apiConfiguration: apiConfiguration).execute().body } @@ -264,9 +264,9 @@ open class PublicAPI { - parameter id: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -287,7 +287,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -300,9 +300,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PublicAPIDeleteCommentResponse + - returns: DeleteCommentPublicResponse */ - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentPublicResponse { return try await deleteCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -314,9 +314,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -340,7 +340,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -355,9 +355,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteDeleteResponse + - returns: DeleteCommentVoteResponse */ - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentVoteResponse { return try await deleteCommentVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -371,9 +371,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/vote/{voteId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -401,7 +401,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -461,9 +461,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateV1PageReact + - returns: DeleteV1PageReactResponse */ - open class func deleteV1PageReact(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + open class func deleteV1PageReact(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteV1PageReactResponse { return try await deleteV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -472,9 +472,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteV1PageReactWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteV1PageReactWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -493,7 +493,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -504,9 +504,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateV1PageReact + - returns: DeleteV2PageReactResponse */ - open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteV2PageReactResponse { return try await deleteV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -516,9 +516,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -538,7 +538,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -550,9 +550,9 @@ open class PublicAPI { - parameter isFlagged: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: FlagCommentPublicResponse */ - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentPublicResponse { return try await flagCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -563,9 +563,9 @@ open class PublicAPI { - parameter isFlagged: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -586,7 +586,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -598,9 +598,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PublicAPIGetCommentTextResponse + - returns: GetCommentTextResponse1 */ - open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { + open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse1 { return try await getCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -611,9 +611,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -636,7 +636,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -648,9 +648,9 @@ open class PublicAPI { - parameter dir: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentVoteUserNamesSuccessResponse + - returns: GetCommentVoteUserNamesResponse */ - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesResponse { return try await getCommentVoteUserNamesWithRequestBuilder(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -661,9 +661,9 @@ open class PublicAPI { - parameter dir: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/votes" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -686,7 +686,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -701,9 +701,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter isCrawler: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentsForUserResponse + - returns: GetCommentsForUserResponse1 */ - open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { + open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse1 { return try await getCommentsForUserWithRequestBuilder(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler, apiConfiguration: apiConfiguration).execute().body } @@ -717,9 +717,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter isCrawler: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentsForUserWithRequestBuilder(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsForUserWithRequestBuilder(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/comments-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -741,7 +741,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -777,9 +777,9 @@ open class PublicAPI { - parameter afterCommentId: (query) (optional) - parameter beforeCommentId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentsResponseWithPresencePublicComment + - returns: GetCommentsPublicResponse */ - open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { + open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsPublicResponse { return try await getCommentsPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId, apiConfiguration: apiConfiguration).execute().body } @@ -815,9 +815,9 @@ open class PublicAPI { - parameter afterCommentId: (query) (optional) - parameter beforeCommentId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -862,7 +862,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -875,9 +875,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEventLogResponse + - returns: GetEventLogResponse1 */ - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse1 { return try await getEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body } @@ -890,9 +890,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/event-log/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -914,7 +914,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -929,9 +929,9 @@ open class PublicAPI { - parameter isCrawler: (query) (optional) - parameter includeUserInfo: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PublicFeedPostsResponse + - returns: GetFeedPostsPublicResponse */ - open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { + open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsPublicResponse { return try await getFeedPostsPublicWithRequestBuilder(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo, apiConfiguration: apiConfiguration).execute().body } @@ -946,9 +946,9 @@ open class PublicAPI { - parameter isCrawler: (query) (optional) - parameter includeUserInfo: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -972,7 +972,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -983,9 +983,9 @@ open class PublicAPI { - parameter postIds: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: FeedPostsStatsResponse + - returns: GetFeedPostsStatsResponse */ - open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { + open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsStatsResponse { return try await getFeedPostsStatsWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -995,9 +995,9 @@ open class PublicAPI { - parameter postIds: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/stats" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1017,7 +1017,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1027,9 +1027,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter largeInternalURLSanitized: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GifGetLargeResponse + - returns: GetGifLargeResponse */ - open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GifGetLargeResponse { + open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifLargeResponse { return try await getGifLargeWithRequestBuilder(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized, apiConfiguration: apiConfiguration).execute().body } @@ -1038,9 +1038,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter largeInternalURLSanitized: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getGifLargeWithRequestBuilder(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifLargeWithRequestBuilder(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/gifs/get-large/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1059,7 +1059,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1171,9 +1171,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEventLogResponse + - returns: GetGlobalEventLogResponse */ - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGlobalEventLogResponse { return try await getGlobalEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body } @@ -1186,9 +1186,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/event-log/global/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1210,7 +1210,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1222,9 +1222,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PageUsersOfflineResponse + - returns: GetOfflineUsersResponse */ - open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { + open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetOfflineUsersResponse { return try await getOfflineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1236,9 +1236,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/offline" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1259,7 +1259,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1271,9 +1271,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PageUsersOnlineResponse + - returns: GetOnlineUsersResponse */ - open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { + open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetOnlineUsersResponse { return try await getOnlineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1285,9 +1285,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/online" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1308,7 +1308,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1322,9 +1322,9 @@ open class PublicAPI { - parameter sortBy: (query) Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) - parameter hasComments: (query) If true, only return pages with at least one comment. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPublicPagesResponse + - returns: GetPagesPublicResponse */ - open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { + open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPagesPublicResponse { return try await getPagesPublicWithRequestBuilder(tenantId: tenantId, cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments, apiConfiguration: apiConfiguration).execute().body } @@ -1338,9 +1338,9 @@ open class PublicAPI { - parameter sortBy: (query) Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) - parameter hasComments: (query) If true, only return pages with at least one comment. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPagesPublicWithRequestBuilder(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPagesPublicWithRequestBuilder(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1363,7 +1363,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1375,9 +1375,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter useFullTranslationIds: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTranslationsResponse + - returns: GetTranslationsResponse1 */ - open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { + open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse1 { return try await getTranslationsWithRequestBuilder(namespace: namespace, component: component, locale: locale, useFullTranslationIds: useFullTranslationIds, apiConfiguration: apiConfiguration).execute().body } @@ -1388,9 +1388,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter useFullTranslationIds: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTranslationsWithRequestBuilder(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTranslationsWithRequestBuilder(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/translations/{namespace}/{component}" let namespacePreEscape = "\(APIHelper.mapValueToPathItem(namespace))" let namespacePostEscape = namespacePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1413,7 +1413,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1423,9 +1423,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserNotificationCountResponse + - returns: GetUserNotificationCountResponse1 */ - open class func getUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { + open class func getUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse1 { return try await getUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1434,9 +1434,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/get-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1453,7 +1453,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1473,9 +1473,9 @@ open class PublicAPI { - parameter includeTenantNotifications: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetMyNotificationsResponse + - returns: GetUserNotificationsResponse */ - open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { + open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationsResponse { return try await getUserNotificationsWithRequestBuilder(tenantId: tenantId, urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1494,9 +1494,9 @@ open class PublicAPI { - parameter includeTenantNotifications: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserNotificationsWithRequestBuilder(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationsWithRequestBuilder(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1523,7 +1523,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1534,9 +1534,9 @@ open class PublicAPI { - parameter urlIdWS: (query) - parameter userIds: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserPresenceStatusesResponse + - returns: GetUserPresenceStatusesResponse1 */ - open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse { + open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse1 { return try await getUserPresenceStatusesWithRequestBuilder(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds, apiConfiguration: apiConfiguration).execute().body } @@ -1546,9 +1546,9 @@ open class PublicAPI { - parameter urlIdWS: (query) - parameter userIds: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserPresenceStatusesWithRequestBuilder(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserPresenceStatusesWithRequestBuilder(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-presence-status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1566,7 +1566,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1577,9 +1577,9 @@ open class PublicAPI { - parameter postIds: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UserReactsResponse + - returns: GetUserReactsPublicResponse */ - open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { + open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserReactsPublicResponse { return try await getUserReactsPublicWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1589,9 +1589,9 @@ open class PublicAPI { - parameter postIds: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserReactsPublicWithRequestBuilder(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserReactsPublicWithRequestBuilder(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/user-reacts" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1611,7 +1611,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1621,9 +1621,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter ids: (query) Comma-delimited userIds. - parameter apiConfiguration: The configuration for the http request. - - returns: PageUsersInfoResponse + - returns: GetUsersInfoResponse */ - open class func getUsersInfo(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersInfoResponse { + open class func getUsersInfo(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUsersInfoResponse { return try await getUsersInfoWithRequestBuilder(tenantId: tenantId, ids: ids, apiConfiguration: apiConfiguration).execute().body } @@ -1633,9 +1633,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter ids: (query) Comma-delimited userIds. - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUsersInfoWithRequestBuilder(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUsersInfoWithRequestBuilder(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/info" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1654,7 +1654,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1664,9 +1664,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetV1PageLikes + - returns: GetV1PageLikesResponse */ - open class func getV1PageLikes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikes { + open class func getV1PageLikes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikesResponse { return try await getV1PageLikesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -1675,9 +1675,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getV1PageLikesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV1PageLikesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1696,7 +1696,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1707,9 +1707,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetV2PageReactUsersResponse + - returns: GetV2PageReactUsersResponse1 */ - open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse { + open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse1 { return try await getV2PageReactUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1719,9 +1719,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getV2PageReactUsersWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV2PageReactUsersWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}/list" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1741,7 +1741,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1751,9 +1751,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetV2PageReacts + - returns: GetV2PageReactsResponse */ - open class func getV2PageReacts(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReacts { + open class func getV2PageReacts(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactsResponse { return try await getV2PageReactsWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -1762,9 +1762,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getV2PageReactsWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV2PageReactsWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1783,7 +1783,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1795,9 +1795,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: LockCommentResponse */ - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> LockCommentResponse { return try await lockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1808,9 +1808,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/lock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1833,7 +1833,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1877,9 +1877,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ChangeCommentPinStatusResponse + - returns: PinCommentResponse */ - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PinCommentResponse { return try await pinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1890,9 +1890,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/pin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1915,7 +1915,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1929,9 +1929,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ReactFeedPostResponse + - returns: ReactFeedPostPublicResponse */ - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostPublicResponse { return try await reactFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1944,9 +1944,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/react/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1970,7 +1970,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1980,9 +1980,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ResetUserNotificationsResponse + - returns: ResetUserNotificationCountResponse */ - open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationCountResponse { return try await resetUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1991,9 +1991,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/reset-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2010,7 +2010,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2025,9 +2025,9 @@ open class PublicAPI { - parameter noDm: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ResetUserNotificationsResponse + - returns: ResetUserNotificationsResponse1 */ - open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse1 { return try await resetUserNotificationsWithRequestBuilder(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2041,9 +2041,9 @@ open class PublicAPI { - parameter noDm: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func resetUserNotificationsWithRequestBuilder(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationsWithRequestBuilder(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/reset" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2065,7 +2065,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2087,9 +2087,9 @@ open class PublicAPI { - parameter sso: (query) (optional) - parameter searchSection: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SearchUsersResult + - returns: SearchUsersResponse1 */ - open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { + open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResponse1 { return try await searchUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection, apiConfiguration: apiConfiguration).execute().body } @@ -2102,9 +2102,9 @@ open class PublicAPI { - parameter sso: (query) (optional) - parameter searchSection: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/user-search/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2127,7 +2127,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2141,9 +2141,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PublicAPISetCommentTextResponse + - returns: SetCommentTextResponse1 */ - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse1 { return try await setCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2156,9 +2156,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/update-text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2182,7 +2182,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2194,9 +2194,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnblockSuccess + - returns: UnBlockCommentPublicResponse */ - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnBlockCommentPublicResponse { return try await unBlockCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2207,9 +2207,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2229,7 +2229,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2241,9 +2241,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: APIEmptyResponse + - returns: UnLockCommentResponse */ - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnLockCommentResponse { return try await unLockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2254,9 +2254,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/unlock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2279,7 +2279,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2291,9 +2291,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ChangeCommentPinStatusResponse + - returns: UnPinCommentResponse */ - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnPinCommentResponse { return try await unPinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2304,9 +2304,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/unpin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2329,7 +2329,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2342,9 +2342,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateFeedPostResponse + - returns: UpdateFeedPostPublicResponse */ - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateFeedPostPublicResponse { return try await updateFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2356,9 +2356,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2381,7 +2381,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2632,9 +2632,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteResponse + - returns: VoteCommentResponse */ - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteCommentResponse { return try await voteCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2648,9 +2648,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/vote" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2675,7 +2675,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } diff --git a/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift b/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift index 3c65201..c8b0c8c 100644 --- a/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift +++ b/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift @@ -40,7 +40,7 @@ extension URLSession: URLSessionProtocol { extension URLSessionDataTask: URLSessionDataTaskProtocol {} -public class URLSessionRequestBuilderFactory: RequestBuilderFactory { +public final class URLSessionRequestBuilderFactory: RequestBuilderFactory, Sendable { public init() {} public func getNonDecodableBuilder() -> RequestBuilder.Type { @@ -54,13 +54,7 @@ public class URLSessionRequestBuilderFactory: RequestBuilderFactory { fileprivate class URLSessionRequestBuilderConfiguration: @unchecked Sendable { private init() { - // Disable cookies to prevent the server from tying userIdWS to a session cookie. - // Stale or shared cookies cause the wrong userIdWS to be returned, which breaks - // presence tracking (p-u events won't fire for unrecognized userIdWS values). - let config = URLSessionConfiguration.ephemeral - config.httpCookieAcceptPolicy = .never - config.httpShouldSetCookies = false - defaultURLSession = URLSession(configuration: config, delegate: sessionDelegate, delegateQueue: nil) + defaultURLSession = URLSession(configuration: .default, delegate: sessionDelegate, delegateQueue: nil) } static let shared = URLSessionRequestBuilderConfiguration() @@ -72,10 +66,10 @@ fileprivate class URLSessionRequestBuilderConfiguration: @unchecked Sendable { let defaultURLSession: URLSession // Store current URLCredential for every URLSessionTask - var credentialStore = SynchronizedDictionary() + let credentialStore = SynchronizedDictionary() } -open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { +open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { required public init(method: String, URLString: String, parameters: [String: any Sendable]?, headers: [String: String] = [:], requiresAuthentication: Bool, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) { super.init(method: method, URLString: URLString, parameters: parameters, headers: headers, requiresAuthentication: requiresAuthentication, apiConfiguration: apiConfiguration) @@ -163,6 +157,8 @@ open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { let dataTask = urlSession.dataTaskFromProtocol(with: modifiedRequest) { data, response, error in self.cleanupRequest() + self.apiConfiguration.interceptor.didReceiveResponse(urlRequest: modifiedRequest, urlSession: urlSession, requestBuilder: self, data: data, response: response, error: error) + if let error = error { self.retryRequest( urlRequest: modifiedRequest, @@ -202,7 +198,7 @@ open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { return } - self.processRequestResponse(urlRequest: request, data: data, httpResponse: httpResponse, error: error, completion: completion) + self.processRequestResponse(urlRequest: modifiedRequest, urlSession: urlSession, data: data, httpResponse: httpResponse, error: error, completion: completion) } self.onProgressReady?(dataTask.progress) @@ -211,15 +207,25 @@ open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { self.requestTask.set(task: dataTask) + self.apiConfiguration.interceptor.willSendRequest(urlRequest: modifiedRequest, urlSession: urlSession, requestBuilder: self) + dataTask.resume() case .failure(let error): + self.apiConfiguration.interceptor.didComplete(urlRequest: request, urlSession: urlSession, requestBuilder: self, data: nil, response: nil, result: .failure(error)) self.apiConfiguration.apiResponseQueue.async { completion(.failure(ErrorResponse.error(415, nil, nil, error))) } } } } catch { + // Request creation failed - create a minimal request for error reporting + let failedURL = URL(string: URLString) ?? URL(string: "about:blank")! + var failedRequest = URLRequest(url: failedURL) + failedRequest.httpMethod = method + + self.apiConfiguration.interceptor.didComplete(urlRequest: failedRequest, urlSession: urlSession, requestBuilder: self, data: nil, response: nil, result: .failure(error)) + self.apiConfiguration.apiResponseQueue.async { completion(.failure(ErrorResponse.error(415, nil, nil, error))) } @@ -241,6 +247,7 @@ open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { self.execute(completion: completion) case .dontRetry: + self.apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: response, result: .failure(error)) self.apiConfiguration.apiResponseQueue.async { completion(.failure(ErrorResponse.error(statusCode, data, response, error))) } @@ -248,12 +255,13 @@ open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { } } - fileprivate func processRequestResponse(urlRequest: URLRequest, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @escaping (_ result: Swift.Result, ErrorResponse>) -> Void) { + fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @Sendable @escaping (_ result: Swift.Result, ErrorResponse>) -> Void) { switch T.self { case is Void.Type: - - completion(.success(Response(response: httpResponse, body: () as! T, bodyData: data))) + let result = () as! T + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .success(result)) + completion(.success(Response(response: httpResponse, body: result, bodyData: data))) default: fatalError("Unsupported Response Body Type - \(String(describing: T.self))") @@ -325,19 +333,17 @@ open class URLSessionRequestBuilder: RequestBuilder, @unchecked Sendable { } -open class URLSessionDecodableRequestBuilder: URLSessionRequestBuilder, @unchecked Sendable { - override fileprivate func processRequestResponse(urlRequest: URLRequest, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @escaping (_ result: Swift.Result, ErrorResponse>) -> Void) { +open class URLSessionDecodableRequestBuilder: URLSessionRequestBuilder, @unchecked Sendable { + override fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @Sendable @escaping (_ result: Swift.Result, ErrorResponse>) -> Void) { switch T.self { case is String.Type: - let body = data.flatMap { String(data: $0, encoding: .utf8) } ?? "" - + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .success(body as! T)) completion(.success(Response(response: httpResponse, body: body as! T, bodyData: data))) case is URL.Type: do { - guard error == nil else { throw DownloadException.responseFailed } @@ -364,29 +370,37 @@ open class URLSessionDecodableRequestBuilder: URLSessionRequestBui try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil) try data.write(to: filePath, options: .atomic) + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .success(filePath as! T)) completion(.success(Response(response: httpResponse, body: filePath as! T, bodyData: data))) } catch let requestParserError as DownloadException { + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .failure(requestParserError)) completion(.failure(ErrorResponse.error(400, data, httpResponse, requestParserError))) } catch { + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .failure(error)) completion(.failure(ErrorResponse.error(400, data, httpResponse, error))) } case is Void.Type: - - completion(.success(Response(response: httpResponse, body: () as! T, bodyData: data))) + let result = () as! T + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .success(result)) + completion(.success(Response(response: httpResponse, body: result, bodyData: data))) case is Data.Type: - - completion(.success(Response(response: httpResponse, body: data as! T, bodyData: data))) + let result = data as! T + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .success(result)) + completion(.success(Response(response: httpResponse, body: result, bodyData: data))) default: - guard let unwrappedData = data, !unwrappedData.isEmpty else { if let expressibleByNilLiteralType = T.self as? ExpressibleByNilLiteral.Type { - completion(.success(Response(response: httpResponse, body: expressibleByNilLiteralType.init(nilLiteral: ()) as! T, bodyData: data))) + let result = expressibleByNilLiteralType.init(nilLiteral: ()) as! T + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: httpResponse, result: .success(result)) + completion(.success(Response(response: httpResponse, body: result, bodyData: data))) } else { - completion(.failure(ErrorResponse.error(httpResponse.statusCode, nil, httpResponse, DecodableRequestBuilderError.emptyDataResponse))) + let emptyDataError = DecodableRequestBuilderError.emptyDataResponse + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: nil, response: httpResponse, result: .failure(emptyDataError)) + completion(.failure(ErrorResponse.error(httpResponse.statusCode, nil, httpResponse, emptyDataError))) } return } @@ -395,8 +409,10 @@ open class URLSessionDecodableRequestBuilder: URLSessionRequestBui switch decodeResult { case let .success(decodableObj): + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: unwrappedData, response: httpResponse, result: .success(decodableObj)) completion(.success(Response(response: httpResponse, body: decodableObj, bodyData: unwrappedData))) case let .failure(error): + apiConfiguration.interceptor.didComplete(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: unwrappedData, response: httpResponse, result: .failure(error)) completion(.failure(ErrorResponse.error(httpResponse.statusCode, unwrappedData, httpResponse, error))) } } @@ -404,7 +420,7 @@ open class URLSessionDecodableRequestBuilder: URLSessionRequestBui } fileprivate final class SessionDelegate: NSObject, URLSessionTaskDelegate { - func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) { + func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) { var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling @@ -464,7 +480,7 @@ private class FormDataEncoding: ParameterEncoding { let contentTypeForFormPart: (_ fileURL: URL) -> String? - init(contentTypeForFormPart: @escaping (_ fileURL: URL) -> String?) { + init(contentTypeForFormPart: @Sendable @escaping (_ fileURL: URL) -> String?) { self.contentTypeForFormPart = contentTypeForFormPart } @@ -717,20 +733,48 @@ public enum OpenAPIInterceptorRetry { case dontRetry } -public protocol OpenAPIInterceptor { - func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, completion: @escaping (Result) -> Void) +public protocol OpenAPIInterceptor: Sendable { + // MARK: - Request Modification & Retry + + /// Called before the request is sent. Allows modifying the URLRequest (e.g., adding authentication headers). + func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, completion: @Sendable @escaping (Result) -> Void) + + /// Called when a request fails. Allows the interceptor to decide whether to retry the request. + func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void) - func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, error: Error, completion: @escaping (OpenAPIInterceptorRetry) -> Void) + // MARK: - Lifecycle Hooks + + /// Called right before the request is sent, after all modifications from `intercept()` have been applied. + /// Useful for logging the final request that will be sent. + func willSendRequest(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder) + + /// Called when the raw response is received, before any processing or decoding. + /// Useful for logging raw responses or performing custom validation. + func didReceiveResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, error: Error?) + + /// Called after the request completes (either success or failure). + /// Useful for cleanup, analytics, or performance monitoring. + func didComplete(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, result: Result) +} + +// MARK: - Default Implementations (No-op) + +public extension OpenAPIInterceptor { + func willSendRequest(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder) {} + + func didReceiveResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, error: Error?) {} + + func didComplete(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, result: Result) {} } -public class DefaultOpenAPIInterceptor: OpenAPIInterceptor { +public final class DefaultOpenAPIInterceptor: OpenAPIInterceptor { public init() {} - - public func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, completion: @escaping (Result) -> Void) { + + public func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, completion: @Sendable @escaping (Result) -> Void) { completion(.success(urlRequest)) } - - public func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, error: Error, completion: @escaping (OpenAPIInterceptorRetry) -> Void) { + + public func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void) { completion(.dontRetry) } } diff --git a/client/FastCommentsSwift/Models/AddHashTagResponse.swift b/client/FastCommentsSwift/Models/AddHashTagResponse.swift new file mode 100644 index 0000000..9235c74 --- /dev/null +++ b/client/FastCommentsSwift/Models/AddHashTagResponse.swift @@ -0,0 +1,61 @@ +// +// AddHashTagResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct AddHashTagResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var hashTag: TenantHashTag? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, hashTag: TenantHashTag? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.hashTag = hashTag + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case hashTag + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(hashTag, forKey: .hashTag) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift b/client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift new file mode 100644 index 0000000..4475797 --- /dev/null +++ b/client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift @@ -0,0 +1,61 @@ +// +// AddHashTagsBulkResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct AddHashTagsBulkResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var results: [BulkCreateHashTagsResponseResultsInner]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, results: [BulkCreateHashTagsResponseResultsInner]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.results = results + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case results + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(results, forKey: .results) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift b/client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift new file mode 100644 index 0000000..5c8df31 --- /dev/null +++ b/client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift @@ -0,0 +1,61 @@ +// +// AggregateQuestionResultsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct AggregateQuestionResultsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var data: QuestionResultAggregationOverall? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, data: QuestionResultAggregationOverall? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.data = data + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case data + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(data, forKey: .data) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift b/client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift new file mode 100644 index 0000000..6de0f49 --- /dev/null +++ b/client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift @@ -0,0 +1,62 @@ +// +// BlockFromCommentPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct BlockFromCommentPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + /** Construct a type with a set of properties K of type T */ + public var commentStatuses: [String: Bool]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.commentStatuses = commentStatuses + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case commentStatuses + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift b/client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift new file mode 100644 index 0000000..19e6279 --- /dev/null +++ b/client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift @@ -0,0 +1,62 @@ +// +// BlockUserFromCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct BlockUserFromCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + /** Construct a type with a set of properties K of type T */ + public var commentStatuses: [String: Bool]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.commentStatuses = commentStatuses + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case commentStatuses + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift b/client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift new file mode 100644 index 0000000..1e5cf80 --- /dev/null +++ b/client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift @@ -0,0 +1,62 @@ +// +// BulkAggregateQuestionResultsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct BulkAggregateQuestionResultsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + /** Construct a type with a set of properties K of type T */ + public var data: [String: QuestionResultAggregationOverall]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, data: [String: QuestionResultAggregationOverall]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.data = data + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case data + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(data, forKey: .data) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift b/client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift new file mode 100644 index 0000000..6f36c31 --- /dev/null +++ b/client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift @@ -0,0 +1,61 @@ +// +// ChangeTicketStateResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct ChangeTicketStateResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var ticket: APITicket? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, ticket: APITicket? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.ticket = ticket + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case ticket + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(ticket, forKey: .ticket) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift b/client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift new file mode 100644 index 0000000..4f22f0e --- /dev/null +++ b/client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift @@ -0,0 +1,62 @@ +// +// CheckedCommentsForBlockedResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CheckedCommentsForBlockedResponse: Sendable, Codable, Hashable { + + /** Construct a type with a set of properties K of type T */ + public var commentStatuses: [String: Bool]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(commentStatuses: [String: Bool]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.commentStatuses = commentStatuses + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case commentStatuses + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift b/client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift new file mode 100644 index 0000000..a5ce3af --- /dev/null +++ b/client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift @@ -0,0 +1,61 @@ +// +// CombineCommentsWithQuestionResultsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CombineCommentsWithQuestionResultsResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var data: FindCommentsByRangeResponse? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, data: FindCommentsByRangeResponse? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.data = data + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case data + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(data, forKey: .data) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift b/client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift new file mode 100644 index 0000000..8996a36 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift @@ -0,0 +1,74 @@ +// +// CreateCommentPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateCommentPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var comment: PublicComment? + public var user: UserSessionInfo? + /** Construct a type with a set of properties K of type T */ + public var moduleData: [String: JSONValue]? + public var userIdWS: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, comment: PublicComment? = nil, user: UserSessionInfo? = nil, moduleData: [String: JSONValue]? = nil, userIdWS: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.comment = comment + self.user = user + self.moduleData = moduleData + self.userIdWS = userIdWS + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case comment + case user + case moduleData + case userIdWS + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(moduleData, forKey: .moduleData) + try container.encodeIfPresent(userIdWS, forKey: .userIdWS) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift b/client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift new file mode 100644 index 0000000..503a8b1 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateEmailTemplateResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateEmailTemplateResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var emailTemplate: CustomEmailTemplate? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, emailTemplate: CustomEmailTemplate? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.emailTemplate = emailTemplate + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case emailTemplate + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(emailTemplate, forKey: .emailTemplate) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift new file mode 100644 index 0000000..c08fc68 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift @@ -0,0 +1,61 @@ +// +// CreateFeedPostPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateFeedPostPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var feedPost: FeedPost? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, feedPost: FeedPost? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.feedPost = feedPost + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case feedPost + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(feedPost, forKey: .feedPost) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift b/client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift new file mode 100644 index 0000000..7f083fc --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateFeedPostResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateFeedPostResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var feedPost: FeedPost? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, feedPost: FeedPost? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.feedPost = feedPost + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case feedPost + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(feedPost, forKey: .feedPost) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateModeratorResponse1.swift b/client/FastCommentsSwift/Models/CreateModeratorResponse1.swift new file mode 100644 index 0000000..f68187a --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateModeratorResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateModeratorResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateModeratorResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var moderator: Moderator? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, moderator: Moderator? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.moderator = moderator + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case moderator + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(moderator, forKey: .moderator) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift b/client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift new file mode 100644 index 0000000..45f2848 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateQuestionConfigResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateQuestionConfigResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var questionConfig: QuestionConfig? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, questionConfig: QuestionConfig? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.questionConfig = questionConfig + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case questionConfig + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(questionConfig, forKey: .questionConfig) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift b/client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift new file mode 100644 index 0000000..397a7b2 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateQuestionResultResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateQuestionResultResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var questionResult: QuestionResult? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, questionResult: QuestionResult? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.questionResult = questionResult + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case questionResult + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(questionResult, forKey: .questionResult) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift b/client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift new file mode 100644 index 0000000..9d82946 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateTenantPackageResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateTenantPackageResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantPackage: TenantPackage? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantPackage: TenantPackage? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantPackage = tenantPackage + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantPackage + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantPackage, forKey: .tenantPackage) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateTenantResponse1.swift b/client/FastCommentsSwift/Models/CreateTenantResponse1.swift new file mode 100644 index 0000000..2b729f1 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateTenantResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateTenantResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateTenantResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenant: APITenant? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenant: APITenant? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenant = tenant + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenant + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenant, forKey: .tenant) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift b/client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift new file mode 100644 index 0000000..37ac230 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateTenantUserResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateTenantUserResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantUser: User? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantUser: User? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantUser = tenantUser + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantUser + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantUser, forKey: .tenantUser) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateTicketResponse1.swift b/client/FastCommentsSwift/Models/CreateTicketResponse1.swift new file mode 100644 index 0000000..f00bb0c --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateTicketResponse1.swift @@ -0,0 +1,61 @@ +// +// CreateTicketResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateTicketResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var ticket: APITicket? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, ticket: APITicket? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.ticket = ticket + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case ticket + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(ticket, forKey: .ticket) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift b/client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift new file mode 100644 index 0000000..026cd93 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift @@ -0,0 +1,65 @@ +// +// CreateUserBadgeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateUserBadgeResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var userBadge: UserBadge? + public var notes: [String]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userBadge: UserBadge? = nil, notes: [String]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userBadge = userBadge + self.notes = notes + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userBadge + case notes + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userBadge, forKey: .userBadge) + try container.encodeIfPresent(notes, forKey: .notes) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift b/client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift new file mode 100644 index 0000000..9703c4c --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift @@ -0,0 +1,57 @@ +// +// CreateV1PageReactResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateV1PageReactResponse: Sendable, Codable, Hashable { + + public var code: String? + public var status: APIStatus + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.code = code + self.status = status + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case code + case status + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(code, forKey: .code) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift b/client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift new file mode 100644 index 0000000..8ad3296 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift @@ -0,0 +1,57 @@ +// +// CreateV2PageReactResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateV2PageReactResponse: Sendable, Codable, Hashable { + + public var code: String? + public var status: APIStatus + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.code = code + self.status = status + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case code + case status + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(code, forKey: .code) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/CreateVoteResponse.swift b/client/FastCommentsSwift/Models/CreateVoteResponse.swift new file mode 100644 index 0000000..9dfedc4 --- /dev/null +++ b/client/FastCommentsSwift/Models/CreateVoteResponse.swift @@ -0,0 +1,73 @@ +// +// CreateVoteResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct CreateVoteResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var voteId: String? + public var isVerified: Bool? + public var user: VoteResponseUser? + public var editKey: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, voteId: String? = nil, isVerified: Bool? = nil, user: VoteResponseUser? = nil, editKey: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.voteId = voteId + self.isVerified = isVerified + self.user = user + self.editKey = editKey + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case voteId + case isVerified + case user + case editKey + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(voteId, forKey: .voteId) + try container.encodeIfPresent(isVerified, forKey: .isVerified) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(editKey, forKey: .editKey) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift b/client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift new file mode 100644 index 0000000..9fe6538 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift @@ -0,0 +1,65 @@ +// +// DeleteCommentPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteCommentPublicResponse: Sendable, Codable, Hashable { + + public var comment: DeletedCommentResultComment? + public var hardRemoved: Bool? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(comment: DeletedCommentResultComment? = nil, hardRemoved: Bool? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.comment = comment + self.hardRemoved = hardRemoved + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case comment + case hardRemoved + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encodeIfPresent(hardRemoved, forKey: .hardRemoved) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteCommentResponse.swift b/client/FastCommentsSwift/Models/DeleteCommentResponse.swift new file mode 100644 index 0000000..08f0f3e --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteCommentResponse.swift @@ -0,0 +1,61 @@ +// +// DeleteCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteCommentResponse: Sendable, Codable, Hashable { + + public var action: DeleteCommentAction? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(action: DeleteCommentAction? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.action = action + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case action + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(action, forKey: .action) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift b/client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift new file mode 100644 index 0000000..a8df86f --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift @@ -0,0 +1,61 @@ +// +// DeleteCommentVoteResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteCommentVoteResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var wasPendingVote: Bool? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, wasPendingVote: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.wasPendingVote = wasPendingVote + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case wasPendingVote + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(wasPendingVote, forKey: .wasPendingVote) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift b/client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift new file mode 100644 index 0000000..c0ac41e --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteEmailTemplateRenderErrorResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteEmailTemplateRenderErrorResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift b/client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift new file mode 100644 index 0000000..60f5573 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteEmailTemplateResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteEmailTemplateResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift index 55d0399..0b93b26 100644 --- a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift +++ b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift @@ -10,13 +10,34 @@ import Foundation public struct DeleteFeedPostPublicResponse: Sendable, Codable, Hashable { public var status: APIStatus - - public init(status: APIStatus) { + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig } // Encodable protocol methods @@ -24,6 +45,13 @@ public struct DeleteFeedPostPublicResponse: Sendable, Codable, Hashable { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift new file mode 100644 index 0000000..d2f65dc --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift @@ -0,0 +1,29 @@ +// +// DeleteFeedPostPublicResponseAnyOf.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteFeedPostPublicResponseAnyOf: Sendable, Codable, Hashable { + + public var status: APIStatus + + public init(status: APIStatus) { + self.status = status + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteHashTagResponse.swift b/client/FastCommentsSwift/Models/DeleteHashTagResponse.swift new file mode 100644 index 0000000..3c3a4c2 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteHashTagResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteHashTagResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteHashTagResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift b/client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift new file mode 100644 index 0000000..958677f --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift @@ -0,0 +1,61 @@ +// +// DeleteModerationVoteResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteModerationVoteResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var wasPendingVote: Bool? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, wasPendingVote: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.wasPendingVote = wasPendingVote + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case wasPendingVote + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(wasPendingVote, forKey: .wasPendingVote) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteModeratorResponse.swift b/client/FastCommentsSwift/Models/DeleteModeratorResponse.swift new file mode 100644 index 0000000..6cc6215 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteModeratorResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteModeratorResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteModeratorResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift b/client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift new file mode 100644 index 0000000..3cf3705 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteNotificationCountResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteNotificationCountResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift b/client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift new file mode 100644 index 0000000..bde3b8c --- /dev/null +++ b/client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift @@ -0,0 +1,57 @@ +// +// DeletePendingWebhookEventResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeletePendingWebhookEventResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift b/client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift new file mode 100644 index 0000000..6e81400 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteQuestionConfigResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteQuestionConfigResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift b/client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift new file mode 100644 index 0000000..1c44ef4 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteQuestionResultResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteQuestionResultResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift b/client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift new file mode 100644 index 0000000..1f58134 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteTenantPackageResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteTenantPackageResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteTenantResponse.swift b/client/FastCommentsSwift/Models/DeleteTenantResponse.swift new file mode 100644 index 0000000..bc05751 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteTenantResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteTenantResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteTenantResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift b/client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift new file mode 100644 index 0000000..b729338 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteTenantUserResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteTenantUserResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift b/client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift new file mode 100644 index 0000000..a5ed704 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteUserBadgeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteUserBadgeResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift b/client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift new file mode 100644 index 0000000..8ecb7eb --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteV1PageReactResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteV1PageReactResponse: Sendable, Codable, Hashable { + + public var code: String? + public var status: APIStatus + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.code = code + self.status = status + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case code + case status + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(code, forKey: .code) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift b/client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift new file mode 100644 index 0000000..a188eb5 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift @@ -0,0 +1,57 @@ +// +// DeleteV2PageReactResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteV2PageReactResponse: Sendable, Codable, Hashable { + + public var code: String? + public var status: APIStatus + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.code = code + self.status = status + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case code + case status + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(code, forKey: .code) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/DeleteVoteResponse.swift b/client/FastCommentsSwift/Models/DeleteVoteResponse.swift new file mode 100644 index 0000000..4b6def7 --- /dev/null +++ b/client/FastCommentsSwift/Models/DeleteVoteResponse.swift @@ -0,0 +1,61 @@ +// +// DeleteVoteResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct DeleteVoteResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var wasPendingVote: Bool? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, wasPendingVote: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.wasPendingVote = wasPendingVote + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case wasPendingVote + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(wasPendingVote, forKey: .wasPendingVote) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift b/client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift new file mode 100644 index 0000000..7500b9a --- /dev/null +++ b/client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift @@ -0,0 +1,57 @@ +// +// FlagCommentPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct FlagCommentPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/FlagCommentResponse1.swift b/client/FastCommentsSwift/Models/FlagCommentResponse1.swift new file mode 100644 index 0000000..bcafb09 --- /dev/null +++ b/client/FastCommentsSwift/Models/FlagCommentResponse1.swift @@ -0,0 +1,65 @@ +// +// FlagCommentResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct FlagCommentResponse1: Sendable, Codable, Hashable { + + public var statusCode: Int? + public var status: APIStatus + public var code: String? + public var reason: String? + public var wasUnapproved: Bool? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(statusCode: Int? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, wasUnapproved: Bool? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.statusCode = statusCode + self.status = status + self.code = code + self.reason = reason + self.wasUnapproved = wasUnapproved + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case statusCode + case status + case code + case reason + case wasUnapproved + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(statusCode, forKey: .statusCode) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(wasUnapproved, forKey: .wasUnapproved) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetApiCommentsResponse.swift b/client/FastCommentsSwift/Models/GetApiCommentsResponse.swift new file mode 100644 index 0000000..74db0b9 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetApiCommentsResponse.swift @@ -0,0 +1,69 @@ +// +// GetApiCommentsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetApiCommentsResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var translations: JSONValue? + public var comments: [ModerationAPIComment]? + public var moderationFilter: ModerationFilter? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, translations: JSONValue? = nil, comments: [ModerationAPIComment]? = nil, moderationFilter: ModerationFilter? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.translations = translations + self.comments = comments + self.moderationFilter = moderationFilter + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case translations + case comments + case moderationFilter + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(translations, forKey: .translations) + try container.encodeIfPresent(comments, forKey: .comments) + try container.encodeIfPresent(moderationFilter, forKey: .moderationFilter) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift b/client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift new file mode 100644 index 0000000..7483976 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift @@ -0,0 +1,69 @@ +// +// GetApiExportStatusResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetApiExportStatusResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var jobStatus: String? + public var recordCount: Int? + public var downloadUrl: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, jobStatus: String? = nil, recordCount: Int? = nil, downloadUrl: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.jobStatus = jobStatus + self.recordCount = recordCount + self.downloadUrl = downloadUrl + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case jobStatus + case recordCount + case downloadUrl + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(jobStatus, forKey: .jobStatus) + try container.encodeIfPresent(recordCount, forKey: .recordCount) + try container.encodeIfPresent(downloadUrl, forKey: .downloadUrl) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetApiIdsResponse.swift b/client/FastCommentsSwift/Models/GetApiIdsResponse.swift new file mode 100644 index 0000000..530bc5e --- /dev/null +++ b/client/FastCommentsSwift/Models/GetApiIdsResponse.swift @@ -0,0 +1,65 @@ +// +// GetApiIdsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetApiIdsResponse: Sendable, Codable, Hashable { + + public var ids: [String]? + public var hasMore: Bool? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(ids: [String]? = nil, hasMore: Bool? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.ids = ids + self.hasMore = hasMore + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case ids + case hasMore + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(ids, forKey: .ids) + try container.encodeIfPresent(hasMore, forKey: .hasMore) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift b/client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift new file mode 100644 index 0000000..7d65981 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetAuditLogsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetAuditLogsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var auditLogs: [APIAuditLog]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, auditLogs: [APIAuditLog]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.auditLogs = auditLogs + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case auditLogs + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(auditLogs, forKey: .auditLogs) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift b/client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift new file mode 100644 index 0000000..bf16fa2 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift @@ -0,0 +1,61 @@ +// +// GetBanUsersFromCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetBanUsersFromCommentResponse: Sendable, Codable, Hashable { + + public var bannedUsers: [APIBannedUserWithMultiMatchInfo]? + public var code: String? + public var status: APIStatus + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(bannedUsers: [APIBannedUserWithMultiMatchInfo]? = nil, code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.bannedUsers = bannedUsers + self.code = code + self.status = status + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case bannedUsers + case code + case status + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(bannedUsers, forKey: .bannedUsers) + try container.encodeIfPresent(code, forKey: .code) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift b/client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift new file mode 100644 index 0000000..4c6b128 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift @@ -0,0 +1,61 @@ +// +// GetCachedNotificationCountResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCachedNotificationCountResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var data: UserNotificationCount? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, data: UserNotificationCount? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.data = data + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case data + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(data, forKey: .data) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift b/client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift new file mode 100644 index 0000000..4dc26b0 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift @@ -0,0 +1,65 @@ +// +// GetCommentBanStatusResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentBanStatusResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var emailDomain: String? + public var canIPBan: Bool? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, emailDomain: String? = nil, canIPBan: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.emailDomain = emailDomain + self.canIPBan = canIPBan + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case emailDomain + case canIPBan + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(emailDomain, forKey: .emailDomain) + try container.encodeIfPresent(canIPBan, forKey: .canIPBan) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift b/client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift new file mode 100644 index 0000000..c25b3fb --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift @@ -0,0 +1,61 @@ +// +// GetCommentChildrenResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentChildrenResponse: Sendable, Codable, Hashable { + + public var comments: [ModerationAPIComment]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(comments: [ModerationAPIComment]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.comments = comments + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case comments + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(comments, forKey: .comments) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentResponse.swift b/client/FastCommentsSwift/Models/GetCommentResponse.swift new file mode 100644 index 0000000..97bc5e1 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentResponse.swift @@ -0,0 +1,61 @@ +// +// GetCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var comment: APIComment? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, comment: APIComment? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.comment = comment + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case comment + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentTextResponse1.swift b/client/FastCommentsSwift/Models/GetCommentTextResponse1.swift new file mode 100644 index 0000000..f90b321 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentTextResponse1.swift @@ -0,0 +1,65 @@ +// +// GetCommentTextResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentTextResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var commentText: String? + public var sanitizedCommentText: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, commentText: String? = nil, sanitizedCommentText: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.commentText = commentText + self.sanitizedCommentText = sanitizedCommentText + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case commentText + case sanitizedCommentText + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(commentText, forKey: .commentText) + try container.encodeIfPresent(sanitizedCommentText, forKey: .sanitizedCommentText) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift b/client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift new file mode 100644 index 0000000..ffbff78 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift @@ -0,0 +1,65 @@ +// +// GetCommentVoteUserNamesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentVoteUserNamesResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var voteUserNames: [String]? + public var hasMore: Bool? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, voteUserNames: [String]? = nil, hasMore: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.voteUserNames = voteUserNames + self.hasMore = hasMore + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case voteUserNames + case hasMore + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(voteUserNames, forKey: .voteUserNames) + try container.encodeIfPresent(hasMore, forKey: .hasMore) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift b/client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift new file mode 100644 index 0000000..8df42dc --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift @@ -0,0 +1,61 @@ +// +// GetCommentsForUserResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentsForUserResponse1: Sendable, Codable, Hashable { + + public var moderatingTenantIds: [String]? + public var status: APIStatus? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(moderatingTenantIds: [String]? = nil, status: APIStatus? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.moderatingTenantIds = moderatingTenantIds + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case moderatingTenantIds + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(moderatingTenantIds, forKey: .moderatingTenantIds) + try container.encodeIfPresent(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift b/client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift new file mode 100644 index 0000000..0bfd3b9 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift @@ -0,0 +1,150 @@ +// +// GetCommentsPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentsPublicResponse: Sendable, Codable, Hashable { + + public var statusCode: Int? + public var status: APIStatus + public var code: String? + public var reason: String? + public var translatedWarning: String? + public var comments: [PublicComment]? + public var user: UserSessionInfo? + public var urlIdClean: String? + public var lastGenDate: Int64? + public var includesPastPages: Bool? + public var isDemo: Bool? + public var commentCount: Int? + public var isSiteAdmin: Bool? + public var hasBillingIssue: Bool? + /** Construct a type with a set of properties K of type T */ + public var moduleData: [String: JSONValue]? + public var pageNumber: Int? + public var isWhiteLabeled: Bool? + public var isProd: Bool? + public var isCrawler: Bool? + public var notificationCount: Int? + public var hasMore: Bool? + public var isClosed: Bool? + public var presencePollState: Int? + public var customConfig: CustomConfigParameters? + public var urlIdWS: String? + public var userIdWS: String? + public var tenantIdWS: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + + public init(statusCode: Int? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, translatedWarning: String? = nil, comments: [PublicComment]? = nil, user: UserSessionInfo? = nil, urlIdClean: String? = nil, lastGenDate: Int64? = nil, includesPastPages: Bool? = nil, isDemo: Bool? = nil, commentCount: Int? = nil, isSiteAdmin: Bool? = nil, hasBillingIssue: Bool? = nil, moduleData: [String: JSONValue]? = nil, pageNumber: Int? = nil, isWhiteLabeled: Bool? = nil, isProd: Bool? = nil, isCrawler: Bool? = nil, notificationCount: Int? = nil, hasMore: Bool? = nil, isClosed: Bool? = nil, presencePollState: Int? = nil, customConfig: CustomConfigParameters? = nil, urlIdWS: String? = nil, userIdWS: String? = nil, tenantIdWS: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil) { + self.statusCode = statusCode + self.status = status + self.code = code + self.reason = reason + self.translatedWarning = translatedWarning + self.comments = comments + self.user = user + self.urlIdClean = urlIdClean + self.lastGenDate = lastGenDate + self.includesPastPages = includesPastPages + self.isDemo = isDemo + self.commentCount = commentCount + self.isSiteAdmin = isSiteAdmin + self.hasBillingIssue = hasBillingIssue + self.moduleData = moduleData + self.pageNumber = pageNumber + self.isWhiteLabeled = isWhiteLabeled + self.isProd = isProd + self.isCrawler = isCrawler + self.notificationCount = notificationCount + self.hasMore = hasMore + self.isClosed = isClosed + self.presencePollState = presencePollState + self.customConfig = customConfig + self.urlIdWS = urlIdWS + self.userIdWS = userIdWS + self.tenantIdWS = tenantIdWS + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case statusCode + case status + case code + case reason + case translatedWarning + case comments + case user + case urlIdClean + case lastGenDate + case includesPastPages + case isDemo + case commentCount + case isSiteAdmin + case hasBillingIssue + case moduleData + case pageNumber + case isWhiteLabeled + case isProd + case isCrawler + case notificationCount + case hasMore + case isClosed + case presencePollState + case customConfig + case urlIdWS + case userIdWS + case tenantIdWS + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(statusCode, forKey: .statusCode) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(translatedWarning, forKey: .translatedWarning) + try container.encodeIfPresent(comments, forKey: .comments) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(urlIdClean, forKey: .urlIdClean) + try container.encodeIfPresent(lastGenDate, forKey: .lastGenDate) + try container.encodeIfPresent(includesPastPages, forKey: .includesPastPages) + try container.encodeIfPresent(isDemo, forKey: .isDemo) + try container.encodeIfPresent(commentCount, forKey: .commentCount) + try container.encodeIfPresent(isSiteAdmin, forKey: .isSiteAdmin) + try container.encodeIfPresent(hasBillingIssue, forKey: .hasBillingIssue) + try container.encodeIfPresent(moduleData, forKey: .moduleData) + try container.encodeIfPresent(pageNumber, forKey: .pageNumber) + try container.encodeIfPresent(isWhiteLabeled, forKey: .isWhiteLabeled) + try container.encodeIfPresent(isProd, forKey: .isProd) + try container.encodeIfPresent(isCrawler, forKey: .isCrawler) + try container.encodeIfPresent(notificationCount, forKey: .notificationCount) + try container.encodeIfPresent(hasMore, forKey: .hasMore) + try container.encodeIfPresent(isClosed, forKey: .isClosed) + try container.encodeIfPresent(presencePollState, forKey: .presencePollState) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + try container.encodeIfPresent(urlIdWS, forKey: .urlIdWS) + try container.encodeIfPresent(userIdWS, forKey: .userIdWS) + try container.encodeIfPresent(tenantIdWS, forKey: .tenantIdWS) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCommentsResponse.swift b/client/FastCommentsSwift/Models/GetCommentsResponse.swift new file mode 100644 index 0000000..cb76a71 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCommentsResponse.swift @@ -0,0 +1,61 @@ +// +// GetCommentsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCommentsResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var comments: [APIComment]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, comments: [APIComment]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.comments = comments + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case comments + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(comments, forKey: .comments) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCountResponse.swift b/client/FastCommentsSwift/Models/GetCountResponse.swift new file mode 100644 index 0000000..2645edb --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCountResponse.swift @@ -0,0 +1,61 @@ +// +// GetCountResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCountResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var count: Double? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.count = count + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case count + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(count, forKey: .count) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetCountsResponse.swift b/client/FastCommentsSwift/Models/GetCountsResponse.swift new file mode 100644 index 0000000..8ccd324 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetCountsResponse.swift @@ -0,0 +1,61 @@ +// +// GetCountsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetCountsResponse: Sendable, Codable, Hashable { + + public var totalCount: Double? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(totalCount: Double? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.totalCount = totalCount + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case totalCount + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(totalCount, forKey: .totalCount) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift new file mode 100644 index 0000000..e19586f --- /dev/null +++ b/client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetEmailTemplateDefinitionsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetEmailTemplateDefinitionsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var definitions: [EmailTemplateDefinition]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, definitions: [EmailTemplateDefinition]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.definitions = definitions + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case definitions + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(definitions, forKey: .definitions) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift new file mode 100644 index 0000000..643f850 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetEmailTemplateRenderErrorsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetEmailTemplateRenderErrorsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var renderErrors: [EmailTemplateRenderErrorResponse]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, renderErrors: [EmailTemplateRenderErrorResponse]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.renderErrors = renderErrors + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case renderErrors + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(renderErrors, forKey: .renderErrors) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift new file mode 100644 index 0000000..ae6aefa --- /dev/null +++ b/client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift @@ -0,0 +1,61 @@ +// +// GetEmailTemplateResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetEmailTemplateResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var emailTemplate: CustomEmailTemplate? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, emailTemplate: CustomEmailTemplate? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.emailTemplate = emailTemplate + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case emailTemplate + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(emailTemplate, forKey: .emailTemplate) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift new file mode 100644 index 0000000..a85b81b --- /dev/null +++ b/client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift @@ -0,0 +1,61 @@ +// +// GetEmailTemplatesResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetEmailTemplatesResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var emailTemplates: [CustomEmailTemplate]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, emailTemplates: [CustomEmailTemplate]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.emailTemplates = emailTemplates + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case emailTemplates + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(emailTemplates, forKey: .emailTemplates) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetEventLogResponse1.swift b/client/FastCommentsSwift/Models/GetEventLogResponse1.swift new file mode 100644 index 0000000..d4475e1 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetEventLogResponse1.swift @@ -0,0 +1,61 @@ +// +// GetEventLogResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetEventLogResponse1: Sendable, Codable, Hashable { + + public var events: [EventLogEntry]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(events: [EventLogEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.events = events + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case events + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(events, forKey: .events) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift b/client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift new file mode 100644 index 0000000..b9a891f --- /dev/null +++ b/client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift @@ -0,0 +1,81 @@ +// +// GetFeedPostsPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetFeedPostsPublicResponse: Sendable, Codable, Hashable { + + public var myReacts: [String: [String: Bool]]? + public var status: APIStatus + public var feedPosts: [FeedPost]? + public var user: UserSessionInfo? + public var urlIdWS: String? + public var userIdWS: String? + public var tenantIdWS: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(myReacts: [String: [String: Bool]]? = nil, status: APIStatus, feedPosts: [FeedPost]? = nil, user: UserSessionInfo? = nil, urlIdWS: String? = nil, userIdWS: String? = nil, tenantIdWS: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.myReacts = myReacts + self.status = status + self.feedPosts = feedPosts + self.user = user + self.urlIdWS = urlIdWS + self.userIdWS = userIdWS + self.tenantIdWS = tenantIdWS + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case myReacts + case status + case feedPosts + case user + case urlIdWS + case userIdWS + case tenantIdWS + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(myReacts, forKey: .myReacts) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(feedPosts, forKey: .feedPosts) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(urlIdWS, forKey: .urlIdWS) + try container.encodeIfPresent(userIdWS, forKey: .userIdWS) + try container.encodeIfPresent(tenantIdWS, forKey: .tenantIdWS) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift b/client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift new file mode 100644 index 0000000..59ba4d5 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetFeedPostsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetFeedPostsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var feedPosts: [FeedPost]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, feedPosts: [FeedPost]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.feedPosts = feedPosts + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case feedPosts + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(feedPosts, forKey: .feedPosts) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift b/client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift new file mode 100644 index 0000000..772215f --- /dev/null +++ b/client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift @@ -0,0 +1,61 @@ +// +// GetFeedPostsStatsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetFeedPostsStatsResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var stats: [String: FeedPostStats]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, stats: [String: FeedPostStats]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.stats = stats + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case stats + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(stats, forKey: .stats) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetGifLargeResponse.swift b/client/FastCommentsSwift/Models/GetGifLargeResponse.swift new file mode 100644 index 0000000..bdaf6d4 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetGifLargeResponse.swift @@ -0,0 +1,61 @@ +// +// GetGifLargeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetGifLargeResponse: Sendable, Codable, Hashable { + + public var src: String? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(src: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.src = src + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case src + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(src, forKey: .src) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift b/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift index a4fe714..c8226b3 100644 --- a/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift +++ b/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift @@ -12,17 +12,35 @@ public struct GetGifsSearchResponse: Sendable, Codable, Hashable { public var images: [[GifSearchResponseImagesInnerInner]]? public var status: APIStatus public var code: String? - - public init(images: [[GifSearchResponseImagesInnerInner]]? = nil, status: APIStatus, code: String? = nil) { + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(images: [[GifSearchResponseImagesInnerInner]]? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { self.images = images self.status = status self.code = code + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { case images case status case code + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig } // Encodable protocol methods @@ -32,6 +50,12 @@ public struct GetGifsSearchResponse: Sendable, Codable, Hashable { try container.encodeIfPresent(images, forKey: .images) try container.encode(status, forKey: .status) try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift b/client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift new file mode 100644 index 0000000..cdc6dc2 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift @@ -0,0 +1,61 @@ +// +// GetGlobalEventLogResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetGlobalEventLogResponse: Sendable, Codable, Hashable { + + public var events: [EventLogEntry]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(events: [EventLogEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.events = events + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case events + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(events, forKey: .events) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetHashTagsResponse1.swift b/client/FastCommentsSwift/Models/GetHashTagsResponse1.swift new file mode 100644 index 0000000..4052e8b --- /dev/null +++ b/client/FastCommentsSwift/Models/GetHashTagsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetHashTagsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetHashTagsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var hashTags: [TenantHashTag]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, hashTags: [TenantHashTag]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.hashTags = hashTags + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case hashTags + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(hashTags, forKey: .hashTags) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetLogsResponse.swift b/client/FastCommentsSwift/Models/GetLogsResponse.swift new file mode 100644 index 0000000..acd79ce --- /dev/null +++ b/client/FastCommentsSwift/Models/GetLogsResponse.swift @@ -0,0 +1,61 @@ +// +// GetLogsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetLogsResponse: Sendable, Codable, Hashable { + + public var logs: [ModerationAPICommentLog]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(logs: [ModerationAPICommentLog]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.logs = logs + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case logs + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(logs, forKey: .logs) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift b/client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift new file mode 100644 index 0000000..3466724 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift @@ -0,0 +1,61 @@ +// +// GetManualBadgesForUserResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetManualBadgesForUserResponse: Sendable, Codable, Hashable { + + public var badges: [UserBadge]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(badges: [UserBadge]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.badges = badges + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case badges + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(badges, forKey: .badges) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetManualBadgesResponse.swift b/client/FastCommentsSwift/Models/GetManualBadgesResponse.swift new file mode 100644 index 0000000..642ec19 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetManualBadgesResponse.swift @@ -0,0 +1,61 @@ +// +// GetManualBadgesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetManualBadgesResponse: Sendable, Codable, Hashable { + + public var badges: [TenantBadge]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(badges: [TenantBadge]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.badges = badges + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case badges + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(badges, forKey: .badges) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetModerationCommentResponse.swift b/client/FastCommentsSwift/Models/GetModerationCommentResponse.swift new file mode 100644 index 0000000..c984dda --- /dev/null +++ b/client/FastCommentsSwift/Models/GetModerationCommentResponse.swift @@ -0,0 +1,61 @@ +// +// GetModerationCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetModerationCommentResponse: Sendable, Codable, Hashable { + + public var comment: ModerationAPIComment? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(comment: ModerationAPIComment? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.comment = comment + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case comment + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift b/client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift new file mode 100644 index 0000000..7dfd74c --- /dev/null +++ b/client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift @@ -0,0 +1,61 @@ +// +// GetModerationCommentTextResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetModerationCommentTextResponse: Sendable, Codable, Hashable { + + public var comment: String? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(comment: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.comment = comment + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case comment + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetModeratorResponse1.swift b/client/FastCommentsSwift/Models/GetModeratorResponse1.swift new file mode 100644 index 0000000..fceae0a --- /dev/null +++ b/client/FastCommentsSwift/Models/GetModeratorResponse1.swift @@ -0,0 +1,61 @@ +// +// GetModeratorResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetModeratorResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var moderator: Moderator? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, moderator: Moderator? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.moderator = moderator + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case moderator + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(moderator, forKey: .moderator) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetModeratorsResponse1.swift b/client/FastCommentsSwift/Models/GetModeratorsResponse1.swift new file mode 100644 index 0000000..8493b2a --- /dev/null +++ b/client/FastCommentsSwift/Models/GetModeratorsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetModeratorsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetModeratorsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var moderators: [Moderator]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, moderators: [Moderator]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.moderators = moderators + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case moderators + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(moderators, forKey: .moderators) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift b/client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift new file mode 100644 index 0000000..1d6f24b --- /dev/null +++ b/client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift @@ -0,0 +1,61 @@ +// +// GetNotificationCountResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetNotificationCountResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var count: Double? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.count = count + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case count + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(count, forKey: .count) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetNotificationsResponse1.swift b/client/FastCommentsSwift/Models/GetNotificationsResponse1.swift new file mode 100644 index 0000000..e2f1767 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetNotificationsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetNotificationsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetNotificationsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var notifications: [UserNotification]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, notifications: [UserNotification]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.notifications = notifications + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case notifications + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(notifications, forKey: .notifications) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift b/client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift new file mode 100644 index 0000000..fbd6825 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift @@ -0,0 +1,69 @@ +// +// GetOfflineUsersResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetOfflineUsersResponse: Sendable, Codable, Hashable { + + public var nextAfterUserId: String? + public var nextAfterName: String? + public var users: [PageUserEntry]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(nextAfterUserId: String? = nil, nextAfterName: String? = nil, users: [PageUserEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.nextAfterUserId = nextAfterUserId + self.nextAfterName = nextAfterName + self.users = users + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case nextAfterUserId + case nextAfterName + case users + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(nextAfterUserId, forKey: .nextAfterUserId) + try container.encodeIfPresent(nextAfterName, forKey: .nextAfterName) + try container.encodeIfPresent(users, forKey: .users) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift b/client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift new file mode 100644 index 0000000..636e4f1 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift @@ -0,0 +1,77 @@ +// +// GetOnlineUsersResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetOnlineUsersResponse: Sendable, Codable, Hashable { + + public var nextAfterUserId: String? + public var nextAfterName: String? + public var totalCount: Double? + public var anonCount: Double? + public var users: [PageUserEntry]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(nextAfterUserId: String? = nil, nextAfterName: String? = nil, totalCount: Double? = nil, anonCount: Double? = nil, users: [PageUserEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.nextAfterUserId = nextAfterUserId + self.nextAfterName = nextAfterName + self.totalCount = totalCount + self.anonCount = anonCount + self.users = users + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case nextAfterUserId + case nextAfterName + case totalCount + case anonCount + case users + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(nextAfterUserId, forKey: .nextAfterUserId) + try container.encodeIfPresent(nextAfterName, forKey: .nextAfterName) + try container.encodeIfPresent(totalCount, forKey: .totalCount) + try container.encodeIfPresent(anonCount, forKey: .anonCount) + try container.encodeIfPresent(users, forKey: .users) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetPagesPublicResponse.swift b/client/FastCommentsSwift/Models/GetPagesPublicResponse.swift new file mode 100644 index 0000000..c03800c --- /dev/null +++ b/client/FastCommentsSwift/Models/GetPagesPublicResponse.swift @@ -0,0 +1,65 @@ +// +// GetPagesPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetPagesPublicResponse: Sendable, Codable, Hashable { + + public var nextCursor: String? + public var pages: [PublicPage]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(nextCursor: String? = nil, pages: [PublicPage]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.nextCursor = nextCursor + self.pages = pages + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case nextCursor + case pages + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(nextCursor, forKey: .nextCursor) + try container.encodeIfPresent(pages, forKey: .pages) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift b/client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift new file mode 100644 index 0000000..f3d8673 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift @@ -0,0 +1,61 @@ +// +// GetPendingWebhookEventCountResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetPendingWebhookEventCountResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var count: Double? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.count = count + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case count + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(count, forKey: .count) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift b/client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift new file mode 100644 index 0000000..e2ed474 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetPendingWebhookEventsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetPendingWebhookEventsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var pendingWebhookEvents: [PendingCommentToSyncOutbound]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, pendingWebhookEvents: [PendingCommentToSyncOutbound]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.pendingWebhookEvents = pendingWebhookEvents + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case pendingWebhookEvents + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(pendingWebhookEvents, forKey: .pendingWebhookEvents) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift b/client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift new file mode 100644 index 0000000..f2db229 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift @@ -0,0 +1,65 @@ +// +// GetPreBanSummaryResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetPreBanSummaryResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var usernames: [String]? + public var count: Double? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, usernames: [String]? = nil, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.usernames = usernames + self.count = count + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case usernames + case count + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(usernames, forKey: .usernames) + try container.encodeIfPresent(count, forKey: .count) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift new file mode 100644 index 0000000..6bb7552 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift @@ -0,0 +1,61 @@ +// +// GetQuestionConfigResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetQuestionConfigResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var questionConfig: QuestionConfig? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, questionConfig: QuestionConfig? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.questionConfig = questionConfig + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case questionConfig + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(questionConfig, forKey: .questionConfig) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift new file mode 100644 index 0000000..0ea142d --- /dev/null +++ b/client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetQuestionConfigsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetQuestionConfigsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var questionConfigs: [QuestionConfig]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, questionConfigs: [QuestionConfig]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.questionConfigs = questionConfigs + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case questionConfigs + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(questionConfigs, forKey: .questionConfigs) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift new file mode 100644 index 0000000..70d59fd --- /dev/null +++ b/client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift @@ -0,0 +1,61 @@ +// +// GetQuestionResultResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetQuestionResultResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var questionResult: QuestionResult? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, questionResult: QuestionResult? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.questionResult = questionResult + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case questionResult + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(questionResult, forKey: .questionResult) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift new file mode 100644 index 0000000..beb9b2e --- /dev/null +++ b/client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetQuestionResultsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetQuestionResultsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var questionResults: [QuestionResult]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, questionResults: [QuestionResult]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.questionResults = questionResults + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case questionResults + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(questionResults, forKey: .questionResults) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift b/client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift new file mode 100644 index 0000000..017034b --- /dev/null +++ b/client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift @@ -0,0 +1,61 @@ +// +// GetSearchCommentsSummaryResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetSearchCommentsSummaryResponse: Sendable, Codable, Hashable { + + public var commentCount: Int? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(commentCount: Int? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.commentCount = commentCount + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case commentCount + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(commentCount, forKey: .commentCount) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetSearchPagesResponse.swift b/client/FastCommentsSwift/Models/GetSearchPagesResponse.swift new file mode 100644 index 0000000..20d4de1 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetSearchPagesResponse.swift @@ -0,0 +1,61 @@ +// +// GetSearchPagesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetSearchPagesResponse: Sendable, Codable, Hashable { + + public var pages: [ModerationPageSearchProjected]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(pages: [ModerationPageSearchProjected]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.pages = pages + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case pages + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(pages, forKey: .pages) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetSearchSitesResponse.swift b/client/FastCommentsSwift/Models/GetSearchSitesResponse.swift new file mode 100644 index 0000000..b27031c --- /dev/null +++ b/client/FastCommentsSwift/Models/GetSearchSitesResponse.swift @@ -0,0 +1,61 @@ +// +// GetSearchSitesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetSearchSitesResponse: Sendable, Codable, Hashable { + + public var sites: [ModerationSiteSearchProjected]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(sites: [ModerationSiteSearchProjected]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.sites = sites + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case sites + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(sites, forKey: .sites) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift b/client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift new file mode 100644 index 0000000..3e33cd9 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift @@ -0,0 +1,65 @@ +// +// GetSearchSuggestResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetSearchSuggestResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var pages: [ModerationPageSearchProjected]? + public var users: [ModerationUserSearchProjected]? + public var code: String? + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, pages: [ModerationPageSearchProjected]? = nil, users: [ModerationUserSearchProjected]? = nil, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.pages = pages + self.users = users + self.code = code + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case pages + case users + case code + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(pages, forKey: .pages) + try container.encodeIfPresent(users, forKey: .users) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetSearchUsersResponse.swift b/client/FastCommentsSwift/Models/GetSearchUsersResponse.swift new file mode 100644 index 0000000..21aec5b --- /dev/null +++ b/client/FastCommentsSwift/Models/GetSearchUsersResponse.swift @@ -0,0 +1,61 @@ +// +// GetSearchUsersResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetSearchUsersResponse: Sendable, Codable, Hashable { + + public var users: [ModerationUserSearchProjected]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(users: [ModerationUserSearchProjected]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.users = users + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case users + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(users, forKey: .users) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift b/client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift new file mode 100644 index 0000000..94eacc7 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantDailyUsagesResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantDailyUsagesResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantDailyUsages: [APITenantDailyUsage]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantDailyUsages: [APITenantDailyUsage]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantDailyUsages = tenantDailyUsages + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantDailyUsages + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantDailyUsages, forKey: .tenantDailyUsages) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift b/client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift new file mode 100644 index 0000000..4d9f45c --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantPackageResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantPackageResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantPackage: TenantPackage? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantPackage: TenantPackage? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantPackage = tenantPackage + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantPackage + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantPackage, forKey: .tenantPackage) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift b/client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift new file mode 100644 index 0000000..38b39d9 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantPackagesResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantPackagesResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantPackages: [TenantPackage]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantPackages: [TenantPackage]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantPackages = tenantPackages + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantPackages + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantPackages, forKey: .tenantPackages) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantResponse1.swift b/client/FastCommentsSwift/Models/GetTenantResponse1.swift new file mode 100644 index 0000000..57c6ee6 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenant: APITenant? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenant: APITenant? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenant = tenant + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenant + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenant, forKey: .tenant) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantUserResponse1.swift b/client/FastCommentsSwift/Models/GetTenantUserResponse1.swift new file mode 100644 index 0000000..f71396f --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantUserResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantUserResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantUserResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantUser: User? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantUser: User? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantUser = tenantUser + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantUser + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantUser, forKey: .tenantUser) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift b/client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift new file mode 100644 index 0000000..8e73f2e --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantUsersResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantUsersResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenantUsers: [User]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenantUsers: [User]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenantUsers = tenantUsers + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenantUsers + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenantUsers, forKey: .tenantUsers) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTenantsResponse1.swift b/client/FastCommentsSwift/Models/GetTenantsResponse1.swift new file mode 100644 index 0000000..5d4cd68 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTenantsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTenantsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTenantsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tenants: [APITenant]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tenants: [APITenant]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tenants = tenants + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tenants + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tenants, forKey: .tenants) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTicketResponse1.swift b/client/FastCommentsSwift/Models/GetTicketResponse1.swift new file mode 100644 index 0000000..daaeac6 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTicketResponse1.swift @@ -0,0 +1,65 @@ +// +// GetTicketResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTicketResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var ticket: APITicketDetail? + public var availableStates: [Double]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, ticket: APITicketDetail? = nil, availableStates: [Double]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.ticket = ticket + self.availableStates = availableStates + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case ticket + case availableStates + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(ticket, forKey: .ticket) + try container.encodeIfPresent(availableStates, forKey: .availableStates) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTicketsResponse1.swift b/client/FastCommentsSwift/Models/GetTicketsResponse1.swift new file mode 100644 index 0000000..21ed0af --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTicketsResponse1.swift @@ -0,0 +1,61 @@ +// +// GetTicketsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTicketsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var tickets: [APITicket]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, tickets: [APITicket]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.tickets = tickets + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case tickets + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(tickets, forKey: .tickets) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTranslationsResponse1.swift b/client/FastCommentsSwift/Models/GetTranslationsResponse1.swift new file mode 100644 index 0000000..c9c7d99 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTranslationsResponse1.swift @@ -0,0 +1,62 @@ +// +// GetTranslationsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTranslationsResponse1: Sendable, Codable, Hashable { + + /** Construct a type with a set of properties K of type T */ + public var translations: [String: String]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(translations: [String: String]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.translations = translations + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case translations + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(translations, forKey: .translations) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetTrustFactorResponse.swift b/client/FastCommentsSwift/Models/GetTrustFactorResponse.swift new file mode 100644 index 0000000..c3b09c2 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetTrustFactorResponse.swift @@ -0,0 +1,65 @@ +// +// GetTrustFactorResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetTrustFactorResponse: Sendable, Codable, Hashable { + + public var manualTrustFactor: Double? + public var autoTrustFactor: Double? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(manualTrustFactor: Double? = nil, autoTrustFactor: Double? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.manualTrustFactor = manualTrustFactor + self.autoTrustFactor = autoTrustFactor + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case manualTrustFactor + case autoTrustFactor + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(manualTrustFactor, forKey: .manualTrustFactor) + try container.encodeIfPresent(autoTrustFactor, forKey: .autoTrustFactor) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift new file mode 100644 index 0000000..c212827 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserBadgeProgressByIdResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserBadgeProgressByIdResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var userBadgeProgress: UserBadgeProgress? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userBadgeProgress: UserBadgeProgress? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userBadgeProgress = userBadgeProgress + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userBadgeProgress + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userBadgeProgress, forKey: .userBadgeProgress) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift new file mode 100644 index 0000000..058c7ec --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserBadgeProgressByUserIdResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserBadgeProgressByUserIdResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var userBadgeProgress: UserBadgeProgress? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userBadgeProgress: UserBadgeProgress? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userBadgeProgress = userBadgeProgress + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userBadgeProgress + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userBadgeProgress, forKey: .userBadgeProgress) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift new file mode 100644 index 0000000..5bab035 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserBadgeProgressListResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserBadgeProgressListResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var userBadgeProgresses: [UserBadgeProgress]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userBadgeProgresses: [UserBadgeProgress]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userBadgeProgresses = userBadgeProgresses + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userBadgeProgresses + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userBadgeProgresses, forKey: .userBadgeProgresses) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserBadgeResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeResponse.swift new file mode 100644 index 0000000..0eb3cad --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserBadgeResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserBadgeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserBadgeResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var userBadge: UserBadge? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userBadge: UserBadge? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userBadge = userBadge + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userBadge + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userBadge, forKey: .userBadge) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserBadgesResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgesResponse.swift new file mode 100644 index 0000000..85b4c19 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserBadgesResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserBadgesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserBadgesResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var userBadges: [UserBadge]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userBadges: [UserBadge]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userBadges = userBadges + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userBadges + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userBadges, forKey: .userBadges) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift b/client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift new file mode 100644 index 0000000..4cbb9cc --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserBanPreferenceResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserBanPreferenceResponse: Sendable, Codable, Hashable { + + public var preferences: APIModerateUserBanPreferences? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(preferences: APIModerateUserBanPreferences? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.preferences = preferences + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case preferences + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(preferences, forKey: .preferences) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift b/client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift new file mode 100644 index 0000000..28b9cb3 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift @@ -0,0 +1,61 @@ +// +// GetUserInternalProfileResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserInternalProfileResponse1: Sendable, Codable, Hashable { + + public var profile: GetUserInternalProfileResponseProfile? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(profile: GetUserInternalProfileResponseProfile? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.profile = profile + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case profile + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(profile, forKey: .profile) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift b/client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift new file mode 100644 index 0000000..986a5bd --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift @@ -0,0 +1,61 @@ +// +// GetUserNotificationCountResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserNotificationCountResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var count: Int64? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, count: Int64? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.count = count + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case count + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(count, forKey: .count) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift b/client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift new file mode 100644 index 0000000..8cd668a --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift @@ -0,0 +1,74 @@ +// +// GetUserNotificationsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserNotificationsResponse: Sendable, Codable, Hashable { + + /** Construct a type with a set of properties K of type T */ + public var translations: [String: String]? + public var isSubscribed: Bool? + public var hasMore: Bool? + public var notifications: [RenderableUserNotification]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(translations: [String: String]? = nil, isSubscribed: Bool? = nil, hasMore: Bool? = nil, notifications: [RenderableUserNotification]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.translations = translations + self.isSubscribed = isSubscribed + self.hasMore = hasMore + self.notifications = notifications + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case translations + case isSubscribed + case hasMore + case notifications + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(translations, forKey: .translations) + try container.encodeIfPresent(isSubscribed, forKey: .isSubscribed) + try container.encodeIfPresent(hasMore, forKey: .hasMore) + try container.encodeIfPresent(notifications, forKey: .notifications) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift b/client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift new file mode 100644 index 0000000..c429878 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift @@ -0,0 +1,62 @@ +// +// GetUserPresenceStatusesResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserPresenceStatusesResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + /** Construct a type with a set of properties K of type T */ + public var userIdsOnline: [String: Bool]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, userIdsOnline: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.userIdsOnline = userIdsOnline + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case userIdsOnline + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(userIdsOnline, forKey: .userIdsOnline) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift b/client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift new file mode 100644 index 0000000..a4a90a9 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift @@ -0,0 +1,61 @@ +// +// GetUserReactsPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserReactsPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reacts: [String: [String: Bool]]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reacts: [String: [String: Bool]]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reacts = reacts + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reacts + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reacts, forKey: .reacts) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUserResponse1.swift b/client/FastCommentsSwift/Models/GetUserResponse1.swift new file mode 100644 index 0000000..22eb094 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUserResponse1.swift @@ -0,0 +1,61 @@ +// +// GetUserResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUserResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var user: User? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, user: User? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.user = user + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case user + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetUsersInfoResponse.swift b/client/FastCommentsSwift/Models/GetUsersInfoResponse.swift new file mode 100644 index 0000000..be5a1c1 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetUsersInfoResponse.swift @@ -0,0 +1,61 @@ +// +// GetUsersInfoResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetUsersInfoResponse: Sendable, Codable, Hashable { + + public var users: [PageUserEntry]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(users: [PageUserEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.users = users + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case users + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(users, forKey: .users) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift b/client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift new file mode 100644 index 0000000..f8fd500 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift @@ -0,0 +1,73 @@ +// +// GetV1PageLikesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetV1PageLikesResponse: Sendable, Codable, Hashable { + + public var urlIdWS: String? + public var didLike: Bool? + public var commentCount: Int? + public var likeCount: Int? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(urlIdWS: String? = nil, didLike: Bool? = nil, commentCount: Int? = nil, likeCount: Int? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.urlIdWS = urlIdWS + self.didLike = didLike + self.commentCount = commentCount + self.likeCount = likeCount + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case urlIdWS + case didLike + case commentCount + case likeCount + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(urlIdWS, forKey: .urlIdWS) + try container.encodeIfPresent(didLike, forKey: .didLike) + try container.encodeIfPresent(commentCount, forKey: .commentCount) + try container.encodeIfPresent(likeCount, forKey: .likeCount) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift b/client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift new file mode 100644 index 0000000..8fbfabe --- /dev/null +++ b/client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift @@ -0,0 +1,61 @@ +// +// GetV2PageReactUsersResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetV2PageReactUsersResponse1: Sendable, Codable, Hashable { + + public var userNames: [String]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(userNames: [String]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.userNames = userNames + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case userNames + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(userNames, forKey: .userNames) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift b/client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift new file mode 100644 index 0000000..b855148 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift @@ -0,0 +1,66 @@ +// +// GetV2PageReactsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetV2PageReactsResponse: Sendable, Codable, Hashable { + + public var reactedIds: [String]? + /** Construct a type with a set of properties K of type T */ + public var counts: [String: Double]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(reactedIds: [String]? = nil, counts: [String: Double]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.reactedIds = reactedIds + self.counts = counts + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case reactedIds + case counts + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(reactedIds, forKey: .reactedIds) + try container.encodeIfPresent(counts, forKey: .counts) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift b/client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift new file mode 100644 index 0000000..5478e23 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift @@ -0,0 +1,69 @@ +// +// GetVotesForUserResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetVotesForUserResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var appliedAuthorizedVotes: [PublicVote]? + public var appliedAnonymousVotes: [PublicVote]? + public var pendingVotes: [PublicVote]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, appliedAuthorizedVotes: [PublicVote]? = nil, appliedAnonymousVotes: [PublicVote]? = nil, pendingVotes: [PublicVote]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.appliedAuthorizedVotes = appliedAuthorizedVotes + self.appliedAnonymousVotes = appliedAnonymousVotes + self.pendingVotes = pendingVotes + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case appliedAuthorizedVotes + case appliedAnonymousVotes + case pendingVotes + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(appliedAuthorizedVotes, forKey: .appliedAuthorizedVotes) + try container.encodeIfPresent(appliedAnonymousVotes, forKey: .appliedAnonymousVotes) + try container.encodeIfPresent(pendingVotes, forKey: .pendingVotes) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/GetVotesResponse1.swift b/client/FastCommentsSwift/Models/GetVotesResponse1.swift new file mode 100644 index 0000000..e17e1d6 --- /dev/null +++ b/client/FastCommentsSwift/Models/GetVotesResponse1.swift @@ -0,0 +1,69 @@ +// +// GetVotesResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct GetVotesResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var appliedAuthorizedVotes: [PublicVote]? + public var appliedAnonymousVotes: [PublicVote]? + public var pendingVotes: [PublicVote]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, appliedAuthorizedVotes: [PublicVote]? = nil, appliedAnonymousVotes: [PublicVote]? = nil, pendingVotes: [PublicVote]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.appliedAuthorizedVotes = appliedAuthorizedVotes + self.appliedAnonymousVotes = appliedAnonymousVotes + self.pendingVotes = pendingVotes + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case appliedAuthorizedVotes + case appliedAnonymousVotes + case pendingVotes + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(appliedAuthorizedVotes, forKey: .appliedAuthorizedVotes) + try container.encodeIfPresent(appliedAnonymousVotes, forKey: .appliedAnonymousVotes) + try container.encodeIfPresent(pendingVotes, forKey: .pendingVotes) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/LockCommentResponse.swift b/client/FastCommentsSwift/Models/LockCommentResponse.swift new file mode 100644 index 0000000..48bb45f --- /dev/null +++ b/client/FastCommentsSwift/Models/LockCommentResponse.swift @@ -0,0 +1,57 @@ +// +// LockCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct LockCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PatchHashTagResponse.swift b/client/FastCommentsSwift/Models/PatchHashTagResponse.swift new file mode 100644 index 0000000..5d971fd --- /dev/null +++ b/client/FastCommentsSwift/Models/PatchHashTagResponse.swift @@ -0,0 +1,61 @@ +// +// PatchHashTagResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PatchHashTagResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var hashTag: TenantHashTag? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, hashTag: TenantHashTag? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.hashTag = hashTag + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case hashTag + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(hashTag, forKey: .hashTag) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PinCommentResponse.swift b/client/FastCommentsSwift/Models/PinCommentResponse.swift new file mode 100644 index 0000000..7d8f23b --- /dev/null +++ b/client/FastCommentsSwift/Models/PinCommentResponse.swift @@ -0,0 +1,62 @@ +// +// PinCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PinCommentResponse: Sendable, Codable, Hashable { + + /** Construct a type with a set of properties K of type T */ + public var commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.commentPositions = commentPositions + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case commentPositions + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(commentPositions, forKey: .commentPositions) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift b/client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift new file mode 100644 index 0000000..47f3acd --- /dev/null +++ b/client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift @@ -0,0 +1,61 @@ +// +// PostAdjustCommentVotesResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostAdjustCommentVotesResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var newCommentVotes: Int? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, newCommentVotes: Int? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.newCommentVotes = newCommentVotes + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case newCommentVotes + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(newCommentVotes, forKey: .newCommentVotes) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostApiExportResponse.swift b/client/FastCommentsSwift/Models/PostApiExportResponse.swift new file mode 100644 index 0000000..670a96e --- /dev/null +++ b/client/FastCommentsSwift/Models/PostApiExportResponse.swift @@ -0,0 +1,61 @@ +// +// PostApiExportResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostApiExportResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var batchJobId: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, batchJobId: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.batchJobId = batchJobId + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case batchJobId + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(batchJobId, forKey: .batchJobId) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift b/client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift new file mode 100644 index 0000000..221a0be --- /dev/null +++ b/client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift @@ -0,0 +1,61 @@ +// +// PostBanUserFromCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostBanUserFromCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var changelog: APIBanUserChangeLog? + public var code: String? + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, changelog: APIBanUserChangeLog? = nil, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.changelog = changelog + self.code = code + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case changelog + case code + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(changelog, forKey: .changelog) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift b/client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift new file mode 100644 index 0000000..7f7f6df --- /dev/null +++ b/client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift @@ -0,0 +1,57 @@ +// +// PostBanUserUndoResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostBanUserUndoResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift b/client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift new file mode 100644 index 0000000..46a728d --- /dev/null +++ b/client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift @@ -0,0 +1,77 @@ +// +// PostBulkPreBanSummaryResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostBulkPreBanSummaryResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var totalRelatedCommentCount: Int? + public var emailDomains: [String]? + public var emails: [String]? + public var userIds: [String]? + public var ipHashes: [String]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, totalRelatedCommentCount: Int? = nil, emailDomains: [String]? = nil, emails: [String]? = nil, userIds: [String]? = nil, ipHashes: [String]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.totalRelatedCommentCount = totalRelatedCommentCount + self.emailDomains = emailDomains + self.emails = emails + self.userIds = userIds + self.ipHashes = ipHashes + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case totalRelatedCommentCount + case emailDomains + case emails + case userIds + case ipHashes + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(totalRelatedCommentCount, forKey: .totalRelatedCommentCount) + try container.encodeIfPresent(emailDomains, forKey: .emailDomains) + try container.encodeIfPresent(emails, forKey: .emails) + try container.encodeIfPresent(userIds, forKey: .userIds) + try container.encodeIfPresent(ipHashes, forKey: .ipHashes) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift b/client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift new file mode 100644 index 0000000..bf45c38 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift @@ -0,0 +1,61 @@ +// +// PostCommentsByIdsResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostCommentsByIdsResponse: Sendable, Codable, Hashable { + + public var comments: [ModerationAPIComment]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(comments: [ModerationAPIComment]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.comments = comments + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case comments + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(comments, forKey: .comments) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostFlagCommentResponse.swift b/client/FastCommentsSwift/Models/PostFlagCommentResponse.swift new file mode 100644 index 0000000..e1ce388 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostFlagCommentResponse.swift @@ -0,0 +1,57 @@ +// +// PostFlagCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostFlagCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift b/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift index 450a2f7..3619bcb 100644 --- a/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift +++ b/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift @@ -9,25 +9,53 @@ import Foundation public struct PostRemoveCommentResponse: Sendable, Codable, Hashable { - public var action: String - public var status: String - - public init(action: String, status: String) { + public var action: String? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(action: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { self.action = action self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { case action case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig } // Encodable protocol methods public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(action, forKey: .action) + try container.encodeIfPresent(action, forKey: .action) try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift b/client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift new file mode 100644 index 0000000..efc3499 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift @@ -0,0 +1,57 @@ +// +// PostRestoreDeletedCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostRestoreDeletedCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift new file mode 100644 index 0000000..c7714fd --- /dev/null +++ b/client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift @@ -0,0 +1,61 @@ +// +// PostSetCommentApprovalStatusResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostSetCommentApprovalStatusResponse: Sendable, Codable, Hashable { + + public var didResetFlaggedCount: Bool? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(didResetFlaggedCount: Bool? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.didResetFlaggedCount = didResetFlaggedCount + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case didResetFlaggedCount + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(didResetFlaggedCount, forKey: .didResetFlaggedCount) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift new file mode 100644 index 0000000..01753b8 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift @@ -0,0 +1,57 @@ +// +// PostSetCommentReviewStatusResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostSetCommentReviewStatusResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift new file mode 100644 index 0000000..ca2c8b5 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift @@ -0,0 +1,57 @@ +// +// PostSetCommentSpamStatusResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostSetCommentSpamStatusResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift new file mode 100644 index 0000000..f173baa --- /dev/null +++ b/client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift @@ -0,0 +1,61 @@ +// +// PostSetCommentTextResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostSetCommentTextResponse: Sendable, Codable, Hashable { + + public var newCommentTextHTML: String? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(newCommentTextHTML: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.newCommentTextHTML = newCommentTextHTML + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case newCommentTextHTML + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(newCommentTextHTML, forKey: .newCommentTextHTML) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift b/client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift new file mode 100644 index 0000000..92eb723 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift @@ -0,0 +1,57 @@ +// +// PostUnFlagCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostUnFlagCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PostVoteResponse.swift b/client/FastCommentsSwift/Models/PostVoteResponse.swift new file mode 100644 index 0000000..87255e4 --- /dev/null +++ b/client/FastCommentsSwift/Models/PostVoteResponse.swift @@ -0,0 +1,73 @@ +// +// PostVoteResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PostVoteResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var voteId: String? + public var isVerified: Bool? + public var user: VoteResponseUser? + public var editKey: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, voteId: String? = nil, isVerified: Bool? = nil, user: VoteResponseUser? = nil, editKey: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.voteId = voteId + self.isVerified = isVerified + self.user = user + self.editKey = editKey + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case voteId + case isVerified + case user + case editKey + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(voteId, forKey: .voteId) + try container.encodeIfPresent(isVerified, forKey: .isVerified) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(editKey, forKey: .editKey) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift b/client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift new file mode 100644 index 0000000..fa9137c --- /dev/null +++ b/client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift @@ -0,0 +1,65 @@ +// +// PutAwardBadgeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PutAwardBadgeResponse: Sendable, Codable, Hashable { + + public var notes: [String]? + public var badges: [CommentUserBadgeInfo]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(notes: [String]? = nil, badges: [CommentUserBadgeInfo]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.notes = notes + self.badges = badges + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case notes + case badges + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(notes, forKey: .notes) + try container.encodeIfPresent(badges, forKey: .badges) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PutCloseThreadResponse.swift b/client/FastCommentsSwift/Models/PutCloseThreadResponse.swift new file mode 100644 index 0000000..8a8dfb2 --- /dev/null +++ b/client/FastCommentsSwift/Models/PutCloseThreadResponse.swift @@ -0,0 +1,57 @@ +// +// PutCloseThreadResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PutCloseThreadResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift b/client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift new file mode 100644 index 0000000..ba18350 --- /dev/null +++ b/client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift @@ -0,0 +1,61 @@ +// +// PutRemoveBadgeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PutRemoveBadgeResponse: Sendable, Codable, Hashable { + + public var badges: [CommentUserBadgeInfo]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(badges: [CommentUserBadgeInfo]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.badges = badges + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case badges + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(badges, forKey: .badges) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/PutReopenThreadResponse.swift b/client/FastCommentsSwift/Models/PutReopenThreadResponse.swift new file mode 100644 index 0000000..e61502e --- /dev/null +++ b/client/FastCommentsSwift/Models/PutReopenThreadResponse.swift @@ -0,0 +1,57 @@ +// +// PutReopenThreadResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct PutReopenThreadResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift new file mode 100644 index 0000000..32aa754 --- /dev/null +++ b/client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift @@ -0,0 +1,65 @@ +// +// ReactFeedPostPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct ReactFeedPostPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reactType: String? + public var isUndo: Bool? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reactType: String? = nil, isUndo: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reactType = reactType + self.isUndo = isUndo + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reactType + case isUndo + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reactType, forKey: .reactType) + try container.encodeIfPresent(isUndo, forKey: .isUndo) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift b/client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift new file mode 100644 index 0000000..de660be --- /dev/null +++ b/client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift @@ -0,0 +1,61 @@ +// +// RenderEmailTemplateResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct RenderEmailTemplateResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var html: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, html: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.html = html + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case html + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(html, forKey: .html) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift b/client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift new file mode 100644 index 0000000..cf86e43 --- /dev/null +++ b/client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift @@ -0,0 +1,57 @@ +// +// ReplaceTenantPackageResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct ReplaceTenantPackageResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift b/client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift new file mode 100644 index 0000000..edf5d95 --- /dev/null +++ b/client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift @@ -0,0 +1,57 @@ +// +// ReplaceTenantUserResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct ReplaceTenantUserResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift b/client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift new file mode 100644 index 0000000..00b460d --- /dev/null +++ b/client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift @@ -0,0 +1,57 @@ +// +// ResetUserNotificationCountResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct ResetUserNotificationCountResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var code: String? + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.code = code + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case code + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift b/client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift new file mode 100644 index 0000000..b9c89b6 --- /dev/null +++ b/client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift @@ -0,0 +1,57 @@ +// +// ResetUserNotificationsResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct ResetUserNotificationsResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var code: String? + public var reason: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.code = code + self.reason = reason + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case code + case reason + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/SaveCommentResponse.swift b/client/FastCommentsSwift/Models/SaveCommentResponse.swift new file mode 100644 index 0000000..f745dba --- /dev/null +++ b/client/FastCommentsSwift/Models/SaveCommentResponse.swift @@ -0,0 +1,70 @@ +// +// SaveCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct SaveCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var comment: APIComment? + public var user: UserSessionInfo? + /** Construct a type with a set of properties K of type T */ + public var moduleData: [String: JSONValue]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, comment: APIComment? = nil, user: UserSessionInfo? = nil, moduleData: [String: JSONValue]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.comment = comment + self.user = user + self.moduleData = moduleData + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case comment + case user + case moduleData + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(moduleData, forKey: .moduleData) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/SearchUsersResponse1.swift b/client/FastCommentsSwift/Models/SearchUsersResponse1.swift new file mode 100644 index 0000000..61b2317 --- /dev/null +++ b/client/FastCommentsSwift/Models/SearchUsersResponse1.swift @@ -0,0 +1,65 @@ +// +// SearchUsersResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct SearchUsersResponse1: Sendable, Codable, Hashable { + + public var status: APIStatus + public var sections: [UserSearchSectionResult]? + public var users: [UserSearchResult]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, sections: [UserSearchSectionResult]? = nil, users: [UserSearchResult]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.sections = sections + self.users = users + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case sections + case users + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(sections, forKey: .sections) + try container.encodeIfPresent(users, forKey: .users) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/SendInviteResponse.swift b/client/FastCommentsSwift/Models/SendInviteResponse.swift new file mode 100644 index 0000000..8bf8acb --- /dev/null +++ b/client/FastCommentsSwift/Models/SendInviteResponse.swift @@ -0,0 +1,57 @@ +// +// SendInviteResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct SendInviteResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/SendLoginLinkResponse.swift b/client/FastCommentsSwift/Models/SendLoginLinkResponse.swift new file mode 100644 index 0000000..0e9f8d2 --- /dev/null +++ b/client/FastCommentsSwift/Models/SendLoginLinkResponse.swift @@ -0,0 +1,57 @@ +// +// SendLoginLinkResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct SendLoginLinkResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/SetCommentTextResponse1.swift b/client/FastCommentsSwift/Models/SetCommentTextResponse1.swift new file mode 100644 index 0000000..f2a7a3f --- /dev/null +++ b/client/FastCommentsSwift/Models/SetCommentTextResponse1.swift @@ -0,0 +1,61 @@ +// +// SetCommentTextResponse1.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct SetCommentTextResponse1: Sendable, Codable, Hashable { + + public var comment: SetCommentTextResult? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(comment: SetCommentTextResult? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.comment = comment + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case comment + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(comment, forKey: .comment) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/SetTrustFactorResponse.swift b/client/FastCommentsSwift/Models/SetTrustFactorResponse.swift new file mode 100644 index 0000000..8bf1e71 --- /dev/null +++ b/client/FastCommentsSwift/Models/SetTrustFactorResponse.swift @@ -0,0 +1,61 @@ +// +// SetTrustFactorResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct SetTrustFactorResponse: Sendable, Codable, Hashable { + + public var previousManualTrustFactor: Double? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(previousManualTrustFactor: Double? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.previousManualTrustFactor = previousManualTrustFactor + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case previousManualTrustFactor + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(previousManualTrustFactor, forKey: .previousManualTrustFactor) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift b/client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift new file mode 100644 index 0000000..760c1dc --- /dev/null +++ b/client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift @@ -0,0 +1,62 @@ +// +// UnBlockCommentPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UnBlockCommentPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + /** Construct a type with a set of properties K of type T */ + public var commentStatuses: [String: Bool]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.commentStatuses = commentStatuses + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case commentStatuses + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift b/client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift new file mode 100644 index 0000000..699f235 --- /dev/null +++ b/client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift @@ -0,0 +1,62 @@ +// +// UnBlockUserFromCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UnBlockUserFromCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + /** Construct a type with a set of properties K of type T */ + public var commentStatuses: [String: Bool]? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.commentStatuses = commentStatuses + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case commentStatuses + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UnFlagCommentResponse.swift b/client/FastCommentsSwift/Models/UnFlagCommentResponse.swift new file mode 100644 index 0000000..372560d --- /dev/null +++ b/client/FastCommentsSwift/Models/UnFlagCommentResponse.swift @@ -0,0 +1,65 @@ +// +// UnFlagCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UnFlagCommentResponse: Sendable, Codable, Hashable { + + public var statusCode: Int? + public var status: APIStatus + public var code: String? + public var reason: String? + public var wasUnapproved: Bool? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(statusCode: Int? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, wasUnapproved: Bool? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.statusCode = statusCode + self.status = status + self.code = code + self.reason = reason + self.wasUnapproved = wasUnapproved + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case statusCode + case status + case code + case reason + case wasUnapproved + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(statusCode, forKey: .statusCode) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(wasUnapproved, forKey: .wasUnapproved) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UnLockCommentResponse.swift b/client/FastCommentsSwift/Models/UnLockCommentResponse.swift new file mode 100644 index 0000000..03bbdb8 --- /dev/null +++ b/client/FastCommentsSwift/Models/UnLockCommentResponse.swift @@ -0,0 +1,57 @@ +// +// UnLockCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UnLockCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UnPinCommentResponse.swift b/client/FastCommentsSwift/Models/UnPinCommentResponse.swift new file mode 100644 index 0000000..fea00d0 --- /dev/null +++ b/client/FastCommentsSwift/Models/UnPinCommentResponse.swift @@ -0,0 +1,62 @@ +// +// UnPinCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UnPinCommentResponse: Sendable, Codable, Hashable { + + /** Construct a type with a set of properties K of type T */ + public var commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.commentPositions = commentPositions + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case commentPositions + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encodeIfPresent(commentPositions, forKey: .commentPositions) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateCommentResponse.swift b/client/FastCommentsSwift/Models/UpdateCommentResponse.swift new file mode 100644 index 0000000..be00bea --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateCommentResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift b/client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift new file mode 100644 index 0000000..3ea22ba --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateEmailTemplateResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateEmailTemplateResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift new file mode 100644 index 0000000..907ce79 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift @@ -0,0 +1,61 @@ +// +// UpdateFeedPostPublicResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateFeedPostPublicResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var feedPost: FeedPost? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, feedPost: FeedPost? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.feedPost = feedPost + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case feedPost + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(feedPost, forKey: .feedPost) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift b/client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift new file mode 100644 index 0000000..a780479 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateFeedPostResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateFeedPostResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateModeratorResponse.swift b/client/FastCommentsSwift/Models/UpdateModeratorResponse.swift new file mode 100644 index 0000000..95c04a5 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateModeratorResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateModeratorResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateModeratorResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateNotificationResponse.swift b/client/FastCommentsSwift/Models/UpdateNotificationResponse.swift new file mode 100644 index 0000000..f502da0 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateNotificationResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateNotificationResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateNotificationResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift b/client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift new file mode 100644 index 0000000..1cff5d4 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateQuestionConfigResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateQuestionConfigResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift b/client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift new file mode 100644 index 0000000..42afbcd --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateQuestionResultResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateQuestionResultResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift b/client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift new file mode 100644 index 0000000..2827e13 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateTenantPackageResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateTenantPackageResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateTenantResponse.swift b/client/FastCommentsSwift/Models/UpdateTenantResponse.swift new file mode 100644 index 0000000..0649e95 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateTenantResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateTenantResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateTenantResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift b/client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift new file mode 100644 index 0000000..9b48e0c --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateTenantUserResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateTenantUserResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift b/client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift new file mode 100644 index 0000000..04c3271 --- /dev/null +++ b/client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift @@ -0,0 +1,57 @@ +// +// UpdateUserBadgeResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct UpdateUserBadgeResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift b/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift index 0732d53..157c8c3 100644 --- a/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift +++ b/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift @@ -17,12 +17,26 @@ public struct UpdateUserNotificationCommentSubscriptionStatusResponse: Sendable, public var matchedCount: Int64? public var modifiedCount: Int64? public var note: Note? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? - public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil) { + public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { self.status = status self.matchedCount = matchedCount self.modifiedCount = modifiedCount self.note = note + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -30,6 +44,13 @@ public struct UpdateUserNotificationCommentSubscriptionStatusResponse: Sendable, case matchedCount case modifiedCount case note + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig } // Encodable protocol methods @@ -40,6 +61,13 @@ public struct UpdateUserNotificationCommentSubscriptionStatusResponse: Sendable, try container.encodeIfPresent(matchedCount, forKey: .matchedCount) try container.encodeIfPresent(modifiedCount, forKey: .modifiedCount) try container.encodeIfPresent(note, forKey: .note) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift b/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift index ba8fe3e..c2ca26a 100644 --- a/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift +++ b/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift @@ -17,12 +17,26 @@ public struct UpdateUserNotificationPageSubscriptionStatusResponse: Sendable, Co public var matchedCount: Int64? public var modifiedCount: Int64? public var note: Note? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? - public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil) { + public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { self.status = status self.matchedCount = matchedCount self.modifiedCount = modifiedCount self.note = note + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -30,6 +44,13 @@ public struct UpdateUserNotificationPageSubscriptionStatusResponse: Sendable, Co case matchedCount case modifiedCount case note + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig } // Encodable protocol methods @@ -40,6 +61,13 @@ public struct UpdateUserNotificationPageSubscriptionStatusResponse: Sendable, Co try container.encodeIfPresent(matchedCount, forKey: .matchedCount) try container.encodeIfPresent(modifiedCount, forKey: .modifiedCount) try container.encodeIfPresent(note, forKey: .note) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift b/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift index 2b549a5..0f9b70c 100644 --- a/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift +++ b/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift @@ -17,12 +17,26 @@ public struct UpdateUserNotificationStatusResponse: Sendable, Codable, Hashable public var matchedCount: Int64? public var modifiedCount: Int64? public var note: Note? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? - public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil) { + public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { self.status = status self.matchedCount = matchedCount self.modifiedCount = modifiedCount self.note = note + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -30,6 +44,13 @@ public struct UpdateUserNotificationStatusResponse: Sendable, Codable, Hashable case matchedCount case modifiedCount case note + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig } // Encodable protocol methods @@ -40,6 +61,13 @@ public struct UpdateUserNotificationStatusResponse: Sendable, Codable, Hashable try container.encodeIfPresent(matchedCount, forKey: .matchedCount) try container.encodeIfPresent(modifiedCount, forKey: .modifiedCount) try container.encodeIfPresent(note, forKey: .note) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/VoteCommentResponse.swift b/client/FastCommentsSwift/Models/VoteCommentResponse.swift new file mode 100644 index 0000000..93434ec --- /dev/null +++ b/client/FastCommentsSwift/Models/VoteCommentResponse.swift @@ -0,0 +1,73 @@ +// +// VoteCommentResponse.swift +// +// Generated by openapi-generator +// https://openapi-generator.tech +// + +import Foundation + +public struct VoteCommentResponse: Sendable, Codable, Hashable { + + public var status: APIStatus + public var voteId: String? + public var isVerified: Bool? + public var user: VoteResponseUser? + public var editKey: String? + public var reason: String? + public var code: String? + public var secondaryCode: String? + public var bannedUntil: Int64? + public var maxCharacterLength: Int? + public var translatedError: String? + public var customConfig: CustomConfigParameters? + + public init(status: APIStatus, voteId: String? = nil, isVerified: Bool? = nil, user: VoteResponseUser? = nil, editKey: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + self.status = status + self.voteId = voteId + self.isVerified = isVerified + self.user = user + self.editKey = editKey + self.reason = reason + self.code = code + self.secondaryCode = secondaryCode + self.bannedUntil = bannedUntil + self.maxCharacterLength = maxCharacterLength + self.translatedError = translatedError + self.customConfig = customConfig + } + + public enum CodingKeys: String, CodingKey, CaseIterable { + case status + case voteId + case isVerified + case user + case editKey + case reason + case code + case secondaryCode + case bannedUntil + case maxCharacterLength + case translatedError + case customConfig + } + + // Encodable protocol methods + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: CodingKeys.self) + try container.encode(status, forKey: .status) + try container.encodeIfPresent(voteId, forKey: .voteId) + try container.encodeIfPresent(isVerified, forKey: .isVerified) + try container.encodeIfPresent(user, forKey: .user) + try container.encodeIfPresent(editKey, forKey: .editKey) + try container.encodeIfPresent(reason, forKey: .reason) + try container.encodeIfPresent(code, forKey: .code) + try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) + try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) + try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) + try container.encodeIfPresent(translatedError, forKey: .translatedError) + try container.encodeIfPresent(customConfig, forKey: .customConfig) + } +} + diff --git a/client/README.md b/client/README.md index 5b84f41..758fd5b 100644 --- a/client/README.md +++ b/client/README.md @@ -274,11 +274,14 @@ Class | Method | HTTP request | Description - [AddDomainConfigParams](docs/AddDomainConfigParams.md) - [AddDomainConfigResponse](docs/AddDomainConfigResponse.md) - [AddDomainConfigResponseAnyOf](docs/AddDomainConfigResponseAnyOf.md) + - [AddHashTagResponse](docs/AddHashTagResponse.md) + - [AddHashTagsBulkResponse](docs/AddHashTagsBulkResponse.md) - [AddPageAPIResponse](docs/AddPageAPIResponse.md) - [AddSSOUserAPIResponse](docs/AddSSOUserAPIResponse.md) - [AdjustCommentVotesParams](docs/AdjustCommentVotesParams.md) - [AdjustVotesResponse](docs/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](docs/AggregateQuestionResultsResponse.md) + - [AggregateQuestionResultsResponse1](docs/AggregateQuestionResultsResponse1.md) - [AggregateResponse](docs/AggregateResponse.md) - [AggregateTimeBucket](docs/AggregateTimeBucket.md) - [AggregationAPIError](docs/AggregationAPIError.md) @@ -298,12 +301,15 @@ Class | Method | HTTP request | Description - [BannedUserMatchType](docs/BannedUserMatchType.md) - [BillingInfo](docs/BillingInfo.md) - [BlockFromCommentParams](docs/BlockFromCommentParams.md) + - [BlockFromCommentPublicResponse](docs/BlockFromCommentPublicResponse.md) - [BlockSuccess](docs/BlockSuccess.md) + - [BlockUserFromCommentResponse](docs/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](docs/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](docs/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](docs/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](docs/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](docs/BulkAggregateQuestionResultsResponse.md) + - [BulkAggregateQuestionResultsResponse1](docs/BulkAggregateQuestionResultsResponse1.md) - [BulkCreateHashTagsBody](docs/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBodyTagsInner](docs/BulkCreateHashTagsBodyTagsInner.md) - [BulkCreateHashTagsResponse](docs/BulkCreateHashTagsResponse.md) @@ -313,7 +319,10 @@ Class | Method | HTTP request | Description - [ChangeCommentPinStatusResponse](docs/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](docs/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](docs/ChangeTicketStateResponse.md) + - [ChangeTicketStateResponse1](docs/ChangeTicketStateResponse1.md) - [CheckBlockedCommentsResponse](docs/CheckBlockedCommentsResponse.md) + - [CheckedCommentsForBlockedResponse](docs/CheckedCommentsForBlockedResponse.md) + - [CombineCommentsWithQuestionResultsResponse](docs/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](docs/CommentData.md) - [CommentHTMLRenderingMode](docs/CommentHTMLRenderingMode.md) @@ -333,40 +342,75 @@ Class | Method | HTTP request | Description - [CreateAPISSOUserData](docs/CreateAPISSOUserData.md) - [CreateAPIUserSubscriptionData](docs/CreateAPIUserSubscriptionData.md) - [CreateCommentParams](docs/CreateCommentParams.md) + - [CreateCommentPublicResponse](docs/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md) + - [CreateEmailTemplateResponse1](docs/CreateEmailTemplateResponse1.md) - [CreateFeedPostParams](docs/CreateFeedPostParams.md) + - [CreateFeedPostPublicResponse](docs/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](docs/CreateFeedPostResponse.md) + - [CreateFeedPostResponse1](docs/CreateFeedPostResponse1.md) - [CreateFeedPostsResponse](docs/CreateFeedPostsResponse.md) - [CreateHashTagBody](docs/CreateHashTagBody.md) - [CreateHashTagResponse](docs/CreateHashTagResponse.md) - [CreateModeratorBody](docs/CreateModeratorBody.md) - [CreateModeratorResponse](docs/CreateModeratorResponse.md) + - [CreateModeratorResponse1](docs/CreateModeratorResponse1.md) - [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md) + - [CreateQuestionConfigResponse1](docs/CreateQuestionConfigResponse1.md) - [CreateQuestionResultBody](docs/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](docs/CreateQuestionResultResponse.md) + - [CreateQuestionResultResponse1](docs/CreateQuestionResultResponse1.md) - [CreateSubscriptionAPIResponse](docs/CreateSubscriptionAPIResponse.md) - [CreateTenantBody](docs/CreateTenantBody.md) - [CreateTenantPackageBody](docs/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](docs/CreateTenantPackageResponse.md) + - [CreateTenantPackageResponse1](docs/CreateTenantPackageResponse1.md) - [CreateTenantResponse](docs/CreateTenantResponse.md) + - [CreateTenantResponse1](docs/CreateTenantResponse1.md) - [CreateTenantUserBody](docs/CreateTenantUserBody.md) - [CreateTenantUserResponse](docs/CreateTenantUserResponse.md) + - [CreateTenantUserResponse1](docs/CreateTenantUserResponse1.md) - [CreateTicketBody](docs/CreateTicketBody.md) - [CreateTicketResponse](docs/CreateTicketResponse.md) + - [CreateTicketResponse1](docs/CreateTicketResponse1.md) - [CreateUserBadgeParams](docs/CreateUserBadgeParams.md) + - [CreateUserBadgeResponse](docs/CreateUserBadgeResponse.md) - [CreateV1PageReact](docs/CreateV1PageReact.md) + - [CreateV1PageReactResponse](docs/CreateV1PageReactResponse.md) + - [CreateV2PageReactResponse](docs/CreateV2PageReactResponse.md) + - [CreateVoteResponse](docs/CreateVoteResponse.md) - [CustomConfigParameters](docs/CustomConfigParameters.md) - [CustomEmailTemplate](docs/CustomEmailTemplate.md) - [DeleteCommentAction](docs/DeleteCommentAction.md) + - [DeleteCommentPublicResponse](docs/DeleteCommentPublicResponse.md) + - [DeleteCommentResponse](docs/DeleteCommentResponse.md) - [DeleteCommentResult](docs/DeleteCommentResult.md) + - [DeleteCommentVoteResponse](docs/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](docs/DeleteDomainConfigResponse.md) + - [DeleteEmailTemplateRenderErrorResponse](docs/DeleteEmailTemplateRenderErrorResponse.md) + - [DeleteEmailTemplateResponse](docs/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md) + - [DeleteFeedPostPublicResponseAnyOf](docs/DeleteFeedPostPublicResponseAnyOf.md) - [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md) + - [DeleteHashTagResponse](docs/DeleteHashTagResponse.md) + - [DeleteModerationVoteResponse](docs/DeleteModerationVoteResponse.md) + - [DeleteModeratorResponse](docs/DeleteModeratorResponse.md) + - [DeleteNotificationCountResponse](docs/DeleteNotificationCountResponse.md) - [DeletePageAPIResponse](docs/DeletePageAPIResponse.md) + - [DeletePendingWebhookEventResponse](docs/DeletePendingWebhookEventResponse.md) + - [DeleteQuestionConfigResponse](docs/DeleteQuestionConfigResponse.md) + - [DeleteQuestionResultResponse](docs/DeleteQuestionResultResponse.md) - [DeleteSSOUserAPIResponse](docs/DeleteSSOUserAPIResponse.md) - [DeleteSubscriptionAPIResponse](docs/DeleteSubscriptionAPIResponse.md) + - [DeleteTenantPackageResponse](docs/DeleteTenantPackageResponse.md) + - [DeleteTenantResponse](docs/DeleteTenantResponse.md) + - [DeleteTenantUserResponse](docs/DeleteTenantUserResponse.md) + - [DeleteUserBadgeResponse](docs/DeleteUserBadgeResponse.md) + - [DeleteV1PageReactResponse](docs/DeleteV1PageReactResponse.md) + - [DeleteV2PageReactResponse](docs/DeleteV2PageReactResponse.md) + - [DeleteVoteResponse](docs/DeleteVoteResponse.md) - [DeletedCommentResultComment](docs/DeletedCommentResultComment.md) - [DigestEmailFrequency](docs/DigestEmailFrequency.md) - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md) @@ -382,72 +426,154 @@ Class | Method | HTTP request | Description - [FeedPostsStatsResponse](docs/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](docs/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](docs/FindCommentsByRangeResponse.md) + - [FlagCommentPublicResponse](docs/FlagCommentPublicResponse.md) - [FlagCommentResponse](docs/FlagCommentResponse.md) + - [FlagCommentResponse1](docs/FlagCommentResponse1.md) + - [GetApiCommentsResponse](docs/GetApiCommentsResponse.md) + - [GetApiExportStatusResponse](docs/GetApiExportStatusResponse.md) + - [GetApiIdsResponse](docs/GetApiIdsResponse.md) - [GetAuditLogsResponse](docs/GetAuditLogsResponse.md) + - [GetAuditLogsResponse1](docs/GetAuditLogsResponse1.md) + - [GetBanUsersFromCommentResponse](docs/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md) + - [GetCachedNotificationCountResponse1](docs/GetCachedNotificationCountResponse1.md) - [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md) + - [GetCommentBanStatusResponse1](docs/GetCommentBanStatusResponse1.md) + - [GetCommentChildrenResponse](docs/GetCommentChildrenResponse.md) + - [GetCommentResponse](docs/GetCommentResponse.md) - [GetCommentTextResponse](docs/GetCommentTextResponse.md) + - [GetCommentTextResponse1](docs/GetCommentTextResponse1.md) + - [GetCommentVoteUserNamesResponse](docs/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](docs/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](docs/GetCommentsForUserResponse.md) + - [GetCommentsForUserResponse1](docs/GetCommentsForUserResponse1.md) + - [GetCommentsPublicResponse](docs/GetCommentsPublicResponse.md) + - [GetCommentsResponse](docs/GetCommentsResponse.md) - [GetCommentsResponsePublicComment](docs/GetCommentsResponsePublicComment.md) - [GetCommentsResponseWithPresencePublicComment](docs/GetCommentsResponseWithPresencePublicComment.md) + - [GetCountResponse](docs/GetCountResponse.md) + - [GetCountsResponse](docs/GetCountsResponse.md) - [GetDomainConfigResponse](docs/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](docs/GetDomainConfigsResponse.md) - [GetDomainConfigsResponseAnyOf](docs/GetDomainConfigsResponseAnyOf.md) - [GetDomainConfigsResponseAnyOf1](docs/GetDomainConfigsResponseAnyOf1.md) - [GetEmailTemplateDefinitionsResponse](docs/GetEmailTemplateDefinitionsResponse.md) + - [GetEmailTemplateDefinitionsResponse1](docs/GetEmailTemplateDefinitionsResponse1.md) - [GetEmailTemplateRenderErrorsResponse](docs/GetEmailTemplateRenderErrorsResponse.md) + - [GetEmailTemplateRenderErrorsResponse1](docs/GetEmailTemplateRenderErrorsResponse1.md) - [GetEmailTemplateResponse](docs/GetEmailTemplateResponse.md) + - [GetEmailTemplateResponse1](docs/GetEmailTemplateResponse1.md) - [GetEmailTemplatesResponse](docs/GetEmailTemplatesResponse.md) + - [GetEmailTemplatesResponse1](docs/GetEmailTemplatesResponse1.md) - [GetEventLogResponse](docs/GetEventLogResponse.md) + - [GetEventLogResponse1](docs/GetEventLogResponse1.md) + - [GetFeedPostsPublicResponse](docs/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](docs/GetFeedPostsResponse.md) + - [GetFeedPostsResponse1](docs/GetFeedPostsResponse1.md) + - [GetFeedPostsStatsResponse](docs/GetFeedPostsStatsResponse.md) + - [GetGifLargeResponse](docs/GetGifLargeResponse.md) - [GetGifsSearchResponse](docs/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md) + - [GetGlobalEventLogResponse](docs/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](docs/GetHashTagsResponse.md) + - [GetHashTagsResponse1](docs/GetHashTagsResponse1.md) + - [GetLogsResponse](docs/GetLogsResponse.md) + - [GetManualBadgesForUserResponse](docs/GetManualBadgesForUserResponse.md) + - [GetManualBadgesResponse](docs/GetManualBadgesResponse.md) + - [GetModerationCommentResponse](docs/GetModerationCommentResponse.md) + - [GetModerationCommentTextResponse](docs/GetModerationCommentTextResponse.md) - [GetModeratorResponse](docs/GetModeratorResponse.md) + - [GetModeratorResponse1](docs/GetModeratorResponse1.md) - [GetModeratorsResponse](docs/GetModeratorsResponse.md) + - [GetModeratorsResponse1](docs/GetModeratorsResponse1.md) - [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](docs/GetNotificationCountResponse.md) + - [GetNotificationCountResponse1](docs/GetNotificationCountResponse1.md) - [GetNotificationsResponse](docs/GetNotificationsResponse.md) + - [GetNotificationsResponse1](docs/GetNotificationsResponse1.md) + - [GetOfflineUsersResponse](docs/GetOfflineUsersResponse.md) + - [GetOnlineUsersResponse](docs/GetOnlineUsersResponse.md) - [GetPageByURLIdAPIResponse](docs/GetPageByURLIdAPIResponse.md) - [GetPagesAPIResponse](docs/GetPagesAPIResponse.md) + - [GetPagesPublicResponse](docs/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md) + - [GetPendingWebhookEventCountResponse1](docs/GetPendingWebhookEventCountResponse1.md) - [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md) + - [GetPendingWebhookEventsResponse1](docs/GetPendingWebhookEventsResponse1.md) + - [GetPreBanSummaryResponse](docs/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](docs/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md) + - [GetQuestionConfigResponse1](docs/GetQuestionConfigResponse1.md) - [GetQuestionConfigsResponse](docs/GetQuestionConfigsResponse.md) + - [GetQuestionConfigsResponse1](docs/GetQuestionConfigsResponse1.md) - [GetQuestionResultResponse](docs/GetQuestionResultResponse.md) + - [GetQuestionResultResponse1](docs/GetQuestionResultResponse1.md) - [GetQuestionResultsResponse](docs/GetQuestionResultsResponse.md) + - [GetQuestionResultsResponse1](docs/GetQuestionResultsResponse1.md) - [GetSSOUserByEmailAPIResponse](docs/GetSSOUserByEmailAPIResponse.md) - [GetSSOUserByIdAPIResponse](docs/GetSSOUserByIdAPIResponse.md) - [GetSSOUsersResponse](docs/GetSSOUsersResponse.md) + - [GetSearchCommentsSummaryResponse](docs/GetSearchCommentsSummaryResponse.md) + - [GetSearchPagesResponse](docs/GetSearchPagesResponse.md) + - [GetSearchSitesResponse](docs/GetSearchSitesResponse.md) + - [GetSearchSuggestResponse](docs/GetSearchSuggestResponse.md) + - [GetSearchUsersResponse](docs/GetSearchUsersResponse.md) - [GetSubscriptionsAPIResponse](docs/GetSubscriptionsAPIResponse.md) - [GetTenantDailyUsagesResponse](docs/GetTenantDailyUsagesResponse.md) + - [GetTenantDailyUsagesResponse1](docs/GetTenantDailyUsagesResponse1.md) - [GetTenantManualBadgesResponse](docs/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](docs/GetTenantPackageResponse.md) + - [GetTenantPackageResponse1](docs/GetTenantPackageResponse1.md) - [GetTenantPackagesResponse](docs/GetTenantPackagesResponse.md) + - [GetTenantPackagesResponse1](docs/GetTenantPackagesResponse1.md) - [GetTenantResponse](docs/GetTenantResponse.md) + - [GetTenantResponse1](docs/GetTenantResponse1.md) - [GetTenantUserResponse](docs/GetTenantUserResponse.md) + - [GetTenantUserResponse1](docs/GetTenantUserResponse1.md) - [GetTenantUsersResponse](docs/GetTenantUsersResponse.md) + - [GetTenantUsersResponse1](docs/GetTenantUsersResponse1.md) - [GetTenantsResponse](docs/GetTenantsResponse.md) + - [GetTenantsResponse1](docs/GetTenantsResponse1.md) - [GetTicketResponse](docs/GetTicketResponse.md) + - [GetTicketResponse1](docs/GetTicketResponse1.md) - [GetTicketsResponse](docs/GetTicketsResponse.md) + - [GetTicketsResponse1](docs/GetTicketsResponse1.md) - [GetTranslationsResponse](docs/GetTranslationsResponse.md) + - [GetTranslationsResponse1](docs/GetTranslationsResponse1.md) + - [GetTrustFactorResponse](docs/GetTrustFactorResponse.md) + - [GetUserBadgeProgressByIdResponse](docs/GetUserBadgeProgressByIdResponse.md) + - [GetUserBadgeProgressByUserIdResponse](docs/GetUserBadgeProgressByUserIdResponse.md) + - [GetUserBadgeProgressListResponse](docs/GetUserBadgeProgressListResponse.md) + - [GetUserBadgeResponse](docs/GetUserBadgeResponse.md) + - [GetUserBadgesResponse](docs/GetUserBadgesResponse.md) + - [GetUserBanPreferenceResponse](docs/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](docs/GetUserInternalProfileResponse.md) + - [GetUserInternalProfileResponse1](docs/GetUserInternalProfileResponse1.md) - [GetUserInternalProfileResponseProfile](docs/GetUserInternalProfileResponseProfile.md) - [GetUserManualBadgesResponse](docs/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](docs/GetUserNotificationCountResponse.md) + - [GetUserNotificationCountResponse1](docs/GetUserNotificationCountResponse1.md) + - [GetUserNotificationsResponse](docs/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](docs/GetUserPresenceStatusesResponse.md) + - [GetUserPresenceStatusesResponse1](docs/GetUserPresenceStatusesResponse1.md) + - [GetUserReactsPublicResponse](docs/GetUserReactsPublicResponse.md) - [GetUserResponse](docs/GetUserResponse.md) + - [GetUserResponse1](docs/GetUserResponse1.md) - [GetUserTrustFactorResponse](docs/GetUserTrustFactorResponse.md) + - [GetUsersInfoResponse](docs/GetUsersInfoResponse.md) - [GetV1PageLikes](docs/GetV1PageLikes.md) + - [GetV1PageLikesResponse](docs/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](docs/GetV2PageReactUsersResponse.md) + - [GetV2PageReactUsersResponse1](docs/GetV2PageReactUsersResponse1.md) - [GetV2PageReacts](docs/GetV2PageReacts.md) + - [GetV2PageReactsResponse](docs/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](docs/GetVotesForUserResponse.md) + - [GetVotesForUserResponse1](docs/GetVotesForUserResponse1.md) - [GetVotesResponse](docs/GetVotesResponse.md) + - [GetVotesResponse1](docs/GetVotesResponse1.md) - [GifGetLargeResponse](docs/GifGetLargeResponse.md) - [GifRating](docs/GifRating.md) - [GifSearchInternalError](docs/GifSearchInternalError.md) @@ -462,6 +588,7 @@ Class | Method | HTTP request | Description - [LiveEvent](docs/LiveEvent.md) - [LiveEventExtraInfo](docs/LiveEventExtraInfo.md) - [LiveEventType](docs/LiveEventType.md) + - [LockCommentResponse](docs/LockCommentResponse.md) - [MediaAsset](docs/MediaAsset.md) - [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md) - [MetaItem](docs/MetaItem.md) @@ -495,10 +622,26 @@ Class | Method | HTTP request | Description - [PagesSortBy](docs/PagesSortBy.md) - [PatchDomainConfigParams](docs/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](docs/PatchDomainConfigResponse.md) + - [PatchHashTagResponse](docs/PatchHashTagResponse.md) - [PatchPageAPIResponse](docs/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) + - [PinCommentResponse](docs/PinCommentResponse.md) + - [PostAdjustCommentVotesResponse](docs/PostAdjustCommentVotesResponse.md) + - [PostApiExportResponse](docs/PostApiExportResponse.md) + - [PostBanUserFromCommentResponse](docs/PostBanUserFromCommentResponse.md) + - [PostBanUserUndoResponse](docs/PostBanUserUndoResponse.md) + - [PostBulkPreBanSummaryResponse](docs/PostBulkPreBanSummaryResponse.md) + - [PostCommentsByIdsResponse](docs/PostCommentsByIdsResponse.md) + - [PostFlagCommentResponse](docs/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) + - [PostRestoreDeletedCommentResponse](docs/PostRestoreDeletedCommentResponse.md) + - [PostSetCommentApprovalStatusResponse](docs/PostSetCommentApprovalStatusResponse.md) + - [PostSetCommentReviewStatusResponse](docs/PostSetCommentReviewStatusResponse.md) + - [PostSetCommentSpamStatusResponse](docs/PostSetCommentSpamStatusResponse.md) + - [PostSetCommentTextResponse](docs/PostSetCommentTextResponse.md) + - [PostUnFlagCommentResponse](docs/PostUnFlagCommentResponse.md) + - [PostVoteResponse](docs/PostVoteResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) @@ -512,7 +655,11 @@ Class | Method | HTTP request | Description - [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md) - [PublicPage](docs/PublicPage.md) - [PublicVote](docs/PublicVote.md) + - [PutAwardBadgeResponse](docs/PutAwardBadgeResponse.md) + - [PutCloseThreadResponse](docs/PutCloseThreadResponse.md) - [PutDomainConfigResponse](docs/PutDomainConfigResponse.md) + - [PutRemoveBadgeResponse](docs/PutRemoveBadgeResponse.md) + - [PutReopenThreadResponse](docs/PutReopenThreadResponse.md) - [PutSSOUserAPIResponse](docs/PutSSOUserAPIResponse.md) - [QueryPredicate](docs/QueryPredicate.md) - [QueryPredicateValue](docs/QueryPredicateValue.md) @@ -525,30 +672,42 @@ Class | Method | HTTP request | Description - [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](docs/QuestionWhenSave.md) - [ReactBodyParams](docs/ReactBodyParams.md) + - [ReactFeedPostPublicResponse](docs/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](docs/ReactFeedPostResponse.md) - [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md) - [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](docs/RenderEmailTemplateResponse.md) + - [RenderEmailTemplateResponse1](docs/RenderEmailTemplateResponse1.md) - [RenderableUserNotification](docs/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](docs/ReplaceTenantPackageBody.md) + - [ReplaceTenantPackageResponse](docs/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](docs/ReplaceTenantUserBody.md) + - [ReplaceTenantUserResponse](docs/ReplaceTenantUserResponse.md) + - [ResetUserNotificationCountResponse](docs/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md) + - [ResetUserNotificationsResponse1](docs/ResetUserNotificationsResponse1.md) - [SORTDIR](docs/SORTDIR.md) - [SSOSecurityLevel](docs/SSOSecurityLevel.md) + - [SaveCommentResponse](docs/SaveCommentResponse.md) - [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](docs/SearchUsersResponse.md) + - [SearchUsersResponse1](docs/SearchUsersResponse1.md) - [SearchUsersResult](docs/SearchUsersResult.md) - [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md) + - [SendInviteResponse](docs/SendInviteResponse.md) + - [SendLoginLinkResponse](docs/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](docs/SetCommentApprovedResponse.md) - [SetCommentTextParams](docs/SetCommentTextParams.md) - [SetCommentTextResponse](docs/SetCommentTextResponse.md) + - [SetCommentTextResponse1](docs/SetCommentTextResponse1.md) - [SetCommentTextResult](docs/SetCommentTextResult.md) + - [SetTrustFactorResponse](docs/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](docs/SetUserTrustFactorResponse.md) - [SizePreset](docs/SizePreset.md) - [SortDirections](docs/SortDirections.md) @@ -557,26 +716,43 @@ Class | Method | HTTP request | Description - [TenantBadge](docs/TenantBadge.md) - [TenantHashTag](docs/TenantHashTag.md) - [TenantPackage](docs/TenantPackage.md) + - [UnBlockCommentPublicResponse](docs/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md) + - [UnBlockUserFromCommentResponse](docs/UnBlockUserFromCommentResponse.md) + - [UnFlagCommentResponse](docs/UnFlagCommentResponse.md) + - [UnLockCommentResponse](docs/UnLockCommentResponse.md) + - [UnPinCommentResponse](docs/UnPinCommentResponse.md) - [UnblockSuccess](docs/UnblockSuccess.md) - [UpdatableCommentParams](docs/UpdatableCommentParams.md) - [UpdateAPIPageData](docs/UpdateAPIPageData.md) - [UpdateAPISSOUserData](docs/UpdateAPISSOUserData.md) - [UpdateAPIUserSubscriptionData](docs/UpdateAPIUserSubscriptionData.md) + - [UpdateCommentResponse](docs/UpdateCommentResponse.md) - [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](docs/UpdateEmailTemplateBody.md) + - [UpdateEmailTemplateResponse](docs/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](docs/UpdateFeedPostParams.md) + - [UpdateFeedPostPublicResponse](docs/UpdateFeedPostPublicResponse.md) + - [UpdateFeedPostResponse](docs/UpdateFeedPostResponse.md) - [UpdateHashTagBody](docs/UpdateHashTagBody.md) - [UpdateHashTagResponse](docs/UpdateHashTagResponse.md) - [UpdateModeratorBody](docs/UpdateModeratorBody.md) + - [UpdateModeratorResponse](docs/UpdateModeratorResponse.md) - [UpdateNotificationBody](docs/UpdateNotificationBody.md) + - [UpdateNotificationResponse](docs/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](docs/UpdateQuestionConfigBody.md) + - [UpdateQuestionConfigResponse](docs/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](docs/UpdateQuestionResultBody.md) + - [UpdateQuestionResultResponse](docs/UpdateQuestionResultResponse.md) - [UpdateSubscriptionAPIResponse](docs/UpdateSubscriptionAPIResponse.md) - [UpdateTenantBody](docs/UpdateTenantBody.md) - [UpdateTenantPackageBody](docs/UpdateTenantPackageBody.md) + - [UpdateTenantPackageResponse](docs/UpdateTenantPackageResponse.md) + - [UpdateTenantResponse](docs/UpdateTenantResponse.md) - [UpdateTenantUserBody](docs/UpdateTenantUserBody.md) + - [UpdateTenantUserResponse](docs/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](docs/UpdateUserBadgeParams.md) + - [UpdateUserBadgeResponse](docs/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](docs/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](docs/UpdateUserNotificationStatusResponse.md) @@ -595,6 +771,7 @@ Class | Method | HTTP request | Description - [UserSessionInfo](docs/UserSessionInfo.md) - [UsersListLocation](docs/UsersListLocation.md) - [VoteBodyParams](docs/VoteBodyParams.md) + - [VoteCommentResponse](docs/VoteCommentResponse.md) - [VoteDeleteResponse](docs/VoteDeleteResponse.md) - [VoteResponse](docs/VoteResponse.md) - [VoteResponseUser](docs/VoteResponseUser.md) diff --git a/client/docs/AddHashTagResponse.md b/client/docs/AddHashTagResponse.md new file mode 100644 index 0000000..a8ec067 --- /dev/null +++ b/client/docs/AddHashTagResponse.md @@ -0,0 +1,18 @@ +# AddHashTagResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/AddHashTagsBulkResponse.md b/client/docs/AddHashTagsBulkResponse.md new file mode 100644 index 0000000..6f7eb1f --- /dev/null +++ b/client/docs/AddHashTagsBulkResponse.md @@ -0,0 +1,18 @@ +# AddHashTagsBulkResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**results** | [BulkCreateHashTagsResponseResultsInner] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/AggregateQuestionResultsResponse1.md b/client/docs/AggregateQuestionResultsResponse1.md new file mode 100644 index 0000000..8928d7b --- /dev/null +++ b/client/docs/AggregateQuestionResultsResponse1.md @@ -0,0 +1,18 @@ +# AggregateQuestionResultsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**data** | [**QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BlockFromCommentPublicResponse.md b/client/docs/BlockFromCommentPublicResponse.md new file mode 100644 index 0000000..1278064 --- /dev/null +++ b/client/docs/BlockFromCommentPublicResponse.md @@ -0,0 +1,18 @@ +# BlockFromCommentPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BlockUserFromCommentResponse.md b/client/docs/BlockUserFromCommentResponse.md new file mode 100644 index 0000000..8e5fe2b --- /dev/null +++ b/client/docs/BlockUserFromCommentResponse.md @@ -0,0 +1,18 @@ +# BlockUserFromCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BulkAggregateQuestionResultsResponse1.md b/client/docs/BulkAggregateQuestionResultsResponse1.md new file mode 100644 index 0000000..7c6de38 --- /dev/null +++ b/client/docs/BulkAggregateQuestionResultsResponse1.md @@ -0,0 +1,18 @@ +# BulkAggregateQuestionResultsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**data** | [String: QuestionResultAggregationOverall] | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ChangeTicketStateResponse1.md b/client/docs/ChangeTicketStateResponse1.md new file mode 100644 index 0000000..7ff3fd7 --- /dev/null +++ b/client/docs/ChangeTicketStateResponse1.md @@ -0,0 +1,18 @@ +# ChangeTicketStateResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**ticket** | [**APITicket**](APITicket.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CheckedCommentsForBlockedResponse.md b/client/docs/CheckedCommentsForBlockedResponse.md new file mode 100644 index 0000000..489e630 --- /dev/null +++ b/client/docs/CheckedCommentsForBlockedResponse.md @@ -0,0 +1,18 @@ +# CheckedCommentsForBlockedResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CombineCommentsWithQuestionResultsResponse.md b/client/docs/CombineCommentsWithQuestionResultsResponse.md new file mode 100644 index 0000000..f438a86 --- /dev/null +++ b/client/docs/CombineCommentsWithQuestionResultsResponse.md @@ -0,0 +1,18 @@ +# CombineCommentsWithQuestionResultsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**data** | [**FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateCommentPublicResponse.md b/client/docs/CreateCommentPublicResponse.md new file mode 100644 index 0000000..4dfb50c --- /dev/null +++ b/client/docs/CreateCommentPublicResponse.md @@ -0,0 +1,21 @@ +# CreateCommentPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**comment** | [**PublicComment**](PublicComment.md) | | [optional] +**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] +**moduleData** | **[String: JSONValue]** | Construct a type with a set of properties K of type T | [optional] +**userIdWS** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateEmailTemplateResponse1.md b/client/docs/CreateEmailTemplateResponse1.md new file mode 100644 index 0000000..5045a9c --- /dev/null +++ b/client/docs/CreateEmailTemplateResponse1.md @@ -0,0 +1,18 @@ +# CreateEmailTemplateResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateFeedPostPublicResponse.md b/client/docs/CreateFeedPostPublicResponse.md new file mode 100644 index 0000000..407e7ed --- /dev/null +++ b/client/docs/CreateFeedPostPublicResponse.md @@ -0,0 +1,18 @@ +# CreateFeedPostPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateFeedPostResponse1.md b/client/docs/CreateFeedPostResponse1.md new file mode 100644 index 0000000..3f811ce --- /dev/null +++ b/client/docs/CreateFeedPostResponse1.md @@ -0,0 +1,18 @@ +# CreateFeedPostResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateModeratorResponse1.md b/client/docs/CreateModeratorResponse1.md new file mode 100644 index 0000000..9f9d310 --- /dev/null +++ b/client/docs/CreateModeratorResponse1.md @@ -0,0 +1,18 @@ +# CreateModeratorResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**moderator** | [**Moderator**](Moderator.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateQuestionConfigResponse1.md b/client/docs/CreateQuestionConfigResponse1.md new file mode 100644 index 0000000..438ff33 --- /dev/null +++ b/client/docs/CreateQuestionConfigResponse1.md @@ -0,0 +1,18 @@ +# CreateQuestionConfigResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateQuestionResultResponse1.md b/client/docs/CreateQuestionResultResponse1.md new file mode 100644 index 0000000..3e763c1 --- /dev/null +++ b/client/docs/CreateQuestionResultResponse1.md @@ -0,0 +1,18 @@ +# CreateQuestionResultResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantPackageResponse1.md b/client/docs/CreateTenantPackageResponse1.md new file mode 100644 index 0000000..bbb78b9 --- /dev/null +++ b/client/docs/CreateTenantPackageResponse1.md @@ -0,0 +1,18 @@ +# CreateTenantPackageResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantResponse1.md b/client/docs/CreateTenantResponse1.md new file mode 100644 index 0000000..0f82a6d --- /dev/null +++ b/client/docs/CreateTenantResponse1.md @@ -0,0 +1,18 @@ +# CreateTenantResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenant** | [**APITenant**](APITenant.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantUserResponse1.md b/client/docs/CreateTenantUserResponse1.md new file mode 100644 index 0000000..06c9861 --- /dev/null +++ b/client/docs/CreateTenantUserResponse1.md @@ -0,0 +1,18 @@ +# CreateTenantUserResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantUser** | [**User**](User.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTicketResponse1.md b/client/docs/CreateTicketResponse1.md new file mode 100644 index 0000000..3a1678f --- /dev/null +++ b/client/docs/CreateTicketResponse1.md @@ -0,0 +1,18 @@ +# CreateTicketResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**ticket** | [**APITicket**](APITicket.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateUserBadgeResponse.md b/client/docs/CreateUserBadgeResponse.md new file mode 100644 index 0000000..625ac51 --- /dev/null +++ b/client/docs/CreateUserBadgeResponse.md @@ -0,0 +1,19 @@ +# CreateUserBadgeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userBadge** | [**UserBadge**](UserBadge.md) | | [optional] +**notes** | **[String]** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateV1PageReactResponse.md b/client/docs/CreateV1PageReactResponse.md new file mode 100644 index 0000000..1d793ee --- /dev/null +++ b/client/docs/CreateV1PageReactResponse.md @@ -0,0 +1,17 @@ +# CreateV1PageReactResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateV2PageReactResponse.md b/client/docs/CreateV2PageReactResponse.md new file mode 100644 index 0000000..83735fb --- /dev/null +++ b/client/docs/CreateV2PageReactResponse.md @@ -0,0 +1,17 @@ +# CreateV2PageReactResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateVoteResponse.md b/client/docs/CreateVoteResponse.md new file mode 100644 index 0000000..c9706f5 --- /dev/null +++ b/client/docs/CreateVoteResponse.md @@ -0,0 +1,21 @@ +# CreateVoteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**voteId** | **String** | | [optional] +**isVerified** | **Bool** | | [optional] +**user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] +**editKey** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index a687699..b871b87 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -171,7 +171,7 @@ Name | Type | Description | Notes # **addHashTag** ```swift - open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) + open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, completion: @escaping (_ data: AddHashTagResponse?, _ error: Error?) -> Void) ``` @@ -205,7 +205,7 @@ Name | Type | Description | Notes ### Return type -[**CreateHashTagResponse**](CreateHashTagResponse.md) +[**AddHashTagResponse**](AddHashTagResponse.md) ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes # **addHashTagsBulk** ```swift - open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) + open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, completion: @escaping (_ data: AddHashTagsBulkResponse?, _ error: Error?) -> Void) ``` @@ -254,7 +254,7 @@ Name | Type | Description | Notes ### Return type -[**BulkCreateHashTagsResponse**](BulkCreateHashTagsResponse.md) +[**AddHashTagsBulkResponse**](AddHashTagsBulkResponse.md) ### Authorization @@ -422,7 +422,7 @@ Name | Type | Description | Notes # **aggregateQuestionResults** ```swift - open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, completion: @escaping (_ data: AggregateQuestionResultsResponse1?, _ error: Error?) -> Void) ``` @@ -466,7 +466,7 @@ Name | Type | Description | Notes ### Return type -[**AggregateQuestionResultsResponse**](AggregateQuestionResultsResponse.md) +[**AggregateQuestionResultsResponse1**](AggregateQuestionResultsResponse1.md) ### Authorization @@ -481,7 +481,7 @@ Name | Type | Description | Notes # **blockUserFromComment** ```swift - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: BlockUserFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -521,7 +521,7 @@ Name | Type | Description | Notes ### Return type -[**BlockSuccess**](BlockSuccess.md) +[**BlockUserFromCommentResponse**](BlockUserFromCommentResponse.md) ### Authorization @@ -536,7 +536,7 @@ Name | Type | Description | Notes # **bulkAggregateQuestionResults** ```swift - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse1?, _ error: Error?) -> Void) ``` @@ -572,7 +572,7 @@ Name | Type | Description | Notes ### Return type -[**BulkAggregateQuestionResultsResponse**](BulkAggregateQuestionResultsResponse.md) +[**BulkAggregateQuestionResultsResponse1**](BulkAggregateQuestionResultsResponse1.md) ### Authorization @@ -587,7 +587,7 @@ Name | Type | Description | Notes # **changeTicketState** ```swift - open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, completion: @escaping (_ data: ChangeTicketStateResponse?, _ error: Error?) -> Void) + open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, completion: @escaping (_ data: ChangeTicketStateResponse1?, _ error: Error?) -> Void) ``` @@ -625,7 +625,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeTicketStateResponse**](ChangeTicketStateResponse.md) +[**ChangeTicketStateResponse1**](ChangeTicketStateResponse1.md) ### Authorization @@ -640,7 +640,7 @@ Name | Type | Description | Notes # **combineCommentsWithQuestionResults** ```swift - open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) + open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: CombineCommentsWithQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -688,7 +688,7 @@ Name | Type | Description | Notes ### Return type -[**CombineQuestionResultsWithCommentsResponse**](CombineQuestionResultsWithCommentsResponse.md) +[**CombineCommentsWithQuestionResultsResponse**](CombineCommentsWithQuestionResultsResponse.md) ### Authorization @@ -703,7 +703,7 @@ Name | Type | Description | Notes # **createEmailTemplate** ```swift - open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, completion: @escaping (_ data: CreateEmailTemplateResponse?, _ error: Error?) -> Void) + open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, completion: @escaping (_ data: CreateEmailTemplateResponse1?, _ error: Error?) -> Void) ``` @@ -737,7 +737,7 @@ Name | Type | Description | Notes ### Return type -[**CreateEmailTemplateResponse**](CreateEmailTemplateResponse.md) +[**CreateEmailTemplateResponse1**](CreateEmailTemplateResponse1.md) ### Authorization @@ -752,7 +752,7 @@ Name | Type | Description | Notes # **createFeedPost** ```swift - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, completion: @escaping (_ data: CreateFeedPostResponse1?, _ error: Error?) -> Void) ``` @@ -794,7 +794,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostsResponse**](CreateFeedPostsResponse.md) +[**CreateFeedPostResponse1**](CreateFeedPostResponse1.md) ### Authorization @@ -809,7 +809,7 @@ Name | Type | Description | Notes # **createModerator** ```swift - open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, completion: @escaping (_ data: CreateModeratorResponse?, _ error: Error?) -> Void) + open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, completion: @escaping (_ data: CreateModeratorResponse1?, _ error: Error?) -> Void) ``` @@ -843,7 +843,7 @@ Name | Type | Description | Notes ### Return type -[**CreateModeratorResponse**](CreateModeratorResponse.md) +[**CreateModeratorResponse1**](CreateModeratorResponse1.md) ### Authorization @@ -858,7 +858,7 @@ Name | Type | Description | Notes # **createQuestionConfig** ```swift - open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, completion: @escaping (_ data: CreateQuestionConfigResponse?, _ error: Error?) -> Void) + open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, completion: @escaping (_ data: CreateQuestionConfigResponse1?, _ error: Error?) -> Void) ``` @@ -892,7 +892,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionConfigResponse**](CreateQuestionConfigResponse.md) +[**CreateQuestionConfigResponse1**](CreateQuestionConfigResponse1.md) ### Authorization @@ -907,7 +907,7 @@ Name | Type | Description | Notes # **createQuestionResult** ```swift - open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, completion: @escaping (_ data: CreateQuestionResultResponse?, _ error: Error?) -> Void) + open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, completion: @escaping (_ data: CreateQuestionResultResponse1?, _ error: Error?) -> Void) ``` @@ -941,7 +941,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionResultResponse**](CreateQuestionResultResponse.md) +[**CreateQuestionResultResponse1**](CreateQuestionResultResponse1.md) ### Authorization @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes # **createTenant** ```swift - open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, completion: @escaping (_ data: CreateTenantResponse?, _ error: Error?) -> Void) + open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, completion: @escaping (_ data: CreateTenantResponse1?, _ error: Error?) -> Void) ``` @@ -1039,7 +1039,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantResponse**](CreateTenantResponse.md) +[**CreateTenantResponse1**](CreateTenantResponse1.md) ### Authorization @@ -1054,7 +1054,7 @@ Name | Type | Description | Notes # **createTenantPackage** ```swift - open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, completion: @escaping (_ data: CreateTenantPackageResponse?, _ error: Error?) -> Void) + open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, completion: @escaping (_ data: CreateTenantPackageResponse1?, _ error: Error?) -> Void) ``` @@ -1088,7 +1088,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantPackageResponse**](CreateTenantPackageResponse.md) +[**CreateTenantPackageResponse1**](CreateTenantPackageResponse1.md) ### Authorization @@ -1103,7 +1103,7 @@ Name | Type | Description | Notes # **createTenantUser** ```swift - open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, completion: @escaping (_ data: CreateTenantUserResponse?, _ error: Error?) -> Void) + open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, completion: @escaping (_ data: CreateTenantUserResponse1?, _ error: Error?) -> Void) ``` @@ -1137,7 +1137,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantUserResponse**](CreateTenantUserResponse.md) +[**CreateTenantUserResponse1**](CreateTenantUserResponse1.md) ### Authorization @@ -1152,7 +1152,7 @@ Name | Type | Description | Notes # **createTicket** ```swift - open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, completion: @escaping (_ data: CreateTicketResponse?, _ error: Error?) -> Void) + open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, completion: @escaping (_ data: CreateTicketResponse1?, _ error: Error?) -> Void) ``` @@ -1188,7 +1188,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTicketResponse**](CreateTicketResponse.md) +[**CreateTicketResponse1**](CreateTicketResponse1.md) ### Authorization @@ -1203,7 +1203,7 @@ Name | Type | Description | Notes # **createUserBadge** ```swift - open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, completion: @escaping (_ data: APICreateUserBadgeResponse?, _ error: Error?) -> Void) + open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, completion: @escaping (_ data: CreateUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -1237,7 +1237,7 @@ Name | Type | Description | Notes ### Return type -[**APICreateUserBadgeResponse**](APICreateUserBadgeResponse.md) +[**CreateUserBadgeResponse**](CreateUserBadgeResponse.md) ### Authorization @@ -1252,7 +1252,7 @@ Name | Type | Description | Notes # **createVote** ```swift - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: CreateVoteResponse?, _ error: Error?) -> Void) ``` @@ -1292,7 +1292,7 @@ Name | Type | Description | Notes ### Return type -[**VoteResponse**](VoteResponse.md) +[**CreateVoteResponse**](CreateVoteResponse.md) ### Authorization @@ -1307,7 +1307,7 @@ Name | Type | Description | Notes # **deleteComment** ```swift - open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) + open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, completion: @escaping (_ data: DeleteCommentResponse?, _ error: Error?) -> Void) ``` @@ -1345,7 +1345,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentResult**](DeleteCommentResult.md) +[**DeleteCommentResponse**](DeleteCommentResponse.md) ### Authorization @@ -1409,7 +1409,7 @@ Name | Type | Description | Notes # **deleteEmailTemplate** ```swift - open class func deleteEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: DeleteEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -1443,7 +1443,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteEmailTemplateResponse**](DeleteEmailTemplateResponse.md) ### Authorization @@ -1458,7 +1458,7 @@ Name | Type | Description | Notes # **deleteEmailTemplateRenderError** ```swift - open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, completion: @escaping (_ data: DeleteEmailTemplateRenderErrorResponse?, _ error: Error?) -> Void) ``` @@ -1494,7 +1494,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteEmailTemplateRenderErrorResponse**](DeleteEmailTemplateRenderErrorResponse.md) ### Authorization @@ -1509,7 +1509,7 @@ Name | Type | Description | Notes # **deleteHashTag** ```swift - open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, completion: @escaping (_ data: DeleteHashTagResponse?, _ error: Error?) -> Void) ``` @@ -1545,7 +1545,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteHashTagResponse**](DeleteHashTagResponse.md) ### Authorization @@ -1560,7 +1560,7 @@ Name | Type | Description | Notes # **deleteModerator** ```swift - open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, completion: @escaping (_ data: DeleteModeratorResponse?, _ error: Error?) -> Void) ``` @@ -1596,7 +1596,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteModeratorResponse**](DeleteModeratorResponse.md) ### Authorization @@ -1611,7 +1611,7 @@ Name | Type | Description | Notes # **deleteNotificationCount** ```swift - open class func deleteNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: DeleteNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -1645,7 +1645,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteNotificationCountResponse**](DeleteNotificationCountResponse.md) ### Authorization @@ -1709,7 +1709,7 @@ Name | Type | Description | Notes # **deletePendingWebhookEvent** ```swift - open class func deletePendingWebhookEvent(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deletePendingWebhookEvent(tenantId: String, id: String, completion: @escaping (_ data: DeletePendingWebhookEventResponse?, _ error: Error?) -> Void) ``` @@ -1743,7 +1743,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeletePendingWebhookEventResponse**](DeletePendingWebhookEventResponse.md) ### Authorization @@ -1758,7 +1758,7 @@ Name | Type | Description | Notes # **deleteQuestionConfig** ```swift - open class func deleteQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: DeleteQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -1792,7 +1792,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteQuestionConfigResponse**](DeleteQuestionConfigResponse.md) ### Authorization @@ -1807,7 +1807,7 @@ Name | Type | Description | Notes # **deleteQuestionResult** ```swift - open class func deleteQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: DeleteQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -1841,7 +1841,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteQuestionResultResponse**](DeleteQuestionResultResponse.md) ### Authorization @@ -1960,7 +1960,7 @@ Name | Type | Description | Notes # **deleteTenant** ```swift - open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, completion: @escaping (_ data: DeleteTenantResponse?, _ error: Error?) -> Void) ``` @@ -1996,7 +1996,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteTenantResponse**](DeleteTenantResponse.md) ### Authorization @@ -2011,7 +2011,7 @@ Name | Type | Description | Notes # **deleteTenantPackage** ```swift - open class func deleteTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: DeleteTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -2045,7 +2045,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteTenantPackageResponse**](DeleteTenantPackageResponse.md) ### Authorization @@ -2060,7 +2060,7 @@ Name | Type | Description | Notes # **deleteTenantUser** ```swift - open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, completion: @escaping (_ data: DeleteTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -2098,7 +2098,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteTenantUserResponse**](DeleteTenantUserResponse.md) ### Authorization @@ -2113,7 +2113,7 @@ Name | Type | Description | Notes # **deleteUserBadge** ```swift - open class func deleteUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) + open class func deleteUserBadge(tenantId: String, id: String, completion: @escaping (_ data: DeleteUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2147,7 +2147,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) +[**DeleteUserBadgeResponse**](DeleteUserBadgeResponse.md) ### Authorization @@ -2162,7 +2162,7 @@ Name | Type | Description | Notes # **deleteVote** ```swift - open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, completion: @escaping (_ data: DeleteVoteResponse?, _ error: Error?) -> Void) ``` @@ -2198,7 +2198,7 @@ Name | Type | Description | Notes ### Return type -[**VoteDeleteResponse**](VoteDeleteResponse.md) +[**DeleteVoteResponse**](DeleteVoteResponse.md) ### Authorization @@ -2213,7 +2213,7 @@ Name | Type | Description | Notes # **flagComment** ```swift - open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse1?, _ error: Error?) -> Void) ``` @@ -2251,7 +2251,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentResponse**](FlagCommentResponse.md) +[**FlagCommentResponse1**](FlagCommentResponse1.md) ### Authorization @@ -2266,7 +2266,7 @@ Name | Type | Description | Notes # **getAuditLogs** ```swift - open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) + open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, completion: @escaping (_ data: GetAuditLogsResponse1?, _ error: Error?) -> Void) ``` @@ -2308,7 +2308,7 @@ Name | Type | Description | Notes ### Return type -[**GetAuditLogsResponse**](GetAuditLogsResponse.md) +[**GetAuditLogsResponse1**](GetAuditLogsResponse1.md) ### Authorization @@ -2323,7 +2323,7 @@ Name | Type | Description | Notes # **getCachedNotificationCount** ```swift - open class func getCachedNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: GetCachedNotificationCountResponse?, _ error: Error?) -> Void) + open class func getCachedNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: GetCachedNotificationCountResponse1?, _ error: Error?) -> Void) ``` @@ -2357,7 +2357,7 @@ Name | Type | Description | Notes ### Return type -[**GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md) +[**GetCachedNotificationCountResponse1**](GetCachedNotificationCountResponse1.md) ### Authorization @@ -2372,7 +2372,7 @@ Name | Type | Description | Notes # **getComment** ```swift - open class func getComment(tenantId: String, id: String, completion: @escaping (_ data: APIGetCommentResponse?, _ error: Error?) -> Void) + open class func getComment(tenantId: String, id: String, completion: @escaping (_ data: GetCommentResponse?, _ error: Error?) -> Void) ``` @@ -2406,7 +2406,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetCommentResponse**](APIGetCommentResponse.md) +[**GetCommentResponse**](GetCommentResponse.md) ### Authorization @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes # **getComments** ```swift - open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, completion: @escaping (_ data: GetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -2485,7 +2485,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetCommentsResponse**](APIGetCommentsResponse.md) +[**GetCommentsResponse**](GetCommentsResponse.md) ### Authorization @@ -2596,7 +2596,7 @@ Name | Type | Description | Notes # **getEmailTemplate** ```swift - open class func getEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: GetEmailTemplateResponse?, _ error: Error?) -> Void) + open class func getEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: GetEmailTemplateResponse1?, _ error: Error?) -> Void) ``` @@ -2630,7 +2630,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateResponse**](GetEmailTemplateResponse.md) +[**GetEmailTemplateResponse1**](GetEmailTemplateResponse1.md) ### Authorization @@ -2645,7 +2645,7 @@ Name | Type | Description | Notes # **getEmailTemplateDefinitions** ```swift - open class func getEmailTemplateDefinitions(tenantId: String, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateDefinitions(tenantId: String, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse1?, _ error: Error?) -> Void) ``` @@ -2677,7 +2677,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md) +[**GetEmailTemplateDefinitionsResponse1**](GetEmailTemplateDefinitionsResponse1.md) ### Authorization @@ -2692,7 +2692,7 @@ Name | Type | Description | Notes # **getEmailTemplateRenderErrors** ```swift - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse1?, _ error: Error?) -> Void) ``` @@ -2728,7 +2728,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md) +[**GetEmailTemplateRenderErrorsResponse1**](GetEmailTemplateRenderErrorsResponse1.md) ### Authorization @@ -2743,7 +2743,7 @@ Name | Type | Description | Notes # **getEmailTemplates** ```swift - open class func getEmailTemplates(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) + open class func getEmailTemplates(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplatesResponse1?, _ error: Error?) -> Void) ``` @@ -2777,7 +2777,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md) +[**GetEmailTemplatesResponse1**](GetEmailTemplatesResponse1.md) ### Authorization @@ -2792,7 +2792,7 @@ Name | Type | Description | Notes # **getFeedPosts** ```swift - open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, completion: @escaping (_ data: GetFeedPostsResponse1?, _ error: Error?) -> Void) ``` @@ -2832,7 +2832,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsResponse**](GetFeedPostsResponse.md) +[**GetFeedPostsResponse1**](GetFeedPostsResponse1.md) ### Authorization @@ -2847,7 +2847,7 @@ Name | Type | Description | Notes # **getHashTags** ```swift - open class func getHashTags(tenantId: String, page: Double? = nil, completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) + open class func getHashTags(tenantId: String, page: Double? = nil, completion: @escaping (_ data: GetHashTagsResponse1?, _ error: Error?) -> Void) ``` @@ -2881,7 +2881,7 @@ Name | Type | Description | Notes ### Return type -[**GetHashTagsResponse**](GetHashTagsResponse.md) +[**GetHashTagsResponse1**](GetHashTagsResponse1.md) ### Authorization @@ -2896,7 +2896,7 @@ Name | Type | Description | Notes # **getModerator** ```swift - open class func getModerator(tenantId: String, id: String, completion: @escaping (_ data: GetModeratorResponse?, _ error: Error?) -> Void) + open class func getModerator(tenantId: String, id: String, completion: @escaping (_ data: GetModeratorResponse1?, _ error: Error?) -> Void) ``` @@ -2930,7 +2930,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorResponse**](GetModeratorResponse.md) +[**GetModeratorResponse1**](GetModeratorResponse1.md) ### Authorization @@ -2945,7 +2945,7 @@ Name | Type | Description | Notes # **getModerators** ```swift - open class func getModerators(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) + open class func getModerators(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetModeratorsResponse1?, _ error: Error?) -> Void) ``` @@ -2979,7 +2979,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorsResponse**](GetModeratorsResponse.md) +[**GetModeratorsResponse1**](GetModeratorsResponse1.md) ### Authorization @@ -2994,7 +2994,7 @@ Name | Type | Description | Notes # **getNotificationCount** ```swift - open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) + open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, completion: @escaping (_ data: GetNotificationCountResponse1?, _ error: Error?) -> Void) ``` @@ -3036,7 +3036,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationCountResponse**](GetNotificationCountResponse.md) +[**GetNotificationCountResponse1**](GetNotificationCountResponse1.md) ### Authorization @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes # **getNotifications** ```swift - open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) + open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetNotificationsResponse1?, _ error: Error?) -> Void) ``` @@ -3095,7 +3095,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationsResponse**](GetNotificationsResponse.md) +[**GetNotificationsResponse1**](GetNotificationsResponse1.md) ### Authorization @@ -3206,7 +3206,7 @@ Name | Type | Description | Notes # **getPendingWebhookEventCount** ```swift - open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventCountResponse1?, _ error: Error?) -> Void) ``` @@ -3250,7 +3250,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md) +[**GetPendingWebhookEventCountResponse1**](GetPendingWebhookEventCountResponse1.md) ### Authorization @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes # **getPendingWebhookEvents** ```swift - open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventsResponse1?, _ error: Error?) -> Void) ``` @@ -3311,7 +3311,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md) +[**GetPendingWebhookEventsResponse1**](GetPendingWebhookEventsResponse1.md) ### Authorization @@ -3326,7 +3326,7 @@ Name | Type | Description | Notes # **getQuestionConfig** ```swift - open class func getQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionConfigResponse?, _ error: Error?) -> Void) + open class func getQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionConfigResponse1?, _ error: Error?) -> Void) ``` @@ -3360,7 +3360,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigResponse**](GetQuestionConfigResponse.md) +[**GetQuestionConfigResponse1**](GetQuestionConfigResponse1.md) ### Authorization @@ -3375,7 +3375,7 @@ Name | Type | Description | Notes # **getQuestionConfigs** ```swift - open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) + open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetQuestionConfigsResponse1?, _ error: Error?) -> Void) ``` @@ -3409,7 +3409,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md) +[**GetQuestionConfigsResponse1**](GetQuestionConfigsResponse1.md) ### Authorization @@ -3424,7 +3424,7 @@ Name | Type | Description | Notes # **getQuestionResult** ```swift - open class func getQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionResultResponse?, _ error: Error?) -> Void) + open class func getQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionResultResponse1?, _ error: Error?) -> Void) ``` @@ -3458,7 +3458,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultResponse**](GetQuestionResultResponse.md) +[**GetQuestionResultResponse1**](GetQuestionResultResponse1.md) ### Authorization @@ -3473,7 +3473,7 @@ Name | Type | Description | Notes # **getQuestionResults** ```swift - open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) + open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetQuestionResultsResponse1?, _ error: Error?) -> Void) ``` @@ -3517,7 +3517,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultsResponse**](GetQuestionResultsResponse.md) +[**GetQuestionResultsResponse1**](GetQuestionResultsResponse1.md) ### Authorization @@ -3728,7 +3728,7 @@ Name | Type | Description | Notes # **getTenant** ```swift - open class func getTenant(tenantId: String, id: String, completion: @escaping (_ data: GetTenantResponse?, _ error: Error?) -> Void) + open class func getTenant(tenantId: String, id: String, completion: @escaping (_ data: GetTenantResponse1?, _ error: Error?) -> Void) ``` @@ -3762,7 +3762,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantResponse**](GetTenantResponse.md) +[**GetTenantResponse1**](GetTenantResponse1.md) ### Authorization @@ -3777,7 +3777,7 @@ Name | Type | Description | Notes # **getTenantDailyUsages** ```swift - open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) + open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantDailyUsagesResponse1?, _ error: Error?) -> Void) ``` @@ -3817,7 +3817,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md) +[**GetTenantDailyUsagesResponse1**](GetTenantDailyUsagesResponse1.md) ### Authorization @@ -3832,7 +3832,7 @@ Name | Type | Description | Notes # **getTenantPackage** ```swift - open class func getTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: GetTenantPackageResponse?, _ error: Error?) -> Void) + open class func getTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: GetTenantPackageResponse1?, _ error: Error?) -> Void) ``` @@ -3866,7 +3866,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackageResponse**](GetTenantPackageResponse.md) +[**GetTenantPackageResponse1**](GetTenantPackageResponse1.md) ### Authorization @@ -3881,7 +3881,7 @@ Name | Type | Description | Notes # **getTenantPackages** ```swift - open class func getTenantPackages(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) + open class func getTenantPackages(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantPackagesResponse1?, _ error: Error?) -> Void) ``` @@ -3915,7 +3915,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackagesResponse**](GetTenantPackagesResponse.md) +[**GetTenantPackagesResponse1**](GetTenantPackagesResponse1.md) ### Authorization @@ -3930,7 +3930,7 @@ Name | Type | Description | Notes # **getTenantUser** ```swift - open class func getTenantUser(tenantId: String, id: String, completion: @escaping (_ data: GetTenantUserResponse?, _ error: Error?) -> Void) + open class func getTenantUser(tenantId: String, id: String, completion: @escaping (_ data: GetTenantUserResponse1?, _ error: Error?) -> Void) ``` @@ -3964,7 +3964,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUserResponse**](GetTenantUserResponse.md) +[**GetTenantUserResponse1**](GetTenantUserResponse1.md) ### Authorization @@ -3979,7 +3979,7 @@ Name | Type | Description | Notes # **getTenantUsers** ```swift - open class func getTenantUsers(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) + open class func getTenantUsers(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantUsersResponse1?, _ error: Error?) -> Void) ``` @@ -4013,7 +4013,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUsersResponse**](GetTenantUsersResponse.md) +[**GetTenantUsersResponse1**](GetTenantUsersResponse1.md) ### Authorization @@ -4028,7 +4028,7 @@ Name | Type | Description | Notes # **getTenants** ```swift - open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) + open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantsResponse1?, _ error: Error?) -> Void) ``` @@ -4064,7 +4064,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantsResponse**](GetTenantsResponse.md) +[**GetTenantsResponse1**](GetTenantsResponse1.md) ### Authorization @@ -4079,7 +4079,7 @@ Name | Type | Description | Notes # **getTicket** ```swift - open class func getTicket(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) + open class func getTicket(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: GetTicketResponse1?, _ error: Error?) -> Void) ``` @@ -4115,7 +4115,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketResponse**](GetTicketResponse.md) +[**GetTicketResponse1**](GetTicketResponse1.md) ### Authorization @@ -4130,7 +4130,7 @@ Name | Type | Description | Notes # **getTickets** ```swift - open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) + open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: GetTicketsResponse1?, _ error: Error?) -> Void) ``` @@ -4170,7 +4170,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketsResponse**](GetTicketsResponse.md) +[**GetTicketsResponse1**](GetTicketsResponse1.md) ### Authorization @@ -4185,7 +4185,7 @@ Name | Type | Description | Notes # **getUser** ```swift - open class func getUser(tenantId: String, id: String, completion: @escaping (_ data: GetUserResponse?, _ error: Error?) -> Void) + open class func getUser(tenantId: String, id: String, completion: @escaping (_ data: GetUserResponse1?, _ error: Error?) -> Void) ``` @@ -4219,7 +4219,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserResponse**](GetUserResponse.md) +[**GetUserResponse1**](GetUserResponse1.md) ### Authorization @@ -4234,7 +4234,7 @@ Name | Type | Description | Notes # **getUserBadge** ```swift - open class func getUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeResponse?, _ error: Error?) -> Void) + open class func getUserBadge(tenantId: String, id: String, completion: @escaping (_ data: GetUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -4268,7 +4268,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeResponse**](APIGetUserBadgeResponse.md) +[**GetUserBadgeResponse**](GetUserBadgeResponse.md) ### Authorization @@ -4283,7 +4283,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressById** ```swift - open class func getUserBadgeProgressById(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressById(tenantId: String, id: String, completion: @escaping (_ data: GetUserBadgeProgressByIdResponse?, _ error: Error?) -> Void) ``` @@ -4317,7 +4317,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) +[**GetUserBadgeProgressByIdResponse**](GetUserBadgeProgressByIdResponse.md) ### Authorization @@ -4332,7 +4332,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressByUserId** ```swift - open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, completion: @escaping (_ data: GetUserBadgeProgressByUserIdResponse?, _ error: Error?) -> Void) ``` @@ -4366,7 +4366,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) +[**GetUserBadgeProgressByUserIdResponse**](GetUserBadgeProgressByUserIdResponse.md) ### Authorization @@ -4381,7 +4381,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressList** ```swift - open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetUserBadgeProgressListResponse?, _ error: Error?) -> Void) ``` @@ -4419,7 +4419,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md) +[**GetUserBadgeProgressListResponse**](GetUserBadgeProgressListResponse.md) ### Authorization @@ -4434,7 +4434,7 @@ Name | Type | Description | Notes # **getUserBadges** ```swift - open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) + open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetUserBadgesResponse?, _ error: Error?) -> Void) ``` @@ -4478,7 +4478,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgesResponse**](APIGetUserBadgesResponse.md) +[**GetUserBadgesResponse**](GetUserBadgesResponse.md) ### Authorization @@ -4493,7 +4493,7 @@ Name | Type | Description | Notes # **getVotes** ```swift - open class func getVotes(tenantId: String, urlId: String, completion: @escaping (_ data: GetVotesResponse?, _ error: Error?) -> Void) + open class func getVotes(tenantId: String, urlId: String, completion: @escaping (_ data: GetVotesResponse1?, _ error: Error?) -> Void) ``` @@ -4527,7 +4527,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesResponse**](GetVotesResponse.md) +[**GetVotesResponse1**](GetVotesResponse1.md) ### Authorization @@ -4542,7 +4542,7 @@ Name | Type | Description | Notes # **getVotesForUser** ```swift - open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) + open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: GetVotesForUserResponse1?, _ error: Error?) -> Void) ``` @@ -4580,7 +4580,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesForUserResponse**](GetVotesForUserResponse.md) +[**GetVotesForUserResponse1**](GetVotesForUserResponse1.md) ### Authorization @@ -4646,7 +4646,7 @@ Name | Type | Description | Notes # **patchHashTag** ```swift - open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) + open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, completion: @escaping (_ data: PatchHashTagResponse?, _ error: Error?) -> Void) ``` @@ -4682,7 +4682,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateHashTagResponse**](UpdateHashTagResponse.md) +[**PatchHashTagResponse**](PatchHashTagResponse.md) ### Authorization @@ -4905,7 +4905,7 @@ Name | Type | Description | Notes # **renderEmailTemplate** ```swift - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, completion: @escaping (_ data: RenderEmailTemplateResponse1?, _ error: Error?) -> Void) ``` @@ -4941,7 +4941,7 @@ Name | Type | Description | Notes ### Return type -[**RenderEmailTemplateResponse**](RenderEmailTemplateResponse.md) +[**RenderEmailTemplateResponse1**](RenderEmailTemplateResponse1.md) ### Authorization @@ -4956,7 +4956,7 @@ Name | Type | Description | Notes # **replaceTenantPackage** ```swift - open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, completion: @escaping (_ data: ReplaceTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -4992,7 +4992,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**ReplaceTenantPackageResponse**](ReplaceTenantPackageResponse.md) ### Authorization @@ -5007,7 +5007,7 @@ Name | Type | Description | Notes # **replaceTenantUser** ```swift - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: ReplaceTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -5045,7 +5045,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**ReplaceTenantUserResponse**](ReplaceTenantUserResponse.md) ### Authorization @@ -5060,7 +5060,7 @@ Name | Type | Description | Notes # **saveComment** ```swift - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, completion: @escaping (_ data: SaveCommentResponse?, _ error: Error?) -> Void) ``` @@ -5102,7 +5102,7 @@ Name | Type | Description | Notes ### Return type -[**APISaveCommentResponse**](APISaveCommentResponse.md) +[**SaveCommentResponse**](SaveCommentResponse.md) ### Authorization @@ -5174,7 +5174,7 @@ Name | Type | Description | Notes # **sendInvite** ```swift - open class func sendInvite(tenantId: String, id: String, fromName: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendInvite(tenantId: String, id: String, fromName: String, completion: @escaping (_ data: SendInviteResponse?, _ error: Error?) -> Void) ``` @@ -5210,7 +5210,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**SendInviteResponse**](SendInviteResponse.md) ### Authorization @@ -5225,7 +5225,7 @@ Name | Type | Description | Notes # **sendLoginLink** ```swift - open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, completion: @escaping (_ data: SendLoginLinkResponse?, _ error: Error?) -> Void) ``` @@ -5261,7 +5261,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**SendLoginLinkResponse**](SendLoginLinkResponse.md) ### Authorization @@ -5276,7 +5276,7 @@ Name | Type | Description | Notes # **unBlockUserFromComment** ```swift - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnBlockUserFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -5316,7 +5316,7 @@ Name | Type | Description | Notes ### Return type -[**UnblockSuccess**](UnblockSuccess.md) +[**UnBlockUserFromCommentResponse**](UnBlockUserFromCommentResponse.md) ### Authorization @@ -5331,7 +5331,7 @@ Name | Type | Description | Notes # **unFlagComment** ```swift - open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnFlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -5369,7 +5369,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentResponse**](FlagCommentResponse.md) +[**UnFlagCommentResponse**](UnFlagCommentResponse.md) ### Authorization @@ -5384,7 +5384,7 @@ Name | Type | Description | Notes # **updateComment** ```swift - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, completion: @escaping (_ data: UpdateCommentResponse?, _ error: Error?) -> Void) ``` @@ -5426,7 +5426,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateCommentResponse**](UpdateCommentResponse.md) ### Authorization @@ -5441,7 +5441,7 @@ Name | Type | Description | Notes # **updateEmailTemplate** ```swift - open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, completion: @escaping (_ data: UpdateEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -5477,7 +5477,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateEmailTemplateResponse**](UpdateEmailTemplateResponse.md) ### Authorization @@ -5492,7 +5492,7 @@ Name | Type | Description | Notes # **updateFeedPost** ```swift - open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, completion: @escaping (_ data: UpdateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -5528,7 +5528,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateFeedPostResponse**](UpdateFeedPostResponse.md) ### Authorization @@ -5543,7 +5543,7 @@ Name | Type | Description | Notes # **updateModerator** ```swift - open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, completion: @escaping (_ data: UpdateModeratorResponse?, _ error: Error?) -> Void) ``` @@ -5579,7 +5579,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateModeratorResponse**](UpdateModeratorResponse.md) ### Authorization @@ -5594,7 +5594,7 @@ Name | Type | Description | Notes # **updateNotification** ```swift - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, completion: @escaping (_ data: UpdateNotificationResponse?, _ error: Error?) -> Void) ``` @@ -5632,7 +5632,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateNotificationResponse**](UpdateNotificationResponse.md) ### Authorization @@ -5647,7 +5647,7 @@ Name | Type | Description | Notes # **updateQuestionConfig** ```swift - open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, completion: @escaping (_ data: UpdateQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -5683,7 +5683,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateQuestionConfigResponse**](UpdateQuestionConfigResponse.md) ### Authorization @@ -5698,7 +5698,7 @@ Name | Type | Description | Notes # **updateQuestionResult** ```swift - open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, completion: @escaping (_ data: UpdateQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -5734,7 +5734,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateQuestionResultResponse**](UpdateQuestionResultResponse.md) ### Authorization @@ -5802,7 +5802,7 @@ Name | Type | Description | Notes # **updateTenant** ```swift - open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, completion: @escaping (_ data: UpdateTenantResponse?, _ error: Error?) -> Void) ``` @@ -5838,7 +5838,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateTenantResponse**](UpdateTenantResponse.md) ### Authorization @@ -5853,7 +5853,7 @@ Name | Type | Description | Notes # **updateTenantPackage** ```swift - open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, completion: @escaping (_ data: UpdateTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -5889,7 +5889,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateTenantPackageResponse**](UpdateTenantPackageResponse.md) ### Authorization @@ -5904,7 +5904,7 @@ Name | Type | Description | Notes # **updateTenantUser** ```swift - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: UpdateTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -5942,7 +5942,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateTenantUserResponse**](UpdateTenantUserResponse.md) ### Authorization @@ -5957,7 +5957,7 @@ Name | Type | Description | Notes # **updateUserBadge** ```swift - open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) + open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, completion: @escaping (_ data: UpdateUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -5993,7 +5993,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) +[**UpdateUserBadgeResponse**](UpdateUserBadgeResponse.md) ### Authorization diff --git a/client/docs/DeleteCommentPublicResponse.md b/client/docs/DeleteCommentPublicResponse.md new file mode 100644 index 0000000..68ebef8 --- /dev/null +++ b/client/docs/DeleteCommentPublicResponse.md @@ -0,0 +1,19 @@ +# DeleteCommentPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | [**DeletedCommentResultComment**](DeletedCommentResultComment.md) | | [optional] +**hardRemoved** | **Bool** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteCommentResponse.md b/client/docs/DeleteCommentResponse.md new file mode 100644 index 0000000..56df4ce --- /dev/null +++ b/client/docs/DeleteCommentResponse.md @@ -0,0 +1,18 @@ +# DeleteCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**action** | [**DeleteCommentAction**](DeleteCommentAction.md) | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteCommentVoteResponse.md b/client/docs/DeleteCommentVoteResponse.md new file mode 100644 index 0000000..21cfcb8 --- /dev/null +++ b/client/docs/DeleteCommentVoteResponse.md @@ -0,0 +1,18 @@ +# DeleteCommentVoteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**wasPendingVote** | **Bool** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteEmailTemplateRenderErrorResponse.md b/client/docs/DeleteEmailTemplateRenderErrorResponse.md new file mode 100644 index 0000000..e0b4cdd --- /dev/null +++ b/client/docs/DeleteEmailTemplateRenderErrorResponse.md @@ -0,0 +1,17 @@ +# DeleteEmailTemplateRenderErrorResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteEmailTemplateResponse.md b/client/docs/DeleteEmailTemplateResponse.md new file mode 100644 index 0000000..8e4c7a3 --- /dev/null +++ b/client/docs/DeleteEmailTemplateResponse.md @@ -0,0 +1,17 @@ +# DeleteEmailTemplateResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteFeedPostPublicResponse.md b/client/docs/DeleteFeedPostPublicResponse.md index 7e58491..c67f7ff 100644 --- a/client/docs/DeleteFeedPostPublicResponse.md +++ b/client/docs/DeleteFeedPostPublicResponse.md @@ -4,6 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/DeleteFeedPostPublicResponseAnyOf.md b/client/docs/DeleteFeedPostPublicResponseAnyOf.md new file mode 100644 index 0000000..67ee564 --- /dev/null +++ b/client/docs/DeleteFeedPostPublicResponseAnyOf.md @@ -0,0 +1,10 @@ +# DeleteFeedPostPublicResponseAnyOf + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteHashTagResponse.md b/client/docs/DeleteHashTagResponse.md new file mode 100644 index 0000000..ccef68b --- /dev/null +++ b/client/docs/DeleteHashTagResponse.md @@ -0,0 +1,17 @@ +# DeleteHashTagResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteModerationVoteResponse.md b/client/docs/DeleteModerationVoteResponse.md new file mode 100644 index 0000000..8fa666d --- /dev/null +++ b/client/docs/DeleteModerationVoteResponse.md @@ -0,0 +1,18 @@ +# DeleteModerationVoteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**wasPendingVote** | **Bool** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteModeratorResponse.md b/client/docs/DeleteModeratorResponse.md new file mode 100644 index 0000000..095198d --- /dev/null +++ b/client/docs/DeleteModeratorResponse.md @@ -0,0 +1,17 @@ +# DeleteModeratorResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteNotificationCountResponse.md b/client/docs/DeleteNotificationCountResponse.md new file mode 100644 index 0000000..a80675d --- /dev/null +++ b/client/docs/DeleteNotificationCountResponse.md @@ -0,0 +1,17 @@ +# DeleteNotificationCountResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeletePendingWebhookEventResponse.md b/client/docs/DeletePendingWebhookEventResponse.md new file mode 100644 index 0000000..23dee74 --- /dev/null +++ b/client/docs/DeletePendingWebhookEventResponse.md @@ -0,0 +1,17 @@ +# DeletePendingWebhookEventResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteQuestionConfigResponse.md b/client/docs/DeleteQuestionConfigResponse.md new file mode 100644 index 0000000..baee4d5 --- /dev/null +++ b/client/docs/DeleteQuestionConfigResponse.md @@ -0,0 +1,17 @@ +# DeleteQuestionConfigResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteQuestionResultResponse.md b/client/docs/DeleteQuestionResultResponse.md new file mode 100644 index 0000000..0b780c9 --- /dev/null +++ b/client/docs/DeleteQuestionResultResponse.md @@ -0,0 +1,17 @@ +# DeleteQuestionResultResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantPackageResponse.md b/client/docs/DeleteTenantPackageResponse.md new file mode 100644 index 0000000..4410f7a --- /dev/null +++ b/client/docs/DeleteTenantPackageResponse.md @@ -0,0 +1,17 @@ +# DeleteTenantPackageResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantResponse.md b/client/docs/DeleteTenantResponse.md new file mode 100644 index 0000000..edde560 --- /dev/null +++ b/client/docs/DeleteTenantResponse.md @@ -0,0 +1,17 @@ +# DeleteTenantResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantUserResponse.md b/client/docs/DeleteTenantUserResponse.md new file mode 100644 index 0000000..15eae3a --- /dev/null +++ b/client/docs/DeleteTenantUserResponse.md @@ -0,0 +1,17 @@ +# DeleteTenantUserResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteUserBadgeResponse.md b/client/docs/DeleteUserBadgeResponse.md new file mode 100644 index 0000000..688c707 --- /dev/null +++ b/client/docs/DeleteUserBadgeResponse.md @@ -0,0 +1,17 @@ +# DeleteUserBadgeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteV1PageReactResponse.md b/client/docs/DeleteV1PageReactResponse.md new file mode 100644 index 0000000..95cb885 --- /dev/null +++ b/client/docs/DeleteV1PageReactResponse.md @@ -0,0 +1,17 @@ +# DeleteV1PageReactResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteV2PageReactResponse.md b/client/docs/DeleteV2PageReactResponse.md new file mode 100644 index 0000000..ed66780 --- /dev/null +++ b/client/docs/DeleteV2PageReactResponse.md @@ -0,0 +1,17 @@ +# DeleteV2PageReactResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteVoteResponse.md b/client/docs/DeleteVoteResponse.md new file mode 100644 index 0000000..810344d --- /dev/null +++ b/client/docs/DeleteVoteResponse.md @@ -0,0 +1,18 @@ +# DeleteVoteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**wasPendingVote** | **Bool** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/FlagCommentPublicResponse.md b/client/docs/FlagCommentPublicResponse.md new file mode 100644 index 0000000..3b9c8d9 --- /dev/null +++ b/client/docs/FlagCommentPublicResponse.md @@ -0,0 +1,17 @@ +# FlagCommentPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/FlagCommentResponse1.md b/client/docs/FlagCommentResponse1.md new file mode 100644 index 0000000..e3c2ede --- /dev/null +++ b/client/docs/FlagCommentResponse1.md @@ -0,0 +1,19 @@ +# FlagCommentResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**statusCode** | **Int** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**wasUnapproved** | **Bool** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiCommentsResponse.md b/client/docs/GetApiCommentsResponse.md new file mode 100644 index 0000000..30d9064 --- /dev/null +++ b/client/docs/GetApiCommentsResponse.md @@ -0,0 +1,20 @@ +# GetApiCommentsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**translations** | **JSONValue** | | [optional] +**comments** | [ModerationAPIComment] | | [optional] +**moderationFilter** | [**ModerationFilter**](ModerationFilter.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiExportStatusResponse.md b/client/docs/GetApiExportStatusResponse.md new file mode 100644 index 0000000..bb99ce3 --- /dev/null +++ b/client/docs/GetApiExportStatusResponse.md @@ -0,0 +1,20 @@ +# GetApiExportStatusResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**jobStatus** | **String** | | [optional] +**recordCount** | **Int** | | [optional] +**downloadUrl** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiIdsResponse.md b/client/docs/GetApiIdsResponse.md new file mode 100644 index 0000000..c803428 --- /dev/null +++ b/client/docs/GetApiIdsResponse.md @@ -0,0 +1,19 @@ +# GetApiIdsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ids** | **[String]** | | [optional] +**hasMore** | **Bool** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetAuditLogsResponse1.md b/client/docs/GetAuditLogsResponse1.md new file mode 100644 index 0000000..4be0a3f --- /dev/null +++ b/client/docs/GetAuditLogsResponse1.md @@ -0,0 +1,18 @@ +# GetAuditLogsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**auditLogs** | [APIAuditLog] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetBanUsersFromCommentResponse.md b/client/docs/GetBanUsersFromCommentResponse.md new file mode 100644 index 0000000..bd60b4e --- /dev/null +++ b/client/docs/GetBanUsersFromCommentResponse.md @@ -0,0 +1,18 @@ +# GetBanUsersFromCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bannedUsers** | [APIBannedUserWithMultiMatchInfo] | | [optional] +**code** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCachedNotificationCountResponse1.md b/client/docs/GetCachedNotificationCountResponse1.md new file mode 100644 index 0000000..db4198e --- /dev/null +++ b/client/docs/GetCachedNotificationCountResponse1.md @@ -0,0 +1,18 @@ +# GetCachedNotificationCountResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**data** | [**UserNotificationCount**](UserNotificationCount.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentBanStatusResponse1.md b/client/docs/GetCommentBanStatusResponse1.md new file mode 100644 index 0000000..5c5e1bf --- /dev/null +++ b/client/docs/GetCommentBanStatusResponse1.md @@ -0,0 +1,19 @@ +# GetCommentBanStatusResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**emailDomain** | **String** | | [optional] +**canIPBan** | **Bool** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentChildrenResponse.md b/client/docs/GetCommentChildrenResponse.md new file mode 100644 index 0000000..76ec67e --- /dev/null +++ b/client/docs/GetCommentChildrenResponse.md @@ -0,0 +1,18 @@ +# GetCommentChildrenResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comments** | [ModerationAPIComment] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentResponse.md b/client/docs/GetCommentResponse.md new file mode 100644 index 0000000..c8f0c29 --- /dev/null +++ b/client/docs/GetCommentResponse.md @@ -0,0 +1,18 @@ +# GetCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**comment** | [**APIComment**](APIComment.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentTextResponse1.md b/client/docs/GetCommentTextResponse1.md new file mode 100644 index 0000000..9e51d48 --- /dev/null +++ b/client/docs/GetCommentTextResponse1.md @@ -0,0 +1,19 @@ +# GetCommentTextResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**commentText** | **String** | | [optional] +**sanitizedCommentText** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentVoteUserNamesResponse.md b/client/docs/GetCommentVoteUserNamesResponse.md new file mode 100644 index 0000000..4d453b2 --- /dev/null +++ b/client/docs/GetCommentVoteUserNamesResponse.md @@ -0,0 +1,19 @@ +# GetCommentVoteUserNamesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**voteUserNames** | **[String]** | | [optional] +**hasMore** | **Bool** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsForUserResponse1.md b/client/docs/GetCommentsForUserResponse1.md new file mode 100644 index 0000000..1f8bfc7 --- /dev/null +++ b/client/docs/GetCommentsForUserResponse1.md @@ -0,0 +1,18 @@ +# GetCommentsForUserResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**moderatingTenantIds** | **[String]** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsPublicResponse.md b/client/docs/GetCommentsPublicResponse.md new file mode 100644 index 0000000..b0e8026 --- /dev/null +++ b/client/docs/GetCommentsPublicResponse.md @@ -0,0 +1,40 @@ +# GetCommentsPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**statusCode** | **Int** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**translatedWarning** | **String** | | [optional] +**comments** | [PublicComment] | | [optional] +**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] +**urlIdClean** | **String** | | [optional] +**lastGenDate** | **Int64** | | [optional] +**includesPastPages** | **Bool** | | [optional] +**isDemo** | **Bool** | | [optional] +**commentCount** | **Int** | | [optional] +**isSiteAdmin** | **Bool** | | [optional] +**hasBillingIssue** | **Bool** | | [optional] +**moduleData** | **[String: JSONValue]** | Construct a type with a set of properties K of type T | [optional] +**pageNumber** | **Int** | | [optional] +**isWhiteLabeled** | **Bool** | | [optional] +**isProd** | **Bool** | | [optional] +**isCrawler** | **Bool** | | [optional] +**notificationCount** | **Int** | | [optional] +**hasMore** | **Bool** | | [optional] +**isClosed** | **Bool** | | [optional] +**presencePollState** | **Int** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] +**urlIdWS** | **String** | | [optional] +**userIdWS** | **String** | | [optional] +**tenantIdWS** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsResponse.md b/client/docs/GetCommentsResponse.md new file mode 100644 index 0000000..4518e7b --- /dev/null +++ b/client/docs/GetCommentsResponse.md @@ -0,0 +1,18 @@ +# GetCommentsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**comments** | [APIComment] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCountResponse.md b/client/docs/GetCountResponse.md new file mode 100644 index 0000000..82b85fc --- /dev/null +++ b/client/docs/GetCountResponse.md @@ -0,0 +1,18 @@ +# GetCountResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**count** | **Double** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCountsResponse.md b/client/docs/GetCountsResponse.md new file mode 100644 index 0000000..705aa21 --- /dev/null +++ b/client/docs/GetCountsResponse.md @@ -0,0 +1,18 @@ +# GetCountsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**totalCount** | **Double** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateDefinitionsResponse1.md b/client/docs/GetEmailTemplateDefinitionsResponse1.md new file mode 100644 index 0000000..333dbd7 --- /dev/null +++ b/client/docs/GetEmailTemplateDefinitionsResponse1.md @@ -0,0 +1,18 @@ +# GetEmailTemplateDefinitionsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**definitions** | [EmailTemplateDefinition] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateRenderErrorsResponse1.md b/client/docs/GetEmailTemplateRenderErrorsResponse1.md new file mode 100644 index 0000000..2545e4f --- /dev/null +++ b/client/docs/GetEmailTemplateRenderErrorsResponse1.md @@ -0,0 +1,18 @@ +# GetEmailTemplateRenderErrorsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**renderErrors** | [EmailTemplateRenderErrorResponse] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateResponse1.md b/client/docs/GetEmailTemplateResponse1.md new file mode 100644 index 0000000..e919217 --- /dev/null +++ b/client/docs/GetEmailTemplateResponse1.md @@ -0,0 +1,18 @@ +# GetEmailTemplateResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplatesResponse1.md b/client/docs/GetEmailTemplatesResponse1.md new file mode 100644 index 0000000..fceafef --- /dev/null +++ b/client/docs/GetEmailTemplatesResponse1.md @@ -0,0 +1,18 @@ +# GetEmailTemplatesResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**emailTemplates** | [CustomEmailTemplate] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEventLogResponse1.md b/client/docs/GetEventLogResponse1.md new file mode 100644 index 0000000..9eb3215 --- /dev/null +++ b/client/docs/GetEventLogResponse1.md @@ -0,0 +1,18 @@ +# GetEventLogResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**events** | [EventLogEntry] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsPublicResponse.md b/client/docs/GetFeedPostsPublicResponse.md new file mode 100644 index 0000000..c93b058 --- /dev/null +++ b/client/docs/GetFeedPostsPublicResponse.md @@ -0,0 +1,23 @@ +# GetFeedPostsPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**myReacts** | [String: [String: Bool]] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**feedPosts** | [FeedPost] | | [optional] +**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] +**urlIdWS** | **String** | | [optional] +**userIdWS** | **String** | | [optional] +**tenantIdWS** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsResponse1.md b/client/docs/GetFeedPostsResponse1.md new file mode 100644 index 0000000..9b2eb37 --- /dev/null +++ b/client/docs/GetFeedPostsResponse1.md @@ -0,0 +1,18 @@ +# GetFeedPostsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**feedPosts** | [FeedPost] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsStatsResponse.md b/client/docs/GetFeedPostsStatsResponse.md new file mode 100644 index 0000000..fed72dd --- /dev/null +++ b/client/docs/GetFeedPostsStatsResponse.md @@ -0,0 +1,18 @@ +# GetFeedPostsStatsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**stats** | [String: FeedPostStats] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetGifLargeResponse.md b/client/docs/GetGifLargeResponse.md new file mode 100644 index 0000000..e2ee444 --- /dev/null +++ b/client/docs/GetGifLargeResponse.md @@ -0,0 +1,18 @@ +# GetGifLargeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**src** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetGifsSearchResponse.md b/client/docs/GetGifsSearchResponse.md index bfef346..4e287d1 100644 --- a/client/docs/GetGifsSearchResponse.md +++ b/client/docs/GetGifsSearchResponse.md @@ -6,6 +6,12 @@ Name | Type | Description | Notes **images** | [[GifSearchResponseImagesInnerInner]] | | [optional] **status** | [**APIStatus**](APIStatus.md) | | **code** | **String** | | [optional] +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/GetGlobalEventLogResponse.md b/client/docs/GetGlobalEventLogResponse.md new file mode 100644 index 0000000..58e7410 --- /dev/null +++ b/client/docs/GetGlobalEventLogResponse.md @@ -0,0 +1,18 @@ +# GetGlobalEventLogResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**events** | [EventLogEntry] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetHashTagsResponse1.md b/client/docs/GetHashTagsResponse1.md new file mode 100644 index 0000000..f26cab4 --- /dev/null +++ b/client/docs/GetHashTagsResponse1.md @@ -0,0 +1,18 @@ +# GetHashTagsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**hashTags** | [TenantHashTag] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetLogsResponse.md b/client/docs/GetLogsResponse.md new file mode 100644 index 0000000..b66732a --- /dev/null +++ b/client/docs/GetLogsResponse.md @@ -0,0 +1,18 @@ +# GetLogsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**logs** | [ModerationAPICommentLog] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetManualBadgesForUserResponse.md b/client/docs/GetManualBadgesForUserResponse.md new file mode 100644 index 0000000..f8d227e --- /dev/null +++ b/client/docs/GetManualBadgesForUserResponse.md @@ -0,0 +1,18 @@ +# GetManualBadgesForUserResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | [UserBadge] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetManualBadgesResponse.md b/client/docs/GetManualBadgesResponse.md new file mode 100644 index 0000000..2201ebf --- /dev/null +++ b/client/docs/GetManualBadgesResponse.md @@ -0,0 +1,18 @@ +# GetManualBadgesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | [TenantBadge] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModerationCommentResponse.md b/client/docs/GetModerationCommentResponse.md new file mode 100644 index 0000000..424ae41 --- /dev/null +++ b/client/docs/GetModerationCommentResponse.md @@ -0,0 +1,18 @@ +# GetModerationCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | [**ModerationAPIComment**](ModerationAPIComment.md) | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModerationCommentTextResponse.md b/client/docs/GetModerationCommentTextResponse.md new file mode 100644 index 0000000..1c57755 --- /dev/null +++ b/client/docs/GetModerationCommentTextResponse.md @@ -0,0 +1,18 @@ +# GetModerationCommentTextResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModeratorResponse1.md b/client/docs/GetModeratorResponse1.md new file mode 100644 index 0000000..f133a6e --- /dev/null +++ b/client/docs/GetModeratorResponse1.md @@ -0,0 +1,18 @@ +# GetModeratorResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**moderator** | [**Moderator**](Moderator.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModeratorsResponse1.md b/client/docs/GetModeratorsResponse1.md new file mode 100644 index 0000000..4e3ab43 --- /dev/null +++ b/client/docs/GetModeratorsResponse1.md @@ -0,0 +1,18 @@ +# GetModeratorsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**moderators** | [Moderator] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetNotificationCountResponse1.md b/client/docs/GetNotificationCountResponse1.md new file mode 100644 index 0000000..66fb5ab --- /dev/null +++ b/client/docs/GetNotificationCountResponse1.md @@ -0,0 +1,18 @@ +# GetNotificationCountResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**count** | **Double** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetNotificationsResponse1.md b/client/docs/GetNotificationsResponse1.md new file mode 100644 index 0000000..f44e8e3 --- /dev/null +++ b/client/docs/GetNotificationsResponse1.md @@ -0,0 +1,18 @@ +# GetNotificationsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**notifications** | [UserNotification] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetOfflineUsersResponse.md b/client/docs/GetOfflineUsersResponse.md new file mode 100644 index 0000000..a748998 --- /dev/null +++ b/client/docs/GetOfflineUsersResponse.md @@ -0,0 +1,20 @@ +# GetOfflineUsersResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nextAfterUserId** | **String** | | [optional] +**nextAfterName** | **String** | | [optional] +**users** | [PageUserEntry] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetOnlineUsersResponse.md b/client/docs/GetOnlineUsersResponse.md new file mode 100644 index 0000000..2eb95ff --- /dev/null +++ b/client/docs/GetOnlineUsersResponse.md @@ -0,0 +1,22 @@ +# GetOnlineUsersResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nextAfterUserId** | **String** | | [optional] +**nextAfterName** | **String** | | [optional] +**totalCount** | **Double** | | [optional] +**anonCount** | **Double** | | [optional] +**users** | [PageUserEntry] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPagesPublicResponse.md b/client/docs/GetPagesPublicResponse.md new file mode 100644 index 0000000..3986e43 --- /dev/null +++ b/client/docs/GetPagesPublicResponse.md @@ -0,0 +1,19 @@ +# GetPagesPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nextCursor** | **String** | | [optional] +**pages** | [PublicPage] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPendingWebhookEventCountResponse1.md b/client/docs/GetPendingWebhookEventCountResponse1.md new file mode 100644 index 0000000..8b563a2 --- /dev/null +++ b/client/docs/GetPendingWebhookEventCountResponse1.md @@ -0,0 +1,18 @@ +# GetPendingWebhookEventCountResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**count** | **Double** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPendingWebhookEventsResponse1.md b/client/docs/GetPendingWebhookEventsResponse1.md new file mode 100644 index 0000000..bb467cf --- /dev/null +++ b/client/docs/GetPendingWebhookEventsResponse1.md @@ -0,0 +1,18 @@ +# GetPendingWebhookEventsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**pendingWebhookEvents** | [PendingCommentToSyncOutbound] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPreBanSummaryResponse.md b/client/docs/GetPreBanSummaryResponse.md new file mode 100644 index 0000000..d38486a --- /dev/null +++ b/client/docs/GetPreBanSummaryResponse.md @@ -0,0 +1,19 @@ +# GetPreBanSummaryResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**usernames** | **[String]** | | [optional] +**count** | **Double** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionConfigResponse1.md b/client/docs/GetQuestionConfigResponse1.md new file mode 100644 index 0000000..ae43ea5 --- /dev/null +++ b/client/docs/GetQuestionConfigResponse1.md @@ -0,0 +1,18 @@ +# GetQuestionConfigResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionConfigsResponse1.md b/client/docs/GetQuestionConfigsResponse1.md new file mode 100644 index 0000000..f35c9fb --- /dev/null +++ b/client/docs/GetQuestionConfigsResponse1.md @@ -0,0 +1,18 @@ +# GetQuestionConfigsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**questionConfigs** | [QuestionConfig] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionResultResponse1.md b/client/docs/GetQuestionResultResponse1.md new file mode 100644 index 0000000..856460d --- /dev/null +++ b/client/docs/GetQuestionResultResponse1.md @@ -0,0 +1,18 @@ +# GetQuestionResultResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionResultsResponse1.md b/client/docs/GetQuestionResultsResponse1.md new file mode 100644 index 0000000..d5e9e3f --- /dev/null +++ b/client/docs/GetQuestionResultsResponse1.md @@ -0,0 +1,18 @@ +# GetQuestionResultsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**questionResults** | [QuestionResult] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchCommentsSummaryResponse.md b/client/docs/GetSearchCommentsSummaryResponse.md new file mode 100644 index 0000000..1fa08a5 --- /dev/null +++ b/client/docs/GetSearchCommentsSummaryResponse.md @@ -0,0 +1,18 @@ +# GetSearchCommentsSummaryResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commentCount** | **Int** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchPagesResponse.md b/client/docs/GetSearchPagesResponse.md new file mode 100644 index 0000000..7774d9d --- /dev/null +++ b/client/docs/GetSearchPagesResponse.md @@ -0,0 +1,18 @@ +# GetSearchPagesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pages** | [ModerationPageSearchProjected] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchSitesResponse.md b/client/docs/GetSearchSitesResponse.md new file mode 100644 index 0000000..9e72c20 --- /dev/null +++ b/client/docs/GetSearchSitesResponse.md @@ -0,0 +1,18 @@ +# GetSearchSitesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sites** | [ModerationSiteSearchProjected] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchSuggestResponse.md b/client/docs/GetSearchSuggestResponse.md new file mode 100644 index 0000000..3ed2da0 --- /dev/null +++ b/client/docs/GetSearchSuggestResponse.md @@ -0,0 +1,19 @@ +# GetSearchSuggestResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**pages** | [ModerationPageSearchProjected] | | [optional] +**users** | [ModerationUserSearchProjected] | | [optional] +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchUsersResponse.md b/client/docs/GetSearchUsersResponse.md new file mode 100644 index 0000000..a17eff1 --- /dev/null +++ b/client/docs/GetSearchUsersResponse.md @@ -0,0 +1,18 @@ +# GetSearchUsersResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**users** | [ModerationUserSearchProjected] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantDailyUsagesResponse1.md b/client/docs/GetTenantDailyUsagesResponse1.md new file mode 100644 index 0000000..e64d76d --- /dev/null +++ b/client/docs/GetTenantDailyUsagesResponse1.md @@ -0,0 +1,18 @@ +# GetTenantDailyUsagesResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantDailyUsages** | [APITenantDailyUsage] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantPackageResponse1.md b/client/docs/GetTenantPackageResponse1.md new file mode 100644 index 0000000..9077319 --- /dev/null +++ b/client/docs/GetTenantPackageResponse1.md @@ -0,0 +1,18 @@ +# GetTenantPackageResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantPackagesResponse1.md b/client/docs/GetTenantPackagesResponse1.md new file mode 100644 index 0000000..ec9ac3d --- /dev/null +++ b/client/docs/GetTenantPackagesResponse1.md @@ -0,0 +1,18 @@ +# GetTenantPackagesResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantPackages** | [TenantPackage] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantResponse1.md b/client/docs/GetTenantResponse1.md new file mode 100644 index 0000000..56c02ab --- /dev/null +++ b/client/docs/GetTenantResponse1.md @@ -0,0 +1,18 @@ +# GetTenantResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenant** | [**APITenant**](APITenant.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantUserResponse1.md b/client/docs/GetTenantUserResponse1.md new file mode 100644 index 0000000..47eead6 --- /dev/null +++ b/client/docs/GetTenantUserResponse1.md @@ -0,0 +1,18 @@ +# GetTenantUserResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantUser** | [**User**](User.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantUsersResponse1.md b/client/docs/GetTenantUsersResponse1.md new file mode 100644 index 0000000..f790472 --- /dev/null +++ b/client/docs/GetTenantUsersResponse1.md @@ -0,0 +1,18 @@ +# GetTenantUsersResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenantUsers** | [User] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantsResponse1.md b/client/docs/GetTenantsResponse1.md new file mode 100644 index 0000000..5f627fe --- /dev/null +++ b/client/docs/GetTenantsResponse1.md @@ -0,0 +1,18 @@ +# GetTenantsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tenants** | [APITenant] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTicketResponse1.md b/client/docs/GetTicketResponse1.md new file mode 100644 index 0000000..3701f05 --- /dev/null +++ b/client/docs/GetTicketResponse1.md @@ -0,0 +1,19 @@ +# GetTicketResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**ticket** | [**APITicketDetail**](APITicketDetail.md) | | [optional] +**availableStates** | **[Double]** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTicketsResponse1.md b/client/docs/GetTicketsResponse1.md new file mode 100644 index 0000000..c9c7c3c --- /dev/null +++ b/client/docs/GetTicketsResponse1.md @@ -0,0 +1,18 @@ +# GetTicketsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**tickets** | [APITicket] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTranslationsResponse1.md b/client/docs/GetTranslationsResponse1.md new file mode 100644 index 0000000..0d4b624 --- /dev/null +++ b/client/docs/GetTranslationsResponse1.md @@ -0,0 +1,18 @@ +# GetTranslationsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**translations** | **[String: String]** | Construct a type with a set of properties K of type T | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTrustFactorResponse.md b/client/docs/GetTrustFactorResponse.md new file mode 100644 index 0000000..cbcf751 --- /dev/null +++ b/client/docs/GetTrustFactorResponse.md @@ -0,0 +1,19 @@ +# GetTrustFactorResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manualTrustFactor** | **Double** | | [optional] +**autoTrustFactor** | **Double** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressByIdResponse.md b/client/docs/GetUserBadgeProgressByIdResponse.md new file mode 100644 index 0000000..2266e72 --- /dev/null +++ b/client/docs/GetUserBadgeProgressByIdResponse.md @@ -0,0 +1,18 @@ +# GetUserBadgeProgressByIdResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressByUserIdResponse.md b/client/docs/GetUserBadgeProgressByUserIdResponse.md new file mode 100644 index 0000000..cd3e52e --- /dev/null +++ b/client/docs/GetUserBadgeProgressByUserIdResponse.md @@ -0,0 +1,18 @@ +# GetUserBadgeProgressByUserIdResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressListResponse.md b/client/docs/GetUserBadgeProgressListResponse.md new file mode 100644 index 0000000..c33d7d0 --- /dev/null +++ b/client/docs/GetUserBadgeProgressListResponse.md @@ -0,0 +1,18 @@ +# GetUserBadgeProgressListResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userBadgeProgresses** | [UserBadgeProgress] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeResponse.md b/client/docs/GetUserBadgeResponse.md new file mode 100644 index 0000000..fabf499 --- /dev/null +++ b/client/docs/GetUserBadgeResponse.md @@ -0,0 +1,18 @@ +# GetUserBadgeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userBadge** | [**UserBadge**](UserBadge.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgesResponse.md b/client/docs/GetUserBadgesResponse.md new file mode 100644 index 0000000..8c728df --- /dev/null +++ b/client/docs/GetUserBadgesResponse.md @@ -0,0 +1,18 @@ +# GetUserBadgesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userBadges** | [UserBadge] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBanPreferenceResponse.md b/client/docs/GetUserBanPreferenceResponse.md new file mode 100644 index 0000000..8f4c3e2 --- /dev/null +++ b/client/docs/GetUserBanPreferenceResponse.md @@ -0,0 +1,18 @@ +# GetUserBanPreferenceResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**preferences** | [**APIModerateUserBanPreferences**](APIModerateUserBanPreferences.md) | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserInternalProfileResponse1.md b/client/docs/GetUserInternalProfileResponse1.md new file mode 100644 index 0000000..1fbf879 --- /dev/null +++ b/client/docs/GetUserInternalProfileResponse1.md @@ -0,0 +1,18 @@ +# GetUserInternalProfileResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**profile** | [**GetUserInternalProfileResponseProfile**](GetUserInternalProfileResponseProfile.md) | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserNotificationCountResponse1.md b/client/docs/GetUserNotificationCountResponse1.md new file mode 100644 index 0000000..466dcf9 --- /dev/null +++ b/client/docs/GetUserNotificationCountResponse1.md @@ -0,0 +1,18 @@ +# GetUserNotificationCountResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**count** | **Int64** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserNotificationsResponse.md b/client/docs/GetUserNotificationsResponse.md new file mode 100644 index 0000000..8a775cd --- /dev/null +++ b/client/docs/GetUserNotificationsResponse.md @@ -0,0 +1,21 @@ +# GetUserNotificationsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**translations** | **[String: String]** | Construct a type with a set of properties K of type T | [optional] +**isSubscribed** | **Bool** | | [optional] +**hasMore** | **Bool** | | [optional] +**notifications** | [RenderableUserNotification] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserPresenceStatusesResponse1.md b/client/docs/GetUserPresenceStatusesResponse1.md new file mode 100644 index 0000000..161cbd3 --- /dev/null +++ b/client/docs/GetUserPresenceStatusesResponse1.md @@ -0,0 +1,18 @@ +# GetUserPresenceStatusesResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**userIdsOnline** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserReactsPublicResponse.md b/client/docs/GetUserReactsPublicResponse.md new file mode 100644 index 0000000..11344a8 --- /dev/null +++ b/client/docs/GetUserReactsPublicResponse.md @@ -0,0 +1,18 @@ +# GetUserReactsPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reacts** | [String: [String: Bool]] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserResponse1.md b/client/docs/GetUserResponse1.md new file mode 100644 index 0000000..e8c4254 --- /dev/null +++ b/client/docs/GetUserResponse1.md @@ -0,0 +1,18 @@ +# GetUserResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**user** | [**User**](User.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUsersInfoResponse.md b/client/docs/GetUsersInfoResponse.md new file mode 100644 index 0000000..9eb41dd --- /dev/null +++ b/client/docs/GetUsersInfoResponse.md @@ -0,0 +1,18 @@ +# GetUsersInfoResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**users** | [PageUserEntry] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV1PageLikesResponse.md b/client/docs/GetV1PageLikesResponse.md new file mode 100644 index 0000000..52099df --- /dev/null +++ b/client/docs/GetV1PageLikesResponse.md @@ -0,0 +1,21 @@ +# GetV1PageLikesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**urlIdWS** | **String** | | [optional] +**didLike** | **Bool** | | [optional] +**commentCount** | **Int** | | [optional] +**likeCount** | **Int** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV2PageReactUsersResponse1.md b/client/docs/GetV2PageReactUsersResponse1.md new file mode 100644 index 0000000..1940b3a --- /dev/null +++ b/client/docs/GetV2PageReactUsersResponse1.md @@ -0,0 +1,18 @@ +# GetV2PageReactUsersResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**userNames** | **[String]** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV2PageReactsResponse.md b/client/docs/GetV2PageReactsResponse.md new file mode 100644 index 0000000..22d9587 --- /dev/null +++ b/client/docs/GetV2PageReactsResponse.md @@ -0,0 +1,19 @@ +# GetV2PageReactsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reactedIds** | **[String]** | | [optional] +**counts** | **[String: Double]** | Construct a type with a set of properties K of type T | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetVotesForUserResponse1.md b/client/docs/GetVotesForUserResponse1.md new file mode 100644 index 0000000..7678320 --- /dev/null +++ b/client/docs/GetVotesForUserResponse1.md @@ -0,0 +1,20 @@ +# GetVotesForUserResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**appliedAuthorizedVotes** | [PublicVote] | | [optional] +**appliedAnonymousVotes** | [PublicVote] | | [optional] +**pendingVotes** | [PublicVote] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetVotesResponse1.md b/client/docs/GetVotesResponse1.md new file mode 100644 index 0000000..7943885 --- /dev/null +++ b/client/docs/GetVotesResponse1.md @@ -0,0 +1,20 @@ +# GetVotesResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**appliedAuthorizedVotes** | [PublicVote] | | [optional] +**appliedAnonymousVotes** | [PublicVote] | | [optional] +**pendingVotes** | [PublicVote] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/LockCommentResponse.md b/client/docs/LockCommentResponse.md new file mode 100644 index 0000000..02a1b2f --- /dev/null +++ b/client/docs/LockCommentResponse.md @@ -0,0 +1,17 @@ +# LockCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index 2e0b145..421423a 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -51,7 +51,7 @@ Method | HTTP request | Description # **deleteModerationVote** ```swift - open class func deleteModerationVote(commentId: String, voteId: String, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteModerationVoteResponse?, _ error: Error?) -> Void) ``` @@ -63,9 +63,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let voteId = "voteId_example" // String | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, sso: sso) { (response, error) in +ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -83,11 +85,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **voteId** | **String** | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**VoteDeleteResponse**](VoteDeleteResponse.md) +[**DeleteModerationVoteResponse**](DeleteModerationVoteResponse.md) ### Authorization @@ -102,7 +106,7 @@ No authorization required # **getApiComments** ```swift - open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetApiCommentsResponse?, _ error: Error?) -> Void) ``` @@ -120,9 +124,10 @@ let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let sorts = "sorts_example" // String | (optional) let demo = true // Bool | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiComments(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, sso: sso) { (response, error) in +ModerationAPI.getApiComments(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -146,11 +151,12 @@ Name | Type | Description | Notes **searchFilters** | **String** | | [optional] **sorts** | **String** | | [optional] **demo** | **Bool** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPIGetCommentsResponse**](ModerationAPIGetCommentsResponse.md) +[**GetApiCommentsResponse**](GetApiCommentsResponse.md) ### Authorization @@ -165,7 +171,7 @@ No authorization required # **getApiExportStatus** ```swift - open class func getApiExportStatus(batchJobId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) + open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetApiExportStatusResponse?, _ error: Error?) -> Void) ``` @@ -176,9 +182,10 @@ No authorization required import FastCommentsSwift let batchJobId = "batchJobId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiExportStatus(batchJobId: batchJobId, sso: sso) { (response, error) in +ModerationAPI.getApiExportStatus(batchJobId: batchJobId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -195,11 +202,12 @@ ModerationAPI.getApiExportStatus(batchJobId: batchJobId, sso: sso) { (response, Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **batchJobId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationExportStatusResponse**](ModerationExportStatusResponse.md) +[**GetApiExportStatusResponse**](GetApiExportStatusResponse.md) ### Authorization @@ -214,7 +222,7 @@ No authorization required # **getApiIds** ```swift - open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) + open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetApiIdsResponse?, _ error: Error?) -> Void) ``` @@ -230,9 +238,10 @@ let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let afterId = "afterId_example" // String | (optional) let demo = true // Bool | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiIds(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, sso: sso) { (response, error) in +ModerationAPI.getApiIds(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -254,11 +263,12 @@ Name | Type | Description | Notes **searchFilters** | **String** | | [optional] **afterId** | **String** | | [optional] **demo** | **Bool** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPIGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md) +[**GetApiIdsResponse**](GetApiIdsResponse.md) ### Authorization @@ -273,7 +283,7 @@ No authorization required # **getBanUsersFromComment** ```swift - open class func getBanUsersFromComment(commentId: String, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) + open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetBanUsersFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -284,9 +294,10 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getBanUsersFromComment(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getBanUsersFromComment(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -303,11 +314,12 @@ ModerationAPI.getBanUsersFromComment(commentId: commentId, sso: sso) { (response Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md) +[**GetBanUsersFromCommentResponse**](GetBanUsersFromCommentResponse.md) ### Authorization @@ -322,7 +334,7 @@ No authorization required # **getCommentBanStatus** ```swift - open class func getCommentBanStatus(commentId: String, sso: String? = nil, completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) + open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentBanStatusResponse1?, _ error: Error?) -> Void) ``` @@ -333,9 +345,10 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentBanStatus(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getCommentBanStatus(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -352,11 +365,12 @@ ModerationAPI.getCommentBanStatus(commentId: commentId, sso: sso) { (response, e Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md) +[**GetCommentBanStatusResponse1**](GetCommentBanStatusResponse1.md) ### Authorization @@ -371,7 +385,7 @@ No authorization required # **getCommentChildren** ```swift - open class func getCommentChildren(commentId: String, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentChildrenResponse?, _ error: Error?) -> Void) ``` @@ -382,9 +396,10 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentChildren(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getCommentChildren(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -401,11 +416,12 @@ ModerationAPI.getCommentChildren(commentId: commentId, sso: sso) { (response, er Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) +[**GetCommentChildrenResponse**](GetCommentChildrenResponse.md) ### Authorization @@ -420,7 +436,7 @@ No authorization required # **getCount** ```swift - open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) + open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCountResponse?, _ error: Error?) -> Void) ``` @@ -435,9 +451,10 @@ let byIPFromComment = "byIPFromComment_example" // String | (optional) let filter = "filter_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let demo = true // Bool | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCount(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, sso: sso) { (response, error) in +ModerationAPI.getCount(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -458,11 +475,12 @@ Name | Type | Description | Notes **filter** | **String** | | [optional] **searchFilters** | **String** | | [optional] **demo** | **Bool** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPICountCommentsResponse**](ModerationAPICountCommentsResponse.md) +[**GetCountResponse**](GetCountResponse.md) ### Authorization @@ -477,7 +495,7 @@ No authorization required # **getCounts** ```swift - open class func getCounts(sso: String? = nil, completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) + open class func getCounts(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCountsResponse?, _ error: Error?) -> Void) ``` @@ -487,9 +505,10 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCounts(sso: sso) { (response, error) in +ModerationAPI.getCounts(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -505,11 +524,12 @@ ModerationAPI.getCounts(sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md) +[**GetCountsResponse**](GetCountsResponse.md) ### Authorization @@ -524,7 +544,7 @@ No authorization required # **getLogs** ```swift - open class func getLogs(commentId: String, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) + open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetLogsResponse?, _ error: Error?) -> Void) ``` @@ -535,9 +555,10 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getLogs(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getLogs(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -554,11 +575,12 @@ ModerationAPI.getLogs(commentId: commentId, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPIGetLogsResponse**](ModerationAPIGetLogsResponse.md) +[**GetLogsResponse**](GetLogsResponse.md) ### Authorization @@ -573,7 +595,7 @@ No authorization required # **getManualBadges** ```swift - open class func getManualBadges(sso: String? = nil, completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -583,9 +605,10 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadges(sso: sso) { (response, error) in +ModerationAPI.getManualBadges(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -601,11 +624,12 @@ ModerationAPI.getManualBadges(sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md) +[**GetManualBadgesResponse**](GetManualBadgesResponse.md) ### Authorization @@ -620,7 +644,7 @@ No authorization required # **getManualBadgesForUser** ```swift - open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetManualBadgesForUserResponse?, _ error: Error?) -> Void) ``` @@ -632,9 +656,10 @@ import FastCommentsSwift let badgesUserId = "badgesUserId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadgesForUser(badgesUserId: badgesUserId, commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getManualBadgesForUser(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -652,11 +677,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **badgesUserId** | **String** | | [optional] **commentId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md) +[**GetManualBadgesForUserResponse**](GetManualBadgesForUserResponse.md) ### Authorization @@ -671,7 +697,7 @@ No authorization required # **getModerationComment** ```swift - open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) + open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetModerationCommentResponse?, _ error: Error?) -> Void) ``` @@ -684,9 +710,10 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let includeEmail = true // Bool | (optional) let includeIP = true // Bool | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationComment(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, sso: sso) { (response, error) in +ModerationAPI.getModerationComment(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -705,11 +732,12 @@ Name | Type | Description | Notes **commentId** | **String** | | **includeEmail** | **Bool** | | [optional] **includeIP** | **Bool** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPICommentResponse**](ModerationAPICommentResponse.md) +[**GetModerationCommentResponse**](GetModerationCommentResponse.md) ### Authorization @@ -724,7 +752,7 @@ No authorization required # **getModerationCommentText** ```swift - open class func getModerationCommentText(commentId: String, sso: String? = nil, completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) + open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetModerationCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -735,9 +763,10 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationCommentText(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getModerationCommentText(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -754,11 +783,12 @@ ModerationAPI.getModerationCommentText(commentId: commentId, sso: sso) { (respon Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetCommentTextResponse**](GetCommentTextResponse.md) +[**GetModerationCommentTextResponse**](GetModerationCommentTextResponse.md) ### Authorization @@ -773,7 +803,7 @@ No authorization required # **getPreBanSummary** ```swift - open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) + open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetPreBanSummaryResponse?, _ error: Error?) -> Void) ``` @@ -787,9 +817,10 @@ let commentId = "commentId_example" // String | let includeByUserIdAndEmail = true // Bool | (optional) let includeByIP = true // Bool | (optional) let includeByEmailDomain = true // Bool | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getPreBanSummary(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, sso: sso) { (response, error) in +ModerationAPI.getPreBanSummary(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -809,11 +840,12 @@ Name | Type | Description | Notes **includeByUserIdAndEmail** | **Bool** | | [optional] **includeByIP** | **Bool** | | [optional] **includeByEmailDomain** | **Bool** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**PreBanSummary**](PreBanSummary.md) +[**GetPreBanSummaryResponse**](GetPreBanSummaryResponse.md) ### Authorization @@ -828,7 +860,7 @@ No authorization required # **getSearchCommentsSummary** ```swift - open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) + open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchCommentsSummaryResponse?, _ error: Error?) -> Void) ``` @@ -841,9 +873,10 @@ import FastCommentsSwift let value = "value_example" // String | (optional) let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchCommentsSummary(value: value, filters: filters, searchFilters: searchFilters, sso: sso) { (response, error) in +ModerationAPI.getSearchCommentsSummary(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -862,11 +895,12 @@ Name | Type | Description | Notes **value** | **String** | | [optional] **filters** | **String** | | [optional] **searchFilters** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md) +[**GetSearchCommentsSummaryResponse**](GetSearchCommentsSummaryResponse.md) ### Authorization @@ -881,7 +915,7 @@ No authorization required # **getSearchPages** ```swift - open class func getSearchPages(value: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) + open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchPagesResponse?, _ error: Error?) -> Void) ``` @@ -892,9 +926,10 @@ No authorization required import FastCommentsSwift let value = "value_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchPages(value: value, sso: sso) { (response, error) in +ModerationAPI.getSearchPages(value: value, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -911,11 +946,12 @@ ModerationAPI.getSearchPages(value: value, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationPageSearchResponse**](ModerationPageSearchResponse.md) +[**GetSearchPagesResponse**](GetSearchPagesResponse.md) ### Authorization @@ -930,7 +966,7 @@ No authorization required # **getSearchSites** ```swift - open class func getSearchSites(value: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) + open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchSitesResponse?, _ error: Error?) -> Void) ``` @@ -941,9 +977,10 @@ No authorization required import FastCommentsSwift let value = "value_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSites(value: value, sso: sso) { (response, error) in +ModerationAPI.getSearchSites(value: value, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -960,11 +997,12 @@ ModerationAPI.getSearchSites(value: value, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md) +[**GetSearchSitesResponse**](GetSearchSitesResponse.md) ### Authorization @@ -979,7 +1017,7 @@ No authorization required # **getSearchSuggest** ```swift - open class func getSearchSuggest(textSearch: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) + open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchSuggestResponse?, _ error: Error?) -> Void) ``` @@ -990,9 +1028,10 @@ No authorization required import FastCommentsSwift let textSearch = "textSearch_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSuggest(textSearch: textSearch, sso: sso) { (response, error) in +ModerationAPI.getSearchSuggest(textSearch: textSearch, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1009,11 +1048,12 @@ ModerationAPI.getSearchSuggest(textSearch: textSearch, sso: sso) { (response, er Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **textSearch** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationSuggestResponse**](ModerationSuggestResponse.md) +[**GetSearchSuggestResponse**](GetSearchSuggestResponse.md) ### Authorization @@ -1028,7 +1068,7 @@ No authorization required # **getSearchUsers** ```swift - open class func getSearchUsers(value: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) + open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchUsersResponse?, _ error: Error?) -> Void) ``` @@ -1039,9 +1079,10 @@ No authorization required import FastCommentsSwift let value = "value_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchUsers(value: value, sso: sso) { (response, error) in +ModerationAPI.getSearchUsers(value: value, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1058,11 +1099,12 @@ ModerationAPI.getSearchUsers(value: value, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationUserSearchResponse**](ModerationUserSearchResponse.md) +[**GetSearchUsersResponse**](GetSearchUsersResponse.md) ### Authorization @@ -1077,7 +1119,7 @@ No authorization required # **getTrustFactor** ```swift - open class func getTrustFactor(userId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -1088,9 +1130,10 @@ No authorization required import FastCommentsSwift let userId = "userId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getTrustFactor(userId: userId, sso: sso) { (response, error) in +ModerationAPI.getTrustFactor(userId: userId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1107,11 +1150,12 @@ ModerationAPI.getTrustFactor(userId: userId, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **userId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md) +[**GetTrustFactorResponse**](GetTrustFactorResponse.md) ### Authorization @@ -1126,7 +1170,7 @@ No authorization required # **getUserBanPreference** ```swift - open class func getUserBanPreference(sso: String? = nil, completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) + open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserBanPreferenceResponse?, _ error: Error?) -> Void) ``` @@ -1136,9 +1180,10 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserBanPreference(sso: sso) { (response, error) in +ModerationAPI.getUserBanPreference(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1154,11 +1199,12 @@ ModerationAPI.getUserBanPreference(sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md) +[**GetUserBanPreferenceResponse**](GetUserBanPreferenceResponse.md) ### Authorization @@ -1173,7 +1219,7 @@ No authorization required # **getUserInternalProfile** ```swift - open class func getUserInternalProfile(commentId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) + open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserInternalProfileResponse1?, _ error: Error?) -> Void) ``` @@ -1184,9 +1230,10 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserInternalProfile(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.getUserInternalProfile(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1203,11 +1250,12 @@ ModerationAPI.getUserInternalProfile(commentId: commentId, sso: sso) { (response Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md) +[**GetUserInternalProfileResponse1**](GetUserInternalProfileResponse1.md) ### Authorization @@ -1222,7 +1270,7 @@ No authorization required # **postAdjustCommentVotes** ```swift - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, sso: String? = nil, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostAdjustCommentVotesResponse?, _ error: Error?) -> Void) ``` @@ -1234,9 +1282,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let adjustCommentVotesParams = AdjustCommentVotesParams(adjustVoteAmount: 123) // AdjustCommentVotesParams | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, sso: sso) { (response, error) in +ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1254,11 +1304,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **adjustCommentVotesParams** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**AdjustVotesResponse**](AdjustVotesResponse.md) +[**PostAdjustCommentVotesResponse**](PostAdjustCommentVotesResponse.md) ### Authorization @@ -1273,7 +1325,7 @@ No authorization required # **postApiExport** ```swift - open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) + open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostApiExportResponse?, _ error: Error?) -> Void) ``` @@ -1288,9 +1340,10 @@ let byIPFromComment = "byIPFromComment_example" // String | (optional) let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let sorts = "sorts_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postApiExport(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, sso: sso) { (response, error) in +ModerationAPI.postApiExport(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1311,11 +1364,12 @@ Name | Type | Description | Notes **filters** | **String** | | [optional] **searchFilters** | **String** | | [optional] **sorts** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationExportResponse**](ModerationExportResponse.md) +[**PostApiExportResponse**](PostApiExportResponse.md) ### Authorization @@ -1330,7 +1384,7 @@ No authorization required # **postBanUserFromComment** ```swift - open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, sso: String? = nil, completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) + open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostBanUserFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -1349,9 +1403,10 @@ let bannedUntil = "bannedUntil_example" // String | (optional) let isShadowBan = true // Bool | (optional) let updateId = "updateId_example" // String | (optional) let banReason = "banReason_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserFromComment(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, sso: sso) { (response, error) in +ModerationAPI.postBanUserFromComment(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1376,11 +1431,12 @@ Name | Type | Description | Notes **isShadowBan** | **Bool** | | [optional] **updateId** | **String** | | [optional] **banReason** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**BanUserFromCommentResult**](BanUserFromCommentResult.md) +[**PostBanUserFromCommentResponse**](PostBanUserFromCommentResponse.md) ### Authorization @@ -1395,7 +1451,7 @@ No authorization required # **postBanUserUndo** ```swift - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostBanUserUndoResponse?, _ error: Error?) -> Void) ``` @@ -1406,9 +1462,10 @@ No authorization required import FastCommentsSwift let banUserUndoParams = BanUserUndoParams(changelog: APIBanUserChangeLog(createdBannedUserId: "createdBannedUserId_example", updatedBannedUserId: "updatedBannedUserId_example", deletedBannedUsers: [APIBannedUser(id: "id_example", tenantId: "tenantId_example", userId: "userId_example", email: "email_example", username: "username_example", ipHash: "ipHash_example", createdAt: Date(), bannedByUserId: "bannedByUserId_example", bannedCommentText: "bannedCommentText_example", banType: "banType_example", bannedUntil: Date(), hasEmailWildcard: false, banReason: "banReason_example")], changedValuesBefore: APIBanUserChangedValues(id: "id_example", tenantId: "tenantId_example", userId: "userId_example", email: "email_example", username: "username_example", ipHash: "ipHash_example", createdAt: Date(), bannedByUserId: "bannedByUserId_example", bannedCommentText: "bannedCommentText_example", banType: "banType_example", bannedUntil: Date(), hasEmailWildcard: false, banReason: "banReason_example"))) // BanUserUndoParams | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, sso: sso) { (response, error) in +ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1425,11 +1482,12 @@ ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, sso: sso) { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **banUserUndoParams** | [**BanUserUndoParams**](BanUserUndoParams.md) | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostBanUserUndoResponse**](PostBanUserUndoResponse.md) ### Authorization @@ -1444,7 +1502,7 @@ No authorization required # **postBulkPreBanSummary** ```swift - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) + open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostBulkPreBanSummaryResponse?, _ error: Error?) -> Void) ``` @@ -1458,9 +1516,10 @@ let bulkPreBanParams = BulkPreBanParams(commentIds: ["commentIds_example"]) // B let includeByUserIdAndEmail = true // Bool | (optional) let includeByIP = true // Bool | (optional) let includeByEmailDomain = true // Bool | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBulkPreBanSummary(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, sso: sso) { (response, error) in +ModerationAPI.postBulkPreBanSummary(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1480,11 +1539,12 @@ Name | Type | Description | Notes **includeByUserIdAndEmail** | **Bool** | | [optional] **includeByIP** | **Bool** | | [optional] **includeByEmailDomain** | **Bool** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**BulkPreBanSummary**](BulkPreBanSummary.md) +[**PostBulkPreBanSummaryResponse**](PostBulkPreBanSummaryResponse.md) ### Authorization @@ -1499,7 +1559,7 @@ No authorization required # **postCommentsByIds** ```swift - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostCommentsByIdsResponse?, _ error: Error?) -> Void) ``` @@ -1510,9 +1570,10 @@ No authorization required import FastCommentsSwift let commentsByIdsParams = CommentsByIdsParams(ids: ["ids_example"]) // CommentsByIdsParams | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, sso: sso) { (response, error) in +ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1529,11 +1590,12 @@ ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, sso: s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentsByIdsParams** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) +[**PostCommentsByIdsResponse**](PostCommentsByIdsResponse.md) ### Authorization @@ -1548,7 +1610,7 @@ No authorization required # **postFlagComment** ```swift - open class func postFlagComment(commentId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostFlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -1559,9 +1621,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postFlagComment(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.postFlagComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1578,11 +1642,13 @@ ModerationAPI.postFlagComment(commentId: commentId, sso: sso) { (response, error Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostFlagCommentResponse**](PostFlagCommentResponse.md) ### Authorization @@ -1597,7 +1663,7 @@ No authorization required # **postRemoveComment** ```swift - open class func postRemoveComment(commentId: String, sso: String? = nil, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) + open class func postRemoveComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) ``` @@ -1608,9 +1674,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRemoveComment(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.postRemoveComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1627,6 +1695,8 @@ ModerationAPI.postRemoveComment(commentId: commentId, sso: sso) { (response, err Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1646,7 +1716,7 @@ No authorization required # **postRestoreDeletedComment** ```swift - open class func postRestoreDeletedComment(commentId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostRestoreDeletedCommentResponse?, _ error: Error?) -> Void) ``` @@ -1657,9 +1727,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRestoreDeletedComment(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.postRestoreDeletedComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1676,11 +1748,13 @@ ModerationAPI.postRestoreDeletedComment(commentId: commentId, sso: sso) { (respo Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostRestoreDeletedCommentResponse**](PostRestoreDeletedCommentResponse.md) ### Authorization @@ -1695,7 +1769,7 @@ No authorization required # **postSetCommentApprovalStatus** ```swift - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) + open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentApprovalStatusResponse?, _ error: Error?) -> Void) ``` @@ -1707,9 +1781,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let approved = true // Bool | (optional) +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, approved: approved, sso: sso) { (response, error) in +ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, approved: approved, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1727,11 +1803,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **approved** | **Bool** | | [optional] + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**SetCommentApprovedResponse**](SetCommentApprovedResponse.md) +[**PostSetCommentApprovalStatusResponse**](PostSetCommentApprovalStatusResponse.md) ### Authorization @@ -1746,7 +1824,7 @@ No authorization required # **postSetCommentReviewStatus** ```swift - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentReviewStatusResponse?, _ error: Error?) -> Void) ``` @@ -1758,9 +1836,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let reviewed = true // Bool | (optional) +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentReviewStatus(commentId: commentId, reviewed: reviewed, sso: sso) { (response, error) in +ModerationAPI.postSetCommentReviewStatus(commentId: commentId, reviewed: reviewed, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1778,11 +1858,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **reviewed** | **Bool** | | [optional] + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostSetCommentReviewStatusResponse**](PostSetCommentReviewStatusResponse.md) ### Authorization @@ -1797,7 +1879,7 @@ No authorization required # **postSetCommentSpamStatus** ```swift - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentSpamStatusResponse?, _ error: Error?) -> Void) ``` @@ -1810,9 +1892,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let spam = true // Bool | (optional) let permNotSpam = true // Bool | (optional) +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentSpamStatus(commentId: commentId, spam: spam, permNotSpam: permNotSpam, sso: sso) { (response, error) in +ModerationAPI.postSetCommentSpamStatus(commentId: commentId, spam: spam, permNotSpam: permNotSpam, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1831,11 +1915,13 @@ Name | Type | Description | Notes **commentId** | **String** | | **spam** | **Bool** | | [optional] **permNotSpam** | **Bool** | | [optional] + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostSetCommentSpamStatusResponse**](PostSetCommentSpamStatusResponse.md) ### Authorization @@ -1850,7 +1936,7 @@ No authorization required # **postSetCommentText** ```swift - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -1862,9 +1948,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let setCommentTextParams = SetCommentTextParams(comment: "comment_example") // SetCommentTextParams | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, sso: sso) { (response, error) in +ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1882,11 +1970,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **setCommentTextParams** | [**SetCommentTextParams**](SetCommentTextParams.md) | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**SetCommentTextResponse**](SetCommentTextResponse.md) +[**PostSetCommentTextResponse**](PostSetCommentTextResponse.md) ### Authorization @@ -1901,7 +1991,7 @@ No authorization required # **postUnFlagComment** ```swift - open class func postUnFlagComment(commentId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostUnFlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -1912,9 +2002,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postUnFlagComment(commentId: commentId, sso: sso) { (response, error) in +ModerationAPI.postUnFlagComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1931,11 +2023,13 @@ ModerationAPI.postUnFlagComment(commentId: commentId, sso: sso) { (response, err Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostUnFlagCommentResponse**](PostUnFlagCommentResponse.md) ### Authorization @@ -1950,7 +2044,7 @@ No authorization required # **postVote** ```swift - open class func postVote(commentId: String, direction: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostVoteResponse?, _ error: Error?) -> Void) ``` @@ -1962,9 +2056,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let direction = "direction_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postVote(commentId: commentId, direction: direction, sso: sso) { (response, error) in +ModerationAPI.postVote(commentId: commentId, direction: direction, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1982,11 +2078,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **direction** | **String** | | [optional] + **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**VoteResponse**](VoteResponse.md) +[**PostVoteResponse**](PostVoteResponse.md) ### Authorization @@ -2001,7 +2099,7 @@ No authorization required # **putAwardBadge** ```swift - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) + open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutAwardBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2015,9 +2113,10 @@ let badgeId = "badgeId_example" // String | let userId = "userId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putAwardBadge(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.putAwardBadge(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2037,11 +2136,12 @@ Name | Type | Description | Notes **userId** | **String** | | [optional] **commentId** | **String** | | [optional] **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**AwardUserBadgeResponse**](AwardUserBadgeResponse.md) +[**PutAwardBadgeResponse**](PutAwardBadgeResponse.md) ### Authorization @@ -2056,7 +2156,7 @@ No authorization required # **putCloseThread** ```swift - open class func putCloseThread(urlId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutCloseThreadResponse?, _ error: Error?) -> Void) ``` @@ -2067,9 +2167,10 @@ No authorization required import FastCommentsSwift let urlId = "urlId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putCloseThread(urlId: urlId, sso: sso) { (response, error) in +ModerationAPI.putCloseThread(urlId: urlId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2086,11 +2187,12 @@ ModerationAPI.putCloseThread(urlId: urlId, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **urlId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PutCloseThreadResponse**](PutCloseThreadResponse.md) ### Authorization @@ -2105,7 +2207,7 @@ No authorization required # **putRemoveBadge** ```swift - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) + open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutRemoveBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2119,9 +2221,10 @@ let badgeId = "badgeId_example" // String | let userId = "userId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putRemoveBadge(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.putRemoveBadge(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2141,11 +2244,12 @@ Name | Type | Description | Notes **userId** | **String** | | [optional] **commentId** | **String** | | [optional] **broadcastId** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md) +[**PutRemoveBadgeResponse**](PutRemoveBadgeResponse.md) ### Authorization @@ -2160,7 +2264,7 @@ No authorization required # **putReopenThread** ```swift - open class func putReopenThread(urlId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutReopenThreadResponse?, _ error: Error?) -> Void) ``` @@ -2171,9 +2275,10 @@ No authorization required import FastCommentsSwift let urlId = "urlId_example" // String | +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putReopenThread(urlId: urlId, sso: sso) { (response, error) in +ModerationAPI.putReopenThread(urlId: urlId, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2190,11 +2295,12 @@ ModerationAPI.putReopenThread(urlId: urlId, sso: sso) { (response, error) in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **urlId** | **String** | | + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PutReopenThreadResponse**](PutReopenThreadResponse.md) ### Authorization @@ -2209,7 +2315,7 @@ No authorization required # **setTrustFactor** ```swift - open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -2221,9 +2327,10 @@ import FastCommentsSwift let userId = "userId_example" // String | (optional) let trustFactor = "trustFactor_example" // String | (optional) +let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.setTrustFactor(userId: userId, trustFactor: trustFactor, sso: sso) { (response, error) in +ModerationAPI.setTrustFactor(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2241,11 +2348,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **userId** | **String** | | [optional] **trustFactor** | **String** | | [optional] + **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md) +[**SetTrustFactorResponse**](SetTrustFactorResponse.md) ### Authorization diff --git a/client/docs/PatchHashTagResponse.md b/client/docs/PatchHashTagResponse.md new file mode 100644 index 0000000..2c71880 --- /dev/null +++ b/client/docs/PatchHashTagResponse.md @@ -0,0 +1,18 @@ +# PatchHashTagResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PinCommentResponse.md b/client/docs/PinCommentResponse.md new file mode 100644 index 0000000..8bd84fc --- /dev/null +++ b/client/docs/PinCommentResponse.md @@ -0,0 +1,18 @@ +# PinCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commentPositions** | [String: RecordStringBeforeStringOrNullAfterStringOrNullValue] | Construct a type with a set of properties K of type T | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostAdjustCommentVotesResponse.md b/client/docs/PostAdjustCommentVotesResponse.md new file mode 100644 index 0000000..32b9e27 --- /dev/null +++ b/client/docs/PostAdjustCommentVotesResponse.md @@ -0,0 +1,18 @@ +# PostAdjustCommentVotesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**newCommentVotes** | **Int** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostApiExportResponse.md b/client/docs/PostApiExportResponse.md new file mode 100644 index 0000000..963400f --- /dev/null +++ b/client/docs/PostApiExportResponse.md @@ -0,0 +1,18 @@ +# PostApiExportResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**batchJobId** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBanUserFromCommentResponse.md b/client/docs/PostBanUserFromCommentResponse.md new file mode 100644 index 0000000..dcf02a7 --- /dev/null +++ b/client/docs/PostBanUserFromCommentResponse.md @@ -0,0 +1,18 @@ +# PostBanUserFromCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**changelog** | [**APIBanUserChangeLog**](APIBanUserChangeLog.md) | | [optional] +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBanUserUndoResponse.md b/client/docs/PostBanUserUndoResponse.md new file mode 100644 index 0000000..7fad306 --- /dev/null +++ b/client/docs/PostBanUserUndoResponse.md @@ -0,0 +1,17 @@ +# PostBanUserUndoResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBulkPreBanSummaryResponse.md b/client/docs/PostBulkPreBanSummaryResponse.md new file mode 100644 index 0000000..68731e6 --- /dev/null +++ b/client/docs/PostBulkPreBanSummaryResponse.md @@ -0,0 +1,22 @@ +# PostBulkPreBanSummaryResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**totalRelatedCommentCount** | **Int** | | [optional] +**emailDomains** | **[String]** | | [optional] +**emails** | **[String]** | | [optional] +**userIds** | **[String]** | | [optional] +**ipHashes** | **[String]** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostCommentsByIdsResponse.md b/client/docs/PostCommentsByIdsResponse.md new file mode 100644 index 0000000..0c1d8de --- /dev/null +++ b/client/docs/PostCommentsByIdsResponse.md @@ -0,0 +1,18 @@ +# PostCommentsByIdsResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comments** | [ModerationAPIComment] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostFlagCommentResponse.md b/client/docs/PostFlagCommentResponse.md new file mode 100644 index 0000000..30c09fc --- /dev/null +++ b/client/docs/PostFlagCommentResponse.md @@ -0,0 +1,17 @@ +# PostFlagCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentResponse.md index 22c6b35..069f5f7 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentResponse.md @@ -3,8 +3,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**action** | **String** | | -**status** | **String** | | +**action** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/PostRestoreDeletedCommentResponse.md b/client/docs/PostRestoreDeletedCommentResponse.md new file mode 100644 index 0000000..c887ed5 --- /dev/null +++ b/client/docs/PostRestoreDeletedCommentResponse.md @@ -0,0 +1,17 @@ +# PostRestoreDeletedCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentApprovalStatusResponse.md b/client/docs/PostSetCommentApprovalStatusResponse.md new file mode 100644 index 0000000..96d2f0f --- /dev/null +++ b/client/docs/PostSetCommentApprovalStatusResponse.md @@ -0,0 +1,18 @@ +# PostSetCommentApprovalStatusResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**didResetFlaggedCount** | **Bool** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentReviewStatusResponse.md b/client/docs/PostSetCommentReviewStatusResponse.md new file mode 100644 index 0000000..ac4d883 --- /dev/null +++ b/client/docs/PostSetCommentReviewStatusResponse.md @@ -0,0 +1,17 @@ +# PostSetCommentReviewStatusResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentSpamStatusResponse.md b/client/docs/PostSetCommentSpamStatusResponse.md new file mode 100644 index 0000000..e50ebef --- /dev/null +++ b/client/docs/PostSetCommentSpamStatusResponse.md @@ -0,0 +1,17 @@ +# PostSetCommentSpamStatusResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentTextResponse.md b/client/docs/PostSetCommentTextResponse.md new file mode 100644 index 0000000..3d4adbb --- /dev/null +++ b/client/docs/PostSetCommentTextResponse.md @@ -0,0 +1,18 @@ +# PostSetCommentTextResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**newCommentTextHTML** | **String** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostUnFlagCommentResponse.md b/client/docs/PostUnFlagCommentResponse.md new file mode 100644 index 0000000..9f5f539 --- /dev/null +++ b/client/docs/PostUnFlagCommentResponse.md @@ -0,0 +1,17 @@ +# PostUnFlagCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostVoteResponse.md b/client/docs/PostVoteResponse.md new file mode 100644 index 0000000..0170a66 --- /dev/null +++ b/client/docs/PostVoteResponse.md @@ -0,0 +1,21 @@ +# PostVoteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**voteId** | **String** | | [optional] +**isVerified** | **Bool** | | [optional] +**user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] +**editKey** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index a835d52..9dde602 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -60,7 +60,7 @@ Method | HTTP request | Description # **blockFromCommentPublic** ```swift - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: BlockFromCommentPublicResponse?, _ error: Error?) -> Void) ``` @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -[**BlockSuccess**](BlockSuccess.md) +[**BlockFromCommentPublicResponse**](BlockFromCommentPublicResponse.md) ### Authorization @@ -113,7 +113,7 @@ No authorization required # **checkedCommentsForBlocked** ```swift - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, completion: @escaping (_ data: CheckedCommentsForBlockedResponse?, _ error: Error?) -> Void) ``` @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md) +[**CheckedCommentsForBlockedResponse**](CheckedCommentsForBlockedResponse.md) ### Authorization @@ -164,7 +164,7 @@ No authorization required # **createCommentPublic** ```swift - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateCommentPublicResponse?, _ error: Error?) -> Void) ``` @@ -206,7 +206,7 @@ Name | Type | Description | Notes ### Return type -[**SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md) +[**CreateCommentPublicResponse**](CreateCommentPublicResponse.md) ### Authorization @@ -221,7 +221,7 @@ No authorization required # **createFeedPostPublic** ```swift - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostPublicResponse?, _ error: Error?) -> Void) ``` @@ -259,7 +259,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostResponse**](CreateFeedPostResponse.md) +[**CreateFeedPostPublicResponse**](CreateFeedPostPublicResponse.md) ### Authorization @@ -274,7 +274,7 @@ No authorization required # **createV1PageReact** ```swift - open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReactResponse?, _ error: Error?) -> Void) ``` @@ -310,7 +310,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**CreateV1PageReactResponse**](CreateV1PageReactResponse.md) ### Authorization @@ -325,7 +325,7 @@ No authorization required # **createV2PageReact** ```swift - open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, completion: @escaping (_ data: CreateV2PageReactResponse?, _ error: Error?) -> Void) ``` @@ -363,7 +363,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**CreateV2PageReactResponse**](CreateV2PageReactResponse.md) ### Authorization @@ -378,7 +378,7 @@ No authorization required # **deleteCommentPublic** ```swift - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteCommentPublicResponse?, _ error: Error?) -> Void) ``` @@ -418,7 +418,7 @@ Name | Type | Description | Notes ### Return type -[**PublicAPIDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md) +[**DeleteCommentPublicResponse**](DeleteCommentPublicResponse.md) ### Authorization @@ -433,7 +433,7 @@ No authorization required # **deleteCommentVote** ```swift - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteCommentVoteResponse?, _ error: Error?) -> Void) ``` @@ -477,7 +477,7 @@ Name | Type | Description | Notes ### Return type -[**VoteDeleteResponse**](VoteDeleteResponse.md) +[**DeleteCommentVoteResponse**](DeleteCommentVoteResponse.md) ### Authorization @@ -545,7 +545,7 @@ No authorization required # **deleteV1PageReact** ```swift - open class func deleteV1PageReact(tenantId: String, urlId: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func deleteV1PageReact(tenantId: String, urlId: String, completion: @escaping (_ data: DeleteV1PageReactResponse?, _ error: Error?) -> Void) ``` @@ -579,7 +579,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**DeleteV1PageReactResponse**](DeleteV1PageReactResponse.md) ### Authorization @@ -594,7 +594,7 @@ No authorization required # **deleteV2PageReact** ```swift - open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: DeleteV2PageReactResponse?, _ error: Error?) -> Void) ``` @@ -630,7 +630,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**DeleteV2PageReactResponse**](DeleteV2PageReactResponse.md) ### Authorization @@ -645,7 +645,7 @@ No authorization required # **flagCommentPublic** ```swift - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, completion: @escaping (_ data: FlagCommentPublicResponse?, _ error: Error?) -> Void) ``` @@ -683,7 +683,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**FlagCommentPublicResponse**](FlagCommentPublicResponse.md) ### Authorization @@ -698,7 +698,7 @@ No authorization required # **getCommentText** ```swift - open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) + open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentTextResponse1?, _ error: Error?) -> Void) ``` @@ -736,7 +736,7 @@ Name | Type | Description | Notes ### Return type -[**PublicAPIGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md) +[**GetCommentTextResponse1**](GetCommentTextResponse1.md) ### Authorization @@ -751,7 +751,7 @@ No authorization required # **getCommentVoteUserNames** ```swift - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, completion: @escaping (_ data: GetCommentVoteUserNamesResponse?, _ error: Error?) -> Void) ``` @@ -789,7 +789,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md) +[**GetCommentVoteUserNamesResponse**](GetCommentVoteUserNamesResponse.md) ### Authorization @@ -804,7 +804,7 @@ No authorization required # **getCommentsForUser** ```swift - open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) + open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, completion: @escaping (_ data: GetCommentsForUserResponse1?, _ error: Error?) -> Void) ``` @@ -848,7 +848,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsForUserResponse**](GetCommentsForUserResponse.md) +[**GetCommentsForUserResponse1**](GetCommentsForUserResponse1.md) ### Authorization @@ -863,7 +863,7 @@ No authorization required # **getCommentsPublic** ```swift - open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) + open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, completion: @escaping (_ data: GetCommentsPublicResponse?, _ error: Error?) -> Void) ``` @@ -951,7 +951,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresencePublicComment.md) +[**GetCommentsPublicResponse**](GetCommentsPublicResponse.md) ### Authorization @@ -966,7 +966,7 @@ No authorization required # **getEventLog** ```swift - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse1?, _ error: Error?) -> Void) ``` @@ -1008,7 +1008,7 @@ Name | Type | Description | Notes ### Return type -[**GetEventLogResponse**](GetEventLogResponse.md) +[**GetEventLogResponse1**](GetEventLogResponse1.md) ### Authorization @@ -1023,7 +1023,7 @@ No authorization required # **getFeedPostsPublic** ```swift - open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, completion: @escaping (_ data: GetFeedPostsPublicResponse?, _ error: Error?) -> Void) ``` @@ -1069,7 +1069,7 @@ Name | Type | Description | Notes ### Return type -[**PublicFeedPostsResponse**](PublicFeedPostsResponse.md) +[**GetFeedPostsPublicResponse**](GetFeedPostsPublicResponse.md) ### Authorization @@ -1084,7 +1084,7 @@ No authorization required # **getFeedPostsStats** ```swift - open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, completion: @escaping (_ data: GetFeedPostsStatsResponse?, _ error: Error?) -> Void) ``` @@ -1120,7 +1120,7 @@ Name | Type | Description | Notes ### Return type -[**FeedPostsStatsResponse**](FeedPostsStatsResponse.md) +[**GetFeedPostsStatsResponse**](GetFeedPostsStatsResponse.md) ### Authorization @@ -1135,7 +1135,7 @@ No authorization required # **getGifLarge** ```swift - open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, completion: @escaping (_ data: GifGetLargeResponse?, _ error: Error?) -> Void) + open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, completion: @escaping (_ data: GetGifLargeResponse?, _ error: Error?) -> Void) ``` @@ -1169,7 +1169,7 @@ Name | Type | Description | Notes ### Return type -[**GifGetLargeResponse**](GifGetLargeResponse.md) +[**GetGifLargeResponse**](GetGifLargeResponse.md) ### Authorization @@ -1292,7 +1292,7 @@ No authorization required # **getGlobalEventLog** ```swift - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetGlobalEventLogResponse?, _ error: Error?) -> Void) ``` @@ -1334,7 +1334,7 @@ Name | Type | Description | Notes ### Return type -[**GetEventLogResponse**](GetEventLogResponse.md) +[**GetGlobalEventLogResponse**](GetGlobalEventLogResponse.md) ### Authorization @@ -1349,7 +1349,7 @@ No authorization required # **getOfflineUsers** ```swift - open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) + open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: GetOfflineUsersResponse?, _ error: Error?) -> Void) ``` @@ -1389,7 +1389,7 @@ Name | Type | Description | Notes ### Return type -[**PageUsersOfflineResponse**](PageUsersOfflineResponse.md) +[**GetOfflineUsersResponse**](GetOfflineUsersResponse.md) ### Authorization @@ -1404,7 +1404,7 @@ No authorization required # **getOnlineUsers** ```swift - open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) + open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: GetOnlineUsersResponse?, _ error: Error?) -> Void) ``` @@ -1444,7 +1444,7 @@ Name | Type | Description | Notes ### Return type -[**PageUsersOnlineResponse**](PageUsersOnlineResponse.md) +[**GetOnlineUsersResponse**](GetOnlineUsersResponse.md) ### Authorization @@ -1459,7 +1459,7 @@ No authorization required # **getPagesPublic** ```swift - open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) + open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, completion: @escaping (_ data: GetPagesPublicResponse?, _ error: Error?) -> Void) ``` @@ -1503,7 +1503,7 @@ Name | Type | Description | Notes ### Return type -[**GetPublicPagesResponse**](GetPublicPagesResponse.md) +[**GetPagesPublicResponse**](GetPagesPublicResponse.md) ### Authorization @@ -1518,7 +1518,7 @@ No authorization required # **getTranslations** ```swift - open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) + open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, completion: @escaping (_ data: GetTranslationsResponse1?, _ error: Error?) -> Void) ``` @@ -1556,7 +1556,7 @@ Name | Type | Description | Notes ### Return type -[**GetTranslationsResponse**](GetTranslationsResponse.md) +[**GetTranslationsResponse1**](GetTranslationsResponse1.md) ### Authorization @@ -1571,7 +1571,7 @@ No authorization required # **getUserNotificationCount** ```swift - open class func getUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) + open class func getUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationCountResponse1?, _ error: Error?) -> Void) ``` @@ -1605,7 +1605,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md) +[**GetUserNotificationCountResponse1**](GetUserNotificationCountResponse1.md) ### Authorization @@ -1620,7 +1620,7 @@ No authorization required # **getUserNotifications** ```swift - open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) + open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -1674,7 +1674,7 @@ Name | Type | Description | Notes ### Return type -[**GetMyNotificationsResponse**](GetMyNotificationsResponse.md) +[**GetUserNotificationsResponse**](GetUserNotificationsResponse.md) ### Authorization @@ -1689,7 +1689,7 @@ No authorization required # **getUserPresenceStatuses** ```swift - open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, completion: @escaping (_ data: GetUserPresenceStatusesResponse?, _ error: Error?) -> Void) + open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, completion: @escaping (_ data: GetUserPresenceStatusesResponse1?, _ error: Error?) -> Void) ``` @@ -1725,7 +1725,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md) +[**GetUserPresenceStatusesResponse1**](GetUserPresenceStatusesResponse1.md) ### Authorization @@ -1740,7 +1740,7 @@ No authorization required # **getUserReactsPublic** ```swift - open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) + open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserReactsPublicResponse?, _ error: Error?) -> Void) ``` @@ -1776,7 +1776,7 @@ Name | Type | Description | Notes ### Return type -[**UserReactsResponse**](UserReactsResponse.md) +[**GetUserReactsPublicResponse**](GetUserReactsPublicResponse.md) ### Authorization @@ -1791,7 +1791,7 @@ No authorization required # **getUsersInfo** ```swift - open class func getUsersInfo(tenantId: String, ids: String, completion: @escaping (_ data: PageUsersInfoResponse?, _ error: Error?) -> Void) + open class func getUsersInfo(tenantId: String, ids: String, completion: @escaping (_ data: GetUsersInfoResponse?, _ error: Error?) -> Void) ``` @@ -1827,7 +1827,7 @@ Name | Type | Description | Notes ### Return type -[**PageUsersInfoResponse**](PageUsersInfoResponse.md) +[**GetUsersInfoResponse**](GetUsersInfoResponse.md) ### Authorization @@ -1842,7 +1842,7 @@ No authorization required # **getV1PageLikes** ```swift - open class func getV1PageLikes(tenantId: String, urlId: String, completion: @escaping (_ data: GetV1PageLikes?, _ error: Error?) -> Void) + open class func getV1PageLikes(tenantId: String, urlId: String, completion: @escaping (_ data: GetV1PageLikesResponse?, _ error: Error?) -> Void) ``` @@ -1876,7 +1876,7 @@ Name | Type | Description | Notes ### Return type -[**GetV1PageLikes**](GetV1PageLikes.md) +[**GetV1PageLikesResponse**](GetV1PageLikesResponse.md) ### Authorization @@ -1891,7 +1891,7 @@ No authorization required # **getV2PageReactUsers** ```swift - open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: GetV2PageReactUsersResponse?, _ error: Error?) -> Void) + open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: GetV2PageReactUsersResponse1?, _ error: Error?) -> Void) ``` @@ -1927,7 +1927,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md) +[**GetV2PageReactUsersResponse1**](GetV2PageReactUsersResponse1.md) ### Authorization @@ -1942,7 +1942,7 @@ No authorization required # **getV2PageReacts** ```swift - open class func getV2PageReacts(tenantId: String, urlId: String, completion: @escaping (_ data: GetV2PageReacts?, _ error: Error?) -> Void) + open class func getV2PageReacts(tenantId: String, urlId: String, completion: @escaping (_ data: GetV2PageReactsResponse?, _ error: Error?) -> Void) ``` @@ -1976,7 +1976,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReacts**](GetV2PageReacts.md) +[**GetV2PageReactsResponse**](GetV2PageReactsResponse.md) ### Authorization @@ -1991,7 +1991,7 @@ No authorization required # **lockComment** ```swift - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: LockCommentResponse?, _ error: Error?) -> Void) ``` @@ -2029,7 +2029,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**LockCommentResponse**](LockCommentResponse.md) ### Authorization @@ -2087,7 +2087,7 @@ No authorization required # **pinComment** ```swift - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: PinCommentResponse?, _ error: Error?) -> Void) ``` @@ -2125,7 +2125,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) +[**PinCommentResponse**](PinCommentResponse.md) ### Authorization @@ -2140,7 +2140,7 @@ No authorization required # **reactFeedPostPublic** ```swift - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ReactFeedPostPublicResponse?, _ error: Error?) -> Void) ``` @@ -2182,7 +2182,7 @@ Name | Type | Description | Notes ### Return type -[**ReactFeedPostResponse**](ReactFeedPostResponse.md) +[**ReactFeedPostPublicResponse**](ReactFeedPostPublicResponse.md) ### Authorization @@ -2197,7 +2197,7 @@ No authorization required # **resetUserNotificationCount** ```swift - open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -2231,7 +2231,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) +[**ResetUserNotificationCountResponse**](ResetUserNotificationCountResponse.md) ### Authorization @@ -2246,7 +2246,7 @@ No authorization required # **resetUserNotifications** ```swift - open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse1?, _ error: Error?) -> Void) ``` @@ -2290,7 +2290,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) +[**ResetUserNotificationsResponse1**](ResetUserNotificationsResponse1.md) ### Authorization @@ -2305,7 +2305,7 @@ No authorization required # **searchUsers** ```swift - open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) + open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, completion: @escaping (_ data: SearchUsersResponse1?, _ error: Error?) -> Void) ``` @@ -2347,7 +2347,7 @@ Name | Type | Description | Notes ### Return type -[**SearchUsersResult**](SearchUsersResult.md) +[**SearchUsersResponse1**](SearchUsersResponse1.md) ### Authorization @@ -2362,7 +2362,7 @@ No authorization required # **setCommentText** ```swift - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse1?, _ error: Error?) -> Void) ``` @@ -2404,7 +2404,7 @@ Name | Type | Description | Notes ### Return type -[**PublicAPISetCommentTextResponse**](PublicAPISetCommentTextResponse.md) +[**SetCommentTextResponse1**](SetCommentTextResponse1.md) ### Authorization @@ -2419,7 +2419,7 @@ No authorization required # **unBlockCommentPublic** ```swift - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: UnBlockCommentPublicResponse?, _ error: Error?) -> Void) ``` @@ -2457,7 +2457,7 @@ Name | Type | Description | Notes ### Return type -[**UnblockSuccess**](UnblockSuccess.md) +[**UnBlockCommentPublicResponse**](UnBlockCommentPublicResponse.md) ### Authorization @@ -2472,7 +2472,7 @@ No authorization required # **unLockComment** ```swift - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: UnLockCommentResponse?, _ error: Error?) -> Void) ``` @@ -2510,7 +2510,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UnLockCommentResponse**](UnLockCommentResponse.md) ### Authorization @@ -2525,7 +2525,7 @@ No authorization required # **unPinComment** ```swift - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: UnPinCommentResponse?, _ error: Error?) -> Void) ``` @@ -2563,7 +2563,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) +[**UnPinCommentResponse**](UnPinCommentResponse.md) ### Authorization @@ -2578,7 +2578,7 @@ No authorization required # **updateFeedPostPublic** ```swift - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: UpdateFeedPostPublicResponse?, _ error: Error?) -> Void) ``` @@ -2618,7 +2618,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostResponse**](CreateFeedPostResponse.md) +[**UpdateFeedPostPublicResponse**](UpdateFeedPostPublicResponse.md) ### Authorization @@ -2857,7 +2857,7 @@ No authorization required # **voteComment** ```swift - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteCommentResponse?, _ error: Error?) -> Void) ``` @@ -2901,7 +2901,7 @@ Name | Type | Description | Notes ### Return type -[**VoteResponse**](VoteResponse.md) +[**VoteCommentResponse**](VoteCommentResponse.md) ### Authorization diff --git a/client/docs/PutAwardBadgeResponse.md b/client/docs/PutAwardBadgeResponse.md new file mode 100644 index 0000000..ad5f992 --- /dev/null +++ b/client/docs/PutAwardBadgeResponse.md @@ -0,0 +1,19 @@ +# PutAwardBadgeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**notes** | **[String]** | | [optional] +**badges** | [CommentUserBadgeInfo] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutCloseThreadResponse.md b/client/docs/PutCloseThreadResponse.md new file mode 100644 index 0000000..576c5ea --- /dev/null +++ b/client/docs/PutCloseThreadResponse.md @@ -0,0 +1,17 @@ +# PutCloseThreadResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutRemoveBadgeResponse.md b/client/docs/PutRemoveBadgeResponse.md new file mode 100644 index 0000000..1982420 --- /dev/null +++ b/client/docs/PutRemoveBadgeResponse.md @@ -0,0 +1,18 @@ +# PutRemoveBadgeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**badges** | [CommentUserBadgeInfo] | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutReopenThreadResponse.md b/client/docs/PutReopenThreadResponse.md new file mode 100644 index 0000000..ffc5788 --- /dev/null +++ b/client/docs/PutReopenThreadResponse.md @@ -0,0 +1,17 @@ +# PutReopenThreadResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReactFeedPostPublicResponse.md b/client/docs/ReactFeedPostPublicResponse.md new file mode 100644 index 0000000..00ba567 --- /dev/null +++ b/client/docs/ReactFeedPostPublicResponse.md @@ -0,0 +1,19 @@ +# ReactFeedPostPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reactType** | **String** | | [optional] +**isUndo** | **Bool** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/RenderEmailTemplateResponse1.md b/client/docs/RenderEmailTemplateResponse1.md new file mode 100644 index 0000000..a591375 --- /dev/null +++ b/client/docs/RenderEmailTemplateResponse1.md @@ -0,0 +1,18 @@ +# RenderEmailTemplateResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**html** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReplaceTenantPackageResponse.md b/client/docs/ReplaceTenantPackageResponse.md new file mode 100644 index 0000000..826d931 --- /dev/null +++ b/client/docs/ReplaceTenantPackageResponse.md @@ -0,0 +1,17 @@ +# ReplaceTenantPackageResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReplaceTenantUserResponse.md b/client/docs/ReplaceTenantUserResponse.md new file mode 100644 index 0000000..052ffb7 --- /dev/null +++ b/client/docs/ReplaceTenantUserResponse.md @@ -0,0 +1,17 @@ +# ReplaceTenantUserResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ResetUserNotificationCountResponse.md b/client/docs/ResetUserNotificationCountResponse.md new file mode 100644 index 0000000..ce1850d --- /dev/null +++ b/client/docs/ResetUserNotificationCountResponse.md @@ -0,0 +1,17 @@ +# ResetUserNotificationCountResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ResetUserNotificationsResponse1.md b/client/docs/ResetUserNotificationsResponse1.md new file mode 100644 index 0000000..9fd8adf --- /dev/null +++ b/client/docs/ResetUserNotificationsResponse1.md @@ -0,0 +1,17 @@ +# ResetUserNotificationsResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SaveCommentResponse.md b/client/docs/SaveCommentResponse.md new file mode 100644 index 0000000..e42e612 --- /dev/null +++ b/client/docs/SaveCommentResponse.md @@ -0,0 +1,20 @@ +# SaveCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**comment** | [**APIComment**](APIComment.md) | | [optional] +**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] +**moduleData** | **[String: JSONValue]** | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SearchUsersResponse1.md b/client/docs/SearchUsersResponse1.md new file mode 100644 index 0000000..59c8d64 --- /dev/null +++ b/client/docs/SearchUsersResponse1.md @@ -0,0 +1,19 @@ +# SearchUsersResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**sections** | [UserSearchSectionResult] | | [optional] +**users** | [UserSearchResult] | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SendInviteResponse.md b/client/docs/SendInviteResponse.md new file mode 100644 index 0000000..f986727 --- /dev/null +++ b/client/docs/SendInviteResponse.md @@ -0,0 +1,17 @@ +# SendInviteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SendLoginLinkResponse.md b/client/docs/SendLoginLinkResponse.md new file mode 100644 index 0000000..2582337 --- /dev/null +++ b/client/docs/SendLoginLinkResponse.md @@ -0,0 +1,17 @@ +# SendLoginLinkResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SetCommentTextResponse1.md b/client/docs/SetCommentTextResponse1.md new file mode 100644 index 0000000..451c41a --- /dev/null +++ b/client/docs/SetCommentTextResponse1.md @@ -0,0 +1,18 @@ +# SetCommentTextResponse1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comment** | [**SetCommentTextResult**](SetCommentTextResult.md) | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SetTrustFactorResponse.md b/client/docs/SetTrustFactorResponse.md new file mode 100644 index 0000000..7889759 --- /dev/null +++ b/client/docs/SetTrustFactorResponse.md @@ -0,0 +1,18 @@ +# SetTrustFactorResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**previousManualTrustFactor** | **Double** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnBlockCommentPublicResponse.md b/client/docs/UnBlockCommentPublicResponse.md new file mode 100644 index 0000000..d02c340 --- /dev/null +++ b/client/docs/UnBlockCommentPublicResponse.md @@ -0,0 +1,18 @@ +# UnBlockCommentPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnBlockUserFromCommentResponse.md b/client/docs/UnBlockUserFromCommentResponse.md new file mode 100644 index 0000000..ed7dc5b --- /dev/null +++ b/client/docs/UnBlockUserFromCommentResponse.md @@ -0,0 +1,18 @@ +# UnBlockUserFromCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnFlagCommentResponse.md b/client/docs/UnFlagCommentResponse.md new file mode 100644 index 0000000..3be56ce --- /dev/null +++ b/client/docs/UnFlagCommentResponse.md @@ -0,0 +1,19 @@ +# UnFlagCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**statusCode** | **Int** | | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**code** | **String** | | [optional] +**reason** | **String** | | [optional] +**wasUnapproved** | **Bool** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnLockCommentResponse.md b/client/docs/UnLockCommentResponse.md new file mode 100644 index 0000000..35d908c --- /dev/null +++ b/client/docs/UnLockCommentResponse.md @@ -0,0 +1,17 @@ +# UnLockCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnPinCommentResponse.md b/client/docs/UnPinCommentResponse.md new file mode 100644 index 0000000..9abb633 --- /dev/null +++ b/client/docs/UnPinCommentResponse.md @@ -0,0 +1,18 @@ +# UnPinCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**commentPositions** | [String: RecordStringBeforeStringOrNullAfterStringOrNullValue] | Construct a type with a set of properties K of type T | [optional] +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateCommentResponse.md b/client/docs/UpdateCommentResponse.md new file mode 100644 index 0000000..63586ad --- /dev/null +++ b/client/docs/UpdateCommentResponse.md @@ -0,0 +1,17 @@ +# UpdateCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateEmailTemplateResponse.md b/client/docs/UpdateEmailTemplateResponse.md new file mode 100644 index 0000000..e45f910 --- /dev/null +++ b/client/docs/UpdateEmailTemplateResponse.md @@ -0,0 +1,17 @@ +# UpdateEmailTemplateResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateFeedPostPublicResponse.md b/client/docs/UpdateFeedPostPublicResponse.md new file mode 100644 index 0000000..df1ab6d --- /dev/null +++ b/client/docs/UpdateFeedPostPublicResponse.md @@ -0,0 +1,18 @@ +# UpdateFeedPostPublicResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateFeedPostResponse.md b/client/docs/UpdateFeedPostResponse.md new file mode 100644 index 0000000..2139048 --- /dev/null +++ b/client/docs/UpdateFeedPostResponse.md @@ -0,0 +1,17 @@ +# UpdateFeedPostResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateModeratorResponse.md b/client/docs/UpdateModeratorResponse.md new file mode 100644 index 0000000..a9ec236 --- /dev/null +++ b/client/docs/UpdateModeratorResponse.md @@ -0,0 +1,17 @@ +# UpdateModeratorResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateNotificationResponse.md b/client/docs/UpdateNotificationResponse.md new file mode 100644 index 0000000..958ad14 --- /dev/null +++ b/client/docs/UpdateNotificationResponse.md @@ -0,0 +1,17 @@ +# UpdateNotificationResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateQuestionConfigResponse.md b/client/docs/UpdateQuestionConfigResponse.md new file mode 100644 index 0000000..9658e6a --- /dev/null +++ b/client/docs/UpdateQuestionConfigResponse.md @@ -0,0 +1,17 @@ +# UpdateQuestionConfigResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateQuestionResultResponse.md b/client/docs/UpdateQuestionResultResponse.md new file mode 100644 index 0000000..b6637d2 --- /dev/null +++ b/client/docs/UpdateQuestionResultResponse.md @@ -0,0 +1,17 @@ +# UpdateQuestionResultResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantPackageResponse.md b/client/docs/UpdateTenantPackageResponse.md new file mode 100644 index 0000000..2a7b76f --- /dev/null +++ b/client/docs/UpdateTenantPackageResponse.md @@ -0,0 +1,17 @@ +# UpdateTenantPackageResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantResponse.md b/client/docs/UpdateTenantResponse.md new file mode 100644 index 0000000..0107e7c --- /dev/null +++ b/client/docs/UpdateTenantResponse.md @@ -0,0 +1,17 @@ +# UpdateTenantResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantUserResponse.md b/client/docs/UpdateTenantUserResponse.md new file mode 100644 index 0000000..bf933c7 --- /dev/null +++ b/client/docs/UpdateTenantUserResponse.md @@ -0,0 +1,17 @@ +# UpdateTenantUserResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateUserBadgeResponse.md b/client/docs/UpdateUserBadgeResponse.md new file mode 100644 index 0000000..bc09f0d --- /dev/null +++ b/client/docs/UpdateUserBadgeResponse.md @@ -0,0 +1,17 @@ +# UpdateUserBadgeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md index b98028e..577476a 100644 --- a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -7,6 +7,13 @@ Name | Type | Description | Notes **matchedCount** | **Int64** | | [optional] **modifiedCount** | **Int64** | | [optional] **note** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md index 65ae4db..9f0f621 100644 --- a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -7,6 +7,13 @@ Name | Type | Description | Notes **matchedCount** | **Int64** | | [optional] **modifiedCount** | **Int64** | | [optional] **note** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationStatusResponse.md b/client/docs/UpdateUserNotificationStatusResponse.md index 99da674..ab70f50 100644 --- a/client/docs/UpdateUserNotificationStatusResponse.md +++ b/client/docs/UpdateUserNotificationStatusResponse.md @@ -7,6 +7,13 @@ Name | Type | Description | Notes **matchedCount** | **Int64** | | [optional] **modifiedCount** | **Int64** | | [optional] **note** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/VoteCommentResponse.md b/client/docs/VoteCommentResponse.md new file mode 100644 index 0000000..f5fa9ac --- /dev/null +++ b/client/docs/VoteCommentResponse.md @@ -0,0 +1,21 @@ +# VoteCommentResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**APIStatus**](APIStatus.md) | | +**voteId** | **String** | | [optional] +**isVerified** | **Bool** | | [optional] +**user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] +**editKey** | **String** | | [optional] +**reason** | **String** | | [optional] +**code** | **String** | | [optional] +**secondaryCode** | **String** | | [optional] +**bannedUntil** | **Int64** | | [optional] +**maxCharacterLength** | **Int** | | [optional] +**translatedError** | **String** | | [optional] +**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 cf5c62b290785cba27d8f6b9f55ba957fd9f2c99 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:41:42 -0700 Subject: [PATCH 02/10] Regenerate against corrected spec (tsoa 6.6.8 splits X | APIError response unions) --- client/.openapi-generator/FILES | 354 -- .../FastCommentsSwift/APIs/DefaultAPI.swift | 900 ++-- .../APIs/ModerationAPI.swift | 420 +- client/FastCommentsSwift/APIs/PublicAPI.swift | 440 +- .../Models/AddHashTagResponse.swift | 61 - .../Models/AddHashTagsBulkResponse.swift | 61 - .../AggregateQuestionResultsResponse1.swift | 61 - .../BlockFromCommentPublicResponse.swift | 62 - .../Models/BlockUserFromCommentResponse.swift | 62 - ...ulkAggregateQuestionResultsResponse1.swift | 62 - .../Models/ChangeTicketStateResponse1.swift | 61 - .../CheckedCommentsForBlockedResponse.swift | 62 - ...eCommentsWithQuestionResultsResponse.swift | 61 - .../Models/CreateCommentPublicResponse.swift | 74 - .../Models/CreateEmailTemplateResponse1.swift | 61 - .../Models/CreateFeedPostPublicResponse.swift | 61 - .../Models/CreateFeedPostResponse1.swift | 61 - .../Models/CreateModeratorResponse1.swift | 61 - .../CreateQuestionConfigResponse1.swift | 61 - .../CreateQuestionResultResponse1.swift | 61 - .../Models/CreateTenantPackageResponse1.swift | 61 - .../Models/CreateTenantResponse1.swift | 61 - .../Models/CreateTenantUserResponse1.swift | 61 - .../Models/CreateTicketResponse1.swift | 61 - .../Models/CreateUserBadgeResponse.swift | 65 - .../Models/CreateV1PageReactResponse.swift | 57 - .../Models/CreateV2PageReactResponse.swift | 57 - .../Models/CreateVoteResponse.swift | 73 - .../Models/DeleteCommentPublicResponse.swift | 65 - .../Models/DeleteCommentResponse.swift | 61 - .../Models/DeleteCommentVoteResponse.swift | 61 - ...leteEmailTemplateRenderErrorResponse.swift | 57 - .../Models/DeleteEmailTemplateResponse.swift | 57 - .../Models/DeleteFeedPostPublicResponse.swift | 32 +- .../DeleteFeedPostPublicResponseAnyOf.swift | 29 - .../Models/DeleteHashTagResponse.swift | 57 - .../Models/DeleteModerationVoteResponse.swift | 61 - .../Models/DeleteModeratorResponse.swift | 57 - .../DeleteNotificationCountResponse.swift | 57 - .../DeletePendingWebhookEventResponse.swift | 57 - .../Models/DeleteQuestionConfigResponse.swift | 57 - .../Models/DeleteQuestionResultResponse.swift | 57 - .../Models/DeleteTenantPackageResponse.swift | 57 - .../Models/DeleteTenantResponse.swift | 57 - .../Models/DeleteTenantUserResponse.swift | 57 - .../Models/DeleteUserBadgeResponse.swift | 57 - .../Models/DeleteV1PageReactResponse.swift | 57 - .../Models/DeleteV2PageReactResponse.swift | 57 - .../Models/DeleteVoteResponse.swift | 61 - .../Models/FlagCommentPublicResponse.swift | 57 - .../Models/FlagCommentResponse1.swift | 65 - .../Models/GetApiCommentsResponse.swift | 69 - .../Models/GetApiExportStatusResponse.swift | 69 - .../Models/GetApiIdsResponse.swift | 65 - .../Models/GetAuditLogsResponse1.swift | 61 - .../GetBanUsersFromCommentResponse.swift | 61 - .../GetCachedNotificationCountResponse1.swift | 61 - .../Models/GetCommentBanStatusResponse1.swift | 65 - .../Models/GetCommentChildrenResponse.swift | 61 - .../Models/GetCommentResponse.swift | 61 - .../Models/GetCommentTextResponse1.swift | 65 - .../GetCommentVoteUserNamesResponse.swift | 65 - .../Models/GetCommentsForUserResponse1.swift | 61 - .../Models/GetCommentsPublicResponse.swift | 150 - .../Models/GetCommentsResponse.swift | 61 - .../Models/GetCountResponse.swift | 61 - .../Models/GetCountsResponse.swift | 61 - ...GetEmailTemplateDefinitionsResponse1.swift | 61 - ...etEmailTemplateRenderErrorsResponse1.swift | 61 - .../Models/GetEmailTemplateResponse1.swift | 61 - .../Models/GetEmailTemplatesResponse1.swift | 61 - .../Models/GetEventLogResponse1.swift | 61 - .../Models/GetFeedPostsPublicResponse.swift | 81 - .../Models/GetFeedPostsResponse1.swift | 61 - .../Models/GetFeedPostsStatsResponse.swift | 61 - .../Models/GetGifLargeResponse.swift | 61 - .../Models/GetGifsSearchResponse.swift | 28 +- .../Models/GetGlobalEventLogResponse.swift | 61 - .../Models/GetHashTagsResponse1.swift | 61 - .../Models/GetLogsResponse.swift | 61 - .../GetManualBadgesForUserResponse.swift | 61 - .../Models/GetManualBadgesResponse.swift | 61 - .../Models/GetModerationCommentResponse.swift | 61 - .../GetModerationCommentTextResponse.swift | 61 - .../Models/GetModeratorResponse1.swift | 61 - .../Models/GetModeratorsResponse1.swift | 61 - .../GetNotificationCountResponse1.swift | 61 - .../Models/GetNotificationsResponse1.swift | 61 - .../Models/GetOfflineUsersResponse.swift | 69 - .../Models/GetOnlineUsersResponse.swift | 77 - .../Models/GetPagesPublicResponse.swift | 65 - ...GetPendingWebhookEventCountResponse1.swift | 61 - .../GetPendingWebhookEventsResponse1.swift | 61 - .../Models/GetPreBanSummaryResponse.swift | 65 - .../Models/GetQuestionConfigResponse1.swift | 61 - .../Models/GetQuestionConfigsResponse1.swift | 61 - .../Models/GetQuestionResultResponse1.swift | 61 - .../Models/GetQuestionResultsResponse1.swift | 61 - .../GetSearchCommentsSummaryResponse.swift | 61 - .../Models/GetSearchPagesResponse.swift | 61 - .../Models/GetSearchSitesResponse.swift | 61 - .../Models/GetSearchSuggestResponse.swift | 65 - .../Models/GetSearchUsersResponse.swift | 61 - .../GetTenantDailyUsagesResponse1.swift | 61 - .../Models/GetTenantPackageResponse1.swift | 61 - .../Models/GetTenantPackagesResponse1.swift | 61 - .../Models/GetTenantResponse1.swift | 61 - .../Models/GetTenantUserResponse1.swift | 61 - .../Models/GetTenantUsersResponse1.swift | 61 - .../Models/GetTenantsResponse1.swift | 61 - .../Models/GetTicketResponse1.swift | 65 - .../Models/GetTicketsResponse1.swift | 61 - .../Models/GetTranslationsResponse1.swift | 62 - .../Models/GetTrustFactorResponse.swift | 65 - .../GetUserBadgeProgressByIdResponse.swift | 61 - ...GetUserBadgeProgressByUserIdResponse.swift | 61 - .../GetUserBadgeProgressListResponse.swift | 61 - .../Models/GetUserBadgeResponse.swift | 61 - .../Models/GetUserBadgesResponse.swift | 61 - .../Models/GetUserBanPreferenceResponse.swift | 61 - .../GetUserInternalProfileResponse1.swift | 61 - .../GetUserNotificationCountResponse1.swift | 61 - .../Models/GetUserNotificationsResponse.swift | 74 - .../GetUserPresenceStatusesResponse1.swift | 62 - .../Models/GetUserReactsPublicResponse.swift | 61 - .../Models/GetUserResponse1.swift | 61 - .../Models/GetUsersInfoResponse.swift | 61 - .../Models/GetV1PageLikesResponse.swift | 73 - .../Models/GetV2PageReactUsersResponse1.swift | 61 - .../Models/GetV2PageReactsResponse.swift | 66 - .../Models/GetVotesForUserResponse1.swift | 69 - .../Models/GetVotesResponse1.swift | 69 - .../Models/LockCommentResponse.swift | 57 - .../Models/PatchHashTagResponse.swift | 61 - .../Models/PinCommentResponse.swift | 62 - .../PostAdjustCommentVotesResponse.swift | 61 - .../Models/PostApiExportResponse.swift | 61 - .../PostBanUserFromCommentResponse.swift | 61 - .../Models/PostBanUserUndoResponse.swift | 57 - .../PostBulkPreBanSummaryResponse.swift | 77 - .../Models/PostCommentsByIdsResponse.swift | 61 - .../Models/PostFlagCommentResponse.swift | 57 - .../Models/PostRemoveCommentResponse.swift | 38 +- .../PostRestoreDeletedCommentResponse.swift | 57 - ...PostSetCommentApprovalStatusResponse.swift | 61 - .../PostSetCommentReviewStatusResponse.swift | 57 - .../PostSetCommentSpamStatusResponse.swift | 57 - .../Models/PostSetCommentTextResponse.swift | 61 - .../Models/PostUnFlagCommentResponse.swift | 57 - .../Models/PostVoteResponse.swift | 73 - .../Models/PutAwardBadgeResponse.swift | 65 - .../Models/PutCloseThreadResponse.swift | 57 - .../Models/PutRemoveBadgeResponse.swift | 61 - .../Models/PutReopenThreadResponse.swift | 57 - .../Models/ReactFeedPostPublicResponse.swift | 65 - .../Models/RenderEmailTemplateResponse1.swift | 61 - .../Models/ReplaceTenantPackageResponse.swift | 57 - .../Models/ReplaceTenantUserResponse.swift | 57 - .../ResetUserNotificationCountResponse.swift | 57 - .../ResetUserNotificationsResponse1.swift | 57 - .../Models/SaveCommentResponse.swift | 70 - .../Models/SearchUsersResponse1.swift | 65 - .../Models/SendInviteResponse.swift | 57 - .../Models/SendLoginLinkResponse.swift | 57 - .../Models/SetCommentTextResponse1.swift | 61 - .../Models/SetTrustFactorResponse.swift | 61 - .../Models/UnBlockCommentPublicResponse.swift | 62 - .../UnBlockUserFromCommentResponse.swift | 62 - .../Models/UnFlagCommentResponse.swift | 65 - .../Models/UnLockCommentResponse.swift | 57 - .../Models/UnPinCommentResponse.swift | 62 - .../Models/UpdateCommentResponse.swift | 57 - .../Models/UpdateEmailTemplateResponse.swift | 57 - .../Models/UpdateFeedPostPublicResponse.swift | 61 - .../Models/UpdateFeedPostResponse.swift | 57 - .../Models/UpdateModeratorResponse.swift | 57 - .../Models/UpdateNotificationResponse.swift | 57 - .../Models/UpdateQuestionConfigResponse.swift | 57 - .../Models/UpdateQuestionResultResponse.swift | 57 - .../Models/UpdateTenantPackageResponse.swift | 57 - .../Models/UpdateTenantResponse.swift | 57 - .../Models/UpdateTenantUserResponse.swift | 57 - .../Models/UpdateUserBadgeResponse.swift | 57 - ...ionCommentSubscriptionStatusResponse.swift | 30 +- ...cationPageSubscriptionStatusResponse.swift | 30 +- ...UpdateUserNotificationStatusResponse.swift | 30 +- .../Models/VoteCommentResponse.swift | 73 - client/README.md | 177 - client/docs/AddHashTagResponse.md | 18 - client/docs/AddHashTagsBulkResponse.md | 18 - .../docs/AggregateQuestionResultsResponse1.md | 18 - client/docs/BlockFromCommentPublicResponse.md | 18 - client/docs/BlockUserFromCommentResponse.md | 18 - .../BulkAggregateQuestionResultsResponse1.md | 18 - client/docs/ChangeTicketStateResponse1.md | 18 - .../docs/CheckedCommentsForBlockedResponse.md | 18 - ...bineCommentsWithQuestionResultsResponse.md | 18 - client/docs/CreateCommentPublicResponse.md | 21 - client/docs/CreateEmailTemplateResponse1.md | 18 - client/docs/CreateFeedPostPublicResponse.md | 18 - client/docs/CreateFeedPostResponse1.md | 18 - client/docs/CreateModeratorResponse1.md | 18 - client/docs/CreateQuestionConfigResponse1.md | 18 - client/docs/CreateQuestionResultResponse1.md | 18 - client/docs/CreateTenantPackageResponse1.md | 18 - client/docs/CreateTenantResponse1.md | 18 - client/docs/CreateTenantUserResponse1.md | 18 - client/docs/CreateTicketResponse1.md | 18 - client/docs/CreateUserBadgeResponse.md | 19 - client/docs/CreateV1PageReactResponse.md | 17 - client/docs/CreateV2PageReactResponse.md | 17 - client/docs/CreateVoteResponse.md | 21 - client/docs/DefaultAPI.md | 360 +- client/docs/DeleteCommentPublicResponse.md | 19 - client/docs/DeleteCommentResponse.md | 18 - client/docs/DeleteCommentVoteResponse.md | 18 - .../DeleteEmailTemplateRenderErrorResponse.md | 17 - client/docs/DeleteEmailTemplateResponse.md | 17 - client/docs/DeleteFeedPostPublicResponse.md | 7 - .../docs/DeleteFeedPostPublicResponseAnyOf.md | 10 - client/docs/DeleteHashTagResponse.md | 17 - client/docs/DeleteModerationVoteResponse.md | 18 - client/docs/DeleteModeratorResponse.md | 17 - .../docs/DeleteNotificationCountResponse.md | 17 - .../docs/DeletePendingWebhookEventResponse.md | 17 - client/docs/DeleteQuestionConfigResponse.md | 17 - client/docs/DeleteQuestionResultResponse.md | 17 - client/docs/DeleteTenantPackageResponse.md | 17 - client/docs/DeleteTenantResponse.md | 17 - client/docs/DeleteTenantUserResponse.md | 17 - client/docs/DeleteUserBadgeResponse.md | 17 - client/docs/DeleteV1PageReactResponse.md | 17 - client/docs/DeleteV2PageReactResponse.md | 17 - client/docs/DeleteVoteResponse.md | 18 - client/docs/FlagCommentPublicResponse.md | 17 - client/docs/FlagCommentResponse1.md | 19 - client/docs/GetApiCommentsResponse.md | 20 - client/docs/GetApiExportStatusResponse.md | 20 - client/docs/GetApiIdsResponse.md | 19 - client/docs/GetAuditLogsResponse1.md | 18 - client/docs/GetBanUsersFromCommentResponse.md | 18 - .../GetCachedNotificationCountResponse1.md | 18 - client/docs/GetCommentBanStatusResponse1.md | 19 - client/docs/GetCommentChildrenResponse.md | 18 - client/docs/GetCommentResponse.md | 18 - client/docs/GetCommentTextResponse1.md | 19 - .../docs/GetCommentVoteUserNamesResponse.md | 19 - client/docs/GetCommentsForUserResponse1.md | 18 - client/docs/GetCommentsPublicResponse.md | 40 - client/docs/GetCommentsResponse.md | 18 - client/docs/GetCountResponse.md | 18 - client/docs/GetCountsResponse.md | 18 - .../GetEmailTemplateDefinitionsResponse1.md | 18 - .../GetEmailTemplateRenderErrorsResponse1.md | 18 - client/docs/GetEmailTemplateResponse1.md | 18 - client/docs/GetEmailTemplatesResponse1.md | 18 - client/docs/GetEventLogResponse1.md | 18 - client/docs/GetFeedPostsPublicResponse.md | 23 - client/docs/GetFeedPostsResponse1.md | 18 - client/docs/GetFeedPostsStatsResponse.md | 18 - client/docs/GetGifLargeResponse.md | 18 - client/docs/GetGifsSearchResponse.md | 6 - client/docs/GetGlobalEventLogResponse.md | 18 - client/docs/GetHashTagsResponse1.md | 18 - client/docs/GetLogsResponse.md | 18 - client/docs/GetManualBadgesForUserResponse.md | 18 - client/docs/GetManualBadgesResponse.md | 18 - client/docs/GetModerationCommentResponse.md | 18 - .../docs/GetModerationCommentTextResponse.md | 18 - client/docs/GetModeratorResponse1.md | 18 - client/docs/GetModeratorsResponse1.md | 18 - client/docs/GetNotificationCountResponse1.md | 18 - client/docs/GetNotificationsResponse1.md | 18 - client/docs/GetOfflineUsersResponse.md | 20 - client/docs/GetOnlineUsersResponse.md | 22 - client/docs/GetPagesPublicResponse.md | 19 - .../GetPendingWebhookEventCountResponse1.md | 18 - .../docs/GetPendingWebhookEventsResponse1.md | 18 - client/docs/GetPreBanSummaryResponse.md | 19 - client/docs/GetQuestionConfigResponse1.md | 18 - client/docs/GetQuestionConfigsResponse1.md | 18 - client/docs/GetQuestionResultResponse1.md | 18 - client/docs/GetQuestionResultsResponse1.md | 18 - .../docs/GetSearchCommentsSummaryResponse.md | 18 - client/docs/GetSearchPagesResponse.md | 18 - client/docs/GetSearchSitesResponse.md | 18 - client/docs/GetSearchSuggestResponse.md | 19 - client/docs/GetSearchUsersResponse.md | 18 - client/docs/GetTenantDailyUsagesResponse1.md | 18 - client/docs/GetTenantPackageResponse1.md | 18 - client/docs/GetTenantPackagesResponse1.md | 18 - client/docs/GetTenantResponse1.md | 18 - client/docs/GetTenantUserResponse1.md | 18 - client/docs/GetTenantUsersResponse1.md | 18 - client/docs/GetTenantsResponse1.md | 18 - client/docs/GetTicketResponse1.md | 19 - client/docs/GetTicketsResponse1.md | 18 - client/docs/GetTranslationsResponse1.md | 18 - client/docs/GetTrustFactorResponse.md | 19 - .../docs/GetUserBadgeProgressByIdResponse.md | 18 - .../GetUserBadgeProgressByUserIdResponse.md | 18 - .../docs/GetUserBadgeProgressListResponse.md | 18 - client/docs/GetUserBadgeResponse.md | 18 - client/docs/GetUserBadgesResponse.md | 18 - client/docs/GetUserBanPreferenceResponse.md | 18 - .../docs/GetUserInternalProfileResponse1.md | 18 - .../docs/GetUserNotificationCountResponse1.md | 18 - client/docs/GetUserNotificationsResponse.md | 21 - .../docs/GetUserPresenceStatusesResponse1.md | 18 - client/docs/GetUserReactsPublicResponse.md | 18 - client/docs/GetUserResponse1.md | 18 - client/docs/GetUsersInfoResponse.md | 18 - client/docs/GetV1PageLikesResponse.md | 21 - client/docs/GetV2PageReactUsersResponse1.md | 18 - client/docs/GetV2PageReactsResponse.md | 19 - client/docs/GetVotesForUserResponse1.md | 20 - client/docs/GetVotesResponse1.md | 20 - client/docs/LockCommentResponse.md | 17 - client/docs/ModerationAPI.md | 168 +- client/docs/PatchHashTagResponse.md | 18 - client/docs/PinCommentResponse.md | 18 - client/docs/PostAdjustCommentVotesResponse.md | 18 - client/docs/PostApiExportResponse.md | 18 - client/docs/PostBanUserFromCommentResponse.md | 18 - client/docs/PostBanUserUndoResponse.md | 17 - client/docs/PostBulkPreBanSummaryResponse.md | 22 - client/docs/PostCommentsByIdsResponse.md | 18 - client/docs/PostFlagCommentResponse.md | 17 - client/docs/PostRemoveCommentResponse.md | 11 +- .../docs/PostRestoreDeletedCommentResponse.md | 17 - .../PostSetCommentApprovalStatusResponse.md | 18 - .../PostSetCommentReviewStatusResponse.md | 17 - .../docs/PostSetCommentSpamStatusResponse.md | 17 - client/docs/PostSetCommentTextResponse.md | 18 - client/docs/PostUnFlagCommentResponse.md | 17 - client/docs/PostVoteResponse.md | 21 - client/docs/PublicAPI.md | 176 +- client/docs/PutAwardBadgeResponse.md | 19 - client/docs/PutCloseThreadResponse.md | 17 - client/docs/PutRemoveBadgeResponse.md | 18 - client/docs/PutReopenThreadResponse.md | 17 - client/docs/ReactFeedPostPublicResponse.md | 19 - client/docs/RenderEmailTemplateResponse1.md | 18 - client/docs/ReplaceTenantPackageResponse.md | 17 - client/docs/ReplaceTenantUserResponse.md | 17 - .../ResetUserNotificationCountResponse.md | 17 - .../docs/ResetUserNotificationsResponse1.md | 17 - client/docs/SaveCommentResponse.md | 20 - client/docs/SearchUsersResponse1.md | 19 - client/docs/SendInviteResponse.md | 17 - client/docs/SendLoginLinkResponse.md | 17 - client/docs/SetCommentTextResponse1.md | 18 - client/docs/SetTrustFactorResponse.md | 18 - client/docs/UnBlockCommentPublicResponse.md | 18 - client/docs/UnBlockUserFromCommentResponse.md | 18 - client/docs/UnFlagCommentResponse.md | 19 - client/docs/UnLockCommentResponse.md | 17 - client/docs/UnPinCommentResponse.md | 18 - client/docs/UpdateCommentResponse.md | 17 - client/docs/UpdateEmailTemplateResponse.md | 17 - client/docs/UpdateFeedPostPublicResponse.md | 18 - client/docs/UpdateFeedPostResponse.md | 17 - client/docs/UpdateModeratorResponse.md | 17 - client/docs/UpdateNotificationResponse.md | 17 - client/docs/UpdateQuestionConfigResponse.md | 17 - client/docs/UpdateQuestionResultResponse.md | 17 - client/docs/UpdateTenantPackageResponse.md | 17 - client/docs/UpdateTenantResponse.md | 17 - client/docs/UpdateTenantUserResponse.md | 17 - client/docs/UpdateUserBadgeResponse.md | 17 - ...cationCommentSubscriptionStatusResponse.md | 7 - ...ificationPageSubscriptionStatusResponse.md | 7 - .../UpdateUserNotificationStatusResponse.md | 7 - client/docs/VoteCommentResponse.md | 21 - openapi.json | 3634 +++++++++-------- 375 files changed, 3258 insertions(+), 17752 deletions(-) delete mode 100644 client/FastCommentsSwift/Models/AddHashTagResponse.swift delete mode 100644 client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift delete mode 100644 client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateModeratorResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateTenantResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateTicketResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift delete mode 100644 client/FastCommentsSwift/Models/CreateVoteResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteHashTagResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteModeratorResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteTenantResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift delete mode 100644 client/FastCommentsSwift/Models/DeleteVoteResponse.swift delete mode 100644 client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/FlagCommentResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetApiCommentsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetApiIdsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentTextResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCommentsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCountResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetCountsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetEventLogResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetGifLargeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetHashTagsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetLogsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetManualBadgesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetModerationCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetModeratorResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetModeratorsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetNotificationsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetPagesPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetSearchPagesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetSearchSitesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetSearchUsersResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantUserResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTenantsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTicketResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTicketsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTranslationsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetTrustFactorResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserBadgeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserBadgesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetUserResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetUsersInfoResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/GetVotesResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/LockCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PatchHashTagResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PinCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostApiExportResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostFlagCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PostVoteResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PutCloseThreadResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/PutReopenThreadResponse.swift delete mode 100644 client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift delete mode 100644 client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift delete mode 100644 client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift delete mode 100644 client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/SaveCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/SearchUsersResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/SendInviteResponse.swift delete mode 100644 client/FastCommentsSwift/Models/SendLoginLinkResponse.swift delete mode 100644 client/FastCommentsSwift/Models/SetCommentTextResponse1.swift delete mode 100644 client/FastCommentsSwift/Models/SetTrustFactorResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UnFlagCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UnLockCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UnPinCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateCommentResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateModeratorResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateNotificationResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateTenantResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift delete mode 100644 client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift delete mode 100644 client/FastCommentsSwift/Models/VoteCommentResponse.swift delete mode 100644 client/docs/AddHashTagResponse.md delete mode 100644 client/docs/AddHashTagsBulkResponse.md delete mode 100644 client/docs/AggregateQuestionResultsResponse1.md delete mode 100644 client/docs/BlockFromCommentPublicResponse.md delete mode 100644 client/docs/BlockUserFromCommentResponse.md delete mode 100644 client/docs/BulkAggregateQuestionResultsResponse1.md delete mode 100644 client/docs/ChangeTicketStateResponse1.md delete mode 100644 client/docs/CheckedCommentsForBlockedResponse.md delete mode 100644 client/docs/CombineCommentsWithQuestionResultsResponse.md delete mode 100644 client/docs/CreateCommentPublicResponse.md delete mode 100644 client/docs/CreateEmailTemplateResponse1.md delete mode 100644 client/docs/CreateFeedPostPublicResponse.md delete mode 100644 client/docs/CreateFeedPostResponse1.md delete mode 100644 client/docs/CreateModeratorResponse1.md delete mode 100644 client/docs/CreateQuestionConfigResponse1.md delete mode 100644 client/docs/CreateQuestionResultResponse1.md delete mode 100644 client/docs/CreateTenantPackageResponse1.md delete mode 100644 client/docs/CreateTenantResponse1.md delete mode 100644 client/docs/CreateTenantUserResponse1.md delete mode 100644 client/docs/CreateTicketResponse1.md delete mode 100644 client/docs/CreateUserBadgeResponse.md delete mode 100644 client/docs/CreateV1PageReactResponse.md delete mode 100644 client/docs/CreateV2PageReactResponse.md delete mode 100644 client/docs/CreateVoteResponse.md delete mode 100644 client/docs/DeleteCommentPublicResponse.md delete mode 100644 client/docs/DeleteCommentResponse.md delete mode 100644 client/docs/DeleteCommentVoteResponse.md delete mode 100644 client/docs/DeleteEmailTemplateRenderErrorResponse.md delete mode 100644 client/docs/DeleteEmailTemplateResponse.md delete mode 100644 client/docs/DeleteFeedPostPublicResponseAnyOf.md delete mode 100644 client/docs/DeleteHashTagResponse.md delete mode 100644 client/docs/DeleteModerationVoteResponse.md delete mode 100644 client/docs/DeleteModeratorResponse.md delete mode 100644 client/docs/DeleteNotificationCountResponse.md delete mode 100644 client/docs/DeletePendingWebhookEventResponse.md delete mode 100644 client/docs/DeleteQuestionConfigResponse.md delete mode 100644 client/docs/DeleteQuestionResultResponse.md delete mode 100644 client/docs/DeleteTenantPackageResponse.md delete mode 100644 client/docs/DeleteTenantResponse.md delete mode 100644 client/docs/DeleteTenantUserResponse.md delete mode 100644 client/docs/DeleteUserBadgeResponse.md delete mode 100644 client/docs/DeleteV1PageReactResponse.md delete mode 100644 client/docs/DeleteV2PageReactResponse.md delete mode 100644 client/docs/DeleteVoteResponse.md delete mode 100644 client/docs/FlagCommentPublicResponse.md delete mode 100644 client/docs/FlagCommentResponse1.md delete mode 100644 client/docs/GetApiCommentsResponse.md delete mode 100644 client/docs/GetApiExportStatusResponse.md delete mode 100644 client/docs/GetApiIdsResponse.md delete mode 100644 client/docs/GetAuditLogsResponse1.md delete mode 100644 client/docs/GetBanUsersFromCommentResponse.md delete mode 100644 client/docs/GetCachedNotificationCountResponse1.md delete mode 100644 client/docs/GetCommentBanStatusResponse1.md delete mode 100644 client/docs/GetCommentChildrenResponse.md delete mode 100644 client/docs/GetCommentResponse.md delete mode 100644 client/docs/GetCommentTextResponse1.md delete mode 100644 client/docs/GetCommentVoteUserNamesResponse.md delete mode 100644 client/docs/GetCommentsForUserResponse1.md delete mode 100644 client/docs/GetCommentsPublicResponse.md delete mode 100644 client/docs/GetCommentsResponse.md delete mode 100644 client/docs/GetCountResponse.md delete mode 100644 client/docs/GetCountsResponse.md delete mode 100644 client/docs/GetEmailTemplateDefinitionsResponse1.md delete mode 100644 client/docs/GetEmailTemplateRenderErrorsResponse1.md delete mode 100644 client/docs/GetEmailTemplateResponse1.md delete mode 100644 client/docs/GetEmailTemplatesResponse1.md delete mode 100644 client/docs/GetEventLogResponse1.md delete mode 100644 client/docs/GetFeedPostsPublicResponse.md delete mode 100644 client/docs/GetFeedPostsResponse1.md delete mode 100644 client/docs/GetFeedPostsStatsResponse.md delete mode 100644 client/docs/GetGifLargeResponse.md delete mode 100644 client/docs/GetGlobalEventLogResponse.md delete mode 100644 client/docs/GetHashTagsResponse1.md delete mode 100644 client/docs/GetLogsResponse.md delete mode 100644 client/docs/GetManualBadgesForUserResponse.md delete mode 100644 client/docs/GetManualBadgesResponse.md delete mode 100644 client/docs/GetModerationCommentResponse.md delete mode 100644 client/docs/GetModerationCommentTextResponse.md delete mode 100644 client/docs/GetModeratorResponse1.md delete mode 100644 client/docs/GetModeratorsResponse1.md delete mode 100644 client/docs/GetNotificationCountResponse1.md delete mode 100644 client/docs/GetNotificationsResponse1.md delete mode 100644 client/docs/GetOfflineUsersResponse.md delete mode 100644 client/docs/GetOnlineUsersResponse.md delete mode 100644 client/docs/GetPagesPublicResponse.md delete mode 100644 client/docs/GetPendingWebhookEventCountResponse1.md delete mode 100644 client/docs/GetPendingWebhookEventsResponse1.md delete mode 100644 client/docs/GetPreBanSummaryResponse.md delete mode 100644 client/docs/GetQuestionConfigResponse1.md delete mode 100644 client/docs/GetQuestionConfigsResponse1.md delete mode 100644 client/docs/GetQuestionResultResponse1.md delete mode 100644 client/docs/GetQuestionResultsResponse1.md delete mode 100644 client/docs/GetSearchCommentsSummaryResponse.md delete mode 100644 client/docs/GetSearchPagesResponse.md delete mode 100644 client/docs/GetSearchSitesResponse.md delete mode 100644 client/docs/GetSearchSuggestResponse.md delete mode 100644 client/docs/GetSearchUsersResponse.md delete mode 100644 client/docs/GetTenantDailyUsagesResponse1.md delete mode 100644 client/docs/GetTenantPackageResponse1.md delete mode 100644 client/docs/GetTenantPackagesResponse1.md delete mode 100644 client/docs/GetTenantResponse1.md delete mode 100644 client/docs/GetTenantUserResponse1.md delete mode 100644 client/docs/GetTenantUsersResponse1.md delete mode 100644 client/docs/GetTenantsResponse1.md delete mode 100644 client/docs/GetTicketResponse1.md delete mode 100644 client/docs/GetTicketsResponse1.md delete mode 100644 client/docs/GetTranslationsResponse1.md delete mode 100644 client/docs/GetTrustFactorResponse.md delete mode 100644 client/docs/GetUserBadgeProgressByIdResponse.md delete mode 100644 client/docs/GetUserBadgeProgressByUserIdResponse.md delete mode 100644 client/docs/GetUserBadgeProgressListResponse.md delete mode 100644 client/docs/GetUserBadgeResponse.md delete mode 100644 client/docs/GetUserBadgesResponse.md delete mode 100644 client/docs/GetUserBanPreferenceResponse.md delete mode 100644 client/docs/GetUserInternalProfileResponse1.md delete mode 100644 client/docs/GetUserNotificationCountResponse1.md delete mode 100644 client/docs/GetUserNotificationsResponse.md delete mode 100644 client/docs/GetUserPresenceStatusesResponse1.md delete mode 100644 client/docs/GetUserReactsPublicResponse.md delete mode 100644 client/docs/GetUserResponse1.md delete mode 100644 client/docs/GetUsersInfoResponse.md delete mode 100644 client/docs/GetV1PageLikesResponse.md delete mode 100644 client/docs/GetV2PageReactUsersResponse1.md delete mode 100644 client/docs/GetV2PageReactsResponse.md delete mode 100644 client/docs/GetVotesForUserResponse1.md delete mode 100644 client/docs/GetVotesResponse1.md delete mode 100644 client/docs/LockCommentResponse.md delete mode 100644 client/docs/PatchHashTagResponse.md delete mode 100644 client/docs/PinCommentResponse.md delete mode 100644 client/docs/PostAdjustCommentVotesResponse.md delete mode 100644 client/docs/PostApiExportResponse.md delete mode 100644 client/docs/PostBanUserFromCommentResponse.md delete mode 100644 client/docs/PostBanUserUndoResponse.md delete mode 100644 client/docs/PostBulkPreBanSummaryResponse.md delete mode 100644 client/docs/PostCommentsByIdsResponse.md delete mode 100644 client/docs/PostFlagCommentResponse.md delete mode 100644 client/docs/PostRestoreDeletedCommentResponse.md delete mode 100644 client/docs/PostSetCommentApprovalStatusResponse.md delete mode 100644 client/docs/PostSetCommentReviewStatusResponse.md delete mode 100644 client/docs/PostSetCommentSpamStatusResponse.md delete mode 100644 client/docs/PostSetCommentTextResponse.md delete mode 100644 client/docs/PostUnFlagCommentResponse.md delete mode 100644 client/docs/PostVoteResponse.md delete mode 100644 client/docs/PutAwardBadgeResponse.md delete mode 100644 client/docs/PutCloseThreadResponse.md delete mode 100644 client/docs/PutRemoveBadgeResponse.md delete mode 100644 client/docs/PutReopenThreadResponse.md delete mode 100644 client/docs/ReactFeedPostPublicResponse.md delete mode 100644 client/docs/RenderEmailTemplateResponse1.md delete mode 100644 client/docs/ReplaceTenantPackageResponse.md delete mode 100644 client/docs/ReplaceTenantUserResponse.md delete mode 100644 client/docs/ResetUserNotificationCountResponse.md delete mode 100644 client/docs/ResetUserNotificationsResponse1.md delete mode 100644 client/docs/SaveCommentResponse.md delete mode 100644 client/docs/SearchUsersResponse1.md delete mode 100644 client/docs/SendInviteResponse.md delete mode 100644 client/docs/SendLoginLinkResponse.md delete mode 100644 client/docs/SetCommentTextResponse1.md delete mode 100644 client/docs/SetTrustFactorResponse.md delete mode 100644 client/docs/UnBlockCommentPublicResponse.md delete mode 100644 client/docs/UnBlockUserFromCommentResponse.md delete mode 100644 client/docs/UnFlagCommentResponse.md delete mode 100644 client/docs/UnLockCommentResponse.md delete mode 100644 client/docs/UnPinCommentResponse.md delete mode 100644 client/docs/UpdateCommentResponse.md delete mode 100644 client/docs/UpdateEmailTemplateResponse.md delete mode 100644 client/docs/UpdateFeedPostPublicResponse.md delete mode 100644 client/docs/UpdateFeedPostResponse.md delete mode 100644 client/docs/UpdateModeratorResponse.md delete mode 100644 client/docs/UpdateNotificationResponse.md delete mode 100644 client/docs/UpdateQuestionConfigResponse.md delete mode 100644 client/docs/UpdateQuestionResultResponse.md delete mode 100644 client/docs/UpdateTenantPackageResponse.md delete mode 100644 client/docs/UpdateTenantResponse.md delete mode 100644 client/docs/UpdateTenantUserResponse.md delete mode 100644 client/docs/UpdateUserBadgeResponse.md delete mode 100644 client/docs/VoteCommentResponse.md diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index ecbc237..49cabea 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -54,14 +54,11 @@ FastCommentsSwift/Models/APIUserSubscription.swift FastCommentsSwift/Models/AddDomainConfigParams.swift FastCommentsSwift/Models/AddDomainConfigResponse.swift FastCommentsSwift/Models/AddDomainConfigResponseAnyOf.swift -FastCommentsSwift/Models/AddHashTagResponse.swift -FastCommentsSwift/Models/AddHashTagsBulkResponse.swift FastCommentsSwift/Models/AddPageAPIResponse.swift FastCommentsSwift/Models/AddSSOUserAPIResponse.swift FastCommentsSwift/Models/AdjustCommentVotesParams.swift FastCommentsSwift/Models/AdjustVotesResponse.swift FastCommentsSwift/Models/AggregateQuestionResultsResponse.swift -FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift FastCommentsSwift/Models/AggregateResponse.swift FastCommentsSwift/Models/AggregateTimeBucket.swift FastCommentsSwift/Models/AggregationAPIError.swift @@ -81,15 +78,12 @@ FastCommentsSwift/Models/BannedUserMatchMatchedOnValue.swift FastCommentsSwift/Models/BannedUserMatchType.swift FastCommentsSwift/Models/BillingInfo.swift FastCommentsSwift/Models/BlockFromCommentParams.swift -FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift FastCommentsSwift/Models/BlockSuccess.swift -FastCommentsSwift/Models/BlockUserFromCommentResponse.swift FastCommentsSwift/Models/BuildModerationFilterParams.swift FastCommentsSwift/Models/BuildModerationFilterResponse.swift FastCommentsSwift/Models/BulkAggregateQuestionItem.swift FastCommentsSwift/Models/BulkAggregateQuestionResultsRequest.swift FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse.swift -FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift FastCommentsSwift/Models/BulkCreateHashTagsBody.swift FastCommentsSwift/Models/BulkCreateHashTagsBodyTagsInner.swift FastCommentsSwift/Models/BulkCreateHashTagsResponse.swift @@ -99,10 +93,7 @@ FastCommentsSwift/Models/BulkPreBanSummary.swift FastCommentsSwift/Models/ChangeCommentPinStatusResponse.swift FastCommentsSwift/Models/ChangeTicketStateBody.swift FastCommentsSwift/Models/ChangeTicketStateResponse.swift -FastCommentsSwift/Models/ChangeTicketStateResponse1.swift FastCommentsSwift/Models/CheckBlockedCommentsResponse.swift -FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift -FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift FastCommentsSwift/Models/CombineQuestionResultsWithCommentsResponse.swift FastCommentsSwift/Models/CommentData.swift FastCommentsSwift/Models/CommentHTMLRenderingMode.swift @@ -122,75 +113,40 @@ FastCommentsSwift/Models/CreateAPIPageData.swift FastCommentsSwift/Models/CreateAPISSOUserData.swift FastCommentsSwift/Models/CreateAPIUserSubscriptionData.swift FastCommentsSwift/Models/CreateCommentParams.swift -FastCommentsSwift/Models/CreateCommentPublicResponse.swift FastCommentsSwift/Models/CreateEmailTemplateBody.swift FastCommentsSwift/Models/CreateEmailTemplateResponse.swift -FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift FastCommentsSwift/Models/CreateFeedPostParams.swift -FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift FastCommentsSwift/Models/CreateFeedPostResponse.swift -FastCommentsSwift/Models/CreateFeedPostResponse1.swift FastCommentsSwift/Models/CreateFeedPostsResponse.swift FastCommentsSwift/Models/CreateHashTagBody.swift FastCommentsSwift/Models/CreateHashTagResponse.swift FastCommentsSwift/Models/CreateModeratorBody.swift FastCommentsSwift/Models/CreateModeratorResponse.swift -FastCommentsSwift/Models/CreateModeratorResponse1.swift FastCommentsSwift/Models/CreateQuestionConfigBody.swift FastCommentsSwift/Models/CreateQuestionConfigResponse.swift -FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift FastCommentsSwift/Models/CreateQuestionResultBody.swift FastCommentsSwift/Models/CreateQuestionResultResponse.swift -FastCommentsSwift/Models/CreateQuestionResultResponse1.swift FastCommentsSwift/Models/CreateSubscriptionAPIResponse.swift FastCommentsSwift/Models/CreateTenantBody.swift FastCommentsSwift/Models/CreateTenantPackageBody.swift FastCommentsSwift/Models/CreateTenantPackageResponse.swift -FastCommentsSwift/Models/CreateTenantPackageResponse1.swift FastCommentsSwift/Models/CreateTenantResponse.swift -FastCommentsSwift/Models/CreateTenantResponse1.swift FastCommentsSwift/Models/CreateTenantUserBody.swift FastCommentsSwift/Models/CreateTenantUserResponse.swift -FastCommentsSwift/Models/CreateTenantUserResponse1.swift FastCommentsSwift/Models/CreateTicketBody.swift FastCommentsSwift/Models/CreateTicketResponse.swift -FastCommentsSwift/Models/CreateTicketResponse1.swift FastCommentsSwift/Models/CreateUserBadgeParams.swift -FastCommentsSwift/Models/CreateUserBadgeResponse.swift FastCommentsSwift/Models/CreateV1PageReact.swift -FastCommentsSwift/Models/CreateV1PageReactResponse.swift -FastCommentsSwift/Models/CreateV2PageReactResponse.swift -FastCommentsSwift/Models/CreateVoteResponse.swift FastCommentsSwift/Models/CustomConfigParameters.swift FastCommentsSwift/Models/CustomEmailTemplate.swift FastCommentsSwift/Models/DeleteCommentAction.swift -FastCommentsSwift/Models/DeleteCommentPublicResponse.swift -FastCommentsSwift/Models/DeleteCommentResponse.swift FastCommentsSwift/Models/DeleteCommentResult.swift -FastCommentsSwift/Models/DeleteCommentVoteResponse.swift FastCommentsSwift/Models/DeleteDomainConfigResponse.swift -FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift -FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift -FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift FastCommentsSwift/Models/DeleteHashTagRequestBody.swift -FastCommentsSwift/Models/DeleteHashTagResponse.swift -FastCommentsSwift/Models/DeleteModerationVoteResponse.swift -FastCommentsSwift/Models/DeleteModeratorResponse.swift -FastCommentsSwift/Models/DeleteNotificationCountResponse.swift FastCommentsSwift/Models/DeletePageAPIResponse.swift -FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift -FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift -FastCommentsSwift/Models/DeleteQuestionResultResponse.swift FastCommentsSwift/Models/DeleteSSOUserAPIResponse.swift FastCommentsSwift/Models/DeleteSubscriptionAPIResponse.swift -FastCommentsSwift/Models/DeleteTenantPackageResponse.swift -FastCommentsSwift/Models/DeleteTenantResponse.swift -FastCommentsSwift/Models/DeleteTenantUserResponse.swift -FastCommentsSwift/Models/DeleteUserBadgeResponse.swift -FastCommentsSwift/Models/DeleteV1PageReactResponse.swift -FastCommentsSwift/Models/DeleteV2PageReactResponse.swift -FastCommentsSwift/Models/DeleteVoteResponse.swift FastCommentsSwift/Models/DeletedCommentResultComment.swift FastCommentsSwift/Models/DigestEmailFrequency.swift FastCommentsSwift/Models/EmailTemplateDefinition.swift @@ -206,154 +162,72 @@ FastCommentsSwift/Models/FeedPostStats.swift FastCommentsSwift/Models/FeedPostsStatsResponse.swift FastCommentsSwift/Models/FindCommentsByRangeItem.swift FastCommentsSwift/Models/FindCommentsByRangeResponse.swift -FastCommentsSwift/Models/FlagCommentPublicResponse.swift FastCommentsSwift/Models/FlagCommentResponse.swift -FastCommentsSwift/Models/FlagCommentResponse1.swift -FastCommentsSwift/Models/GetApiCommentsResponse.swift -FastCommentsSwift/Models/GetApiExportStatusResponse.swift -FastCommentsSwift/Models/GetApiIdsResponse.swift FastCommentsSwift/Models/GetAuditLogsResponse.swift -FastCommentsSwift/Models/GetAuditLogsResponse1.swift -FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift FastCommentsSwift/Models/GetBannedUsersCountResponse.swift FastCommentsSwift/Models/GetBannedUsersFromCommentResponse.swift FastCommentsSwift/Models/GetCachedNotificationCountResponse.swift -FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift FastCommentsSwift/Models/GetCommentBanStatusResponse.swift -FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift -FastCommentsSwift/Models/GetCommentChildrenResponse.swift -FastCommentsSwift/Models/GetCommentResponse.swift FastCommentsSwift/Models/GetCommentTextResponse.swift -FastCommentsSwift/Models/GetCommentTextResponse1.swift -FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift FastCommentsSwift/Models/GetCommentVoteUserNamesSuccessResponse.swift FastCommentsSwift/Models/GetCommentsForUserResponse.swift -FastCommentsSwift/Models/GetCommentsForUserResponse1.swift -FastCommentsSwift/Models/GetCommentsPublicResponse.swift -FastCommentsSwift/Models/GetCommentsResponse.swift FastCommentsSwift/Models/GetCommentsResponsePublicComment.swift FastCommentsSwift/Models/GetCommentsResponseWithPresencePublicComment.swift -FastCommentsSwift/Models/GetCountResponse.swift -FastCommentsSwift/Models/GetCountsResponse.swift FastCommentsSwift/Models/GetDomainConfigResponse.swift FastCommentsSwift/Models/GetDomainConfigsResponse.swift FastCommentsSwift/Models/GetDomainConfigsResponseAnyOf.swift FastCommentsSwift/Models/GetDomainConfigsResponseAnyOf1.swift FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse.swift -FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse.swift -FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift FastCommentsSwift/Models/GetEmailTemplateResponse.swift -FastCommentsSwift/Models/GetEmailTemplateResponse1.swift FastCommentsSwift/Models/GetEmailTemplatesResponse.swift -FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift FastCommentsSwift/Models/GetEventLogResponse.swift -FastCommentsSwift/Models/GetEventLogResponse1.swift -FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift FastCommentsSwift/Models/GetFeedPostsResponse.swift -FastCommentsSwift/Models/GetFeedPostsResponse1.swift -FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift -FastCommentsSwift/Models/GetGifLargeResponse.swift FastCommentsSwift/Models/GetGifsSearchResponse.swift FastCommentsSwift/Models/GetGifsTrendingResponse.swift -FastCommentsSwift/Models/GetGlobalEventLogResponse.swift FastCommentsSwift/Models/GetHashTagsResponse.swift -FastCommentsSwift/Models/GetHashTagsResponse1.swift -FastCommentsSwift/Models/GetLogsResponse.swift -FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift -FastCommentsSwift/Models/GetManualBadgesResponse.swift -FastCommentsSwift/Models/GetModerationCommentResponse.swift -FastCommentsSwift/Models/GetModerationCommentTextResponse.swift FastCommentsSwift/Models/GetModeratorResponse.swift -FastCommentsSwift/Models/GetModeratorResponse1.swift FastCommentsSwift/Models/GetModeratorsResponse.swift -FastCommentsSwift/Models/GetModeratorsResponse1.swift FastCommentsSwift/Models/GetMyNotificationsResponse.swift FastCommentsSwift/Models/GetNotificationCountResponse.swift -FastCommentsSwift/Models/GetNotificationCountResponse1.swift FastCommentsSwift/Models/GetNotificationsResponse.swift -FastCommentsSwift/Models/GetNotificationsResponse1.swift -FastCommentsSwift/Models/GetOfflineUsersResponse.swift -FastCommentsSwift/Models/GetOnlineUsersResponse.swift FastCommentsSwift/Models/GetPageByURLIdAPIResponse.swift FastCommentsSwift/Models/GetPagesAPIResponse.swift -FastCommentsSwift/Models/GetPagesPublicResponse.swift FastCommentsSwift/Models/GetPendingWebhookEventCountResponse.swift -FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift FastCommentsSwift/Models/GetPendingWebhookEventsResponse.swift -FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift -FastCommentsSwift/Models/GetPreBanSummaryResponse.swift FastCommentsSwift/Models/GetPublicFeedPostsResponse.swift FastCommentsSwift/Models/GetPublicPagesResponse.swift FastCommentsSwift/Models/GetQuestionConfigResponse.swift -FastCommentsSwift/Models/GetQuestionConfigResponse1.swift FastCommentsSwift/Models/GetQuestionConfigsResponse.swift -FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift FastCommentsSwift/Models/GetQuestionResultResponse.swift -FastCommentsSwift/Models/GetQuestionResultResponse1.swift FastCommentsSwift/Models/GetQuestionResultsResponse.swift -FastCommentsSwift/Models/GetQuestionResultsResponse1.swift FastCommentsSwift/Models/GetSSOUserByEmailAPIResponse.swift FastCommentsSwift/Models/GetSSOUserByIdAPIResponse.swift FastCommentsSwift/Models/GetSSOUsersResponse.swift -FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift -FastCommentsSwift/Models/GetSearchPagesResponse.swift -FastCommentsSwift/Models/GetSearchSitesResponse.swift -FastCommentsSwift/Models/GetSearchSuggestResponse.swift -FastCommentsSwift/Models/GetSearchUsersResponse.swift FastCommentsSwift/Models/GetSubscriptionsAPIResponse.swift FastCommentsSwift/Models/GetTenantDailyUsagesResponse.swift -FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift FastCommentsSwift/Models/GetTenantManualBadgesResponse.swift FastCommentsSwift/Models/GetTenantPackageResponse.swift -FastCommentsSwift/Models/GetTenantPackageResponse1.swift FastCommentsSwift/Models/GetTenantPackagesResponse.swift -FastCommentsSwift/Models/GetTenantPackagesResponse1.swift FastCommentsSwift/Models/GetTenantResponse.swift -FastCommentsSwift/Models/GetTenantResponse1.swift FastCommentsSwift/Models/GetTenantUserResponse.swift -FastCommentsSwift/Models/GetTenantUserResponse1.swift FastCommentsSwift/Models/GetTenantUsersResponse.swift -FastCommentsSwift/Models/GetTenantUsersResponse1.swift FastCommentsSwift/Models/GetTenantsResponse.swift -FastCommentsSwift/Models/GetTenantsResponse1.swift FastCommentsSwift/Models/GetTicketResponse.swift -FastCommentsSwift/Models/GetTicketResponse1.swift FastCommentsSwift/Models/GetTicketsResponse.swift -FastCommentsSwift/Models/GetTicketsResponse1.swift FastCommentsSwift/Models/GetTranslationsResponse.swift -FastCommentsSwift/Models/GetTranslationsResponse1.swift -FastCommentsSwift/Models/GetTrustFactorResponse.swift -FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift -FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift -FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift -FastCommentsSwift/Models/GetUserBadgeResponse.swift -FastCommentsSwift/Models/GetUserBadgesResponse.swift -FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift FastCommentsSwift/Models/GetUserInternalProfileResponse.swift -FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift FastCommentsSwift/Models/GetUserInternalProfileResponseProfile.swift FastCommentsSwift/Models/GetUserManualBadgesResponse.swift FastCommentsSwift/Models/GetUserNotificationCountResponse.swift -FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift -FastCommentsSwift/Models/GetUserNotificationsResponse.swift FastCommentsSwift/Models/GetUserPresenceStatusesResponse.swift -FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift -FastCommentsSwift/Models/GetUserReactsPublicResponse.swift FastCommentsSwift/Models/GetUserResponse.swift -FastCommentsSwift/Models/GetUserResponse1.swift FastCommentsSwift/Models/GetUserTrustFactorResponse.swift -FastCommentsSwift/Models/GetUsersInfoResponse.swift FastCommentsSwift/Models/GetV1PageLikes.swift -FastCommentsSwift/Models/GetV1PageLikesResponse.swift FastCommentsSwift/Models/GetV2PageReactUsersResponse.swift -FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift FastCommentsSwift/Models/GetV2PageReacts.swift -FastCommentsSwift/Models/GetV2PageReactsResponse.swift FastCommentsSwift/Models/GetVotesForUserResponse.swift -FastCommentsSwift/Models/GetVotesForUserResponse1.swift FastCommentsSwift/Models/GetVotesResponse.swift -FastCommentsSwift/Models/GetVotesResponse1.swift FastCommentsSwift/Models/GifGetLargeResponse.swift FastCommentsSwift/Models/GifRating.swift FastCommentsSwift/Models/GifSearchInternalError.swift @@ -368,7 +242,6 @@ FastCommentsSwift/Models/ImportedSiteType.swift FastCommentsSwift/Models/LiveEvent.swift FastCommentsSwift/Models/LiveEventExtraInfo.swift FastCommentsSwift/Models/LiveEventType.swift -FastCommentsSwift/Models/LockCommentResponse.swift FastCommentsSwift/Models/MediaAsset.swift FastCommentsSwift/Models/MentionAutoCompleteMode.swift FastCommentsSwift/Models/MetaItem.swift @@ -402,26 +275,10 @@ FastCommentsSwift/Models/PageUsersOnlineResponse.swift FastCommentsSwift/Models/PagesSortBy.swift FastCommentsSwift/Models/PatchDomainConfigParams.swift FastCommentsSwift/Models/PatchDomainConfigResponse.swift -FastCommentsSwift/Models/PatchHashTagResponse.swift FastCommentsSwift/Models/PatchPageAPIResponse.swift FastCommentsSwift/Models/PatchSSOUserAPIResponse.swift FastCommentsSwift/Models/PendingCommentToSyncOutbound.swift -FastCommentsSwift/Models/PinCommentResponse.swift -FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift -FastCommentsSwift/Models/PostApiExportResponse.swift -FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift -FastCommentsSwift/Models/PostBanUserUndoResponse.swift -FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift -FastCommentsSwift/Models/PostCommentsByIdsResponse.swift -FastCommentsSwift/Models/PostFlagCommentResponse.swift FastCommentsSwift/Models/PostRemoveCommentResponse.swift -FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift -FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift -FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift -FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift -FastCommentsSwift/Models/PostSetCommentTextResponse.swift -FastCommentsSwift/Models/PostUnFlagCommentResponse.swift -FastCommentsSwift/Models/PostVoteResponse.swift FastCommentsSwift/Models/PreBanSummary.swift FastCommentsSwift/Models/PubSubComment.swift FastCommentsSwift/Models/PubSubCommentBase.swift @@ -435,11 +292,7 @@ FastCommentsSwift/Models/PublicCommentBase.swift FastCommentsSwift/Models/PublicFeedPostsResponse.swift FastCommentsSwift/Models/PublicPage.swift FastCommentsSwift/Models/PublicVote.swift -FastCommentsSwift/Models/PutAwardBadgeResponse.swift -FastCommentsSwift/Models/PutCloseThreadResponse.swift FastCommentsSwift/Models/PutDomainConfigResponse.swift -FastCommentsSwift/Models/PutRemoveBadgeResponse.swift -FastCommentsSwift/Models/PutReopenThreadResponse.swift FastCommentsSwift/Models/PutSSOUserAPIResponse.swift FastCommentsSwift/Models/QueryPredicate.swift FastCommentsSwift/Models/QueryPredicateValue.swift @@ -452,42 +305,30 @@ FastCommentsSwift/Models/QuestionResultAggregationOverall.swift FastCommentsSwift/Models/QuestionSubQuestionVisibility.swift FastCommentsSwift/Models/QuestionWhenSave.swift FastCommentsSwift/Models/ReactBodyParams.swift -FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift FastCommentsSwift/Models/ReactFeedPostResponse.swift FastCommentsSwift/Models/RecordStringBeforeStringOrNullAfterStringOrNullValue.swift FastCommentsSwift/Models/RemoveCommentActionResponse.swift FastCommentsSwift/Models/RemoveUserBadgeResponse.swift FastCommentsSwift/Models/RenderEmailTemplateBody.swift FastCommentsSwift/Models/RenderEmailTemplateResponse.swift -FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift FastCommentsSwift/Models/RenderableUserNotification.swift FastCommentsSwift/Models/RepeatCommentCheckIgnoredReason.swift FastCommentsSwift/Models/RepeatCommentHandlingAction.swift FastCommentsSwift/Models/ReplaceTenantPackageBody.swift -FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift FastCommentsSwift/Models/ReplaceTenantUserBody.swift -FastCommentsSwift/Models/ReplaceTenantUserResponse.swift -FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift FastCommentsSwift/Models/ResetUserNotificationsResponse.swift -FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift FastCommentsSwift/Models/SORTDIR.swift FastCommentsSwift/Models/SSOSecurityLevel.swift -FastCommentsSwift/Models/SaveCommentResponse.swift FastCommentsSwift/Models/SaveCommentResponseOptimized.swift FastCommentsSwift/Models/SaveCommentsBulkResponse.swift FastCommentsSwift/Models/SaveCommentsResponseWithPresence.swift FastCommentsSwift/Models/SearchUsersResponse.swift -FastCommentsSwift/Models/SearchUsersResponse1.swift FastCommentsSwift/Models/SearchUsersResult.swift FastCommentsSwift/Models/SearchUsersSectionedResponse.swift -FastCommentsSwift/Models/SendInviteResponse.swift -FastCommentsSwift/Models/SendLoginLinkResponse.swift FastCommentsSwift/Models/SetCommentApprovedResponse.swift FastCommentsSwift/Models/SetCommentTextParams.swift FastCommentsSwift/Models/SetCommentTextResponse.swift -FastCommentsSwift/Models/SetCommentTextResponse1.swift FastCommentsSwift/Models/SetCommentTextResult.swift -FastCommentsSwift/Models/SetTrustFactorResponse.swift FastCommentsSwift/Models/SetUserTrustFactorResponse.swift FastCommentsSwift/Models/SizePreset.swift FastCommentsSwift/Models/SortDirections.swift @@ -496,43 +337,26 @@ FastCommentsSwift/Models/TOSConfig.swift FastCommentsSwift/Models/TenantBadge.swift FastCommentsSwift/Models/TenantHashTag.swift FastCommentsSwift/Models/TenantPackage.swift -FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift FastCommentsSwift/Models/UnBlockFromCommentParams.swift -FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift -FastCommentsSwift/Models/UnFlagCommentResponse.swift -FastCommentsSwift/Models/UnLockCommentResponse.swift -FastCommentsSwift/Models/UnPinCommentResponse.swift FastCommentsSwift/Models/UnblockSuccess.swift FastCommentsSwift/Models/UpdatableCommentParams.swift FastCommentsSwift/Models/UpdateAPIPageData.swift FastCommentsSwift/Models/UpdateAPISSOUserData.swift FastCommentsSwift/Models/UpdateAPIUserSubscriptionData.swift -FastCommentsSwift/Models/UpdateCommentResponse.swift FastCommentsSwift/Models/UpdateDomainConfigParams.swift FastCommentsSwift/Models/UpdateEmailTemplateBody.swift -FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift FastCommentsSwift/Models/UpdateFeedPostParams.swift -FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift -FastCommentsSwift/Models/UpdateFeedPostResponse.swift FastCommentsSwift/Models/UpdateHashTagBody.swift FastCommentsSwift/Models/UpdateHashTagResponse.swift FastCommentsSwift/Models/UpdateModeratorBody.swift -FastCommentsSwift/Models/UpdateModeratorResponse.swift FastCommentsSwift/Models/UpdateNotificationBody.swift -FastCommentsSwift/Models/UpdateNotificationResponse.swift FastCommentsSwift/Models/UpdateQuestionConfigBody.swift -FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift FastCommentsSwift/Models/UpdateQuestionResultBody.swift -FastCommentsSwift/Models/UpdateQuestionResultResponse.swift FastCommentsSwift/Models/UpdateSubscriptionAPIResponse.swift FastCommentsSwift/Models/UpdateTenantBody.swift FastCommentsSwift/Models/UpdateTenantPackageBody.swift -FastCommentsSwift/Models/UpdateTenantPackageResponse.swift -FastCommentsSwift/Models/UpdateTenantResponse.swift FastCommentsSwift/Models/UpdateTenantUserBody.swift -FastCommentsSwift/Models/UpdateTenantUserResponse.swift FastCommentsSwift/Models/UpdateUserBadgeParams.swift -FastCommentsSwift/Models/UpdateUserBadgeResponse.swift FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift @@ -551,7 +375,6 @@ FastCommentsSwift/Models/UserSearchSectionResult.swift FastCommentsSwift/Models/UserSessionInfo.swift FastCommentsSwift/Models/UsersListLocation.swift FastCommentsSwift/Models/VoteBodyParams.swift -FastCommentsSwift/Models/VoteCommentResponse.swift FastCommentsSwift/Models/VoteDeleteResponse.swift FastCommentsSwift/Models/VoteResponse.swift FastCommentsSwift/Models/VoteResponseUser.swift @@ -593,14 +416,11 @@ docs/APIUserSubscription.md docs/AddDomainConfigParams.md docs/AddDomainConfigResponse.md docs/AddDomainConfigResponseAnyOf.md -docs/AddHashTagResponse.md -docs/AddHashTagsBulkResponse.md docs/AddPageAPIResponse.md docs/AddSSOUserAPIResponse.md docs/AdjustCommentVotesParams.md docs/AdjustVotesResponse.md docs/AggregateQuestionResultsResponse.md -docs/AggregateQuestionResultsResponse1.md docs/AggregateResponse.md docs/AggregateTimeBucket.md docs/AggregationAPIError.md @@ -620,15 +440,12 @@ docs/BannedUserMatchMatchedOnValue.md docs/BannedUserMatchType.md docs/BillingInfo.md docs/BlockFromCommentParams.md -docs/BlockFromCommentPublicResponse.md docs/BlockSuccess.md -docs/BlockUserFromCommentResponse.md docs/BuildModerationFilterParams.md docs/BuildModerationFilterResponse.md docs/BulkAggregateQuestionItem.md docs/BulkAggregateQuestionResultsRequest.md docs/BulkAggregateQuestionResultsResponse.md -docs/BulkAggregateQuestionResultsResponse1.md docs/BulkCreateHashTagsBody.md docs/BulkCreateHashTagsBodyTagsInner.md docs/BulkCreateHashTagsResponse.md @@ -638,10 +455,7 @@ docs/BulkPreBanSummary.md docs/ChangeCommentPinStatusResponse.md docs/ChangeTicketStateBody.md docs/ChangeTicketStateResponse.md -docs/ChangeTicketStateResponse1.md docs/CheckBlockedCommentsResponse.md -docs/CheckedCommentsForBlockedResponse.md -docs/CombineCommentsWithQuestionResultsResponse.md docs/CombineQuestionResultsWithCommentsResponse.md docs/CommentData.md docs/CommentHTMLRenderingMode.md @@ -661,76 +475,41 @@ docs/CreateAPIPageData.md docs/CreateAPISSOUserData.md docs/CreateAPIUserSubscriptionData.md docs/CreateCommentParams.md -docs/CreateCommentPublicResponse.md docs/CreateEmailTemplateBody.md docs/CreateEmailTemplateResponse.md -docs/CreateEmailTemplateResponse1.md docs/CreateFeedPostParams.md -docs/CreateFeedPostPublicResponse.md docs/CreateFeedPostResponse.md -docs/CreateFeedPostResponse1.md docs/CreateFeedPostsResponse.md docs/CreateHashTagBody.md docs/CreateHashTagResponse.md docs/CreateModeratorBody.md docs/CreateModeratorResponse.md -docs/CreateModeratorResponse1.md docs/CreateQuestionConfigBody.md docs/CreateQuestionConfigResponse.md -docs/CreateQuestionConfigResponse1.md docs/CreateQuestionResultBody.md docs/CreateQuestionResultResponse.md -docs/CreateQuestionResultResponse1.md docs/CreateSubscriptionAPIResponse.md docs/CreateTenantBody.md docs/CreateTenantPackageBody.md docs/CreateTenantPackageResponse.md -docs/CreateTenantPackageResponse1.md docs/CreateTenantResponse.md -docs/CreateTenantResponse1.md docs/CreateTenantUserBody.md docs/CreateTenantUserResponse.md -docs/CreateTenantUserResponse1.md docs/CreateTicketBody.md docs/CreateTicketResponse.md -docs/CreateTicketResponse1.md docs/CreateUserBadgeParams.md -docs/CreateUserBadgeResponse.md docs/CreateV1PageReact.md -docs/CreateV1PageReactResponse.md -docs/CreateV2PageReactResponse.md -docs/CreateVoteResponse.md docs/CustomConfigParameters.md docs/CustomEmailTemplate.md docs/DefaultAPI.md docs/DeleteCommentAction.md -docs/DeleteCommentPublicResponse.md -docs/DeleteCommentResponse.md docs/DeleteCommentResult.md -docs/DeleteCommentVoteResponse.md docs/DeleteDomainConfigResponse.md -docs/DeleteEmailTemplateRenderErrorResponse.md -docs/DeleteEmailTemplateResponse.md docs/DeleteFeedPostPublicResponse.md -docs/DeleteFeedPostPublicResponseAnyOf.md docs/DeleteHashTagRequestBody.md -docs/DeleteHashTagResponse.md -docs/DeleteModerationVoteResponse.md -docs/DeleteModeratorResponse.md -docs/DeleteNotificationCountResponse.md docs/DeletePageAPIResponse.md -docs/DeletePendingWebhookEventResponse.md -docs/DeleteQuestionConfigResponse.md -docs/DeleteQuestionResultResponse.md docs/DeleteSSOUserAPIResponse.md docs/DeleteSubscriptionAPIResponse.md -docs/DeleteTenantPackageResponse.md -docs/DeleteTenantResponse.md -docs/DeleteTenantUserResponse.md -docs/DeleteUserBadgeResponse.md -docs/DeleteV1PageReactResponse.md -docs/DeleteV2PageReactResponse.md -docs/DeleteVoteResponse.md docs/DeletedCommentResultComment.md docs/DigestEmailFrequency.md docs/EmailTemplateDefinition.md @@ -746,154 +525,72 @@ docs/FeedPostStats.md docs/FeedPostsStatsResponse.md docs/FindCommentsByRangeItem.md docs/FindCommentsByRangeResponse.md -docs/FlagCommentPublicResponse.md docs/FlagCommentResponse.md -docs/FlagCommentResponse1.md -docs/GetApiCommentsResponse.md -docs/GetApiExportStatusResponse.md -docs/GetApiIdsResponse.md docs/GetAuditLogsResponse.md -docs/GetAuditLogsResponse1.md -docs/GetBanUsersFromCommentResponse.md docs/GetBannedUsersCountResponse.md docs/GetBannedUsersFromCommentResponse.md docs/GetCachedNotificationCountResponse.md -docs/GetCachedNotificationCountResponse1.md docs/GetCommentBanStatusResponse.md -docs/GetCommentBanStatusResponse1.md -docs/GetCommentChildrenResponse.md -docs/GetCommentResponse.md docs/GetCommentTextResponse.md -docs/GetCommentTextResponse1.md -docs/GetCommentVoteUserNamesResponse.md docs/GetCommentVoteUserNamesSuccessResponse.md docs/GetCommentsForUserResponse.md -docs/GetCommentsForUserResponse1.md -docs/GetCommentsPublicResponse.md -docs/GetCommentsResponse.md docs/GetCommentsResponsePublicComment.md docs/GetCommentsResponseWithPresencePublicComment.md -docs/GetCountResponse.md -docs/GetCountsResponse.md docs/GetDomainConfigResponse.md docs/GetDomainConfigsResponse.md docs/GetDomainConfigsResponseAnyOf.md docs/GetDomainConfigsResponseAnyOf1.md docs/GetEmailTemplateDefinitionsResponse.md -docs/GetEmailTemplateDefinitionsResponse1.md docs/GetEmailTemplateRenderErrorsResponse.md -docs/GetEmailTemplateRenderErrorsResponse1.md docs/GetEmailTemplateResponse.md -docs/GetEmailTemplateResponse1.md docs/GetEmailTemplatesResponse.md -docs/GetEmailTemplatesResponse1.md docs/GetEventLogResponse.md -docs/GetEventLogResponse1.md -docs/GetFeedPostsPublicResponse.md docs/GetFeedPostsResponse.md -docs/GetFeedPostsResponse1.md -docs/GetFeedPostsStatsResponse.md -docs/GetGifLargeResponse.md docs/GetGifsSearchResponse.md docs/GetGifsTrendingResponse.md -docs/GetGlobalEventLogResponse.md docs/GetHashTagsResponse.md -docs/GetHashTagsResponse1.md -docs/GetLogsResponse.md -docs/GetManualBadgesForUserResponse.md -docs/GetManualBadgesResponse.md -docs/GetModerationCommentResponse.md -docs/GetModerationCommentTextResponse.md docs/GetModeratorResponse.md -docs/GetModeratorResponse1.md docs/GetModeratorsResponse.md -docs/GetModeratorsResponse1.md docs/GetMyNotificationsResponse.md docs/GetNotificationCountResponse.md -docs/GetNotificationCountResponse1.md docs/GetNotificationsResponse.md -docs/GetNotificationsResponse1.md -docs/GetOfflineUsersResponse.md -docs/GetOnlineUsersResponse.md docs/GetPageByURLIdAPIResponse.md docs/GetPagesAPIResponse.md -docs/GetPagesPublicResponse.md docs/GetPendingWebhookEventCountResponse.md -docs/GetPendingWebhookEventCountResponse1.md docs/GetPendingWebhookEventsResponse.md -docs/GetPendingWebhookEventsResponse1.md -docs/GetPreBanSummaryResponse.md docs/GetPublicFeedPostsResponse.md docs/GetPublicPagesResponse.md docs/GetQuestionConfigResponse.md -docs/GetQuestionConfigResponse1.md docs/GetQuestionConfigsResponse.md -docs/GetQuestionConfigsResponse1.md docs/GetQuestionResultResponse.md -docs/GetQuestionResultResponse1.md docs/GetQuestionResultsResponse.md -docs/GetQuestionResultsResponse1.md docs/GetSSOUserByEmailAPIResponse.md docs/GetSSOUserByIdAPIResponse.md docs/GetSSOUsersResponse.md -docs/GetSearchCommentsSummaryResponse.md -docs/GetSearchPagesResponse.md -docs/GetSearchSitesResponse.md -docs/GetSearchSuggestResponse.md -docs/GetSearchUsersResponse.md docs/GetSubscriptionsAPIResponse.md docs/GetTenantDailyUsagesResponse.md -docs/GetTenantDailyUsagesResponse1.md docs/GetTenantManualBadgesResponse.md docs/GetTenantPackageResponse.md -docs/GetTenantPackageResponse1.md docs/GetTenantPackagesResponse.md -docs/GetTenantPackagesResponse1.md docs/GetTenantResponse.md -docs/GetTenantResponse1.md docs/GetTenantUserResponse.md -docs/GetTenantUserResponse1.md docs/GetTenantUsersResponse.md -docs/GetTenantUsersResponse1.md docs/GetTenantsResponse.md -docs/GetTenantsResponse1.md docs/GetTicketResponse.md -docs/GetTicketResponse1.md docs/GetTicketsResponse.md -docs/GetTicketsResponse1.md docs/GetTranslationsResponse.md -docs/GetTranslationsResponse1.md -docs/GetTrustFactorResponse.md -docs/GetUserBadgeProgressByIdResponse.md -docs/GetUserBadgeProgressByUserIdResponse.md -docs/GetUserBadgeProgressListResponse.md -docs/GetUserBadgeResponse.md -docs/GetUserBadgesResponse.md -docs/GetUserBanPreferenceResponse.md docs/GetUserInternalProfileResponse.md -docs/GetUserInternalProfileResponse1.md docs/GetUserInternalProfileResponseProfile.md docs/GetUserManualBadgesResponse.md docs/GetUserNotificationCountResponse.md -docs/GetUserNotificationCountResponse1.md -docs/GetUserNotificationsResponse.md docs/GetUserPresenceStatusesResponse.md -docs/GetUserPresenceStatusesResponse1.md -docs/GetUserReactsPublicResponse.md docs/GetUserResponse.md -docs/GetUserResponse1.md docs/GetUserTrustFactorResponse.md -docs/GetUsersInfoResponse.md docs/GetV1PageLikes.md -docs/GetV1PageLikesResponse.md docs/GetV2PageReactUsersResponse.md -docs/GetV2PageReactUsersResponse1.md docs/GetV2PageReacts.md -docs/GetV2PageReactsResponse.md docs/GetVotesForUserResponse.md -docs/GetVotesForUserResponse1.md docs/GetVotesResponse.md -docs/GetVotesResponse1.md docs/GifGetLargeResponse.md docs/GifRating.md docs/GifSearchInternalError.md @@ -908,7 +605,6 @@ docs/ImportedSiteType.md docs/LiveEvent.md docs/LiveEventExtraInfo.md docs/LiveEventType.md -docs/LockCommentResponse.md docs/MediaAsset.md docs/MentionAutoCompleteMode.md docs/MetaItem.md @@ -943,26 +639,10 @@ docs/PageUsersOnlineResponse.md docs/PagesSortBy.md docs/PatchDomainConfigParams.md docs/PatchDomainConfigResponse.md -docs/PatchHashTagResponse.md docs/PatchPageAPIResponse.md docs/PatchSSOUserAPIResponse.md docs/PendingCommentToSyncOutbound.md -docs/PinCommentResponse.md -docs/PostAdjustCommentVotesResponse.md -docs/PostApiExportResponse.md -docs/PostBanUserFromCommentResponse.md -docs/PostBanUserUndoResponse.md -docs/PostBulkPreBanSummaryResponse.md -docs/PostCommentsByIdsResponse.md -docs/PostFlagCommentResponse.md docs/PostRemoveCommentResponse.md -docs/PostRestoreDeletedCommentResponse.md -docs/PostSetCommentApprovalStatusResponse.md -docs/PostSetCommentReviewStatusResponse.md -docs/PostSetCommentSpamStatusResponse.md -docs/PostSetCommentTextResponse.md -docs/PostUnFlagCommentResponse.md -docs/PostVoteResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -977,11 +657,7 @@ docs/PublicCommentBase.md docs/PublicFeedPostsResponse.md docs/PublicPage.md docs/PublicVote.md -docs/PutAwardBadgeResponse.md -docs/PutCloseThreadResponse.md docs/PutDomainConfigResponse.md -docs/PutRemoveBadgeResponse.md -docs/PutReopenThreadResponse.md docs/PutSSOUserAPIResponse.md docs/QueryPredicate.md docs/QueryPredicateValue.md @@ -994,42 +670,30 @@ docs/QuestionResultAggregationOverall.md docs/QuestionSubQuestionVisibility.md docs/QuestionWhenSave.md docs/ReactBodyParams.md -docs/ReactFeedPostPublicResponse.md docs/ReactFeedPostResponse.md docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md docs/RemoveCommentActionResponse.md docs/RemoveUserBadgeResponse.md docs/RenderEmailTemplateBody.md docs/RenderEmailTemplateResponse.md -docs/RenderEmailTemplateResponse1.md docs/RenderableUserNotification.md docs/RepeatCommentCheckIgnoredReason.md docs/RepeatCommentHandlingAction.md docs/ReplaceTenantPackageBody.md -docs/ReplaceTenantPackageResponse.md docs/ReplaceTenantUserBody.md -docs/ReplaceTenantUserResponse.md -docs/ResetUserNotificationCountResponse.md docs/ResetUserNotificationsResponse.md -docs/ResetUserNotificationsResponse1.md docs/SORTDIR.md docs/SSOSecurityLevel.md -docs/SaveCommentResponse.md docs/SaveCommentResponseOptimized.md docs/SaveCommentsBulkResponse.md docs/SaveCommentsResponseWithPresence.md docs/SearchUsersResponse.md -docs/SearchUsersResponse1.md docs/SearchUsersResult.md docs/SearchUsersSectionedResponse.md -docs/SendInviteResponse.md -docs/SendLoginLinkResponse.md docs/SetCommentApprovedResponse.md docs/SetCommentTextParams.md docs/SetCommentTextResponse.md -docs/SetCommentTextResponse1.md docs/SetCommentTextResult.md -docs/SetTrustFactorResponse.md docs/SetUserTrustFactorResponse.md docs/SizePreset.md docs/SortDirections.md @@ -1038,43 +702,26 @@ docs/TOSConfig.md docs/TenantBadge.md docs/TenantHashTag.md docs/TenantPackage.md -docs/UnBlockCommentPublicResponse.md docs/UnBlockFromCommentParams.md -docs/UnBlockUserFromCommentResponse.md -docs/UnFlagCommentResponse.md -docs/UnLockCommentResponse.md -docs/UnPinCommentResponse.md docs/UnblockSuccess.md docs/UpdatableCommentParams.md docs/UpdateAPIPageData.md docs/UpdateAPISSOUserData.md docs/UpdateAPIUserSubscriptionData.md -docs/UpdateCommentResponse.md docs/UpdateDomainConfigParams.md docs/UpdateEmailTemplateBody.md -docs/UpdateEmailTemplateResponse.md docs/UpdateFeedPostParams.md -docs/UpdateFeedPostPublicResponse.md -docs/UpdateFeedPostResponse.md docs/UpdateHashTagBody.md docs/UpdateHashTagResponse.md docs/UpdateModeratorBody.md -docs/UpdateModeratorResponse.md docs/UpdateNotificationBody.md -docs/UpdateNotificationResponse.md docs/UpdateQuestionConfigBody.md -docs/UpdateQuestionConfigResponse.md docs/UpdateQuestionResultBody.md -docs/UpdateQuestionResultResponse.md docs/UpdateSubscriptionAPIResponse.md docs/UpdateTenantBody.md docs/UpdateTenantPackageBody.md -docs/UpdateTenantPackageResponse.md -docs/UpdateTenantResponse.md docs/UpdateTenantUserBody.md -docs/UpdateTenantUserResponse.md docs/UpdateUserBadgeParams.md -docs/UpdateUserBadgeResponse.md docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md docs/UpdateUserNotificationPageSubscriptionStatusResponse.md docs/UpdateUserNotificationStatusResponse.md @@ -1093,7 +740,6 @@ docs/UserSearchSectionResult.md docs/UserSessionInfo.md docs/UsersListLocation.md docs/VoteBodyParams.md -docs/VoteCommentResponse.md docs/VoteDeleteResponse.md docs/VoteResponse.md docs/VoteResponseUser.md diff --git a/client/FastCommentsSwift/APIs/DefaultAPI.swift b/client/FastCommentsSwift/APIs/DefaultAPI.swift index 8582465..593612c 100644 --- a/client/FastCommentsSwift/APIs/DefaultAPI.swift +++ b/client/FastCommentsSwift/APIs/DefaultAPI.swift @@ -56,9 +56,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter createHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: AddHashTagResponse + - returns: CreateHashTagResponse */ - open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddHashTagResponse { + open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { return try await addHashTagWithRequestBuilder(tenantId: tenantId, createHashTagBody: createHashTagBody, apiConfiguration: apiConfiguration).execute().body } @@ -70,9 +70,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter createHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func addHashTagWithRequestBuilder(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagWithRequestBuilder(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createHashTagBody, codableHelper: apiConfiguration.codableHelper) @@ -88,7 +88,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -98,9 +98,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter bulkCreateHashTagsBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: AddHashTagsBulkResponse + - returns: BulkCreateHashTagsResponse */ - open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddHashTagsBulkResponse { + open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { return try await addHashTagsBulkWithRequestBuilder(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody, apiConfiguration: apiConfiguration).execute().body } @@ -112,9 +112,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter bulkCreateHashTagsBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func addHashTagsBulkWithRequestBuilder(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagsBulkWithRequestBuilder(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkCreateHashTagsBody, codableHelper: apiConfiguration.codableHelper) @@ -130,7 +130,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -278,9 +278,9 @@ open class DefaultAPI { - parameter startDate: (query) (optional) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: AggregateQuestionResultsResponse1 + - returns: AggregateQuestionResultsResponse */ - open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse1 { + open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { return try await aggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body } @@ -297,9 +297,9 @@ open class DefaultAPI { - parameter startDate: (query) (optional) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -321,7 +321,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -334,9 +334,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BlockUserFromCommentResponse + - returns: BlockSuccess */ - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockUserFromCommentResponse { + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { return try await blockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -351,9 +351,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -374,7 +374,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -385,9 +385,9 @@ open class DefaultAPI { - parameter bulkAggregateQuestionResultsRequest: (body) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BulkAggregateQuestionResultsResponse1 + - returns: BulkAggregateQuestionResultsResponse */ - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse1 { + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { return try await bulkAggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body } @@ -400,9 +400,9 @@ open class DefaultAPI { - parameter bulkAggregateQuestionResultsRequest: (body) - parameter forceRecalculate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkAggregateQuestionResultsRequest, codableHelper: apiConfiguration.codableHelper) @@ -419,7 +419,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -431,9 +431,9 @@ open class DefaultAPI { - parameter id: (path) - parameter changeTicketStateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: ChangeTicketStateResponse1 + - returns: ChangeTicketStateResponse */ - open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse1 { + open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse { return try await changeTicketStateWithRequestBuilder(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody, apiConfiguration: apiConfiguration).execute().body } @@ -447,9 +447,9 @@ open class DefaultAPI { - parameter id: (path) - parameter changeTicketStateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func changeTicketStateWithRequestBuilder(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func changeTicketStateWithRequestBuilder(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tickets/{id}/state" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -469,7 +469,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -486,9 +486,9 @@ open class DefaultAPI { - parameter maxValue: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CombineCommentsWithQuestionResultsResponse + - returns: CombineQuestionResultsWithCommentsResponse */ - open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineCommentsWithQuestionResultsResponse { + open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { return try await combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit, apiConfiguration: apiConfiguration).execute().body } @@ -507,9 +507,9 @@ open class DefaultAPI { - parameter maxValue: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation/combine/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -533,7 +533,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -543,9 +543,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateEmailTemplateResponse1 + - returns: CreateEmailTemplateResponse */ - open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse1 { + open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse { return try await createEmailTemplateWithRequestBuilder(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body } @@ -557,9 +557,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createEmailTemplateWithRequestBuilder(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createEmailTemplateWithRequestBuilder(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -575,7 +575,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -589,9 +589,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter skipDupCheck: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateFeedPostResponse1 + - returns: CreateFeedPostsResponse */ - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse1 { + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { return try await createFeedPostWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck, apiConfiguration: apiConfiguration).execute().body } @@ -607,9 +607,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter skipDupCheck: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createFeedPostParams, codableHelper: apiConfiguration.codableHelper) @@ -629,7 +629,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -639,9 +639,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateModeratorResponse1 + - returns: CreateModeratorResponse */ - open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse1 { + open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse { return try await createModeratorWithRequestBuilder(tenantId: tenantId, createModeratorBody: createModeratorBody, apiConfiguration: apiConfiguration).execute().body } @@ -653,9 +653,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createModeratorWithRequestBuilder(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createModeratorWithRequestBuilder(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createModeratorBody, codableHelper: apiConfiguration.codableHelper) @@ -671,7 +671,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -681,9 +681,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateQuestionConfigResponse1 + - returns: CreateQuestionConfigResponse */ - open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse1 { + open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse { return try await createQuestionConfigWithRequestBuilder(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body } @@ -695,9 +695,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createQuestionConfigWithRequestBuilder(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createQuestionConfigWithRequestBuilder(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionConfigBody, codableHelper: apiConfiguration.codableHelper) @@ -713,7 +713,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -723,9 +723,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateQuestionResultResponse1 + - returns: CreateQuestionResultResponse */ - open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse1 { + open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse { return try await createQuestionResultWithRequestBuilder(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody, apiConfiguration: apiConfiguration).execute().body } @@ -737,9 +737,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createQuestionResultWithRequestBuilder(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createQuestionResultWithRequestBuilder(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionResultBody, codableHelper: apiConfiguration.codableHelper) @@ -755,7 +755,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -807,9 +807,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTenantResponse1 + - returns: CreateTenantResponse */ - open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse1 { + open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse { return try await createTenantWithRequestBuilder(tenantId: tenantId, createTenantBody: createTenantBody, apiConfiguration: apiConfiguration).execute().body } @@ -821,9 +821,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTenantWithRequestBuilder(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantWithRequestBuilder(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantBody, codableHelper: apiConfiguration.codableHelper) @@ -839,7 +839,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -849,9 +849,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTenantPackageResponse1 + - returns: CreateTenantPackageResponse */ - open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse1 { + open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse { return try await createTenantPackageWithRequestBuilder(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } @@ -863,9 +863,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTenantPackageWithRequestBuilder(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantPackageWithRequestBuilder(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantPackageBody, codableHelper: apiConfiguration.codableHelper) @@ -881,7 +881,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -891,9 +891,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantUserBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTenantUserResponse1 + - returns: CreateTenantUserResponse */ - open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse1 { + open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse { return try await createTenantUserWithRequestBuilder(tenantId: tenantId, createTenantUserBody: createTenantUserBody, apiConfiguration: apiConfiguration).execute().body } @@ -905,9 +905,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createTenantUserBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTenantUserWithRequestBuilder(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantUserWithRequestBuilder(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantUserBody, codableHelper: apiConfiguration.codableHelper) @@ -923,7 +923,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -934,9 +934,9 @@ open class DefaultAPI { - parameter userId: (query) - parameter createTicketBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateTicketResponse1 + - returns: CreateTicketResponse */ - open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse1 { + open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse { return try await createTicketWithRequestBuilder(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody, apiConfiguration: apiConfiguration).execute().body } @@ -949,9 +949,9 @@ open class DefaultAPI { - parameter userId: (query) - parameter createTicketBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createTicketWithRequestBuilder(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTicketWithRequestBuilder(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTicketBody, codableHelper: apiConfiguration.codableHelper) @@ -968,7 +968,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -978,9 +978,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateUserBadgeResponse + - returns: APICreateUserBadgeResponse */ - open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateUserBadgeResponse { + open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APICreateUserBadgeResponse { return try await createUserBadgeWithRequestBuilder(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams, apiConfiguration: apiConfiguration).execute().body } @@ -992,9 +992,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter createUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createUserBadgeWithRequestBuilder(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createUserBadgeWithRequestBuilder(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createUserBadgeParams, codableHelper: apiConfiguration.codableHelper) @@ -1010,7 +1010,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1031,9 +1031,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateVoteResponse + - returns: VoteResponse */ - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateVoteResponse { + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { return try await createVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1048,9 +1048,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1070,7 +1070,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1082,9 +1082,9 @@ open class DefaultAPI { - parameter contextUserId: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteCommentResponse + - returns: DeleteCommentResult */ - open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResponse { + open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { return try await deleteCommentWithRequestBuilder(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive, apiConfiguration: apiConfiguration).execute().body } @@ -1098,9 +1098,9 @@ open class DefaultAPI { - parameter contextUserId: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1121,7 +1121,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1176,9 +1176,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteEmailTemplateResponse + - returns: APIEmptyResponse */ - open class func deleteEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteEmailTemplateResponse { + open class func deleteEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1190,9 +1190,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1211,7 +1211,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1222,9 +1222,9 @@ open class DefaultAPI { - parameter id: (path) - parameter errorId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteEmailTemplateRenderErrorResponse + - returns: APIEmptyResponse */ - open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteEmailTemplateRenderErrorResponse { + open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: tenantId, id: id, errorId: errorId, apiConfiguration: apiConfiguration).execute().body } @@ -1237,9 +1237,9 @@ open class DefaultAPI { - parameter id: (path) - parameter errorId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}/render-errors/{errorId}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1261,7 +1261,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1272,9 +1272,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter deleteHashTagRequestBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteHashTagResponse + - returns: APIEmptyResponse */ - open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteHashTagResponse { + open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteHashTagWithRequestBuilder(tag: tag, tenantId: tenantId, deleteHashTagRequestBody: deleteHashTagRequestBody, apiConfiguration: apiConfiguration).execute().body } @@ -1287,9 +1287,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter deleteHashTagRequestBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1308,7 +1308,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1319,9 +1319,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sendEmail: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteModeratorResponse + - returns: APIEmptyResponse */ - open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteModeratorResponse { + open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteModeratorWithRequestBuilder(tenantId: tenantId, id: id, sendEmail: sendEmail, apiConfiguration: apiConfiguration).execute().body } @@ -1334,9 +1334,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sendEmail: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1356,7 +1356,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1366,9 +1366,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteNotificationCountResponse + - returns: APIEmptyResponse */ - open class func deleteNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteNotificationCountResponse { + open class func deleteNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1380,9 +1380,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1401,7 +1401,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1456,9 +1456,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeletePendingWebhookEventResponse + - returns: APIEmptyResponse */ - open class func deletePendingWebhookEvent(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeletePendingWebhookEventResponse { + open class func deletePendingWebhookEvent(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deletePendingWebhookEventWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1470,9 +1470,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deletePendingWebhookEventWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deletePendingWebhookEventWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/pending-webhook-events/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1491,7 +1491,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1501,9 +1501,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteQuestionConfigResponse + - returns: APIEmptyResponse */ - open class func deleteQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteQuestionConfigResponse { + open class func deleteQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1515,9 +1515,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1536,7 +1536,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1546,9 +1546,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteQuestionResultResponse + - returns: APIEmptyResponse */ - open class func deleteQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteQuestionResultResponse { + open class func deleteQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1560,9 +1560,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1581,7 +1581,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1691,9 +1691,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sure: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteTenantResponse + - returns: APIEmptyResponse */ - open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteTenantResponse { + open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteTenantWithRequestBuilder(tenantId: tenantId, id: id, sure: sure, apiConfiguration: apiConfiguration).execute().body } @@ -1706,9 +1706,9 @@ open class DefaultAPI { - parameter id: (path) - parameter sure: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1728,7 +1728,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1738,9 +1738,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteTenantPackageResponse + - returns: APIEmptyResponse */ - open class func deleteTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteTenantPackageResponse { + open class func deleteTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1752,9 +1752,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1773,7 +1773,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1785,9 +1785,9 @@ open class DefaultAPI { - parameter deleteComments: (query) (optional) - parameter commentDeleteMode: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteTenantUserResponse + - returns: APIEmptyResponse */ - open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteTenantUserResponse { + open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteTenantUserWithRequestBuilder(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode, apiConfiguration: apiConfiguration).execute().body } @@ -1801,9 +1801,9 @@ open class DefaultAPI { - parameter deleteComments: (query) (optional) - parameter commentDeleteMode: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1824,7 +1824,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1834,9 +1834,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteUserBadgeResponse + - returns: APIEmptySuccessResponse */ - open class func deleteUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteUserBadgeResponse { + open class func deleteUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { return try await deleteUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1848,9 +1848,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1869,7 +1869,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1880,9 +1880,9 @@ open class DefaultAPI { - parameter id: (path) - parameter editKey: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteVoteResponse + - returns: VoteDeleteResponse */ - open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteVoteResponse { + open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { return try await deleteVoteWithRequestBuilder(tenantId: tenantId, id: id, editKey: editKey, apiConfiguration: apiConfiguration).execute().body } @@ -1895,9 +1895,9 @@ open class DefaultAPI { - parameter id: (path) - parameter editKey: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/votes/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1917,7 +1917,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1929,9 +1929,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: FlagCommentResponse1 + - returns: FlagCommentResponse */ - open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse1 { + open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { return try await flagCommentWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1945,9 +1945,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func flagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1968,7 +1968,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -1982,9 +1982,9 @@ open class DefaultAPI { - parameter after: (query) (optional) - parameter before: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetAuditLogsResponse1 + - returns: GetAuditLogsResponse */ - open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse1 { + open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { return try await getAuditLogsWithRequestBuilder(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before, apiConfiguration: apiConfiguration).execute().body } @@ -2000,9 +2000,9 @@ open class DefaultAPI { - parameter after: (query) (optional) - parameter before: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getAuditLogsWithRequestBuilder(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getAuditLogsWithRequestBuilder(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/audit-logs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2023,7 +2023,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2033,9 +2033,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCachedNotificationCountResponse1 + - returns: GetCachedNotificationCountResponse */ - open class func getCachedNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse1 { + open class func getCachedNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse { return try await getCachedNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2047,9 +2047,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCachedNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCachedNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2068,7 +2068,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2078,9 +2078,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentResponse + - returns: APIGetCommentResponse */ - open class func getComment(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentResponse { + open class func getComment(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentResponse { return try await getCommentWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2092,9 +2092,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2113,7 +2113,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2138,9 +2138,9 @@ open class DefaultAPI { - parameter fromDate: (query) (optional) - parameter toDate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentsResponse + - returns: APIGetCommentsResponse */ - open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponse { + open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { return try await getCommentsWithRequestBuilder(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate, apiConfiguration: apiConfiguration).execute().body } @@ -2167,9 +2167,9 @@ open class DefaultAPI { - parameter fromDate: (query) (optional) - parameter toDate: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentsWithRequestBuilder(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsWithRequestBuilder(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2201,7 +2201,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2296,9 +2296,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplateResponse1 + - returns: GetEmailTemplateResponse */ - open class func getEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse1 { + open class func getEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse { return try await getEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2310,9 +2310,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2331,7 +2331,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2340,9 +2340,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplateDefinitionsResponse1 + - returns: GetEmailTemplateDefinitionsResponse */ - open class func getEmailTemplateDefinitions(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse1 { + open class func getEmailTemplateDefinitions(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse { return try await getEmailTemplateDefinitionsWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } @@ -2353,9 +2353,9 @@ open class DefaultAPI { - name: api_key - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplateDefinitionsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateDefinitionsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates/definitions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2371,7 +2371,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2382,9 +2382,9 @@ open class DefaultAPI { - parameter id: (path) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplateRenderErrorsResponse1 + - returns: GetEmailTemplateRenderErrorsResponse */ - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse1 { + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { return try await getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: tenantId, id: id, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2397,9 +2397,9 @@ open class DefaultAPI { - parameter id: (path) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}/render-errors" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2419,7 +2419,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2429,9 +2429,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEmailTemplatesResponse1 + - returns: GetEmailTemplatesResponse */ - open class func getEmailTemplates(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse1 { + open class func getEmailTemplates(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { return try await getEmailTemplatesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2443,9 +2443,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEmailTemplatesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplatesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2462,7 +2462,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2474,9 +2474,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter tags: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetFeedPostsResponse1 + - returns: GetFeedPostsResponse */ - open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse1 { + open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { return try await getFeedPostsWithRequestBuilder(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, apiConfiguration: apiConfiguration).execute().body } @@ -2491,9 +2491,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter tags: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getFeedPostsWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2512,7 +2512,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2522,9 +2522,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter page: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetHashTagsResponse1 + - returns: GetHashTagsResponse */ - open class func getHashTags(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse1 { + open class func getHashTags(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { return try await getHashTagsWithRequestBuilder(tenantId: tenantId, page: page, apiConfiguration: apiConfiguration).execute().body } @@ -2536,9 +2536,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter page: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getHashTagsWithRequestBuilder(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getHashTagsWithRequestBuilder(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2555,7 +2555,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2565,9 +2565,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetModeratorResponse1 + - returns: GetModeratorResponse */ - open class func getModerator(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse1 { + open class func getModerator(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse { return try await getModeratorWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2579,9 +2579,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModeratorWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModeratorWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2600,7 +2600,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2610,9 +2610,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetModeratorsResponse1 + - returns: GetModeratorsResponse */ - open class func getModerators(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse1 { + open class func getModerators(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { return try await getModeratorsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2624,9 +2624,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModeratorsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModeratorsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2643,7 +2643,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2657,9 +2657,9 @@ open class DefaultAPI { - parameter viewed: (query) (optional) - parameter type: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetNotificationCountResponse1 + - returns: GetNotificationCountResponse */ - open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse1 { + open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { return try await getNotificationCountWithRequestBuilder(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, apiConfiguration: apiConfiguration).execute().body } @@ -2675,9 +2675,9 @@ open class DefaultAPI { - parameter viewed: (query) (optional) - parameter type: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getNotificationCountWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationCountWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/notifications/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2698,7 +2698,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2713,9 +2713,9 @@ open class DefaultAPI { - parameter type: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetNotificationsResponse1 + - returns: GetNotificationsResponse */ - open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse1 { + open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { return try await getNotificationsWithRequestBuilder(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2732,9 +2732,9 @@ open class DefaultAPI { - parameter type: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getNotificationsWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationsWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2756,7 +2756,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2854,9 +2854,9 @@ open class DefaultAPI { - parameter domain: (query) (optional) - parameter attemptCountGT: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPendingWebhookEventCountResponse1 + - returns: GetPendingWebhookEventCountResponse */ - open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse1 { + open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { return try await getPendingWebhookEventCountWithRequestBuilder(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, apiConfiguration: apiConfiguration).execute().body } @@ -2873,9 +2873,9 @@ open class DefaultAPI { - parameter domain: (query) (optional) - parameter attemptCountGT: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pending-webhook-events/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2897,7 +2897,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2913,9 +2913,9 @@ open class DefaultAPI { - parameter attemptCountGT: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPendingWebhookEventsResponse1 + - returns: GetPendingWebhookEventsResponse */ - open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse1 { + open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { return try await getPendingWebhookEventsWithRequestBuilder(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -2933,9 +2933,9 @@ open class DefaultAPI { - parameter attemptCountGT: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pending-webhook-events" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2958,7 +2958,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -2968,9 +2968,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionConfigResponse1 + - returns: GetQuestionConfigResponse */ - open class func getQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse1 { + open class func getQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse { return try await getQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -2982,9 +2982,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3003,7 +3003,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3013,9 +3013,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionConfigsResponse1 + - returns: GetQuestionConfigsResponse */ - open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse1 { + open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { return try await getQuestionConfigsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3027,9 +3027,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionConfigsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionConfigsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3046,7 +3046,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3056,9 +3056,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionResultResponse1 + - returns: GetQuestionResultResponse */ - open class func getQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse1 { + open class func getQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse { return try await getQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3070,9 +3070,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3091,7 +3091,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3106,9 +3106,9 @@ open class DefaultAPI { - parameter questionIds: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetQuestionResultsResponse1 + - returns: GetQuestionResultsResponse */ - open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse1 { + open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { return try await getQuestionResultsWithRequestBuilder(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3125,9 +3125,9 @@ open class DefaultAPI { - parameter questionIds: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getQuestionResultsWithRequestBuilder(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultsWithRequestBuilder(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3149,7 +3149,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3335,9 +3335,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantResponse1 + - returns: GetTenantResponse */ - open class func getTenant(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse1 { + open class func getTenant(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse { return try await getTenantWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3349,9 +3349,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3370,7 +3370,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3383,9 +3383,9 @@ open class DefaultAPI { - parameter dayNumber: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantDailyUsagesResponse1 + - returns: GetTenantDailyUsagesResponse */ - open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse1 { + open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { return try await getTenantDailyUsagesWithRequestBuilder(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3400,9 +3400,9 @@ open class DefaultAPI { - parameter dayNumber: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-daily-usage" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3422,7 +3422,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3432,9 +3432,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantPackageResponse1 + - returns: GetTenantPackageResponse */ - open class func getTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse1 { + open class func getTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse { return try await getTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3446,9 +3446,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3467,7 +3467,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3477,9 +3477,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantPackagesResponse1 + - returns: GetTenantPackagesResponse */ - open class func getTenantPackages(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse1 { + open class func getTenantPackages(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { return try await getTenantPackagesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3491,9 +3491,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantPackagesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantPackagesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3510,7 +3510,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3520,9 +3520,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantUserResponse1 + - returns: GetTenantUserResponse */ - open class func getTenantUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse1 { + open class func getTenantUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse { return try await getTenantUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3534,9 +3534,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3555,7 +3555,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3565,9 +3565,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantUsersResponse1 + - returns: GetTenantUsersResponse */ - open class func getTenantUsers(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse1 { + open class func getTenantUsers(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { return try await getTenantUsersWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3579,9 +3579,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantUsersWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantUsersWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3598,7 +3598,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3609,9 +3609,9 @@ open class DefaultAPI { - parameter meta: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTenantsResponse1 + - returns: GetTenantsResponse */ - open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse1 { + open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { return try await getTenantsWithRequestBuilder(tenantId: tenantId, meta: meta, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3624,9 +3624,9 @@ open class DefaultAPI { - parameter meta: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTenantsWithRequestBuilder(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantsWithRequestBuilder(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3644,7 +3644,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3655,9 +3655,9 @@ open class DefaultAPI { - parameter id: (path) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTicketResponse1 + - returns: GetTicketResponse */ - open class func getTicket(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse1 { + open class func getTicket(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { return try await getTicketWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, apiConfiguration: apiConfiguration).execute().body } @@ -3670,9 +3670,9 @@ open class DefaultAPI { - parameter id: (path) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTicketWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tickets/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3692,7 +3692,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3705,9 +3705,9 @@ open class DefaultAPI { - parameter skip: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTicketsResponse1 + - returns: GetTicketsResponse */ - open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse1 { + open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { return try await getTicketsWithRequestBuilder(tenantId: tenantId, userId: userId, state: state, skip: skip, limit: limit, apiConfiguration: apiConfiguration).execute().body } @@ -3722,9 +3722,9 @@ open class DefaultAPI { - parameter skip: (query) (optional) - parameter limit: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTicketsWithRequestBuilder(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketsWithRequestBuilder(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3744,7 +3744,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3754,9 +3754,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserResponse1 + - returns: GetUserResponse */ - open class func getUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse1 { + open class func getUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse { return try await getUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3768,9 +3768,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3789,7 +3789,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3799,9 +3799,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserBadgeResponse + - returns: APIGetUserBadgeResponse */ - open class func getUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeResponse { + open class func getUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeResponse { return try await getUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3813,9 +3813,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3834,7 +3834,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3844,9 +3844,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserBadgeProgressByIdResponse + - returns: APIGetUserBadgeProgressResponse */ - open class func getUserBadgeProgressById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeProgressByIdResponse { + open class func getUserBadgeProgressById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { return try await getUserBadgeProgressByIdWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -3858,9 +3858,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter id: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeProgressByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badge-progress/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3879,7 +3879,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3889,9 +3889,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter userId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserBadgeProgressByUserIdResponse + - returns: APIGetUserBadgeProgressResponse */ - open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeProgressByUserIdResponse { + open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { return try await getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: tenantId, userId: userId, apiConfiguration: apiConfiguration).execute().body } @@ -3903,9 +3903,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter userId: (path) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badge-progress/user/{userId}" let userIdPreEscape = "\(APIHelper.mapValueToPathItem(userId))" let userIdPostEscape = userIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3924,7 +3924,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3936,9 +3936,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserBadgeProgressListResponse + - returns: APIGetUserBadgeProgressListResponse */ - open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgeProgressListResponse { + open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { return try await getUserBadgeProgressListWithRequestBuilder(tenantId: tenantId, userId: userId, limit: limit, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -3952,9 +3952,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badge-progress" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3973,7 +3973,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -3988,9 +3988,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserBadgesResponse + - returns: APIGetUserBadgesResponse */ - open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBadgesResponse { + open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { return try await getUserBadgesWithRequestBuilder(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip, apiConfiguration: apiConfiguration).execute().body } @@ -4007,9 +4007,9 @@ open class DefaultAPI { - parameter limit: (query) (optional) - parameter skip: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBadgesWithRequestBuilder(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgesWithRequestBuilder(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4031,7 +4031,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4041,9 +4041,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetVotesResponse1 + - returns: GetVotesResponse */ - open class func getVotes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse1 { + open class func getVotes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse { return try await getVotesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -4055,9 +4055,9 @@ open class DefaultAPI { - parameter tenantId: (query) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getVotesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4074,7 +4074,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4086,9 +4086,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetVotesForUserResponse1 + - returns: GetVotesForUserResponse */ - open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse1 { + open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { return try await getVotesForUserWithRequestBuilder(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -4102,9 +4102,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes/for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4123,7 +4123,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4181,9 +4181,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter updateHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PatchHashTagResponse + - returns: UpdateHashTagResponse */ - open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchHashTagResponse { + open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { return try await patchHashTagWithRequestBuilder(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody, apiConfiguration: apiConfiguration).execute().body } @@ -4196,9 +4196,9 @@ open class DefaultAPI { - parameter tenantId: (query) (optional) - parameter updateHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func patchHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4217,7 +4217,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4422,9 +4422,9 @@ open class DefaultAPI { - parameter renderEmailTemplateBody: (body) - parameter locale: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RenderEmailTemplateResponse1 + - returns: RenderEmailTemplateResponse */ - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse1 { + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { return try await renderEmailTemplateWithRequestBuilder(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale, apiConfiguration: apiConfiguration).execute().body } @@ -4437,9 +4437,9 @@ open class DefaultAPI { - parameter renderEmailTemplateBody: (body) - parameter locale: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates/render" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: renderEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -4456,7 +4456,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4467,9 +4467,9 @@ open class DefaultAPI { - parameter id: (path) - parameter replaceTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: ReplaceTenantPackageResponse + - returns: APIEmptyResponse */ - open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReplaceTenantPackageResponse { + open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await replaceTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } @@ -4482,9 +4482,9 @@ open class DefaultAPI { - parameter id: (path) - parameter replaceTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func replaceTenantPackageWithRequestBuilder(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func replaceTenantPackageWithRequestBuilder(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4503,7 +4503,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4515,9 +4515,9 @@ open class DefaultAPI { - parameter replaceTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ReplaceTenantUserResponse + - returns: APIEmptyResponse */ - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReplaceTenantUserResponse { + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await replaceTenantUserWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } @@ -4531,9 +4531,9 @@ open class DefaultAPI { - parameter replaceTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4553,7 +4553,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4567,9 +4567,9 @@ open class DefaultAPI { - parameter sendEmails: (query) (optional) - parameter populateNotifications: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SaveCommentResponse + - returns: APISaveCommentResponse */ - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentResponse { + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { return try await saveCommentWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications, apiConfiguration: apiConfiguration).execute().body } @@ -4585,9 +4585,9 @@ open class DefaultAPI { - parameter sendEmails: (query) (optional) - parameter populateNotifications: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createCommentParams, codableHelper: apiConfiguration.codableHelper) @@ -4607,7 +4607,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4672,9 +4672,9 @@ open class DefaultAPI { - parameter id: (path) - parameter fromName: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: SendInviteResponse + - returns: APIEmptyResponse */ - open class func sendInvite(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SendInviteResponse { + open class func sendInvite(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await sendInviteWithRequestBuilder(tenantId: tenantId, id: id, fromName: fromName, apiConfiguration: apiConfiguration).execute().body } @@ -4687,9 +4687,9 @@ open class DefaultAPI { - parameter id: (path) - parameter fromName: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func sendInviteWithRequestBuilder(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func sendInviteWithRequestBuilder(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}/send-invite" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4709,7 +4709,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4720,9 +4720,9 @@ open class DefaultAPI { - parameter id: (path) - parameter redirectURL: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SendLoginLinkResponse + - returns: APIEmptyResponse */ - open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SendLoginLinkResponse { + open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await sendLoginLinkWithRequestBuilder(tenantId: tenantId, id: id, redirectURL: redirectURL, apiConfiguration: apiConfiguration).execute().body } @@ -4735,9 +4735,9 @@ open class DefaultAPI { - parameter id: (path) - parameter redirectURL: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}/send-login-link" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4757,7 +4757,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4770,9 +4770,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnBlockUserFromCommentResponse + - returns: UnblockSuccess */ - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnBlockUserFromCommentResponse { + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { return try await unBlockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -4787,9 +4787,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/un-block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4810,7 +4810,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4822,9 +4822,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnFlagCommentResponse + - returns: FlagCommentResponse */ - open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnFlagCommentResponse { + open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { return try await unFlagCommentWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body } @@ -4838,9 +4838,9 @@ open class DefaultAPI { - parameter userId: (query) (optional) - parameter anonUserId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}/un-flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4861,7 +4861,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4875,9 +4875,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateCommentResponse + - returns: APIEmptyResponse */ - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateCommentResponse { + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateCommentWithRequestBuilder(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive, apiConfiguration: apiConfiguration).execute().body } @@ -4893,9 +4893,9 @@ open class DefaultAPI { - parameter doSpamCheck: (query) (optional) - parameter isLive: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4917,7 +4917,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4928,9 +4928,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateEmailTemplateResponse + - returns: APIEmptyResponse */ - open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateEmailTemplateResponse { + open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body } @@ -4943,9 +4943,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateEmailTemplateBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateEmailTemplateWithRequestBuilder(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateEmailTemplateWithRequestBuilder(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4964,7 +4964,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -4975,9 +4975,9 @@ open class DefaultAPI { - parameter id: (path) - parameter feedPost: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateFeedPostResponse + - returns: APIEmptyResponse */ - open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateFeedPostResponse { + open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateFeedPostWithRequestBuilder(tenantId: tenantId, id: id, feedPost: feedPost, apiConfiguration: apiConfiguration).execute().body } @@ -4990,9 +4990,9 @@ open class DefaultAPI { - parameter id: (path) - parameter feedPost: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateFeedPostWithRequestBuilder(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostWithRequestBuilder(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/feed-posts/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5011,7 +5011,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5022,9 +5022,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateModeratorResponse + - returns: APIEmptyResponse */ - open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateModeratorResponse { + open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateModeratorWithRequestBuilder(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody, apiConfiguration: apiConfiguration).execute().body } @@ -5037,9 +5037,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateModeratorBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateModeratorWithRequestBuilder(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateModeratorWithRequestBuilder(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5058,7 +5058,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5070,9 +5070,9 @@ open class DefaultAPI { - parameter updateNotificationBody: (body) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateNotificationResponse + - returns: APIEmptyResponse */ - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateNotificationResponse { + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateNotificationWithRequestBuilder(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId, apiConfiguration: apiConfiguration).execute().body } @@ -5086,9 +5086,9 @@ open class DefaultAPI { - parameter updateNotificationBody: (body) - parameter userId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notifications/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5108,7 +5108,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5119,9 +5119,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateQuestionConfigResponse + - returns: APIEmptyResponse */ - open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateQuestionConfigResponse { + open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body } @@ -5134,9 +5134,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionConfigBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateQuestionConfigWithRequestBuilder(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateQuestionConfigWithRequestBuilder(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5155,7 +5155,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5166,9 +5166,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateQuestionResultResponse + - returns: APIEmptyResponse */ - open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateQuestionResultResponse { + open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody, apiConfiguration: apiConfiguration).execute().body } @@ -5181,9 +5181,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateQuestionResultBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateQuestionResultWithRequestBuilder(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateQuestionResultWithRequestBuilder(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5202,7 +5202,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5263,9 +5263,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateTenantResponse + - returns: APIEmptyResponse */ - open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateTenantResponse { + open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateTenantWithRequestBuilder(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody, apiConfiguration: apiConfiguration).execute().body } @@ -5278,9 +5278,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateTenantWithRequestBuilder(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantWithRequestBuilder(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5299,7 +5299,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5310,9 +5310,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateTenantPackageResponse + - returns: APIEmptyResponse */ - open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateTenantPackageResponse { + open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } @@ -5325,9 +5325,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateTenantPackageBody: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateTenantPackageWithRequestBuilder(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantPackageWithRequestBuilder(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5346,7 +5346,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5358,9 +5358,9 @@ open class DefaultAPI { - parameter updateTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateTenantUserResponse + - returns: APIEmptyResponse */ - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateTenantUserResponse { + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateTenantUserWithRequestBuilder(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } @@ -5374,9 +5374,9 @@ open class DefaultAPI { - parameter updateTenantUserBody: (body) - parameter updateComments: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5396,7 +5396,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } @@ -5407,9 +5407,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateUserBadgeResponse + - returns: APIEmptySuccessResponse */ - open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserBadgeResponse { + open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { return try await updateUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams, apiConfiguration: apiConfiguration).execute().body } @@ -5422,9 +5422,9 @@ open class DefaultAPI { - parameter id: (path) - parameter updateUserBadgeParams: (body) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateUserBadgeWithRequestBuilder(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateUserBadgeWithRequestBuilder(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5443,7 +5443,7 @@ open class DefaultAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } diff --git a/client/FastCommentsSwift/APIs/ModerationAPI.swift b/client/FastCommentsSwift/APIs/ModerationAPI.swift index 17d98b1..84fa7a6 100644 --- a/client/FastCommentsSwift/APIs/ModerationAPI.swift +++ b/client/FastCommentsSwift/APIs/ModerationAPI.swift @@ -17,9 +17,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteModerationVoteResponse + - returns: VoteDeleteResponse */ - open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteModerationVoteResponse { + open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { return try await deleteModerationVoteWithRequestBuilder(commentId: commentId, voteId: voteId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -31,9 +31,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -57,7 +57,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -75,9 +75,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetApiCommentsResponse + - returns: ModerationAPIGetCommentsResponse */ - open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetApiCommentsResponse { + open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { return try await getApiCommentsWithRequestBuilder(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -94,9 +94,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getApiCommentsWithRequestBuilder(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiCommentsWithRequestBuilder(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -121,7 +121,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -132,9 +132,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetApiExportStatusResponse + - returns: ModerationExportStatusResponse */ - open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetApiExportStatusResponse { + open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { return try await getApiExportStatusWithRequestBuilder(batchJobId: batchJobId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -144,9 +144,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getApiExportStatusWithRequestBuilder(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiExportStatusWithRequestBuilder(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/export/status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -164,7 +164,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -180,9 +180,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetApiIdsResponse + - returns: ModerationAPIGetCommentIdsResponse */ - open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetApiIdsResponse { + open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { return try await getApiIdsWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -197,9 +197,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getApiIdsWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiIdsWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -222,7 +222,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -233,9 +233,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetBanUsersFromCommentResponse + - returns: GetBannedUsersFromCommentResponse */ - open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBanUsersFromCommentResponse { + open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { return try await getBanUsersFromCommentWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -245,9 +245,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -267,7 +267,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -278,9 +278,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentBanStatusResponse1 + - returns: GetCommentBanStatusResponse */ - open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse1 { + open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { return try await getCommentBanStatusWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -290,9 +290,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentBanStatusWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentBanStatusWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -312,7 +312,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -323,9 +323,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentChildrenResponse + - returns: ModerationAPIChildCommentsResponse */ - open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentChildrenResponse { + open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { return try await getCommentChildrenWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -335,9 +335,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentChildrenWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentChildrenWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/comment-children/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -357,7 +357,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -372,9 +372,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCountResponse + - returns: ModerationAPICountCommentsResponse */ - open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCountResponse { + open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { return try await getCountWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -388,9 +388,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCountWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -412,7 +412,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -422,9 +422,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCountsResponse + - returns: GetBannedUsersCountResponse */ - open class func getCounts(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCountsResponse { + open class func getCounts(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { return try await getCountsWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -433,9 +433,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCountsWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountsWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/banned-users/counts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -452,7 +452,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -463,9 +463,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetLogsResponse + - returns: ModerationAPIGetLogsResponse */ - open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetLogsResponse { + open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { return try await getLogsWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -475,9 +475,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getLogsWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getLogsWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/logs/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -497,7 +497,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -507,9 +507,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetManualBadgesResponse + - returns: GetTenantManualBadgesResponse */ - open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetManualBadgesResponse { + open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { return try await getManualBadgesWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -518,9 +518,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getManualBadgesWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -537,7 +537,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -549,9 +549,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetManualBadgesForUserResponse + - returns: GetUserManualBadgesResponse */ - open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetManualBadgesForUserResponse { + open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { return try await getManualBadgesForUserWithRequestBuilder(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -562,9 +562,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getManualBadgesForUserWithRequestBuilder(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesForUserWithRequestBuilder(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -583,7 +583,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -596,9 +596,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetModerationCommentResponse + - returns: ModerationAPICommentResponse */ - open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModerationCommentResponse { + open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { return try await getModerationCommentWithRequestBuilder(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -610,9 +610,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModerationCommentWithRequestBuilder(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentWithRequestBuilder(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -634,7 +634,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -645,9 +645,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetModerationCommentTextResponse + - returns: GetCommentTextResponse */ - open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModerationCommentTextResponse { + open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { return try await getModerationCommentTextWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -657,9 +657,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getModerationCommentTextWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentTextWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/get-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -679,7 +679,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -693,9 +693,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPreBanSummaryResponse + - returns: PreBanSummary */ - open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPreBanSummaryResponse { + open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { return try await getPreBanSummaryWithRequestBuilder(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -708,9 +708,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPreBanSummaryWithRequestBuilder(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPreBanSummaryWithRequestBuilder(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -733,7 +733,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -746,9 +746,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetSearchCommentsSummaryResponse + - returns: ModerationCommentSearchResponse */ - open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchCommentsSummaryResponse { + open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { return try await getSearchCommentsSummaryWithRequestBuilder(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -760,9 +760,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchCommentsSummaryWithRequestBuilder(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchCommentsSummaryWithRequestBuilder(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/comments/summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -782,7 +782,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -793,9 +793,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetSearchPagesResponse + - returns: ModerationPageSearchResponse */ - open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchPagesResponse { + open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { return try await getSearchPagesWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -805,9 +805,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchPagesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchPagesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -825,7 +825,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -836,9 +836,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetSearchSitesResponse + - returns: ModerationSiteSearchResponse */ - open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchSitesResponse { + open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { return try await getSearchSitesWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -848,9 +848,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchSitesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSitesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/sites" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -868,7 +868,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -879,9 +879,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetSearchSuggestResponse + - returns: ModerationSuggestResponse */ - open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchSuggestResponse { + open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { return try await getSearchSuggestWithRequestBuilder(textSearch: textSearch, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -891,9 +891,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchSuggestWithRequestBuilder(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSuggestWithRequestBuilder(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/suggest" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -911,7 +911,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -922,9 +922,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetSearchUsersResponse + - returns: ModerationUserSearchResponse */ - open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSearchUsersResponse { + open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { return try await getSearchUsersWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -934,9 +934,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getSearchUsersWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchUsersWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/search/users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -954,7 +954,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -965,9 +965,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTrustFactorResponse + - returns: GetUserTrustFactorResponse */ - open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTrustFactorResponse { + open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { return try await getTrustFactorWithRequestBuilder(userId: userId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -977,9 +977,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTrustFactorWithRequestBuilder(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTrustFactorWithRequestBuilder(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -997,7 +997,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1007,9 +1007,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserBanPreferenceResponse + - returns: APIModerateGetUserBanPreferencesResponse */ - open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserBanPreferenceResponse { + open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { return try await getUserBanPreferenceWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1018,9 +1018,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserBanPreferenceWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBanPreferenceWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/user-ban-preference" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1037,7 +1037,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1048,9 +1048,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserInternalProfileResponse1 + - returns: GetUserInternalProfileResponse */ - open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse1 { + open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { return try await getUserInternalProfileWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1060,9 +1060,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserInternalProfileWithRequestBuilder(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserInternalProfileWithRequestBuilder(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/get-user-internal-profile" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1080,7 +1080,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1093,9 +1093,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostAdjustCommentVotesResponse + - returns: AdjustVotesResponse */ - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostAdjustCommentVotesResponse { + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { return try await postAdjustCommentVotesWithRequestBuilder(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1107,9 +1107,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1130,7 +1130,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1145,9 +1145,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostApiExportResponse + - returns: ModerationExportResponse */ - open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostApiExportResponse { + open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { return try await postApiExportWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1161,9 +1161,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postApiExportWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postApiExportWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/api/export" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1185,7 +1185,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1204,9 +1204,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostBanUserFromCommentResponse + - returns: BanUserFromCommentResult */ - open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostBanUserFromCommentResponse { + open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { return try await postBanUserFromCommentWithRequestBuilder(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1224,9 +1224,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postBanUserFromCommentWithRequestBuilder(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserFromCommentWithRequestBuilder(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1254,7 +1254,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1265,9 +1265,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostBanUserUndoResponse + - returns: APIEmptyResponse */ - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostBanUserUndoResponse { + open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await postBanUserUndoWithRequestBuilder(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1277,9 +1277,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/ban-user/undo" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: banUserUndoParams, codableHelper: apiConfiguration.codableHelper) @@ -1296,7 +1296,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1310,9 +1310,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostBulkPreBanSummaryResponse + - returns: BulkPreBanSummary */ - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostBulkPreBanSummaryResponse { + open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { return try await postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1325,9 +1325,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/bulk-pre-ban-summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkPreBanParams, codableHelper: apiConfiguration.codableHelper) @@ -1347,7 +1347,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1358,9 +1358,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostCommentsByIdsResponse + - returns: ModerationAPIChildCommentsResponse */ - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostCommentsByIdsResponse { + open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { return try await postCommentsByIdsWithRequestBuilder(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1370,9 +1370,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/comments-by-ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: commentsByIdsParams, codableHelper: apiConfiguration.codableHelper) @@ -1389,7 +1389,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1401,9 +1401,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostFlagCommentResponse + - returns: APIEmptyResponse */ - open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostFlagCommentResponse { + open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await postFlagCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1414,9 +1414,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1437,7 +1437,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1497,9 +1497,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostRestoreDeletedCommentResponse + - returns: APIEmptyResponse */ - open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRestoreDeletedCommentResponse { + open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await postRestoreDeletedCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1510,9 +1510,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1533,7 +1533,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1546,9 +1546,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostSetCommentApprovalStatusResponse + - returns: SetCommentApprovedResponse */ - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentApprovalStatusResponse { + open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { return try await postSetCommentApprovalStatusWithRequestBuilder(commentId: commentId, approved: approved, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1560,9 +1560,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1584,7 +1584,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1597,9 +1597,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostSetCommentReviewStatusResponse + - returns: APIEmptyResponse */ - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentReviewStatusResponse { + open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await postSetCommentReviewStatusWithRequestBuilder(commentId: commentId, reviewed: reviewed, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1611,9 +1611,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1635,7 +1635,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1649,9 +1649,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostSetCommentSpamStatusResponse + - returns: APIEmptyResponse */ - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentSpamStatusResponse { + open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await postSetCommentSpamStatusWithRequestBuilder(commentId: commentId, spam: spam, permNotSpam: permNotSpam, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1664,9 +1664,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1689,7 +1689,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1702,9 +1702,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostSetCommentTextResponse + - returns: SetCommentTextResponse */ - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostSetCommentTextResponse { + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { return try await postSetCommentTextWithRequestBuilder(commentId: commentId, setCommentTextParams: setCommentTextParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1716,9 +1716,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/set-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1739,7 +1739,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1751,9 +1751,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostUnFlagCommentResponse + - returns: APIEmptyResponse */ - open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostUnFlagCommentResponse { + open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await postUnFlagCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1764,9 +1764,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postUnFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postUnFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/un-flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1787,7 +1787,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1800,9 +1800,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostVoteResponse + - returns: VoteResponse */ - open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostVoteResponse { + open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { return try await postVoteWithRequestBuilder(commentId: commentId, direction: direction, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1814,9 +1814,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postVoteWithRequestBuilder(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postVoteWithRequestBuilder(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1838,7 +1838,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1852,9 +1852,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PutAwardBadgeResponse + - returns: AwardUserBadgeResponse */ - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutAwardBadgeResponse { + open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { return try await putAwardBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1867,9 +1867,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putAwardBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putAwardBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/award-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1890,7 +1890,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1901,9 +1901,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PutCloseThreadResponse + - returns: APIEmptyResponse */ - open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutCloseThreadResponse { + open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await putCloseThreadWithRequestBuilder(urlId: urlId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1913,9 +1913,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putCloseThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putCloseThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/close-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1933,7 +1933,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1947,9 +1947,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PutRemoveBadgeResponse + - returns: RemoveUserBadgeResponse */ - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutRemoveBadgeResponse { + open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { return try await putRemoveBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1962,9 +1962,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putRemoveBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putRemoveBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/remove-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1985,7 +1985,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1996,9 +1996,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PutReopenThreadResponse + - returns: APIEmptyResponse */ - open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutReopenThreadResponse { + open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await putReopenThreadWithRequestBuilder(urlId: urlId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2008,9 +2008,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func putReopenThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putReopenThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/reopen-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2028,7 +2028,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2040,9 +2040,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SetTrustFactorResponse + - returns: SetUserTrustFactorResponse */ - open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetTrustFactorResponse { + open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { return try await setTrustFactorWithRequestBuilder(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2053,9 +2053,9 @@ open class ModerationAPI { - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func setTrustFactorWithRequestBuilder(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setTrustFactorWithRequestBuilder(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/auth/my-account/moderate-comments/set-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2074,7 +2074,7 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } diff --git a/client/FastCommentsSwift/APIs/PublicAPI.swift b/client/FastCommentsSwift/APIs/PublicAPI.swift index 6736b25..e140e85 100644 --- a/client/FastCommentsSwift/APIs/PublicAPI.swift +++ b/client/FastCommentsSwift/APIs/PublicAPI.swift @@ -16,9 +16,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: BlockFromCommentPublicResponse + - returns: BlockSuccess */ - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockFromCommentPublicResponse { + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { return try await blockFromCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -29,9 +29,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -51,7 +51,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -62,9 +62,9 @@ open class PublicAPI { - parameter commentIds: (query) A comma separated list of comment ids. - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CheckedCommentsForBlockedResponse + - returns: CheckBlockedCommentsResponse */ - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckedCommentsForBlockedResponse { + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { return try await checkedCommentsForBlockedWithRequestBuilder(tenantId: tenantId, commentIds: commentIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -74,9 +74,9 @@ open class PublicAPI { - parameter commentIds: (query) A comma separated list of comment ids. - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/check-blocked-comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -94,7 +94,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -108,9 +108,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateCommentPublicResponse + - returns: SaveCommentsResponseWithPresence */ - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateCommentPublicResponse { + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { return try await createCommentPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -123,9 +123,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -147,7 +147,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -159,9 +159,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateFeedPostPublicResponse + - returns: CreateFeedPostResponse */ - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostPublicResponse { + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { return try await createFeedPostPublicWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -172,9 +172,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -194,7 +194,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -205,9 +205,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateV1PageReactResponse + - returns: CreateV1PageReact */ - open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReactResponse { + open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { return try await createV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, title: title, apiConfiguration: apiConfiguration).execute().body } @@ -217,9 +217,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -239,7 +239,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -251,9 +251,9 @@ open class PublicAPI { - parameter id: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: CreateV2PageReactResponse + - returns: CreateV1PageReact */ - open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV2PageReactResponse { + open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { return try await createV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, title: title, apiConfiguration: apiConfiguration).execute().body } @@ -264,9 +264,9 @@ open class PublicAPI { - parameter id: (query) - parameter title: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -287,7 +287,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -300,9 +300,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteCommentPublicResponse + - returns: PublicAPIDeleteCommentResponse */ - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentPublicResponse { + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { return try await deleteCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -314,9 +314,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -340,7 +340,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -355,9 +355,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteCommentVoteResponse + - returns: VoteDeleteResponse */ - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentVoteResponse { + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { return try await deleteCommentVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -371,9 +371,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/vote/{voteId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -401,7 +401,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -461,9 +461,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteV1PageReactResponse + - returns: CreateV1PageReact */ - open class func deleteV1PageReact(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteV1PageReactResponse { + open class func deleteV1PageReact(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { return try await deleteV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -472,9 +472,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteV1PageReactWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteV1PageReactWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -493,7 +493,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -504,9 +504,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: DeleteV2PageReactResponse + - returns: CreateV1PageReact */ - open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteV2PageReactResponse { + open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { return try await deleteV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -516,9 +516,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func deleteV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -538,7 +538,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -550,9 +550,9 @@ open class PublicAPI { - parameter isFlagged: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: FlagCommentPublicResponse + - returns: APIEmptyResponse */ - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentPublicResponse { + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await flagCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -563,9 +563,9 @@ open class PublicAPI { - parameter isFlagged: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -586,7 +586,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -598,9 +598,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentTextResponse1 + - returns: PublicAPIGetCommentTextResponse */ - open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse1 { + open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { return try await getCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -611,9 +611,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -636,7 +636,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -648,9 +648,9 @@ open class PublicAPI { - parameter dir: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentVoteUserNamesResponse + - returns: GetCommentVoteUserNamesSuccessResponse */ - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesResponse { + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { return try await getCommentVoteUserNamesWithRequestBuilder(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -661,9 +661,9 @@ open class PublicAPI { - parameter dir: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/votes" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -686,7 +686,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -701,9 +701,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter isCrawler: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentsForUserResponse1 + - returns: GetCommentsForUserResponse */ - open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse1 { + open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { return try await getCommentsForUserWithRequestBuilder(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler, apiConfiguration: apiConfiguration).execute().body } @@ -717,9 +717,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter isCrawler: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentsForUserWithRequestBuilder(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsForUserWithRequestBuilder(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/comments-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -741,7 +741,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -777,9 +777,9 @@ open class PublicAPI { - parameter afterCommentId: (query) (optional) - parameter beforeCommentId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetCommentsPublicResponse + - returns: GetCommentsResponseWithPresencePublicComment */ - open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsPublicResponse { + open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { return try await getCommentsPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId, apiConfiguration: apiConfiguration).execute().body } @@ -815,9 +815,9 @@ open class PublicAPI { - parameter afterCommentId: (query) (optional) - parameter beforeCommentId: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -862,7 +862,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -875,9 +875,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetEventLogResponse1 + - returns: GetEventLogResponse */ - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse1 { + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { return try await getEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body } @@ -890,9 +890,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/event-log/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -914,7 +914,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -929,9 +929,9 @@ open class PublicAPI { - parameter isCrawler: (query) (optional) - parameter includeUserInfo: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetFeedPostsPublicResponse + - returns: PublicFeedPostsResponse */ - open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsPublicResponse { + open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { return try await getFeedPostsPublicWithRequestBuilder(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo, apiConfiguration: apiConfiguration).execute().body } @@ -946,9 +946,9 @@ open class PublicAPI { - parameter isCrawler: (query) (optional) - parameter includeUserInfo: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -972,7 +972,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -983,9 +983,9 @@ open class PublicAPI { - parameter postIds: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetFeedPostsStatsResponse + - returns: FeedPostsStatsResponse */ - open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsStatsResponse { + open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { return try await getFeedPostsStatsWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -995,9 +995,9 @@ open class PublicAPI { - parameter postIds: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/stats" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1017,7 +1017,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1027,9 +1027,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter largeInternalURLSanitized: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetGifLargeResponse + - returns: GifGetLargeResponse */ - open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifLargeResponse { + open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GifGetLargeResponse { return try await getGifLargeWithRequestBuilder(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized, apiConfiguration: apiConfiguration).execute().body } @@ -1038,9 +1038,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter largeInternalURLSanitized: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getGifLargeWithRequestBuilder(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifLargeWithRequestBuilder(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/gifs/get-large/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1059,7 +1059,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1171,9 +1171,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetGlobalEventLogResponse + - returns: GetEventLogResponse */ - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGlobalEventLogResponse { + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { return try await getGlobalEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body } @@ -1186,9 +1186,9 @@ open class PublicAPI { - parameter startTime: (query) - parameter endTime: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/event-log/global/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1210,7 +1210,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1222,9 +1222,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetOfflineUsersResponse + - returns: PageUsersOfflineResponse */ - open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetOfflineUsersResponse { + open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { return try await getOfflineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1236,9 +1236,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/offline" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1259,7 +1259,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1271,9 +1271,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetOnlineUsersResponse + - returns: PageUsersOnlineResponse */ - open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetOnlineUsersResponse { + open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { return try await getOnlineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId, apiConfiguration: apiConfiguration).execute().body } @@ -1285,9 +1285,9 @@ open class PublicAPI { - parameter afterName: (query) Cursor: pass nextAfterName from the previous response. (optional) - parameter afterUserId: (query) Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/online" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1308,7 +1308,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1322,9 +1322,9 @@ open class PublicAPI { - parameter sortBy: (query) Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) - parameter hasComments: (query) If true, only return pages with at least one comment. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetPagesPublicResponse + - returns: GetPublicPagesResponse */ - open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPagesPublicResponse { + open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { return try await getPagesPublicWithRequestBuilder(tenantId: tenantId, cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments, apiConfiguration: apiConfiguration).execute().body } @@ -1338,9 +1338,9 @@ open class PublicAPI { - parameter sortBy: (query) Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) - parameter hasComments: (query) If true, only return pages with at least one comment. (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getPagesPublicWithRequestBuilder(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPagesPublicWithRequestBuilder(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1363,7 +1363,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1375,9 +1375,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter useFullTranslationIds: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetTranslationsResponse1 + - returns: GetTranslationsResponse */ - open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse1 { + open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { return try await getTranslationsWithRequestBuilder(namespace: namespace, component: component, locale: locale, useFullTranslationIds: useFullTranslationIds, apiConfiguration: apiConfiguration).execute().body } @@ -1388,9 +1388,9 @@ open class PublicAPI { - parameter locale: (query) (optional) - parameter useFullTranslationIds: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getTranslationsWithRequestBuilder(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTranslationsWithRequestBuilder(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/translations/{namespace}/{component}" let namespacePreEscape = "\(APIHelper.mapValueToPathItem(namespace))" let namespacePostEscape = namespacePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1413,7 +1413,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1423,9 +1423,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserNotificationCountResponse1 + - returns: GetUserNotificationCountResponse */ - open class func getUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse1 { + open class func getUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { return try await getUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1434,9 +1434,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/get-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1453,7 +1453,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1473,9 +1473,9 @@ open class PublicAPI { - parameter includeTenantNotifications: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserNotificationsResponse + - returns: GetMyNotificationsResponse */ - open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationsResponse { + open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { return try await getUserNotificationsWithRequestBuilder(tenantId: tenantId, urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1494,9 +1494,9 @@ open class PublicAPI { - parameter includeTenantNotifications: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserNotificationsWithRequestBuilder(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationsWithRequestBuilder(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1523,7 +1523,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1534,9 +1534,9 @@ open class PublicAPI { - parameter urlIdWS: (query) - parameter userIds: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserPresenceStatusesResponse1 + - returns: GetUserPresenceStatusesResponse */ - open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse1 { + open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse { return try await getUserPresenceStatusesWithRequestBuilder(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds, apiConfiguration: apiConfiguration).execute().body } @@ -1546,9 +1546,9 @@ open class PublicAPI { - parameter urlIdWS: (query) - parameter userIds: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserPresenceStatusesWithRequestBuilder(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserPresenceStatusesWithRequestBuilder(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-presence-status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1566,7 +1566,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1577,9 +1577,9 @@ open class PublicAPI { - parameter postIds: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: GetUserReactsPublicResponse + - returns: UserReactsResponse */ - open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserReactsPublicResponse { + open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { return try await getUserReactsPublicWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1589,9 +1589,9 @@ open class PublicAPI { - parameter postIds: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUserReactsPublicWithRequestBuilder(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserReactsPublicWithRequestBuilder(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/user-reacts" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1611,7 +1611,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1621,9 +1621,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter ids: (query) Comma-delimited userIds. - parameter apiConfiguration: The configuration for the http request. - - returns: GetUsersInfoResponse + - returns: PageUsersInfoResponse */ - open class func getUsersInfo(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUsersInfoResponse { + open class func getUsersInfo(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersInfoResponse { return try await getUsersInfoWithRequestBuilder(tenantId: tenantId, ids: ids, apiConfiguration: apiConfiguration).execute().body } @@ -1633,9 +1633,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter ids: (query) Comma-delimited userIds. - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getUsersInfoWithRequestBuilder(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUsersInfoWithRequestBuilder(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/info" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1654,7 +1654,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1664,9 +1664,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetV1PageLikesResponse + - returns: GetV1PageLikes */ - open class func getV1PageLikes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikesResponse { + open class func getV1PageLikes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikes { return try await getV1PageLikesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -1675,9 +1675,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getV1PageLikesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV1PageLikesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1696,7 +1696,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1707,9 +1707,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetV2PageReactUsersResponse1 + - returns: GetV2PageReactUsersResponse */ - open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse1 { + open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse { return try await getV2PageReactUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body } @@ -1719,9 +1719,9 @@ open class PublicAPI { - parameter urlId: (query) - parameter id: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getV2PageReactUsersWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV2PageReactUsersWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}/list" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1741,7 +1741,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1751,9 +1751,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: GetV2PageReactsResponse + - returns: GetV2PageReacts */ - open class func getV2PageReacts(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactsResponse { + open class func getV2PageReacts(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReacts { return try await getV2PageReactsWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } @@ -1762,9 +1762,9 @@ open class PublicAPI { - parameter tenantId: (path) - parameter urlId: (query) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func getV2PageReactsWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV2PageReactsWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1783,7 +1783,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1795,9 +1795,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: LockCommentResponse + - returns: APIEmptyResponse */ - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> LockCommentResponse { + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await lockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1808,9 +1808,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/lock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1833,7 +1833,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1877,9 +1877,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PinCommentResponse + - returns: ChangeCommentPinStatusResponse */ - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PinCommentResponse { + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { return try await pinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1890,9 +1890,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/pin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1915,7 +1915,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1929,9 +1929,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ReactFeedPostPublicResponse + - returns: ReactFeedPostResponse */ - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostPublicResponse { + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { return try await reactFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1944,9 +1944,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/react/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1970,7 +1970,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -1980,9 +1980,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ResetUserNotificationCountResponse + - returns: ResetUserNotificationsResponse */ - open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationCountResponse { + open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { return try await resetUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -1991,9 +1991,9 @@ open class PublicAPI { - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/reset-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2010,7 +2010,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2025,9 +2025,9 @@ open class PublicAPI { - parameter noDm: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: ResetUserNotificationsResponse1 + - returns: ResetUserNotificationsResponse */ - open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse1 { + open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { return try await resetUserNotificationsWithRequestBuilder(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2041,9 +2041,9 @@ open class PublicAPI { - parameter noDm: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func resetUserNotificationsWithRequestBuilder(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationsWithRequestBuilder(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/reset" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2065,7 +2065,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2087,9 +2087,9 @@ open class PublicAPI { - parameter sso: (query) (optional) - parameter searchSection: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SearchUsersResponse1 + - returns: SearchUsersResult */ - open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResponse1 { + open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { return try await searchUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection, apiConfiguration: apiConfiguration).execute().body } @@ -2102,9 +2102,9 @@ open class PublicAPI { - parameter sso: (query) (optional) - parameter searchSection: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/user-search/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2127,7 +2127,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2141,9 +2141,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: SetCommentTextResponse1 + - returns: PublicAPISetCommentTextResponse */ - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse1 { + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { return try await setCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2156,9 +2156,9 @@ open class PublicAPI { - parameter editKey: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/update-text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2182,7 +2182,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2194,9 +2194,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnBlockCommentPublicResponse + - returns: UnblockSuccess */ - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnBlockCommentPublicResponse { + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { return try await unBlockCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2207,9 +2207,9 @@ open class PublicAPI { - parameter publicBlockFromCommentParams: (body) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2229,7 +2229,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2241,9 +2241,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnLockCommentResponse + - returns: APIEmptyResponse */ - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnLockCommentResponse { + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await unLockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2254,9 +2254,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/unlock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2279,7 +2279,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2291,9 +2291,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UnPinCommentResponse + - returns: ChangeCommentPinStatusResponse */ - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnPinCommentResponse { + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { return try await unPinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2304,9 +2304,9 @@ open class PublicAPI { - parameter broadcastId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/unpin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2329,7 +2329,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2342,9 +2342,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: UpdateFeedPostPublicResponse + - returns: CreateFeedPostResponse */ - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateFeedPostPublicResponse { + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { return try await updateFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2356,9 +2356,9 @@ open class PublicAPI { - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2381,7 +2381,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } @@ -2632,9 +2632,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: VoteCommentResponse + - returns: VoteResponse */ - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteCommentResponse { + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { return try await voteCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso, apiConfiguration: apiConfiguration).execute().body } @@ -2648,9 +2648,9 @@ open class PublicAPI { - parameter sessionId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/vote" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2675,7 +2675,7 @@ open class PublicAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } diff --git a/client/FastCommentsSwift/Models/AddHashTagResponse.swift b/client/FastCommentsSwift/Models/AddHashTagResponse.swift deleted file mode 100644 index 9235c74..0000000 --- a/client/FastCommentsSwift/Models/AddHashTagResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// AddHashTagResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct AddHashTagResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var hashTag: TenantHashTag? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, hashTag: TenantHashTag? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.hashTag = hashTag - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case hashTag - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(hashTag, forKey: .hashTag) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift b/client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift deleted file mode 100644 index 4475797..0000000 --- a/client/FastCommentsSwift/Models/AddHashTagsBulkResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// AddHashTagsBulkResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct AddHashTagsBulkResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var results: [BulkCreateHashTagsResponseResultsInner]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, results: [BulkCreateHashTagsResponseResultsInner]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.results = results - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case results - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(results, forKey: .results) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift b/client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift deleted file mode 100644 index 5c8df31..0000000 --- a/client/FastCommentsSwift/Models/AggregateQuestionResultsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// AggregateQuestionResultsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct AggregateQuestionResultsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var data: QuestionResultAggregationOverall? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, data: QuestionResultAggregationOverall? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.data = data - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case data - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(data, forKey: .data) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift b/client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift deleted file mode 100644 index 6de0f49..0000000 --- a/client/FastCommentsSwift/Models/BlockFromCommentPublicResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// BlockFromCommentPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct BlockFromCommentPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - /** Construct a type with a set of properties K of type T */ - public var commentStatuses: [String: Bool]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.commentStatuses = commentStatuses - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case commentStatuses - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift b/client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift deleted file mode 100644 index 19e6279..0000000 --- a/client/FastCommentsSwift/Models/BlockUserFromCommentResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// BlockUserFromCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct BlockUserFromCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - /** Construct a type with a set of properties K of type T */ - public var commentStatuses: [String: Bool]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.commentStatuses = commentStatuses - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case commentStatuses - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift b/client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift deleted file mode 100644 index 1e5cf80..0000000 --- a/client/FastCommentsSwift/Models/BulkAggregateQuestionResultsResponse1.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// BulkAggregateQuestionResultsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct BulkAggregateQuestionResultsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - /** Construct a type with a set of properties K of type T */ - public var data: [String: QuestionResultAggregationOverall]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, data: [String: QuestionResultAggregationOverall]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.data = data - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case data - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(data, forKey: .data) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift b/client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift deleted file mode 100644 index 6f36c31..0000000 --- a/client/FastCommentsSwift/Models/ChangeTicketStateResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// ChangeTicketStateResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct ChangeTicketStateResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var ticket: APITicket? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, ticket: APITicket? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.ticket = ticket - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case ticket - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(ticket, forKey: .ticket) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift b/client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift deleted file mode 100644 index 4f22f0e..0000000 --- a/client/FastCommentsSwift/Models/CheckedCommentsForBlockedResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// CheckedCommentsForBlockedResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CheckedCommentsForBlockedResponse: Sendable, Codable, Hashable { - - /** Construct a type with a set of properties K of type T */ - public var commentStatuses: [String: Bool]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(commentStatuses: [String: Bool]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.commentStatuses = commentStatuses - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case commentStatuses - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift b/client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift deleted file mode 100644 index a5ce3af..0000000 --- a/client/FastCommentsSwift/Models/CombineCommentsWithQuestionResultsResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CombineCommentsWithQuestionResultsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CombineCommentsWithQuestionResultsResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var data: FindCommentsByRangeResponse? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, data: FindCommentsByRangeResponse? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.data = data - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case data - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(data, forKey: .data) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift b/client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift deleted file mode 100644 index 8996a36..0000000 --- a/client/FastCommentsSwift/Models/CreateCommentPublicResponse.swift +++ /dev/null @@ -1,74 +0,0 @@ -// -// CreateCommentPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateCommentPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var comment: PublicComment? - public var user: UserSessionInfo? - /** Construct a type with a set of properties K of type T */ - public var moduleData: [String: JSONValue]? - public var userIdWS: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, comment: PublicComment? = nil, user: UserSessionInfo? = nil, moduleData: [String: JSONValue]? = nil, userIdWS: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.comment = comment - self.user = user - self.moduleData = moduleData - self.userIdWS = userIdWS - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case comment - case user - case moduleData - case userIdWS - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(moduleData, forKey: .moduleData) - try container.encodeIfPresent(userIdWS, forKey: .userIdWS) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift b/client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift deleted file mode 100644 index 503a8b1..0000000 --- a/client/FastCommentsSwift/Models/CreateEmailTemplateResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateEmailTemplateResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateEmailTemplateResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var emailTemplate: CustomEmailTemplate? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, emailTemplate: CustomEmailTemplate? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.emailTemplate = emailTemplate - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case emailTemplate - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(emailTemplate, forKey: .emailTemplate) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift deleted file mode 100644 index c08fc68..0000000 --- a/client/FastCommentsSwift/Models/CreateFeedPostPublicResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateFeedPostPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateFeedPostPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var feedPost: FeedPost? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, feedPost: FeedPost? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.feedPost = feedPost - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case feedPost - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(feedPost, forKey: .feedPost) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift b/client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift deleted file mode 100644 index 7f083fc..0000000 --- a/client/FastCommentsSwift/Models/CreateFeedPostResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateFeedPostResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateFeedPostResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var feedPost: FeedPost? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, feedPost: FeedPost? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.feedPost = feedPost - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case feedPost - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(feedPost, forKey: .feedPost) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateModeratorResponse1.swift b/client/FastCommentsSwift/Models/CreateModeratorResponse1.swift deleted file mode 100644 index f68187a..0000000 --- a/client/FastCommentsSwift/Models/CreateModeratorResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateModeratorResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateModeratorResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var moderator: Moderator? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, moderator: Moderator? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.moderator = moderator - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case moderator - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(moderator, forKey: .moderator) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift b/client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift deleted file mode 100644 index 45f2848..0000000 --- a/client/FastCommentsSwift/Models/CreateQuestionConfigResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateQuestionConfigResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateQuestionConfigResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var questionConfig: QuestionConfig? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, questionConfig: QuestionConfig? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.questionConfig = questionConfig - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case questionConfig - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(questionConfig, forKey: .questionConfig) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift b/client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift deleted file mode 100644 index 397a7b2..0000000 --- a/client/FastCommentsSwift/Models/CreateQuestionResultResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateQuestionResultResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateQuestionResultResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var questionResult: QuestionResult? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, questionResult: QuestionResult? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.questionResult = questionResult - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case questionResult - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(questionResult, forKey: .questionResult) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift b/client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift deleted file mode 100644 index 9d82946..0000000 --- a/client/FastCommentsSwift/Models/CreateTenantPackageResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateTenantPackageResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateTenantPackageResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantPackage: TenantPackage? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantPackage: TenantPackage? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantPackage = tenantPackage - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantPackage - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantPackage, forKey: .tenantPackage) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateTenantResponse1.swift b/client/FastCommentsSwift/Models/CreateTenantResponse1.swift deleted file mode 100644 index 2b729f1..0000000 --- a/client/FastCommentsSwift/Models/CreateTenantResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateTenantResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateTenantResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenant: APITenant? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenant: APITenant? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenant = tenant - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenant - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenant, forKey: .tenant) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift b/client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift deleted file mode 100644 index 37ac230..0000000 --- a/client/FastCommentsSwift/Models/CreateTenantUserResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateTenantUserResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateTenantUserResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantUser: User? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantUser: User? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantUser = tenantUser - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantUser - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantUser, forKey: .tenantUser) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateTicketResponse1.swift b/client/FastCommentsSwift/Models/CreateTicketResponse1.swift deleted file mode 100644 index f00bb0c..0000000 --- a/client/FastCommentsSwift/Models/CreateTicketResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// CreateTicketResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateTicketResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var ticket: APITicket? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, ticket: APITicket? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.ticket = ticket - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case ticket - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(ticket, forKey: .ticket) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift b/client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift deleted file mode 100644 index 026cd93..0000000 --- a/client/FastCommentsSwift/Models/CreateUserBadgeResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// CreateUserBadgeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateUserBadgeResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var userBadge: UserBadge? - public var notes: [String]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userBadge: UserBadge? = nil, notes: [String]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userBadge = userBadge - self.notes = notes - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userBadge - case notes - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userBadge, forKey: .userBadge) - try container.encodeIfPresent(notes, forKey: .notes) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift b/client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift deleted file mode 100644 index 9703c4c..0000000 --- a/client/FastCommentsSwift/Models/CreateV1PageReactResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// CreateV1PageReactResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateV1PageReactResponse: Sendable, Codable, Hashable { - - public var code: String? - public var status: APIStatus - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.code = code - self.status = status - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case code - case status - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(code, forKey: .code) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift b/client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift deleted file mode 100644 index 8ad3296..0000000 --- a/client/FastCommentsSwift/Models/CreateV2PageReactResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// CreateV2PageReactResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateV2PageReactResponse: Sendable, Codable, Hashable { - - public var code: String? - public var status: APIStatus - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.code = code - self.status = status - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case code - case status - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(code, forKey: .code) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/CreateVoteResponse.swift b/client/FastCommentsSwift/Models/CreateVoteResponse.swift deleted file mode 100644 index 9dfedc4..0000000 --- a/client/FastCommentsSwift/Models/CreateVoteResponse.swift +++ /dev/null @@ -1,73 +0,0 @@ -// -// CreateVoteResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct CreateVoteResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var voteId: String? - public var isVerified: Bool? - public var user: VoteResponseUser? - public var editKey: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, voteId: String? = nil, isVerified: Bool? = nil, user: VoteResponseUser? = nil, editKey: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.voteId = voteId - self.isVerified = isVerified - self.user = user - self.editKey = editKey - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case voteId - case isVerified - case user - case editKey - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(voteId, forKey: .voteId) - try container.encodeIfPresent(isVerified, forKey: .isVerified) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(editKey, forKey: .editKey) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift b/client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift deleted file mode 100644 index 9fe6538..0000000 --- a/client/FastCommentsSwift/Models/DeleteCommentPublicResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// DeleteCommentPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteCommentPublicResponse: Sendable, Codable, Hashable { - - public var comment: DeletedCommentResultComment? - public var hardRemoved: Bool? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(comment: DeletedCommentResultComment? = nil, hardRemoved: Bool? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.comment = comment - self.hardRemoved = hardRemoved - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case comment - case hardRemoved - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encodeIfPresent(hardRemoved, forKey: .hardRemoved) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteCommentResponse.swift b/client/FastCommentsSwift/Models/DeleteCommentResponse.swift deleted file mode 100644 index 08f0f3e..0000000 --- a/client/FastCommentsSwift/Models/DeleteCommentResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// DeleteCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteCommentResponse: Sendable, Codable, Hashable { - - public var action: DeleteCommentAction? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(action: DeleteCommentAction? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.action = action - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case action - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(action, forKey: .action) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift b/client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift deleted file mode 100644 index a8df86f..0000000 --- a/client/FastCommentsSwift/Models/DeleteCommentVoteResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// DeleteCommentVoteResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteCommentVoteResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var wasPendingVote: Bool? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, wasPendingVote: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.wasPendingVote = wasPendingVote - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case wasPendingVote - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(wasPendingVote, forKey: .wasPendingVote) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift b/client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift deleted file mode 100644 index c0ac41e..0000000 --- a/client/FastCommentsSwift/Models/DeleteEmailTemplateRenderErrorResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteEmailTemplateRenderErrorResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteEmailTemplateRenderErrorResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift b/client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift deleted file mode 100644 index 60f5573..0000000 --- a/client/FastCommentsSwift/Models/DeleteEmailTemplateResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteEmailTemplateResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteEmailTemplateResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift index 0b93b26..55d0399 100644 --- a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift +++ b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponse.swift @@ -10,34 +10,13 @@ import Foundation public struct DeleteFeedPostPublicResponse: Sendable, Codable, Hashable { public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + + public init(status: APIStatus) { self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig } // Encodable protocol methods @@ -45,13 +24,6 @@ public struct DeleteFeedPostPublicResponse: Sendable, Codable, Hashable { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift b/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift deleted file mode 100644 index d2f65dc..0000000 --- a/client/FastCommentsSwift/Models/DeleteFeedPostPublicResponseAnyOf.swift +++ /dev/null @@ -1,29 +0,0 @@ -// -// DeleteFeedPostPublicResponseAnyOf.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteFeedPostPublicResponseAnyOf: Sendable, Codable, Hashable { - - public var status: APIStatus - - public init(status: APIStatus) { - self.status = status - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteHashTagResponse.swift b/client/FastCommentsSwift/Models/DeleteHashTagResponse.swift deleted file mode 100644 index 3c3a4c2..0000000 --- a/client/FastCommentsSwift/Models/DeleteHashTagResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteHashTagResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteHashTagResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift b/client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift deleted file mode 100644 index 958677f..0000000 --- a/client/FastCommentsSwift/Models/DeleteModerationVoteResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// DeleteModerationVoteResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteModerationVoteResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var wasPendingVote: Bool? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, wasPendingVote: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.wasPendingVote = wasPendingVote - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case wasPendingVote - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(wasPendingVote, forKey: .wasPendingVote) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteModeratorResponse.swift b/client/FastCommentsSwift/Models/DeleteModeratorResponse.swift deleted file mode 100644 index 6cc6215..0000000 --- a/client/FastCommentsSwift/Models/DeleteModeratorResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteModeratorResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteModeratorResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift b/client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift deleted file mode 100644 index 3cf3705..0000000 --- a/client/FastCommentsSwift/Models/DeleteNotificationCountResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteNotificationCountResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteNotificationCountResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift b/client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift deleted file mode 100644 index bde3b8c..0000000 --- a/client/FastCommentsSwift/Models/DeletePendingWebhookEventResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeletePendingWebhookEventResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeletePendingWebhookEventResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift b/client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift deleted file mode 100644 index 6e81400..0000000 --- a/client/FastCommentsSwift/Models/DeleteQuestionConfigResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteQuestionConfigResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteQuestionConfigResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift b/client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift deleted file mode 100644 index 1c44ef4..0000000 --- a/client/FastCommentsSwift/Models/DeleteQuestionResultResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteQuestionResultResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteQuestionResultResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift b/client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift deleted file mode 100644 index 1f58134..0000000 --- a/client/FastCommentsSwift/Models/DeleteTenantPackageResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteTenantPackageResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteTenantPackageResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteTenantResponse.swift b/client/FastCommentsSwift/Models/DeleteTenantResponse.swift deleted file mode 100644 index bc05751..0000000 --- a/client/FastCommentsSwift/Models/DeleteTenantResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteTenantResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteTenantResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift b/client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift deleted file mode 100644 index b729338..0000000 --- a/client/FastCommentsSwift/Models/DeleteTenantUserResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteTenantUserResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteTenantUserResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift b/client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift deleted file mode 100644 index a5ed704..0000000 --- a/client/FastCommentsSwift/Models/DeleteUserBadgeResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteUserBadgeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteUserBadgeResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift b/client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift deleted file mode 100644 index 8ecb7eb..0000000 --- a/client/FastCommentsSwift/Models/DeleteV1PageReactResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteV1PageReactResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteV1PageReactResponse: Sendable, Codable, Hashable { - - public var code: String? - public var status: APIStatus - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.code = code - self.status = status - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case code - case status - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(code, forKey: .code) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift b/client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift deleted file mode 100644 index a188eb5..0000000 --- a/client/FastCommentsSwift/Models/DeleteV2PageReactResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// DeleteV2PageReactResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteV2PageReactResponse: Sendable, Codable, Hashable { - - public var code: String? - public var status: APIStatus - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.code = code - self.status = status - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case code - case status - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(code, forKey: .code) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/DeleteVoteResponse.swift b/client/FastCommentsSwift/Models/DeleteVoteResponse.swift deleted file mode 100644 index 4b6def7..0000000 --- a/client/FastCommentsSwift/Models/DeleteVoteResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// DeleteVoteResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct DeleteVoteResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var wasPendingVote: Bool? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, wasPendingVote: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.wasPendingVote = wasPendingVote - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case wasPendingVote - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(wasPendingVote, forKey: .wasPendingVote) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift b/client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift deleted file mode 100644 index 7500b9a..0000000 --- a/client/FastCommentsSwift/Models/FlagCommentPublicResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// FlagCommentPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct FlagCommentPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/FlagCommentResponse1.swift b/client/FastCommentsSwift/Models/FlagCommentResponse1.swift deleted file mode 100644 index bcafb09..0000000 --- a/client/FastCommentsSwift/Models/FlagCommentResponse1.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// FlagCommentResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct FlagCommentResponse1: Sendable, Codable, Hashable { - - public var statusCode: Int? - public var status: APIStatus - public var code: String? - public var reason: String? - public var wasUnapproved: Bool? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(statusCode: Int? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, wasUnapproved: Bool? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.statusCode = statusCode - self.status = status - self.code = code - self.reason = reason - self.wasUnapproved = wasUnapproved - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case statusCode - case status - case code - case reason - case wasUnapproved - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(statusCode, forKey: .statusCode) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(wasUnapproved, forKey: .wasUnapproved) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetApiCommentsResponse.swift b/client/FastCommentsSwift/Models/GetApiCommentsResponse.swift deleted file mode 100644 index 74db0b9..0000000 --- a/client/FastCommentsSwift/Models/GetApiCommentsResponse.swift +++ /dev/null @@ -1,69 +0,0 @@ -// -// GetApiCommentsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetApiCommentsResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var translations: JSONValue? - public var comments: [ModerationAPIComment]? - public var moderationFilter: ModerationFilter? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, translations: JSONValue? = nil, comments: [ModerationAPIComment]? = nil, moderationFilter: ModerationFilter? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.translations = translations - self.comments = comments - self.moderationFilter = moderationFilter - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case translations - case comments - case moderationFilter - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(translations, forKey: .translations) - try container.encodeIfPresent(comments, forKey: .comments) - try container.encodeIfPresent(moderationFilter, forKey: .moderationFilter) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift b/client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift deleted file mode 100644 index 7483976..0000000 --- a/client/FastCommentsSwift/Models/GetApiExportStatusResponse.swift +++ /dev/null @@ -1,69 +0,0 @@ -// -// GetApiExportStatusResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetApiExportStatusResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var jobStatus: String? - public var recordCount: Int? - public var downloadUrl: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, jobStatus: String? = nil, recordCount: Int? = nil, downloadUrl: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.jobStatus = jobStatus - self.recordCount = recordCount - self.downloadUrl = downloadUrl - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case jobStatus - case recordCount - case downloadUrl - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(jobStatus, forKey: .jobStatus) - try container.encodeIfPresent(recordCount, forKey: .recordCount) - try container.encodeIfPresent(downloadUrl, forKey: .downloadUrl) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetApiIdsResponse.swift b/client/FastCommentsSwift/Models/GetApiIdsResponse.swift deleted file mode 100644 index 530bc5e..0000000 --- a/client/FastCommentsSwift/Models/GetApiIdsResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetApiIdsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetApiIdsResponse: Sendable, Codable, Hashable { - - public var ids: [String]? - public var hasMore: Bool? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(ids: [String]? = nil, hasMore: Bool? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.ids = ids - self.hasMore = hasMore - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case ids - case hasMore - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(ids, forKey: .ids) - try container.encodeIfPresent(hasMore, forKey: .hasMore) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift b/client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift deleted file mode 100644 index 7d65981..0000000 --- a/client/FastCommentsSwift/Models/GetAuditLogsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetAuditLogsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetAuditLogsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var auditLogs: [APIAuditLog]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, auditLogs: [APIAuditLog]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.auditLogs = auditLogs - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case auditLogs - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(auditLogs, forKey: .auditLogs) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift b/client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift deleted file mode 100644 index bf16fa2..0000000 --- a/client/FastCommentsSwift/Models/GetBanUsersFromCommentResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetBanUsersFromCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetBanUsersFromCommentResponse: Sendable, Codable, Hashable { - - public var bannedUsers: [APIBannedUserWithMultiMatchInfo]? - public var code: String? - public var status: APIStatus - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(bannedUsers: [APIBannedUserWithMultiMatchInfo]? = nil, code: String? = nil, status: APIStatus, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.bannedUsers = bannedUsers - self.code = code - self.status = status - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case bannedUsers - case code - case status - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(bannedUsers, forKey: .bannedUsers) - try container.encodeIfPresent(code, forKey: .code) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift b/client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift deleted file mode 100644 index 4c6b128..0000000 --- a/client/FastCommentsSwift/Models/GetCachedNotificationCountResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCachedNotificationCountResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCachedNotificationCountResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var data: UserNotificationCount? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, data: UserNotificationCount? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.data = data - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case data - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(data, forKey: .data) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift b/client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift deleted file mode 100644 index 4dc26b0..0000000 --- a/client/FastCommentsSwift/Models/GetCommentBanStatusResponse1.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetCommentBanStatusResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentBanStatusResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var emailDomain: String? - public var canIPBan: Bool? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, emailDomain: String? = nil, canIPBan: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.emailDomain = emailDomain - self.canIPBan = canIPBan - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case emailDomain - case canIPBan - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(emailDomain, forKey: .emailDomain) - try container.encodeIfPresent(canIPBan, forKey: .canIPBan) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift b/client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift deleted file mode 100644 index c25b3fb..0000000 --- a/client/FastCommentsSwift/Models/GetCommentChildrenResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCommentChildrenResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentChildrenResponse: Sendable, Codable, Hashable { - - public var comments: [ModerationAPIComment]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(comments: [ModerationAPIComment]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.comments = comments - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case comments - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(comments, forKey: .comments) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentResponse.swift b/client/FastCommentsSwift/Models/GetCommentResponse.swift deleted file mode 100644 index 97bc5e1..0000000 --- a/client/FastCommentsSwift/Models/GetCommentResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var comment: APIComment? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, comment: APIComment? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.comment = comment - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case comment - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentTextResponse1.swift b/client/FastCommentsSwift/Models/GetCommentTextResponse1.swift deleted file mode 100644 index f90b321..0000000 --- a/client/FastCommentsSwift/Models/GetCommentTextResponse1.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetCommentTextResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentTextResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var commentText: String? - public var sanitizedCommentText: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, commentText: String? = nil, sanitizedCommentText: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.commentText = commentText - self.sanitizedCommentText = sanitizedCommentText - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case commentText - case sanitizedCommentText - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(commentText, forKey: .commentText) - try container.encodeIfPresent(sanitizedCommentText, forKey: .sanitizedCommentText) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift b/client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift deleted file mode 100644 index ffbff78..0000000 --- a/client/FastCommentsSwift/Models/GetCommentVoteUserNamesResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetCommentVoteUserNamesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentVoteUserNamesResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var voteUserNames: [String]? - public var hasMore: Bool? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, voteUserNames: [String]? = nil, hasMore: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.voteUserNames = voteUserNames - self.hasMore = hasMore - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case voteUserNames - case hasMore - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(voteUserNames, forKey: .voteUserNames) - try container.encodeIfPresent(hasMore, forKey: .hasMore) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift b/client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift deleted file mode 100644 index 8df42dc..0000000 --- a/client/FastCommentsSwift/Models/GetCommentsForUserResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCommentsForUserResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentsForUserResponse1: Sendable, Codable, Hashable { - - public var moderatingTenantIds: [String]? - public var status: APIStatus? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(moderatingTenantIds: [String]? = nil, status: APIStatus? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.moderatingTenantIds = moderatingTenantIds - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case moderatingTenantIds - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(moderatingTenantIds, forKey: .moderatingTenantIds) - try container.encodeIfPresent(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift b/client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift deleted file mode 100644 index 0bfd3b9..0000000 --- a/client/FastCommentsSwift/Models/GetCommentsPublicResponse.swift +++ /dev/null @@ -1,150 +0,0 @@ -// -// GetCommentsPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentsPublicResponse: Sendable, Codable, Hashable { - - public var statusCode: Int? - public var status: APIStatus - public var code: String? - public var reason: String? - public var translatedWarning: String? - public var comments: [PublicComment]? - public var user: UserSessionInfo? - public var urlIdClean: String? - public var lastGenDate: Int64? - public var includesPastPages: Bool? - public var isDemo: Bool? - public var commentCount: Int? - public var isSiteAdmin: Bool? - public var hasBillingIssue: Bool? - /** Construct a type with a set of properties K of type T */ - public var moduleData: [String: JSONValue]? - public var pageNumber: Int? - public var isWhiteLabeled: Bool? - public var isProd: Bool? - public var isCrawler: Bool? - public var notificationCount: Int? - public var hasMore: Bool? - public var isClosed: Bool? - public var presencePollState: Int? - public var customConfig: CustomConfigParameters? - public var urlIdWS: String? - public var userIdWS: String? - public var tenantIdWS: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - - public init(statusCode: Int? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, translatedWarning: String? = nil, comments: [PublicComment]? = nil, user: UserSessionInfo? = nil, urlIdClean: String? = nil, lastGenDate: Int64? = nil, includesPastPages: Bool? = nil, isDemo: Bool? = nil, commentCount: Int? = nil, isSiteAdmin: Bool? = nil, hasBillingIssue: Bool? = nil, moduleData: [String: JSONValue]? = nil, pageNumber: Int? = nil, isWhiteLabeled: Bool? = nil, isProd: Bool? = nil, isCrawler: Bool? = nil, notificationCount: Int? = nil, hasMore: Bool? = nil, isClosed: Bool? = nil, presencePollState: Int? = nil, customConfig: CustomConfigParameters? = nil, urlIdWS: String? = nil, userIdWS: String? = nil, tenantIdWS: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil) { - self.statusCode = statusCode - self.status = status - self.code = code - self.reason = reason - self.translatedWarning = translatedWarning - self.comments = comments - self.user = user - self.urlIdClean = urlIdClean - self.lastGenDate = lastGenDate - self.includesPastPages = includesPastPages - self.isDemo = isDemo - self.commentCount = commentCount - self.isSiteAdmin = isSiteAdmin - self.hasBillingIssue = hasBillingIssue - self.moduleData = moduleData - self.pageNumber = pageNumber - self.isWhiteLabeled = isWhiteLabeled - self.isProd = isProd - self.isCrawler = isCrawler - self.notificationCount = notificationCount - self.hasMore = hasMore - self.isClosed = isClosed - self.presencePollState = presencePollState - self.customConfig = customConfig - self.urlIdWS = urlIdWS - self.userIdWS = userIdWS - self.tenantIdWS = tenantIdWS - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case statusCode - case status - case code - case reason - case translatedWarning - case comments - case user - case urlIdClean - case lastGenDate - case includesPastPages - case isDemo - case commentCount - case isSiteAdmin - case hasBillingIssue - case moduleData - case pageNumber - case isWhiteLabeled - case isProd - case isCrawler - case notificationCount - case hasMore - case isClosed - case presencePollState - case customConfig - case urlIdWS - case userIdWS - case tenantIdWS - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(statusCode, forKey: .statusCode) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(translatedWarning, forKey: .translatedWarning) - try container.encodeIfPresent(comments, forKey: .comments) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(urlIdClean, forKey: .urlIdClean) - try container.encodeIfPresent(lastGenDate, forKey: .lastGenDate) - try container.encodeIfPresent(includesPastPages, forKey: .includesPastPages) - try container.encodeIfPresent(isDemo, forKey: .isDemo) - try container.encodeIfPresent(commentCount, forKey: .commentCount) - try container.encodeIfPresent(isSiteAdmin, forKey: .isSiteAdmin) - try container.encodeIfPresent(hasBillingIssue, forKey: .hasBillingIssue) - try container.encodeIfPresent(moduleData, forKey: .moduleData) - try container.encodeIfPresent(pageNumber, forKey: .pageNumber) - try container.encodeIfPresent(isWhiteLabeled, forKey: .isWhiteLabeled) - try container.encodeIfPresent(isProd, forKey: .isProd) - try container.encodeIfPresent(isCrawler, forKey: .isCrawler) - try container.encodeIfPresent(notificationCount, forKey: .notificationCount) - try container.encodeIfPresent(hasMore, forKey: .hasMore) - try container.encodeIfPresent(isClosed, forKey: .isClosed) - try container.encodeIfPresent(presencePollState, forKey: .presencePollState) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - try container.encodeIfPresent(urlIdWS, forKey: .urlIdWS) - try container.encodeIfPresent(userIdWS, forKey: .userIdWS) - try container.encodeIfPresent(tenantIdWS, forKey: .tenantIdWS) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCommentsResponse.swift b/client/FastCommentsSwift/Models/GetCommentsResponse.swift deleted file mode 100644 index cb76a71..0000000 --- a/client/FastCommentsSwift/Models/GetCommentsResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCommentsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCommentsResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var comments: [APIComment]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, comments: [APIComment]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.comments = comments - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case comments - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(comments, forKey: .comments) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCountResponse.swift b/client/FastCommentsSwift/Models/GetCountResponse.swift deleted file mode 100644 index 2645edb..0000000 --- a/client/FastCommentsSwift/Models/GetCountResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCountResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCountResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var count: Double? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.count = count - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case count - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(count, forKey: .count) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetCountsResponse.swift b/client/FastCommentsSwift/Models/GetCountsResponse.swift deleted file mode 100644 index 8ccd324..0000000 --- a/client/FastCommentsSwift/Models/GetCountsResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetCountsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetCountsResponse: Sendable, Codable, Hashable { - - public var totalCount: Double? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(totalCount: Double? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.totalCount = totalCount - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case totalCount - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(totalCount, forKey: .totalCount) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift deleted file mode 100644 index e19586f..0000000 --- a/client/FastCommentsSwift/Models/GetEmailTemplateDefinitionsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetEmailTemplateDefinitionsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetEmailTemplateDefinitionsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var definitions: [EmailTemplateDefinition]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, definitions: [EmailTemplateDefinition]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.definitions = definitions - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case definitions - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(definitions, forKey: .definitions) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift deleted file mode 100644 index 643f850..0000000 --- a/client/FastCommentsSwift/Models/GetEmailTemplateRenderErrorsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetEmailTemplateRenderErrorsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetEmailTemplateRenderErrorsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var renderErrors: [EmailTemplateRenderErrorResponse]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, renderErrors: [EmailTemplateRenderErrorResponse]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.renderErrors = renderErrors - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case renderErrors - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(renderErrors, forKey: .renderErrors) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift deleted file mode 100644 index ae6aefa..0000000 --- a/client/FastCommentsSwift/Models/GetEmailTemplateResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetEmailTemplateResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetEmailTemplateResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var emailTemplate: CustomEmailTemplate? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, emailTemplate: CustomEmailTemplate? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.emailTemplate = emailTemplate - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case emailTemplate - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(emailTemplate, forKey: .emailTemplate) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift b/client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift deleted file mode 100644 index a85b81b..0000000 --- a/client/FastCommentsSwift/Models/GetEmailTemplatesResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetEmailTemplatesResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetEmailTemplatesResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var emailTemplates: [CustomEmailTemplate]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, emailTemplates: [CustomEmailTemplate]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.emailTemplates = emailTemplates - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case emailTemplates - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(emailTemplates, forKey: .emailTemplates) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetEventLogResponse1.swift b/client/FastCommentsSwift/Models/GetEventLogResponse1.swift deleted file mode 100644 index d4475e1..0000000 --- a/client/FastCommentsSwift/Models/GetEventLogResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetEventLogResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetEventLogResponse1: Sendable, Codable, Hashable { - - public var events: [EventLogEntry]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(events: [EventLogEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.events = events - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case events - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(events, forKey: .events) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift b/client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift deleted file mode 100644 index b9a891f..0000000 --- a/client/FastCommentsSwift/Models/GetFeedPostsPublicResponse.swift +++ /dev/null @@ -1,81 +0,0 @@ -// -// GetFeedPostsPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetFeedPostsPublicResponse: Sendable, Codable, Hashable { - - public var myReacts: [String: [String: Bool]]? - public var status: APIStatus - public var feedPosts: [FeedPost]? - public var user: UserSessionInfo? - public var urlIdWS: String? - public var userIdWS: String? - public var tenantIdWS: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(myReacts: [String: [String: Bool]]? = nil, status: APIStatus, feedPosts: [FeedPost]? = nil, user: UserSessionInfo? = nil, urlIdWS: String? = nil, userIdWS: String? = nil, tenantIdWS: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.myReacts = myReacts - self.status = status - self.feedPosts = feedPosts - self.user = user - self.urlIdWS = urlIdWS - self.userIdWS = userIdWS - self.tenantIdWS = tenantIdWS - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case myReacts - case status - case feedPosts - case user - case urlIdWS - case userIdWS - case tenantIdWS - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(myReacts, forKey: .myReacts) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(feedPosts, forKey: .feedPosts) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(urlIdWS, forKey: .urlIdWS) - try container.encodeIfPresent(userIdWS, forKey: .userIdWS) - try container.encodeIfPresent(tenantIdWS, forKey: .tenantIdWS) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift b/client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift deleted file mode 100644 index 59ba4d5..0000000 --- a/client/FastCommentsSwift/Models/GetFeedPostsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetFeedPostsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetFeedPostsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var feedPosts: [FeedPost]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, feedPosts: [FeedPost]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.feedPosts = feedPosts - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case feedPosts - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(feedPosts, forKey: .feedPosts) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift b/client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift deleted file mode 100644 index 772215f..0000000 --- a/client/FastCommentsSwift/Models/GetFeedPostsStatsResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetFeedPostsStatsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetFeedPostsStatsResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var stats: [String: FeedPostStats]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, stats: [String: FeedPostStats]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.stats = stats - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case stats - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(stats, forKey: .stats) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetGifLargeResponse.swift b/client/FastCommentsSwift/Models/GetGifLargeResponse.swift deleted file mode 100644 index bdaf6d4..0000000 --- a/client/FastCommentsSwift/Models/GetGifLargeResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetGifLargeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetGifLargeResponse: Sendable, Codable, Hashable { - - public var src: String? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(src: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.src = src - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case src - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(src, forKey: .src) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift b/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift index c8226b3..a4fe714 100644 --- a/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift +++ b/client/FastCommentsSwift/Models/GetGifsSearchResponse.swift @@ -12,35 +12,17 @@ public struct GetGifsSearchResponse: Sendable, Codable, Hashable { public var images: [[GifSearchResponseImagesInnerInner]]? public var status: APIStatus public var code: String? - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(images: [[GifSearchResponseImagesInnerInner]]? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + + public init(images: [[GifSearchResponseImagesInnerInner]]? = nil, status: APIStatus, code: String? = nil) { self.images = images self.status = status self.code = code - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { case images case status case code - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig } // Encodable protocol methods @@ -50,12 +32,6 @@ public struct GetGifsSearchResponse: Sendable, Codable, Hashable { try container.encodeIfPresent(images, forKey: .images) try container.encode(status, forKey: .status) try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift b/client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift deleted file mode 100644 index cdc6dc2..0000000 --- a/client/FastCommentsSwift/Models/GetGlobalEventLogResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetGlobalEventLogResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetGlobalEventLogResponse: Sendable, Codable, Hashable { - - public var events: [EventLogEntry]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(events: [EventLogEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.events = events - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case events - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(events, forKey: .events) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetHashTagsResponse1.swift b/client/FastCommentsSwift/Models/GetHashTagsResponse1.swift deleted file mode 100644 index 4052e8b..0000000 --- a/client/FastCommentsSwift/Models/GetHashTagsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetHashTagsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetHashTagsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var hashTags: [TenantHashTag]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, hashTags: [TenantHashTag]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.hashTags = hashTags - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case hashTags - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(hashTags, forKey: .hashTags) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetLogsResponse.swift b/client/FastCommentsSwift/Models/GetLogsResponse.swift deleted file mode 100644 index acd79ce..0000000 --- a/client/FastCommentsSwift/Models/GetLogsResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetLogsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetLogsResponse: Sendable, Codable, Hashable { - - public var logs: [ModerationAPICommentLog]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(logs: [ModerationAPICommentLog]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.logs = logs - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case logs - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(logs, forKey: .logs) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift b/client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift deleted file mode 100644 index 3466724..0000000 --- a/client/FastCommentsSwift/Models/GetManualBadgesForUserResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetManualBadgesForUserResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetManualBadgesForUserResponse: Sendable, Codable, Hashable { - - public var badges: [UserBadge]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(badges: [UserBadge]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.badges = badges - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case badges - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(badges, forKey: .badges) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetManualBadgesResponse.swift b/client/FastCommentsSwift/Models/GetManualBadgesResponse.swift deleted file mode 100644 index 642ec19..0000000 --- a/client/FastCommentsSwift/Models/GetManualBadgesResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetManualBadgesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetManualBadgesResponse: Sendable, Codable, Hashable { - - public var badges: [TenantBadge]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(badges: [TenantBadge]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.badges = badges - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case badges - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(badges, forKey: .badges) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetModerationCommentResponse.swift b/client/FastCommentsSwift/Models/GetModerationCommentResponse.swift deleted file mode 100644 index c984dda..0000000 --- a/client/FastCommentsSwift/Models/GetModerationCommentResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetModerationCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetModerationCommentResponse: Sendable, Codable, Hashable { - - public var comment: ModerationAPIComment? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(comment: ModerationAPIComment? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.comment = comment - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case comment - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift b/client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift deleted file mode 100644 index 7dfd74c..0000000 --- a/client/FastCommentsSwift/Models/GetModerationCommentTextResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetModerationCommentTextResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetModerationCommentTextResponse: Sendable, Codable, Hashable { - - public var comment: String? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(comment: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.comment = comment - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case comment - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetModeratorResponse1.swift b/client/FastCommentsSwift/Models/GetModeratorResponse1.swift deleted file mode 100644 index fceae0a..0000000 --- a/client/FastCommentsSwift/Models/GetModeratorResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetModeratorResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetModeratorResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var moderator: Moderator? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, moderator: Moderator? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.moderator = moderator - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case moderator - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(moderator, forKey: .moderator) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetModeratorsResponse1.swift b/client/FastCommentsSwift/Models/GetModeratorsResponse1.swift deleted file mode 100644 index 8493b2a..0000000 --- a/client/FastCommentsSwift/Models/GetModeratorsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetModeratorsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetModeratorsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var moderators: [Moderator]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, moderators: [Moderator]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.moderators = moderators - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case moderators - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(moderators, forKey: .moderators) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift b/client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift deleted file mode 100644 index 1d6f24b..0000000 --- a/client/FastCommentsSwift/Models/GetNotificationCountResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetNotificationCountResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetNotificationCountResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var count: Double? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.count = count - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case count - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(count, forKey: .count) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetNotificationsResponse1.swift b/client/FastCommentsSwift/Models/GetNotificationsResponse1.swift deleted file mode 100644 index e2f1767..0000000 --- a/client/FastCommentsSwift/Models/GetNotificationsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetNotificationsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetNotificationsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var notifications: [UserNotification]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, notifications: [UserNotification]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.notifications = notifications - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case notifications - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(notifications, forKey: .notifications) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift b/client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift deleted file mode 100644 index fbd6825..0000000 --- a/client/FastCommentsSwift/Models/GetOfflineUsersResponse.swift +++ /dev/null @@ -1,69 +0,0 @@ -// -// GetOfflineUsersResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetOfflineUsersResponse: Sendable, Codable, Hashable { - - public var nextAfterUserId: String? - public var nextAfterName: String? - public var users: [PageUserEntry]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(nextAfterUserId: String? = nil, nextAfterName: String? = nil, users: [PageUserEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.nextAfterUserId = nextAfterUserId - self.nextAfterName = nextAfterName - self.users = users - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case nextAfterUserId - case nextAfterName - case users - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(nextAfterUserId, forKey: .nextAfterUserId) - try container.encodeIfPresent(nextAfterName, forKey: .nextAfterName) - try container.encodeIfPresent(users, forKey: .users) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift b/client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift deleted file mode 100644 index 636e4f1..0000000 --- a/client/FastCommentsSwift/Models/GetOnlineUsersResponse.swift +++ /dev/null @@ -1,77 +0,0 @@ -// -// GetOnlineUsersResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetOnlineUsersResponse: Sendable, Codable, Hashable { - - public var nextAfterUserId: String? - public var nextAfterName: String? - public var totalCount: Double? - public var anonCount: Double? - public var users: [PageUserEntry]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(nextAfterUserId: String? = nil, nextAfterName: String? = nil, totalCount: Double? = nil, anonCount: Double? = nil, users: [PageUserEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.nextAfterUserId = nextAfterUserId - self.nextAfterName = nextAfterName - self.totalCount = totalCount - self.anonCount = anonCount - self.users = users - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case nextAfterUserId - case nextAfterName - case totalCount - case anonCount - case users - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(nextAfterUserId, forKey: .nextAfterUserId) - try container.encodeIfPresent(nextAfterName, forKey: .nextAfterName) - try container.encodeIfPresent(totalCount, forKey: .totalCount) - try container.encodeIfPresent(anonCount, forKey: .anonCount) - try container.encodeIfPresent(users, forKey: .users) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetPagesPublicResponse.swift b/client/FastCommentsSwift/Models/GetPagesPublicResponse.swift deleted file mode 100644 index c03800c..0000000 --- a/client/FastCommentsSwift/Models/GetPagesPublicResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetPagesPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetPagesPublicResponse: Sendable, Codable, Hashable { - - public var nextCursor: String? - public var pages: [PublicPage]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(nextCursor: String? = nil, pages: [PublicPage]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.nextCursor = nextCursor - self.pages = pages - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case nextCursor - case pages - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(nextCursor, forKey: .nextCursor) - try container.encodeIfPresent(pages, forKey: .pages) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift b/client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift deleted file mode 100644 index f3d8673..0000000 --- a/client/FastCommentsSwift/Models/GetPendingWebhookEventCountResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetPendingWebhookEventCountResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetPendingWebhookEventCountResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var count: Double? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.count = count - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case count - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(count, forKey: .count) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift b/client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift deleted file mode 100644 index e2ed474..0000000 --- a/client/FastCommentsSwift/Models/GetPendingWebhookEventsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetPendingWebhookEventsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetPendingWebhookEventsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var pendingWebhookEvents: [PendingCommentToSyncOutbound]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, pendingWebhookEvents: [PendingCommentToSyncOutbound]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.pendingWebhookEvents = pendingWebhookEvents - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case pendingWebhookEvents - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(pendingWebhookEvents, forKey: .pendingWebhookEvents) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift b/client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift deleted file mode 100644 index f2db229..0000000 --- a/client/FastCommentsSwift/Models/GetPreBanSummaryResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetPreBanSummaryResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetPreBanSummaryResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var usernames: [String]? - public var count: Double? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, usernames: [String]? = nil, count: Double? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.usernames = usernames - self.count = count - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case usernames - case count - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(usernames, forKey: .usernames) - try container.encodeIfPresent(count, forKey: .count) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift deleted file mode 100644 index 6bb7552..0000000 --- a/client/FastCommentsSwift/Models/GetQuestionConfigResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetQuestionConfigResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetQuestionConfigResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var questionConfig: QuestionConfig? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, questionConfig: QuestionConfig? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.questionConfig = questionConfig - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case questionConfig - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(questionConfig, forKey: .questionConfig) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift deleted file mode 100644 index 0ea142d..0000000 --- a/client/FastCommentsSwift/Models/GetQuestionConfigsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetQuestionConfigsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetQuestionConfigsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var questionConfigs: [QuestionConfig]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, questionConfigs: [QuestionConfig]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.questionConfigs = questionConfigs - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case questionConfigs - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(questionConfigs, forKey: .questionConfigs) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift deleted file mode 100644 index 70d59fd..0000000 --- a/client/FastCommentsSwift/Models/GetQuestionResultResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetQuestionResultResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetQuestionResultResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var questionResult: QuestionResult? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, questionResult: QuestionResult? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.questionResult = questionResult - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case questionResult - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(questionResult, forKey: .questionResult) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift b/client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift deleted file mode 100644 index beb9b2e..0000000 --- a/client/FastCommentsSwift/Models/GetQuestionResultsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetQuestionResultsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetQuestionResultsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var questionResults: [QuestionResult]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, questionResults: [QuestionResult]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.questionResults = questionResults - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case questionResults - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(questionResults, forKey: .questionResults) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift b/client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift deleted file mode 100644 index 017034b..0000000 --- a/client/FastCommentsSwift/Models/GetSearchCommentsSummaryResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetSearchCommentsSummaryResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetSearchCommentsSummaryResponse: Sendable, Codable, Hashable { - - public var commentCount: Int? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(commentCount: Int? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.commentCount = commentCount - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case commentCount - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(commentCount, forKey: .commentCount) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetSearchPagesResponse.swift b/client/FastCommentsSwift/Models/GetSearchPagesResponse.swift deleted file mode 100644 index 20d4de1..0000000 --- a/client/FastCommentsSwift/Models/GetSearchPagesResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetSearchPagesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetSearchPagesResponse: Sendable, Codable, Hashable { - - public var pages: [ModerationPageSearchProjected]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(pages: [ModerationPageSearchProjected]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.pages = pages - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case pages - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(pages, forKey: .pages) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetSearchSitesResponse.swift b/client/FastCommentsSwift/Models/GetSearchSitesResponse.swift deleted file mode 100644 index b27031c..0000000 --- a/client/FastCommentsSwift/Models/GetSearchSitesResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetSearchSitesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetSearchSitesResponse: Sendable, Codable, Hashable { - - public var sites: [ModerationSiteSearchProjected]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(sites: [ModerationSiteSearchProjected]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.sites = sites - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case sites - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(sites, forKey: .sites) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift b/client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift deleted file mode 100644 index 3e33cd9..0000000 --- a/client/FastCommentsSwift/Models/GetSearchSuggestResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetSearchSuggestResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetSearchSuggestResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var pages: [ModerationPageSearchProjected]? - public var users: [ModerationUserSearchProjected]? - public var code: String? - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, pages: [ModerationPageSearchProjected]? = nil, users: [ModerationUserSearchProjected]? = nil, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.pages = pages - self.users = users - self.code = code - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case pages - case users - case code - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(pages, forKey: .pages) - try container.encodeIfPresent(users, forKey: .users) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetSearchUsersResponse.swift b/client/FastCommentsSwift/Models/GetSearchUsersResponse.swift deleted file mode 100644 index 21aec5b..0000000 --- a/client/FastCommentsSwift/Models/GetSearchUsersResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetSearchUsersResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetSearchUsersResponse: Sendable, Codable, Hashable { - - public var users: [ModerationUserSearchProjected]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(users: [ModerationUserSearchProjected]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.users = users - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case users - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(users, forKey: .users) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift b/client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift deleted file mode 100644 index 94eacc7..0000000 --- a/client/FastCommentsSwift/Models/GetTenantDailyUsagesResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantDailyUsagesResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantDailyUsagesResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantDailyUsages: [APITenantDailyUsage]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantDailyUsages: [APITenantDailyUsage]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantDailyUsages = tenantDailyUsages - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantDailyUsages - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantDailyUsages, forKey: .tenantDailyUsages) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift b/client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift deleted file mode 100644 index 4d9f45c..0000000 --- a/client/FastCommentsSwift/Models/GetTenantPackageResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantPackageResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantPackageResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantPackage: TenantPackage? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantPackage: TenantPackage? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantPackage = tenantPackage - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantPackage - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantPackage, forKey: .tenantPackage) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift b/client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift deleted file mode 100644 index 38b39d9..0000000 --- a/client/FastCommentsSwift/Models/GetTenantPackagesResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantPackagesResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantPackagesResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantPackages: [TenantPackage]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantPackages: [TenantPackage]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantPackages = tenantPackages - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantPackages - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantPackages, forKey: .tenantPackages) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantResponse1.swift b/client/FastCommentsSwift/Models/GetTenantResponse1.swift deleted file mode 100644 index 57c6ee6..0000000 --- a/client/FastCommentsSwift/Models/GetTenantResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenant: APITenant? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenant: APITenant? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenant = tenant - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenant - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenant, forKey: .tenant) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantUserResponse1.swift b/client/FastCommentsSwift/Models/GetTenantUserResponse1.swift deleted file mode 100644 index f71396f..0000000 --- a/client/FastCommentsSwift/Models/GetTenantUserResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantUserResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantUserResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantUser: User? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantUser: User? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantUser = tenantUser - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantUser - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantUser, forKey: .tenantUser) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift b/client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift deleted file mode 100644 index 8e73f2e..0000000 --- a/client/FastCommentsSwift/Models/GetTenantUsersResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantUsersResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantUsersResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenantUsers: [User]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenantUsers: [User]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenantUsers = tenantUsers - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenantUsers - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenantUsers, forKey: .tenantUsers) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTenantsResponse1.swift b/client/FastCommentsSwift/Models/GetTenantsResponse1.swift deleted file mode 100644 index 5d4cd68..0000000 --- a/client/FastCommentsSwift/Models/GetTenantsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTenantsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTenantsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tenants: [APITenant]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tenants: [APITenant]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tenants = tenants - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tenants - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tenants, forKey: .tenants) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTicketResponse1.swift b/client/FastCommentsSwift/Models/GetTicketResponse1.swift deleted file mode 100644 index daaeac6..0000000 --- a/client/FastCommentsSwift/Models/GetTicketResponse1.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetTicketResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTicketResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var ticket: APITicketDetail? - public var availableStates: [Double]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, ticket: APITicketDetail? = nil, availableStates: [Double]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.ticket = ticket - self.availableStates = availableStates - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case ticket - case availableStates - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(ticket, forKey: .ticket) - try container.encodeIfPresent(availableStates, forKey: .availableStates) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTicketsResponse1.swift b/client/FastCommentsSwift/Models/GetTicketsResponse1.swift deleted file mode 100644 index 21ed0af..0000000 --- a/client/FastCommentsSwift/Models/GetTicketsResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetTicketsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTicketsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var tickets: [APITicket]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, tickets: [APITicket]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.tickets = tickets - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case tickets - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(tickets, forKey: .tickets) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTranslationsResponse1.swift b/client/FastCommentsSwift/Models/GetTranslationsResponse1.swift deleted file mode 100644 index c9c7d99..0000000 --- a/client/FastCommentsSwift/Models/GetTranslationsResponse1.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// GetTranslationsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTranslationsResponse1: Sendable, Codable, Hashable { - - /** Construct a type with a set of properties K of type T */ - public var translations: [String: String]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(translations: [String: String]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.translations = translations - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case translations - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(translations, forKey: .translations) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetTrustFactorResponse.swift b/client/FastCommentsSwift/Models/GetTrustFactorResponse.swift deleted file mode 100644 index c3b09c2..0000000 --- a/client/FastCommentsSwift/Models/GetTrustFactorResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// GetTrustFactorResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetTrustFactorResponse: Sendable, Codable, Hashable { - - public var manualTrustFactor: Double? - public var autoTrustFactor: Double? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(manualTrustFactor: Double? = nil, autoTrustFactor: Double? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.manualTrustFactor = manualTrustFactor - self.autoTrustFactor = autoTrustFactor - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case manualTrustFactor - case autoTrustFactor - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(manualTrustFactor, forKey: .manualTrustFactor) - try container.encodeIfPresent(autoTrustFactor, forKey: .autoTrustFactor) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift deleted file mode 100644 index c212827..0000000 --- a/client/FastCommentsSwift/Models/GetUserBadgeProgressByIdResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserBadgeProgressByIdResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserBadgeProgressByIdResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var userBadgeProgress: UserBadgeProgress? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userBadgeProgress: UserBadgeProgress? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userBadgeProgress = userBadgeProgress - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userBadgeProgress - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userBadgeProgress, forKey: .userBadgeProgress) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift deleted file mode 100644 index 058c7ec..0000000 --- a/client/FastCommentsSwift/Models/GetUserBadgeProgressByUserIdResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserBadgeProgressByUserIdResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserBadgeProgressByUserIdResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var userBadgeProgress: UserBadgeProgress? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userBadgeProgress: UserBadgeProgress? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userBadgeProgress = userBadgeProgress - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userBadgeProgress - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userBadgeProgress, forKey: .userBadgeProgress) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift deleted file mode 100644 index 5bab035..0000000 --- a/client/FastCommentsSwift/Models/GetUserBadgeProgressListResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserBadgeProgressListResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserBadgeProgressListResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var userBadgeProgresses: [UserBadgeProgress]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userBadgeProgresses: [UserBadgeProgress]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userBadgeProgresses = userBadgeProgresses - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userBadgeProgresses - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userBadgeProgresses, forKey: .userBadgeProgresses) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserBadgeResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgeResponse.swift deleted file mode 100644 index 0eb3cad..0000000 --- a/client/FastCommentsSwift/Models/GetUserBadgeResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserBadgeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserBadgeResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var userBadge: UserBadge? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userBadge: UserBadge? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userBadge = userBadge - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userBadge - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userBadge, forKey: .userBadge) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserBadgesResponse.swift b/client/FastCommentsSwift/Models/GetUserBadgesResponse.swift deleted file mode 100644 index 85b4c19..0000000 --- a/client/FastCommentsSwift/Models/GetUserBadgesResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserBadgesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserBadgesResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var userBadges: [UserBadge]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userBadges: [UserBadge]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userBadges = userBadges - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userBadges - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userBadges, forKey: .userBadges) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift b/client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift deleted file mode 100644 index 4cbb9cc..0000000 --- a/client/FastCommentsSwift/Models/GetUserBanPreferenceResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserBanPreferenceResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserBanPreferenceResponse: Sendable, Codable, Hashable { - - public var preferences: APIModerateUserBanPreferences? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(preferences: APIModerateUserBanPreferences? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.preferences = preferences - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case preferences - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(preferences, forKey: .preferences) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift b/client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift deleted file mode 100644 index 28b9cb3..0000000 --- a/client/FastCommentsSwift/Models/GetUserInternalProfileResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserInternalProfileResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserInternalProfileResponse1: Sendable, Codable, Hashable { - - public var profile: GetUserInternalProfileResponseProfile? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(profile: GetUserInternalProfileResponseProfile? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.profile = profile - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case profile - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(profile, forKey: .profile) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift b/client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift deleted file mode 100644 index 986a5bd..0000000 --- a/client/FastCommentsSwift/Models/GetUserNotificationCountResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserNotificationCountResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserNotificationCountResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var count: Int64? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, count: Int64? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.count = count - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case count - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(count, forKey: .count) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift b/client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift deleted file mode 100644 index 8cd668a..0000000 --- a/client/FastCommentsSwift/Models/GetUserNotificationsResponse.swift +++ /dev/null @@ -1,74 +0,0 @@ -// -// GetUserNotificationsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserNotificationsResponse: Sendable, Codable, Hashable { - - /** Construct a type with a set of properties K of type T */ - public var translations: [String: String]? - public var isSubscribed: Bool? - public var hasMore: Bool? - public var notifications: [RenderableUserNotification]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(translations: [String: String]? = nil, isSubscribed: Bool? = nil, hasMore: Bool? = nil, notifications: [RenderableUserNotification]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.translations = translations - self.isSubscribed = isSubscribed - self.hasMore = hasMore - self.notifications = notifications - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case translations - case isSubscribed - case hasMore - case notifications - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(translations, forKey: .translations) - try container.encodeIfPresent(isSubscribed, forKey: .isSubscribed) - try container.encodeIfPresent(hasMore, forKey: .hasMore) - try container.encodeIfPresent(notifications, forKey: .notifications) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift b/client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift deleted file mode 100644 index c429878..0000000 --- a/client/FastCommentsSwift/Models/GetUserPresenceStatusesResponse1.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// GetUserPresenceStatusesResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserPresenceStatusesResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - /** Construct a type with a set of properties K of type T */ - public var userIdsOnline: [String: Bool]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, userIdsOnline: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.userIdsOnline = userIdsOnline - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case userIdsOnline - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(userIdsOnline, forKey: .userIdsOnline) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift b/client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift deleted file mode 100644 index a4a90a9..0000000 --- a/client/FastCommentsSwift/Models/GetUserReactsPublicResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserReactsPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserReactsPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reacts: [String: [String: Bool]]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reacts: [String: [String: Bool]]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reacts = reacts - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reacts - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reacts, forKey: .reacts) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUserResponse1.swift b/client/FastCommentsSwift/Models/GetUserResponse1.swift deleted file mode 100644 index 22eb094..0000000 --- a/client/FastCommentsSwift/Models/GetUserResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUserResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUserResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var user: User? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, user: User? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.user = user - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case user - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetUsersInfoResponse.swift b/client/FastCommentsSwift/Models/GetUsersInfoResponse.swift deleted file mode 100644 index be5a1c1..0000000 --- a/client/FastCommentsSwift/Models/GetUsersInfoResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetUsersInfoResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetUsersInfoResponse: Sendable, Codable, Hashable { - - public var users: [PageUserEntry]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(users: [PageUserEntry]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.users = users - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case users - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(users, forKey: .users) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift b/client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift deleted file mode 100644 index f8fd500..0000000 --- a/client/FastCommentsSwift/Models/GetV1PageLikesResponse.swift +++ /dev/null @@ -1,73 +0,0 @@ -// -// GetV1PageLikesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetV1PageLikesResponse: Sendable, Codable, Hashable { - - public var urlIdWS: String? - public var didLike: Bool? - public var commentCount: Int? - public var likeCount: Int? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(urlIdWS: String? = nil, didLike: Bool? = nil, commentCount: Int? = nil, likeCount: Int? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.urlIdWS = urlIdWS - self.didLike = didLike - self.commentCount = commentCount - self.likeCount = likeCount - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case urlIdWS - case didLike - case commentCount - case likeCount - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(urlIdWS, forKey: .urlIdWS) - try container.encodeIfPresent(didLike, forKey: .didLike) - try container.encodeIfPresent(commentCount, forKey: .commentCount) - try container.encodeIfPresent(likeCount, forKey: .likeCount) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift b/client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift deleted file mode 100644 index 8fbfabe..0000000 --- a/client/FastCommentsSwift/Models/GetV2PageReactUsersResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// GetV2PageReactUsersResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetV2PageReactUsersResponse1: Sendable, Codable, Hashable { - - public var userNames: [String]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(userNames: [String]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.userNames = userNames - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case userNames - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(userNames, forKey: .userNames) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift b/client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift deleted file mode 100644 index b855148..0000000 --- a/client/FastCommentsSwift/Models/GetV2PageReactsResponse.swift +++ /dev/null @@ -1,66 +0,0 @@ -// -// GetV2PageReactsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetV2PageReactsResponse: Sendable, Codable, Hashable { - - public var reactedIds: [String]? - /** Construct a type with a set of properties K of type T */ - public var counts: [String: Double]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(reactedIds: [String]? = nil, counts: [String: Double]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.reactedIds = reactedIds - self.counts = counts - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case reactedIds - case counts - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(reactedIds, forKey: .reactedIds) - try container.encodeIfPresent(counts, forKey: .counts) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift b/client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift deleted file mode 100644 index 5478e23..0000000 --- a/client/FastCommentsSwift/Models/GetVotesForUserResponse1.swift +++ /dev/null @@ -1,69 +0,0 @@ -// -// GetVotesForUserResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetVotesForUserResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var appliedAuthorizedVotes: [PublicVote]? - public var appliedAnonymousVotes: [PublicVote]? - public var pendingVotes: [PublicVote]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, appliedAuthorizedVotes: [PublicVote]? = nil, appliedAnonymousVotes: [PublicVote]? = nil, pendingVotes: [PublicVote]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.appliedAuthorizedVotes = appliedAuthorizedVotes - self.appliedAnonymousVotes = appliedAnonymousVotes - self.pendingVotes = pendingVotes - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case appliedAuthorizedVotes - case appliedAnonymousVotes - case pendingVotes - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(appliedAuthorizedVotes, forKey: .appliedAuthorizedVotes) - try container.encodeIfPresent(appliedAnonymousVotes, forKey: .appliedAnonymousVotes) - try container.encodeIfPresent(pendingVotes, forKey: .pendingVotes) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/GetVotesResponse1.swift b/client/FastCommentsSwift/Models/GetVotesResponse1.swift deleted file mode 100644 index e17e1d6..0000000 --- a/client/FastCommentsSwift/Models/GetVotesResponse1.swift +++ /dev/null @@ -1,69 +0,0 @@ -// -// GetVotesResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct GetVotesResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var appliedAuthorizedVotes: [PublicVote]? - public var appliedAnonymousVotes: [PublicVote]? - public var pendingVotes: [PublicVote]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, appliedAuthorizedVotes: [PublicVote]? = nil, appliedAnonymousVotes: [PublicVote]? = nil, pendingVotes: [PublicVote]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.appliedAuthorizedVotes = appliedAuthorizedVotes - self.appliedAnonymousVotes = appliedAnonymousVotes - self.pendingVotes = pendingVotes - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case appliedAuthorizedVotes - case appliedAnonymousVotes - case pendingVotes - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(appliedAuthorizedVotes, forKey: .appliedAuthorizedVotes) - try container.encodeIfPresent(appliedAnonymousVotes, forKey: .appliedAnonymousVotes) - try container.encodeIfPresent(pendingVotes, forKey: .pendingVotes) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/LockCommentResponse.swift b/client/FastCommentsSwift/Models/LockCommentResponse.swift deleted file mode 100644 index 48bb45f..0000000 --- a/client/FastCommentsSwift/Models/LockCommentResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// LockCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct LockCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PatchHashTagResponse.swift b/client/FastCommentsSwift/Models/PatchHashTagResponse.swift deleted file mode 100644 index 5d971fd..0000000 --- a/client/FastCommentsSwift/Models/PatchHashTagResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PatchHashTagResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PatchHashTagResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var hashTag: TenantHashTag? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, hashTag: TenantHashTag? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.hashTag = hashTag - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case hashTag - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(hashTag, forKey: .hashTag) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PinCommentResponse.swift b/client/FastCommentsSwift/Models/PinCommentResponse.swift deleted file mode 100644 index 7d8f23b..0000000 --- a/client/FastCommentsSwift/Models/PinCommentResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// PinCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PinCommentResponse: Sendable, Codable, Hashable { - - /** Construct a type with a set of properties K of type T */ - public var commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.commentPositions = commentPositions - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case commentPositions - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(commentPositions, forKey: .commentPositions) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift b/client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift deleted file mode 100644 index 47f3acd..0000000 --- a/client/FastCommentsSwift/Models/PostAdjustCommentVotesResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PostAdjustCommentVotesResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostAdjustCommentVotesResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var newCommentVotes: Int? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, newCommentVotes: Int? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.newCommentVotes = newCommentVotes - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case newCommentVotes - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(newCommentVotes, forKey: .newCommentVotes) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostApiExportResponse.swift b/client/FastCommentsSwift/Models/PostApiExportResponse.swift deleted file mode 100644 index 670a96e..0000000 --- a/client/FastCommentsSwift/Models/PostApiExportResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PostApiExportResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostApiExportResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var batchJobId: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, batchJobId: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.batchJobId = batchJobId - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case batchJobId - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(batchJobId, forKey: .batchJobId) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift b/client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift deleted file mode 100644 index 221a0be..0000000 --- a/client/FastCommentsSwift/Models/PostBanUserFromCommentResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PostBanUserFromCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostBanUserFromCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var changelog: APIBanUserChangeLog? - public var code: String? - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, changelog: APIBanUserChangeLog? = nil, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.changelog = changelog - self.code = code - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case changelog - case code - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(changelog, forKey: .changelog) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift b/client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift deleted file mode 100644 index 7f7f6df..0000000 --- a/client/FastCommentsSwift/Models/PostBanUserUndoResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PostBanUserUndoResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostBanUserUndoResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift b/client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift deleted file mode 100644 index 46a728d..0000000 --- a/client/FastCommentsSwift/Models/PostBulkPreBanSummaryResponse.swift +++ /dev/null @@ -1,77 +0,0 @@ -// -// PostBulkPreBanSummaryResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostBulkPreBanSummaryResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var totalRelatedCommentCount: Int? - public var emailDomains: [String]? - public var emails: [String]? - public var userIds: [String]? - public var ipHashes: [String]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, totalRelatedCommentCount: Int? = nil, emailDomains: [String]? = nil, emails: [String]? = nil, userIds: [String]? = nil, ipHashes: [String]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.totalRelatedCommentCount = totalRelatedCommentCount - self.emailDomains = emailDomains - self.emails = emails - self.userIds = userIds - self.ipHashes = ipHashes - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case totalRelatedCommentCount - case emailDomains - case emails - case userIds - case ipHashes - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(totalRelatedCommentCount, forKey: .totalRelatedCommentCount) - try container.encodeIfPresent(emailDomains, forKey: .emailDomains) - try container.encodeIfPresent(emails, forKey: .emails) - try container.encodeIfPresent(userIds, forKey: .userIds) - try container.encodeIfPresent(ipHashes, forKey: .ipHashes) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift b/client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift deleted file mode 100644 index bf45c38..0000000 --- a/client/FastCommentsSwift/Models/PostCommentsByIdsResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PostCommentsByIdsResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostCommentsByIdsResponse: Sendable, Codable, Hashable { - - public var comments: [ModerationAPIComment]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(comments: [ModerationAPIComment]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.comments = comments - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case comments - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(comments, forKey: .comments) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostFlagCommentResponse.swift b/client/FastCommentsSwift/Models/PostFlagCommentResponse.swift deleted file mode 100644 index e1ce388..0000000 --- a/client/FastCommentsSwift/Models/PostFlagCommentResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PostFlagCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostFlagCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift b/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift index 3619bcb..450a2f7 100644 --- a/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift +++ b/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift @@ -9,53 +9,25 @@ import Foundation public struct PostRemoveCommentResponse: Sendable, Codable, Hashable { - public var action: String? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(action: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + public var action: String + public var status: String + + public init(action: String, status: String) { self.action = action self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { case action case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig } // Encodable protocol methods public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(action, forKey: .action) + try container.encode(action, forKey: .action) try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift b/client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift deleted file mode 100644 index efc3499..0000000 --- a/client/FastCommentsSwift/Models/PostRestoreDeletedCommentResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PostRestoreDeletedCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostRestoreDeletedCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift deleted file mode 100644 index c7714fd..0000000 --- a/client/FastCommentsSwift/Models/PostSetCommentApprovalStatusResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PostSetCommentApprovalStatusResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostSetCommentApprovalStatusResponse: Sendable, Codable, Hashable { - - public var didResetFlaggedCount: Bool? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(didResetFlaggedCount: Bool? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.didResetFlaggedCount = didResetFlaggedCount - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case didResetFlaggedCount - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(didResetFlaggedCount, forKey: .didResetFlaggedCount) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift deleted file mode 100644 index 01753b8..0000000 --- a/client/FastCommentsSwift/Models/PostSetCommentReviewStatusResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PostSetCommentReviewStatusResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostSetCommentReviewStatusResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift deleted file mode 100644 index ca2c8b5..0000000 --- a/client/FastCommentsSwift/Models/PostSetCommentSpamStatusResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PostSetCommentSpamStatusResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostSetCommentSpamStatusResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift b/client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift deleted file mode 100644 index f173baa..0000000 --- a/client/FastCommentsSwift/Models/PostSetCommentTextResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PostSetCommentTextResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostSetCommentTextResponse: Sendable, Codable, Hashable { - - public var newCommentTextHTML: String? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(newCommentTextHTML: String? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.newCommentTextHTML = newCommentTextHTML - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case newCommentTextHTML - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(newCommentTextHTML, forKey: .newCommentTextHTML) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift b/client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift deleted file mode 100644 index 92eb723..0000000 --- a/client/FastCommentsSwift/Models/PostUnFlagCommentResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PostUnFlagCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostUnFlagCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PostVoteResponse.swift b/client/FastCommentsSwift/Models/PostVoteResponse.swift deleted file mode 100644 index 87255e4..0000000 --- a/client/FastCommentsSwift/Models/PostVoteResponse.swift +++ /dev/null @@ -1,73 +0,0 @@ -// -// PostVoteResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PostVoteResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var voteId: String? - public var isVerified: Bool? - public var user: VoteResponseUser? - public var editKey: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, voteId: String? = nil, isVerified: Bool? = nil, user: VoteResponseUser? = nil, editKey: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.voteId = voteId - self.isVerified = isVerified - self.user = user - self.editKey = editKey - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case voteId - case isVerified - case user - case editKey - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(voteId, forKey: .voteId) - try container.encodeIfPresent(isVerified, forKey: .isVerified) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(editKey, forKey: .editKey) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift b/client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift deleted file mode 100644 index fa9137c..0000000 --- a/client/FastCommentsSwift/Models/PutAwardBadgeResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// PutAwardBadgeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PutAwardBadgeResponse: Sendable, Codable, Hashable { - - public var notes: [String]? - public var badges: [CommentUserBadgeInfo]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(notes: [String]? = nil, badges: [CommentUserBadgeInfo]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.notes = notes - self.badges = badges - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case notes - case badges - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(notes, forKey: .notes) - try container.encodeIfPresent(badges, forKey: .badges) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PutCloseThreadResponse.swift b/client/FastCommentsSwift/Models/PutCloseThreadResponse.swift deleted file mode 100644 index 8a8dfb2..0000000 --- a/client/FastCommentsSwift/Models/PutCloseThreadResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PutCloseThreadResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PutCloseThreadResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift b/client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift deleted file mode 100644 index ba18350..0000000 --- a/client/FastCommentsSwift/Models/PutRemoveBadgeResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// PutRemoveBadgeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PutRemoveBadgeResponse: Sendable, Codable, Hashable { - - public var badges: [CommentUserBadgeInfo]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(badges: [CommentUserBadgeInfo]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.badges = badges - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case badges - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(badges, forKey: .badges) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/PutReopenThreadResponse.swift b/client/FastCommentsSwift/Models/PutReopenThreadResponse.swift deleted file mode 100644 index e61502e..0000000 --- a/client/FastCommentsSwift/Models/PutReopenThreadResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// PutReopenThreadResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct PutReopenThreadResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift deleted file mode 100644 index 32aa754..0000000 --- a/client/FastCommentsSwift/Models/ReactFeedPostPublicResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// ReactFeedPostPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct ReactFeedPostPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reactType: String? - public var isUndo: Bool? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reactType: String? = nil, isUndo: Bool? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reactType = reactType - self.isUndo = isUndo - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reactType - case isUndo - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reactType, forKey: .reactType) - try container.encodeIfPresent(isUndo, forKey: .isUndo) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift b/client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift deleted file mode 100644 index de660be..0000000 --- a/client/FastCommentsSwift/Models/RenderEmailTemplateResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// RenderEmailTemplateResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct RenderEmailTemplateResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var html: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, html: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.html = html - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case html - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(html, forKey: .html) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift b/client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift deleted file mode 100644 index cf86e43..0000000 --- a/client/FastCommentsSwift/Models/ReplaceTenantPackageResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// ReplaceTenantPackageResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct ReplaceTenantPackageResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift b/client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift deleted file mode 100644 index edf5d95..0000000 --- a/client/FastCommentsSwift/Models/ReplaceTenantUserResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// ReplaceTenantUserResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct ReplaceTenantUserResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift b/client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift deleted file mode 100644 index 00b460d..0000000 --- a/client/FastCommentsSwift/Models/ResetUserNotificationCountResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// ResetUserNotificationCountResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct ResetUserNotificationCountResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var code: String? - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.code = code - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case code - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift b/client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift deleted file mode 100644 index b9c89b6..0000000 --- a/client/FastCommentsSwift/Models/ResetUserNotificationsResponse1.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// ResetUserNotificationsResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct ResetUserNotificationsResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var code: String? - public var reason: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, code: String? = nil, reason: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.code = code - self.reason = reason - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case code - case reason - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/SaveCommentResponse.swift b/client/FastCommentsSwift/Models/SaveCommentResponse.swift deleted file mode 100644 index f745dba..0000000 --- a/client/FastCommentsSwift/Models/SaveCommentResponse.swift +++ /dev/null @@ -1,70 +0,0 @@ -// -// SaveCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct SaveCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var comment: APIComment? - public var user: UserSessionInfo? - /** Construct a type with a set of properties K of type T */ - public var moduleData: [String: JSONValue]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, comment: APIComment? = nil, user: UserSessionInfo? = nil, moduleData: [String: JSONValue]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.comment = comment - self.user = user - self.moduleData = moduleData - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case comment - case user - case moduleData - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(moduleData, forKey: .moduleData) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/SearchUsersResponse1.swift b/client/FastCommentsSwift/Models/SearchUsersResponse1.swift deleted file mode 100644 index 61b2317..0000000 --- a/client/FastCommentsSwift/Models/SearchUsersResponse1.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// SearchUsersResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct SearchUsersResponse1: Sendable, Codable, Hashable { - - public var status: APIStatus - public var sections: [UserSearchSectionResult]? - public var users: [UserSearchResult]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, sections: [UserSearchSectionResult]? = nil, users: [UserSearchResult]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.sections = sections - self.users = users - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case sections - case users - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(sections, forKey: .sections) - try container.encodeIfPresent(users, forKey: .users) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/SendInviteResponse.swift b/client/FastCommentsSwift/Models/SendInviteResponse.swift deleted file mode 100644 index 8bf8acb..0000000 --- a/client/FastCommentsSwift/Models/SendInviteResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// SendInviteResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct SendInviteResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/SendLoginLinkResponse.swift b/client/FastCommentsSwift/Models/SendLoginLinkResponse.swift deleted file mode 100644 index 0e9f8d2..0000000 --- a/client/FastCommentsSwift/Models/SendLoginLinkResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// SendLoginLinkResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct SendLoginLinkResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/SetCommentTextResponse1.swift b/client/FastCommentsSwift/Models/SetCommentTextResponse1.swift deleted file mode 100644 index f2a7a3f..0000000 --- a/client/FastCommentsSwift/Models/SetCommentTextResponse1.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// SetCommentTextResponse1.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct SetCommentTextResponse1: Sendable, Codable, Hashable { - - public var comment: SetCommentTextResult? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(comment: SetCommentTextResult? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.comment = comment - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case comment - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(comment, forKey: .comment) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/SetTrustFactorResponse.swift b/client/FastCommentsSwift/Models/SetTrustFactorResponse.swift deleted file mode 100644 index 8bf1e71..0000000 --- a/client/FastCommentsSwift/Models/SetTrustFactorResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// SetTrustFactorResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct SetTrustFactorResponse: Sendable, Codable, Hashable { - - public var previousManualTrustFactor: Double? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(previousManualTrustFactor: Double? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.previousManualTrustFactor = previousManualTrustFactor - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case previousManualTrustFactor - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(previousManualTrustFactor, forKey: .previousManualTrustFactor) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift b/client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift deleted file mode 100644 index 760c1dc..0000000 --- a/client/FastCommentsSwift/Models/UnBlockCommentPublicResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// UnBlockCommentPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UnBlockCommentPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - /** Construct a type with a set of properties K of type T */ - public var commentStatuses: [String: Bool]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.commentStatuses = commentStatuses - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case commentStatuses - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift b/client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift deleted file mode 100644 index 699f235..0000000 --- a/client/FastCommentsSwift/Models/UnBlockUserFromCommentResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// UnBlockUserFromCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UnBlockUserFromCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - /** Construct a type with a set of properties K of type T */ - public var commentStatuses: [String: Bool]? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, commentStatuses: [String: Bool]? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.commentStatuses = commentStatuses - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case commentStatuses - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(commentStatuses, forKey: .commentStatuses) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UnFlagCommentResponse.swift b/client/FastCommentsSwift/Models/UnFlagCommentResponse.swift deleted file mode 100644 index 372560d..0000000 --- a/client/FastCommentsSwift/Models/UnFlagCommentResponse.swift +++ /dev/null @@ -1,65 +0,0 @@ -// -// UnFlagCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UnFlagCommentResponse: Sendable, Codable, Hashable { - - public var statusCode: Int? - public var status: APIStatus - public var code: String? - public var reason: String? - public var wasUnapproved: Bool? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(statusCode: Int? = nil, status: APIStatus, code: String? = nil, reason: String? = nil, wasUnapproved: Bool? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.statusCode = statusCode - self.status = status - self.code = code - self.reason = reason - self.wasUnapproved = wasUnapproved - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case statusCode - case status - case code - case reason - case wasUnapproved - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(statusCode, forKey: .statusCode) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(wasUnapproved, forKey: .wasUnapproved) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UnLockCommentResponse.swift b/client/FastCommentsSwift/Models/UnLockCommentResponse.swift deleted file mode 100644 index 03bbdb8..0000000 --- a/client/FastCommentsSwift/Models/UnLockCommentResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UnLockCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UnLockCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UnPinCommentResponse.swift b/client/FastCommentsSwift/Models/UnPinCommentResponse.swift deleted file mode 100644 index fea00d0..0000000 --- a/client/FastCommentsSwift/Models/UnPinCommentResponse.swift +++ /dev/null @@ -1,62 +0,0 @@ -// -// UnPinCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UnPinCommentResponse: Sendable, Codable, Hashable { - - /** Construct a type with a set of properties K of type T */ - public var commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(commentPositions: [String: RecordStringBeforeStringOrNullAfterStringOrNullValue]? = nil, status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.commentPositions = commentPositions - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case commentPositions - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encodeIfPresent(commentPositions, forKey: .commentPositions) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateCommentResponse.swift b/client/FastCommentsSwift/Models/UpdateCommentResponse.swift deleted file mode 100644 index be00bea..0000000 --- a/client/FastCommentsSwift/Models/UpdateCommentResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift b/client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift deleted file mode 100644 index 3ea22ba..0000000 --- a/client/FastCommentsSwift/Models/UpdateEmailTemplateResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateEmailTemplateResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateEmailTemplateResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift b/client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift deleted file mode 100644 index 907ce79..0000000 --- a/client/FastCommentsSwift/Models/UpdateFeedPostPublicResponse.swift +++ /dev/null @@ -1,61 +0,0 @@ -// -// UpdateFeedPostPublicResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateFeedPostPublicResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var feedPost: FeedPost? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, feedPost: FeedPost? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.feedPost = feedPost - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case feedPost - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(feedPost, forKey: .feedPost) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift b/client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift deleted file mode 100644 index a780479..0000000 --- a/client/FastCommentsSwift/Models/UpdateFeedPostResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateFeedPostResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateFeedPostResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateModeratorResponse.swift b/client/FastCommentsSwift/Models/UpdateModeratorResponse.swift deleted file mode 100644 index 95c04a5..0000000 --- a/client/FastCommentsSwift/Models/UpdateModeratorResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateModeratorResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateModeratorResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateNotificationResponse.swift b/client/FastCommentsSwift/Models/UpdateNotificationResponse.swift deleted file mode 100644 index f502da0..0000000 --- a/client/FastCommentsSwift/Models/UpdateNotificationResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateNotificationResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateNotificationResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift b/client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift deleted file mode 100644 index 1cff5d4..0000000 --- a/client/FastCommentsSwift/Models/UpdateQuestionConfigResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateQuestionConfigResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateQuestionConfigResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift b/client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift deleted file mode 100644 index 42afbcd..0000000 --- a/client/FastCommentsSwift/Models/UpdateQuestionResultResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateQuestionResultResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateQuestionResultResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift b/client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift deleted file mode 100644 index 2827e13..0000000 --- a/client/FastCommentsSwift/Models/UpdateTenantPackageResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateTenantPackageResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateTenantPackageResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateTenantResponse.swift b/client/FastCommentsSwift/Models/UpdateTenantResponse.swift deleted file mode 100644 index 0649e95..0000000 --- a/client/FastCommentsSwift/Models/UpdateTenantResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateTenantResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateTenantResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift b/client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift deleted file mode 100644 index 9b48e0c..0000000 --- a/client/FastCommentsSwift/Models/UpdateTenantUserResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateTenantUserResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateTenantUserResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift b/client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift deleted file mode 100644 index 04c3271..0000000 --- a/client/FastCommentsSwift/Models/UpdateUserBadgeResponse.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// UpdateUserBadgeResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct UpdateUserBadgeResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift b/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift index 157c8c3..0732d53 100644 --- a/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift +++ b/client/FastCommentsSwift/Models/UpdateUserNotificationCommentSubscriptionStatusResponse.swift @@ -17,26 +17,12 @@ public struct UpdateUserNotificationCommentSubscriptionStatusResponse: Sendable, public var matchedCount: Int64? public var modifiedCount: Int64? public var note: Note? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil) { self.status = status self.matchedCount = matchedCount self.modifiedCount = modifiedCount self.note = note - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -44,13 +30,6 @@ public struct UpdateUserNotificationCommentSubscriptionStatusResponse: Sendable, case matchedCount case modifiedCount case note - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig } // Encodable protocol methods @@ -61,13 +40,6 @@ public struct UpdateUserNotificationCommentSubscriptionStatusResponse: Sendable, try container.encodeIfPresent(matchedCount, forKey: .matchedCount) try container.encodeIfPresent(modifiedCount, forKey: .modifiedCount) try container.encodeIfPresent(note, forKey: .note) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift b/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift index c2ca26a..ba8fe3e 100644 --- a/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift +++ b/client/FastCommentsSwift/Models/UpdateUserNotificationPageSubscriptionStatusResponse.swift @@ -17,26 +17,12 @@ public struct UpdateUserNotificationPageSubscriptionStatusResponse: Sendable, Co public var matchedCount: Int64? public var modifiedCount: Int64? public var note: Note? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil) { self.status = status self.matchedCount = matchedCount self.modifiedCount = modifiedCount self.note = note - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -44,13 +30,6 @@ public struct UpdateUserNotificationPageSubscriptionStatusResponse: Sendable, Co case matchedCount case modifiedCount case note - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig } // Encodable protocol methods @@ -61,13 +40,6 @@ public struct UpdateUserNotificationPageSubscriptionStatusResponse: Sendable, Co try container.encodeIfPresent(matchedCount, forKey: .matchedCount) try container.encodeIfPresent(modifiedCount, forKey: .modifiedCount) try container.encodeIfPresent(note, forKey: .note) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift b/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift index 0f9b70c..2b549a5 100644 --- a/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift +++ b/client/FastCommentsSwift/Models/UpdateUserNotificationStatusResponse.swift @@ -17,26 +17,12 @@ public struct UpdateUserNotificationStatusResponse: Sendable, Codable, Hashable public var matchedCount: Int64? public var modifiedCount: Int64? public var note: Note? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { + public init(status: APIStatus, matchedCount: Int64? = nil, modifiedCount: Int64? = nil, note: Note? = nil) { self.status = status self.matchedCount = matchedCount self.modifiedCount = modifiedCount self.note = note - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig } public enum CodingKeys: String, CodingKey, CaseIterable { @@ -44,13 +30,6 @@ public struct UpdateUserNotificationStatusResponse: Sendable, Codable, Hashable case matchedCount case modifiedCount case note - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig } // Encodable protocol methods @@ -61,13 +40,6 @@ public struct UpdateUserNotificationStatusResponse: Sendable, Codable, Hashable try container.encodeIfPresent(matchedCount, forKey: .matchedCount) try container.encodeIfPresent(modifiedCount, forKey: .modifiedCount) try container.encodeIfPresent(note, forKey: .note) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) } } diff --git a/client/FastCommentsSwift/Models/VoteCommentResponse.swift b/client/FastCommentsSwift/Models/VoteCommentResponse.swift deleted file mode 100644 index 93434ec..0000000 --- a/client/FastCommentsSwift/Models/VoteCommentResponse.swift +++ /dev/null @@ -1,73 +0,0 @@ -// -// VoteCommentResponse.swift -// -// Generated by openapi-generator -// https://openapi-generator.tech -// - -import Foundation - -public struct VoteCommentResponse: Sendable, Codable, Hashable { - - public var status: APIStatus - public var voteId: String? - public var isVerified: Bool? - public var user: VoteResponseUser? - public var editKey: String? - public var reason: String? - public var code: String? - public var secondaryCode: String? - public var bannedUntil: Int64? - public var maxCharacterLength: Int? - public var translatedError: String? - public var customConfig: CustomConfigParameters? - - public init(status: APIStatus, voteId: String? = nil, isVerified: Bool? = nil, user: VoteResponseUser? = nil, editKey: String? = nil, reason: String? = nil, code: String? = nil, secondaryCode: String? = nil, bannedUntil: Int64? = nil, maxCharacterLength: Int? = nil, translatedError: String? = nil, customConfig: CustomConfigParameters? = nil) { - self.status = status - self.voteId = voteId - self.isVerified = isVerified - self.user = user - self.editKey = editKey - self.reason = reason - self.code = code - self.secondaryCode = secondaryCode - self.bannedUntil = bannedUntil - self.maxCharacterLength = maxCharacterLength - self.translatedError = translatedError - self.customConfig = customConfig - } - - public enum CodingKeys: String, CodingKey, CaseIterable { - case status - case voteId - case isVerified - case user - case editKey - case reason - case code - case secondaryCode - case bannedUntil - case maxCharacterLength - case translatedError - case customConfig - } - - // Encodable protocol methods - - public func encode(to encoder: Encoder) throws { - var container = encoder.container(keyedBy: CodingKeys.self) - try container.encode(status, forKey: .status) - try container.encodeIfPresent(voteId, forKey: .voteId) - try container.encodeIfPresent(isVerified, forKey: .isVerified) - try container.encodeIfPresent(user, forKey: .user) - try container.encodeIfPresent(editKey, forKey: .editKey) - try container.encodeIfPresent(reason, forKey: .reason) - try container.encodeIfPresent(code, forKey: .code) - try container.encodeIfPresent(secondaryCode, forKey: .secondaryCode) - try container.encodeIfPresent(bannedUntil, forKey: .bannedUntil) - try container.encodeIfPresent(maxCharacterLength, forKey: .maxCharacterLength) - try container.encodeIfPresent(translatedError, forKey: .translatedError) - try container.encodeIfPresent(customConfig, forKey: .customConfig) - } -} - diff --git a/client/README.md b/client/README.md index 758fd5b..5b84f41 100644 --- a/client/README.md +++ b/client/README.md @@ -274,14 +274,11 @@ Class | Method | HTTP request | Description - [AddDomainConfigParams](docs/AddDomainConfigParams.md) - [AddDomainConfigResponse](docs/AddDomainConfigResponse.md) - [AddDomainConfigResponseAnyOf](docs/AddDomainConfigResponseAnyOf.md) - - [AddHashTagResponse](docs/AddHashTagResponse.md) - - [AddHashTagsBulkResponse](docs/AddHashTagsBulkResponse.md) - [AddPageAPIResponse](docs/AddPageAPIResponse.md) - [AddSSOUserAPIResponse](docs/AddSSOUserAPIResponse.md) - [AdjustCommentVotesParams](docs/AdjustCommentVotesParams.md) - [AdjustVotesResponse](docs/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](docs/AggregateQuestionResultsResponse.md) - - [AggregateQuestionResultsResponse1](docs/AggregateQuestionResultsResponse1.md) - [AggregateResponse](docs/AggregateResponse.md) - [AggregateTimeBucket](docs/AggregateTimeBucket.md) - [AggregationAPIError](docs/AggregationAPIError.md) @@ -301,15 +298,12 @@ Class | Method | HTTP request | Description - [BannedUserMatchType](docs/BannedUserMatchType.md) - [BillingInfo](docs/BillingInfo.md) - [BlockFromCommentParams](docs/BlockFromCommentParams.md) - - [BlockFromCommentPublicResponse](docs/BlockFromCommentPublicResponse.md) - [BlockSuccess](docs/BlockSuccess.md) - - [BlockUserFromCommentResponse](docs/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](docs/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](docs/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](docs/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](docs/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](docs/BulkAggregateQuestionResultsResponse.md) - - [BulkAggregateQuestionResultsResponse1](docs/BulkAggregateQuestionResultsResponse1.md) - [BulkCreateHashTagsBody](docs/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBodyTagsInner](docs/BulkCreateHashTagsBodyTagsInner.md) - [BulkCreateHashTagsResponse](docs/BulkCreateHashTagsResponse.md) @@ -319,10 +313,7 @@ Class | Method | HTTP request | Description - [ChangeCommentPinStatusResponse](docs/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](docs/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](docs/ChangeTicketStateResponse.md) - - [ChangeTicketStateResponse1](docs/ChangeTicketStateResponse1.md) - [CheckBlockedCommentsResponse](docs/CheckBlockedCommentsResponse.md) - - [CheckedCommentsForBlockedResponse](docs/CheckedCommentsForBlockedResponse.md) - - [CombineCommentsWithQuestionResultsResponse](docs/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](docs/CommentData.md) - [CommentHTMLRenderingMode](docs/CommentHTMLRenderingMode.md) @@ -342,75 +333,40 @@ Class | Method | HTTP request | Description - [CreateAPISSOUserData](docs/CreateAPISSOUserData.md) - [CreateAPIUserSubscriptionData](docs/CreateAPIUserSubscriptionData.md) - [CreateCommentParams](docs/CreateCommentParams.md) - - [CreateCommentPublicResponse](docs/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md) - - [CreateEmailTemplateResponse1](docs/CreateEmailTemplateResponse1.md) - [CreateFeedPostParams](docs/CreateFeedPostParams.md) - - [CreateFeedPostPublicResponse](docs/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](docs/CreateFeedPostResponse.md) - - [CreateFeedPostResponse1](docs/CreateFeedPostResponse1.md) - [CreateFeedPostsResponse](docs/CreateFeedPostsResponse.md) - [CreateHashTagBody](docs/CreateHashTagBody.md) - [CreateHashTagResponse](docs/CreateHashTagResponse.md) - [CreateModeratorBody](docs/CreateModeratorBody.md) - [CreateModeratorResponse](docs/CreateModeratorResponse.md) - - [CreateModeratorResponse1](docs/CreateModeratorResponse1.md) - [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md) - - [CreateQuestionConfigResponse1](docs/CreateQuestionConfigResponse1.md) - [CreateQuestionResultBody](docs/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](docs/CreateQuestionResultResponse.md) - - [CreateQuestionResultResponse1](docs/CreateQuestionResultResponse1.md) - [CreateSubscriptionAPIResponse](docs/CreateSubscriptionAPIResponse.md) - [CreateTenantBody](docs/CreateTenantBody.md) - [CreateTenantPackageBody](docs/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](docs/CreateTenantPackageResponse.md) - - [CreateTenantPackageResponse1](docs/CreateTenantPackageResponse1.md) - [CreateTenantResponse](docs/CreateTenantResponse.md) - - [CreateTenantResponse1](docs/CreateTenantResponse1.md) - [CreateTenantUserBody](docs/CreateTenantUserBody.md) - [CreateTenantUserResponse](docs/CreateTenantUserResponse.md) - - [CreateTenantUserResponse1](docs/CreateTenantUserResponse1.md) - [CreateTicketBody](docs/CreateTicketBody.md) - [CreateTicketResponse](docs/CreateTicketResponse.md) - - [CreateTicketResponse1](docs/CreateTicketResponse1.md) - [CreateUserBadgeParams](docs/CreateUserBadgeParams.md) - - [CreateUserBadgeResponse](docs/CreateUserBadgeResponse.md) - [CreateV1PageReact](docs/CreateV1PageReact.md) - - [CreateV1PageReactResponse](docs/CreateV1PageReactResponse.md) - - [CreateV2PageReactResponse](docs/CreateV2PageReactResponse.md) - - [CreateVoteResponse](docs/CreateVoteResponse.md) - [CustomConfigParameters](docs/CustomConfigParameters.md) - [CustomEmailTemplate](docs/CustomEmailTemplate.md) - [DeleteCommentAction](docs/DeleteCommentAction.md) - - [DeleteCommentPublicResponse](docs/DeleteCommentPublicResponse.md) - - [DeleteCommentResponse](docs/DeleteCommentResponse.md) - [DeleteCommentResult](docs/DeleteCommentResult.md) - - [DeleteCommentVoteResponse](docs/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](docs/DeleteDomainConfigResponse.md) - - [DeleteEmailTemplateRenderErrorResponse](docs/DeleteEmailTemplateRenderErrorResponse.md) - - [DeleteEmailTemplateResponse](docs/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md) - - [DeleteFeedPostPublicResponseAnyOf](docs/DeleteFeedPostPublicResponseAnyOf.md) - [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md) - - [DeleteHashTagResponse](docs/DeleteHashTagResponse.md) - - [DeleteModerationVoteResponse](docs/DeleteModerationVoteResponse.md) - - [DeleteModeratorResponse](docs/DeleteModeratorResponse.md) - - [DeleteNotificationCountResponse](docs/DeleteNotificationCountResponse.md) - [DeletePageAPIResponse](docs/DeletePageAPIResponse.md) - - [DeletePendingWebhookEventResponse](docs/DeletePendingWebhookEventResponse.md) - - [DeleteQuestionConfigResponse](docs/DeleteQuestionConfigResponse.md) - - [DeleteQuestionResultResponse](docs/DeleteQuestionResultResponse.md) - [DeleteSSOUserAPIResponse](docs/DeleteSSOUserAPIResponse.md) - [DeleteSubscriptionAPIResponse](docs/DeleteSubscriptionAPIResponse.md) - - [DeleteTenantPackageResponse](docs/DeleteTenantPackageResponse.md) - - [DeleteTenantResponse](docs/DeleteTenantResponse.md) - - [DeleteTenantUserResponse](docs/DeleteTenantUserResponse.md) - - [DeleteUserBadgeResponse](docs/DeleteUserBadgeResponse.md) - - [DeleteV1PageReactResponse](docs/DeleteV1PageReactResponse.md) - - [DeleteV2PageReactResponse](docs/DeleteV2PageReactResponse.md) - - [DeleteVoteResponse](docs/DeleteVoteResponse.md) - [DeletedCommentResultComment](docs/DeletedCommentResultComment.md) - [DigestEmailFrequency](docs/DigestEmailFrequency.md) - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md) @@ -426,154 +382,72 @@ Class | Method | HTTP request | Description - [FeedPostsStatsResponse](docs/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](docs/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](docs/FindCommentsByRangeResponse.md) - - [FlagCommentPublicResponse](docs/FlagCommentPublicResponse.md) - [FlagCommentResponse](docs/FlagCommentResponse.md) - - [FlagCommentResponse1](docs/FlagCommentResponse1.md) - - [GetApiCommentsResponse](docs/GetApiCommentsResponse.md) - - [GetApiExportStatusResponse](docs/GetApiExportStatusResponse.md) - - [GetApiIdsResponse](docs/GetApiIdsResponse.md) - [GetAuditLogsResponse](docs/GetAuditLogsResponse.md) - - [GetAuditLogsResponse1](docs/GetAuditLogsResponse1.md) - - [GetBanUsersFromCommentResponse](docs/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md) - - [GetCachedNotificationCountResponse1](docs/GetCachedNotificationCountResponse1.md) - [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md) - - [GetCommentBanStatusResponse1](docs/GetCommentBanStatusResponse1.md) - - [GetCommentChildrenResponse](docs/GetCommentChildrenResponse.md) - - [GetCommentResponse](docs/GetCommentResponse.md) - [GetCommentTextResponse](docs/GetCommentTextResponse.md) - - [GetCommentTextResponse1](docs/GetCommentTextResponse1.md) - - [GetCommentVoteUserNamesResponse](docs/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](docs/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](docs/GetCommentsForUserResponse.md) - - [GetCommentsForUserResponse1](docs/GetCommentsForUserResponse1.md) - - [GetCommentsPublicResponse](docs/GetCommentsPublicResponse.md) - - [GetCommentsResponse](docs/GetCommentsResponse.md) - [GetCommentsResponsePublicComment](docs/GetCommentsResponsePublicComment.md) - [GetCommentsResponseWithPresencePublicComment](docs/GetCommentsResponseWithPresencePublicComment.md) - - [GetCountResponse](docs/GetCountResponse.md) - - [GetCountsResponse](docs/GetCountsResponse.md) - [GetDomainConfigResponse](docs/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](docs/GetDomainConfigsResponse.md) - [GetDomainConfigsResponseAnyOf](docs/GetDomainConfigsResponseAnyOf.md) - [GetDomainConfigsResponseAnyOf1](docs/GetDomainConfigsResponseAnyOf1.md) - [GetEmailTemplateDefinitionsResponse](docs/GetEmailTemplateDefinitionsResponse.md) - - [GetEmailTemplateDefinitionsResponse1](docs/GetEmailTemplateDefinitionsResponse1.md) - [GetEmailTemplateRenderErrorsResponse](docs/GetEmailTemplateRenderErrorsResponse.md) - - [GetEmailTemplateRenderErrorsResponse1](docs/GetEmailTemplateRenderErrorsResponse1.md) - [GetEmailTemplateResponse](docs/GetEmailTemplateResponse.md) - - [GetEmailTemplateResponse1](docs/GetEmailTemplateResponse1.md) - [GetEmailTemplatesResponse](docs/GetEmailTemplatesResponse.md) - - [GetEmailTemplatesResponse1](docs/GetEmailTemplatesResponse1.md) - [GetEventLogResponse](docs/GetEventLogResponse.md) - - [GetEventLogResponse1](docs/GetEventLogResponse1.md) - - [GetFeedPostsPublicResponse](docs/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](docs/GetFeedPostsResponse.md) - - [GetFeedPostsResponse1](docs/GetFeedPostsResponse1.md) - - [GetFeedPostsStatsResponse](docs/GetFeedPostsStatsResponse.md) - - [GetGifLargeResponse](docs/GetGifLargeResponse.md) - [GetGifsSearchResponse](docs/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md) - - [GetGlobalEventLogResponse](docs/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](docs/GetHashTagsResponse.md) - - [GetHashTagsResponse1](docs/GetHashTagsResponse1.md) - - [GetLogsResponse](docs/GetLogsResponse.md) - - [GetManualBadgesForUserResponse](docs/GetManualBadgesForUserResponse.md) - - [GetManualBadgesResponse](docs/GetManualBadgesResponse.md) - - [GetModerationCommentResponse](docs/GetModerationCommentResponse.md) - - [GetModerationCommentTextResponse](docs/GetModerationCommentTextResponse.md) - [GetModeratorResponse](docs/GetModeratorResponse.md) - - [GetModeratorResponse1](docs/GetModeratorResponse1.md) - [GetModeratorsResponse](docs/GetModeratorsResponse.md) - - [GetModeratorsResponse1](docs/GetModeratorsResponse1.md) - [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](docs/GetNotificationCountResponse.md) - - [GetNotificationCountResponse1](docs/GetNotificationCountResponse1.md) - [GetNotificationsResponse](docs/GetNotificationsResponse.md) - - [GetNotificationsResponse1](docs/GetNotificationsResponse1.md) - - [GetOfflineUsersResponse](docs/GetOfflineUsersResponse.md) - - [GetOnlineUsersResponse](docs/GetOnlineUsersResponse.md) - [GetPageByURLIdAPIResponse](docs/GetPageByURLIdAPIResponse.md) - [GetPagesAPIResponse](docs/GetPagesAPIResponse.md) - - [GetPagesPublicResponse](docs/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md) - - [GetPendingWebhookEventCountResponse1](docs/GetPendingWebhookEventCountResponse1.md) - [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md) - - [GetPendingWebhookEventsResponse1](docs/GetPendingWebhookEventsResponse1.md) - - [GetPreBanSummaryResponse](docs/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](docs/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md) - - [GetQuestionConfigResponse1](docs/GetQuestionConfigResponse1.md) - [GetQuestionConfigsResponse](docs/GetQuestionConfigsResponse.md) - - [GetQuestionConfigsResponse1](docs/GetQuestionConfigsResponse1.md) - [GetQuestionResultResponse](docs/GetQuestionResultResponse.md) - - [GetQuestionResultResponse1](docs/GetQuestionResultResponse1.md) - [GetQuestionResultsResponse](docs/GetQuestionResultsResponse.md) - - [GetQuestionResultsResponse1](docs/GetQuestionResultsResponse1.md) - [GetSSOUserByEmailAPIResponse](docs/GetSSOUserByEmailAPIResponse.md) - [GetSSOUserByIdAPIResponse](docs/GetSSOUserByIdAPIResponse.md) - [GetSSOUsersResponse](docs/GetSSOUsersResponse.md) - - [GetSearchCommentsSummaryResponse](docs/GetSearchCommentsSummaryResponse.md) - - [GetSearchPagesResponse](docs/GetSearchPagesResponse.md) - - [GetSearchSitesResponse](docs/GetSearchSitesResponse.md) - - [GetSearchSuggestResponse](docs/GetSearchSuggestResponse.md) - - [GetSearchUsersResponse](docs/GetSearchUsersResponse.md) - [GetSubscriptionsAPIResponse](docs/GetSubscriptionsAPIResponse.md) - [GetTenantDailyUsagesResponse](docs/GetTenantDailyUsagesResponse.md) - - [GetTenantDailyUsagesResponse1](docs/GetTenantDailyUsagesResponse1.md) - [GetTenantManualBadgesResponse](docs/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](docs/GetTenantPackageResponse.md) - - [GetTenantPackageResponse1](docs/GetTenantPackageResponse1.md) - [GetTenantPackagesResponse](docs/GetTenantPackagesResponse.md) - - [GetTenantPackagesResponse1](docs/GetTenantPackagesResponse1.md) - [GetTenantResponse](docs/GetTenantResponse.md) - - [GetTenantResponse1](docs/GetTenantResponse1.md) - [GetTenantUserResponse](docs/GetTenantUserResponse.md) - - [GetTenantUserResponse1](docs/GetTenantUserResponse1.md) - [GetTenantUsersResponse](docs/GetTenantUsersResponse.md) - - [GetTenantUsersResponse1](docs/GetTenantUsersResponse1.md) - [GetTenantsResponse](docs/GetTenantsResponse.md) - - [GetTenantsResponse1](docs/GetTenantsResponse1.md) - [GetTicketResponse](docs/GetTicketResponse.md) - - [GetTicketResponse1](docs/GetTicketResponse1.md) - [GetTicketsResponse](docs/GetTicketsResponse.md) - - [GetTicketsResponse1](docs/GetTicketsResponse1.md) - [GetTranslationsResponse](docs/GetTranslationsResponse.md) - - [GetTranslationsResponse1](docs/GetTranslationsResponse1.md) - - [GetTrustFactorResponse](docs/GetTrustFactorResponse.md) - - [GetUserBadgeProgressByIdResponse](docs/GetUserBadgeProgressByIdResponse.md) - - [GetUserBadgeProgressByUserIdResponse](docs/GetUserBadgeProgressByUserIdResponse.md) - - [GetUserBadgeProgressListResponse](docs/GetUserBadgeProgressListResponse.md) - - [GetUserBadgeResponse](docs/GetUserBadgeResponse.md) - - [GetUserBadgesResponse](docs/GetUserBadgesResponse.md) - - [GetUserBanPreferenceResponse](docs/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](docs/GetUserInternalProfileResponse.md) - - [GetUserInternalProfileResponse1](docs/GetUserInternalProfileResponse1.md) - [GetUserInternalProfileResponseProfile](docs/GetUserInternalProfileResponseProfile.md) - [GetUserManualBadgesResponse](docs/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](docs/GetUserNotificationCountResponse.md) - - [GetUserNotificationCountResponse1](docs/GetUserNotificationCountResponse1.md) - - [GetUserNotificationsResponse](docs/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](docs/GetUserPresenceStatusesResponse.md) - - [GetUserPresenceStatusesResponse1](docs/GetUserPresenceStatusesResponse1.md) - - [GetUserReactsPublicResponse](docs/GetUserReactsPublicResponse.md) - [GetUserResponse](docs/GetUserResponse.md) - - [GetUserResponse1](docs/GetUserResponse1.md) - [GetUserTrustFactorResponse](docs/GetUserTrustFactorResponse.md) - - [GetUsersInfoResponse](docs/GetUsersInfoResponse.md) - [GetV1PageLikes](docs/GetV1PageLikes.md) - - [GetV1PageLikesResponse](docs/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](docs/GetV2PageReactUsersResponse.md) - - [GetV2PageReactUsersResponse1](docs/GetV2PageReactUsersResponse1.md) - [GetV2PageReacts](docs/GetV2PageReacts.md) - - [GetV2PageReactsResponse](docs/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](docs/GetVotesForUserResponse.md) - - [GetVotesForUserResponse1](docs/GetVotesForUserResponse1.md) - [GetVotesResponse](docs/GetVotesResponse.md) - - [GetVotesResponse1](docs/GetVotesResponse1.md) - [GifGetLargeResponse](docs/GifGetLargeResponse.md) - [GifRating](docs/GifRating.md) - [GifSearchInternalError](docs/GifSearchInternalError.md) @@ -588,7 +462,6 @@ Class | Method | HTTP request | Description - [LiveEvent](docs/LiveEvent.md) - [LiveEventExtraInfo](docs/LiveEventExtraInfo.md) - [LiveEventType](docs/LiveEventType.md) - - [LockCommentResponse](docs/LockCommentResponse.md) - [MediaAsset](docs/MediaAsset.md) - [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md) - [MetaItem](docs/MetaItem.md) @@ -622,26 +495,10 @@ Class | Method | HTTP request | Description - [PagesSortBy](docs/PagesSortBy.md) - [PatchDomainConfigParams](docs/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](docs/PatchDomainConfigResponse.md) - - [PatchHashTagResponse](docs/PatchHashTagResponse.md) - [PatchPageAPIResponse](docs/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) - - [PinCommentResponse](docs/PinCommentResponse.md) - - [PostAdjustCommentVotesResponse](docs/PostAdjustCommentVotesResponse.md) - - [PostApiExportResponse](docs/PostApiExportResponse.md) - - [PostBanUserFromCommentResponse](docs/PostBanUserFromCommentResponse.md) - - [PostBanUserUndoResponse](docs/PostBanUserUndoResponse.md) - - [PostBulkPreBanSummaryResponse](docs/PostBulkPreBanSummaryResponse.md) - - [PostCommentsByIdsResponse](docs/PostCommentsByIdsResponse.md) - - [PostFlagCommentResponse](docs/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) - - [PostRestoreDeletedCommentResponse](docs/PostRestoreDeletedCommentResponse.md) - - [PostSetCommentApprovalStatusResponse](docs/PostSetCommentApprovalStatusResponse.md) - - [PostSetCommentReviewStatusResponse](docs/PostSetCommentReviewStatusResponse.md) - - [PostSetCommentSpamStatusResponse](docs/PostSetCommentSpamStatusResponse.md) - - [PostSetCommentTextResponse](docs/PostSetCommentTextResponse.md) - - [PostUnFlagCommentResponse](docs/PostUnFlagCommentResponse.md) - - [PostVoteResponse](docs/PostVoteResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) @@ -655,11 +512,7 @@ Class | Method | HTTP request | Description - [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md) - [PublicPage](docs/PublicPage.md) - [PublicVote](docs/PublicVote.md) - - [PutAwardBadgeResponse](docs/PutAwardBadgeResponse.md) - - [PutCloseThreadResponse](docs/PutCloseThreadResponse.md) - [PutDomainConfigResponse](docs/PutDomainConfigResponse.md) - - [PutRemoveBadgeResponse](docs/PutRemoveBadgeResponse.md) - - [PutReopenThreadResponse](docs/PutReopenThreadResponse.md) - [PutSSOUserAPIResponse](docs/PutSSOUserAPIResponse.md) - [QueryPredicate](docs/QueryPredicate.md) - [QueryPredicateValue](docs/QueryPredicateValue.md) @@ -672,42 +525,30 @@ Class | Method | HTTP request | Description - [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](docs/QuestionWhenSave.md) - [ReactBodyParams](docs/ReactBodyParams.md) - - [ReactFeedPostPublicResponse](docs/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](docs/ReactFeedPostResponse.md) - [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md) - [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](docs/RenderEmailTemplateResponse.md) - - [RenderEmailTemplateResponse1](docs/RenderEmailTemplateResponse1.md) - [RenderableUserNotification](docs/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](docs/ReplaceTenantPackageBody.md) - - [ReplaceTenantPackageResponse](docs/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](docs/ReplaceTenantUserBody.md) - - [ReplaceTenantUserResponse](docs/ReplaceTenantUserResponse.md) - - [ResetUserNotificationCountResponse](docs/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md) - - [ResetUserNotificationsResponse1](docs/ResetUserNotificationsResponse1.md) - [SORTDIR](docs/SORTDIR.md) - [SSOSecurityLevel](docs/SSOSecurityLevel.md) - - [SaveCommentResponse](docs/SaveCommentResponse.md) - [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](docs/SearchUsersResponse.md) - - [SearchUsersResponse1](docs/SearchUsersResponse1.md) - [SearchUsersResult](docs/SearchUsersResult.md) - [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md) - - [SendInviteResponse](docs/SendInviteResponse.md) - - [SendLoginLinkResponse](docs/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](docs/SetCommentApprovedResponse.md) - [SetCommentTextParams](docs/SetCommentTextParams.md) - [SetCommentTextResponse](docs/SetCommentTextResponse.md) - - [SetCommentTextResponse1](docs/SetCommentTextResponse1.md) - [SetCommentTextResult](docs/SetCommentTextResult.md) - - [SetTrustFactorResponse](docs/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](docs/SetUserTrustFactorResponse.md) - [SizePreset](docs/SizePreset.md) - [SortDirections](docs/SortDirections.md) @@ -716,43 +557,26 @@ Class | Method | HTTP request | Description - [TenantBadge](docs/TenantBadge.md) - [TenantHashTag](docs/TenantHashTag.md) - [TenantPackage](docs/TenantPackage.md) - - [UnBlockCommentPublicResponse](docs/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md) - - [UnBlockUserFromCommentResponse](docs/UnBlockUserFromCommentResponse.md) - - [UnFlagCommentResponse](docs/UnFlagCommentResponse.md) - - [UnLockCommentResponse](docs/UnLockCommentResponse.md) - - [UnPinCommentResponse](docs/UnPinCommentResponse.md) - [UnblockSuccess](docs/UnblockSuccess.md) - [UpdatableCommentParams](docs/UpdatableCommentParams.md) - [UpdateAPIPageData](docs/UpdateAPIPageData.md) - [UpdateAPISSOUserData](docs/UpdateAPISSOUserData.md) - [UpdateAPIUserSubscriptionData](docs/UpdateAPIUserSubscriptionData.md) - - [UpdateCommentResponse](docs/UpdateCommentResponse.md) - [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](docs/UpdateEmailTemplateBody.md) - - [UpdateEmailTemplateResponse](docs/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](docs/UpdateFeedPostParams.md) - - [UpdateFeedPostPublicResponse](docs/UpdateFeedPostPublicResponse.md) - - [UpdateFeedPostResponse](docs/UpdateFeedPostResponse.md) - [UpdateHashTagBody](docs/UpdateHashTagBody.md) - [UpdateHashTagResponse](docs/UpdateHashTagResponse.md) - [UpdateModeratorBody](docs/UpdateModeratorBody.md) - - [UpdateModeratorResponse](docs/UpdateModeratorResponse.md) - [UpdateNotificationBody](docs/UpdateNotificationBody.md) - - [UpdateNotificationResponse](docs/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](docs/UpdateQuestionConfigBody.md) - - [UpdateQuestionConfigResponse](docs/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](docs/UpdateQuestionResultBody.md) - - [UpdateQuestionResultResponse](docs/UpdateQuestionResultResponse.md) - [UpdateSubscriptionAPIResponse](docs/UpdateSubscriptionAPIResponse.md) - [UpdateTenantBody](docs/UpdateTenantBody.md) - [UpdateTenantPackageBody](docs/UpdateTenantPackageBody.md) - - [UpdateTenantPackageResponse](docs/UpdateTenantPackageResponse.md) - - [UpdateTenantResponse](docs/UpdateTenantResponse.md) - [UpdateTenantUserBody](docs/UpdateTenantUserBody.md) - - [UpdateTenantUserResponse](docs/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](docs/UpdateUserBadgeParams.md) - - [UpdateUserBadgeResponse](docs/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](docs/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](docs/UpdateUserNotificationStatusResponse.md) @@ -771,7 +595,6 @@ Class | Method | HTTP request | Description - [UserSessionInfo](docs/UserSessionInfo.md) - [UsersListLocation](docs/UsersListLocation.md) - [VoteBodyParams](docs/VoteBodyParams.md) - - [VoteCommentResponse](docs/VoteCommentResponse.md) - [VoteDeleteResponse](docs/VoteDeleteResponse.md) - [VoteResponse](docs/VoteResponse.md) - [VoteResponseUser](docs/VoteResponseUser.md) diff --git a/client/docs/AddHashTagResponse.md b/client/docs/AddHashTagResponse.md deleted file mode 100644 index a8ec067..0000000 --- a/client/docs/AddHashTagResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# AddHashTagResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/AddHashTagsBulkResponse.md b/client/docs/AddHashTagsBulkResponse.md deleted file mode 100644 index 6f7eb1f..0000000 --- a/client/docs/AddHashTagsBulkResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# AddHashTagsBulkResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**results** | [BulkCreateHashTagsResponseResultsInner] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/AggregateQuestionResultsResponse1.md b/client/docs/AggregateQuestionResultsResponse1.md deleted file mode 100644 index 8928d7b..0000000 --- a/client/docs/AggregateQuestionResultsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# AggregateQuestionResultsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**data** | [**QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BlockFromCommentPublicResponse.md b/client/docs/BlockFromCommentPublicResponse.md deleted file mode 100644 index 1278064..0000000 --- a/client/docs/BlockFromCommentPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# BlockFromCommentPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BlockUserFromCommentResponse.md b/client/docs/BlockUserFromCommentResponse.md deleted file mode 100644 index 8e5fe2b..0000000 --- a/client/docs/BlockUserFromCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# BlockUserFromCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BulkAggregateQuestionResultsResponse1.md b/client/docs/BulkAggregateQuestionResultsResponse1.md deleted file mode 100644 index 7c6de38..0000000 --- a/client/docs/BulkAggregateQuestionResultsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# BulkAggregateQuestionResultsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**data** | [String: QuestionResultAggregationOverall] | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ChangeTicketStateResponse1.md b/client/docs/ChangeTicketStateResponse1.md deleted file mode 100644 index 7ff3fd7..0000000 --- a/client/docs/ChangeTicketStateResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# ChangeTicketStateResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**ticket** | [**APITicket**](APITicket.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CheckedCommentsForBlockedResponse.md b/client/docs/CheckedCommentsForBlockedResponse.md deleted file mode 100644 index 489e630..0000000 --- a/client/docs/CheckedCommentsForBlockedResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# CheckedCommentsForBlockedResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CombineCommentsWithQuestionResultsResponse.md b/client/docs/CombineCommentsWithQuestionResultsResponse.md deleted file mode 100644 index f438a86..0000000 --- a/client/docs/CombineCommentsWithQuestionResultsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# CombineCommentsWithQuestionResultsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**data** | [**FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateCommentPublicResponse.md b/client/docs/CreateCommentPublicResponse.md deleted file mode 100644 index 4dfb50c..0000000 --- a/client/docs/CreateCommentPublicResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateCommentPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**comment** | [**PublicComment**](PublicComment.md) | | [optional] -**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] -**moduleData** | **[String: JSONValue]** | Construct a type with a set of properties K of type T | [optional] -**userIdWS** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateEmailTemplateResponse1.md b/client/docs/CreateEmailTemplateResponse1.md deleted file mode 100644 index 5045a9c..0000000 --- a/client/docs/CreateEmailTemplateResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateEmailTemplateResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateFeedPostPublicResponse.md b/client/docs/CreateFeedPostPublicResponse.md deleted file mode 100644 index 407e7ed..0000000 --- a/client/docs/CreateFeedPostPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateFeedPostPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateFeedPostResponse1.md b/client/docs/CreateFeedPostResponse1.md deleted file mode 100644 index 3f811ce..0000000 --- a/client/docs/CreateFeedPostResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateFeedPostResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateModeratorResponse1.md b/client/docs/CreateModeratorResponse1.md deleted file mode 100644 index 9f9d310..0000000 --- a/client/docs/CreateModeratorResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateModeratorResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**moderator** | [**Moderator**](Moderator.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateQuestionConfigResponse1.md b/client/docs/CreateQuestionConfigResponse1.md deleted file mode 100644 index 438ff33..0000000 --- a/client/docs/CreateQuestionConfigResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateQuestionConfigResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateQuestionResultResponse1.md b/client/docs/CreateQuestionResultResponse1.md deleted file mode 100644 index 3e763c1..0000000 --- a/client/docs/CreateQuestionResultResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateQuestionResultResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantPackageResponse1.md b/client/docs/CreateTenantPackageResponse1.md deleted file mode 100644 index bbb78b9..0000000 --- a/client/docs/CreateTenantPackageResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateTenantPackageResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantResponse1.md b/client/docs/CreateTenantResponse1.md deleted file mode 100644 index 0f82a6d..0000000 --- a/client/docs/CreateTenantResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateTenantResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenant** | [**APITenant**](APITenant.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantUserResponse1.md b/client/docs/CreateTenantUserResponse1.md deleted file mode 100644 index 06c9861..0000000 --- a/client/docs/CreateTenantUserResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateTenantUserResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantUser** | [**User**](User.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTicketResponse1.md b/client/docs/CreateTicketResponse1.md deleted file mode 100644 index 3a1678f..0000000 --- a/client/docs/CreateTicketResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateTicketResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**ticket** | [**APITicket**](APITicket.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateUserBadgeResponse.md b/client/docs/CreateUserBadgeResponse.md deleted file mode 100644 index 625ac51..0000000 --- a/client/docs/CreateUserBadgeResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# CreateUserBadgeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userBadge** | [**UserBadge**](UserBadge.md) | | [optional] -**notes** | **[String]** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateV1PageReactResponse.md b/client/docs/CreateV1PageReactResponse.md deleted file mode 100644 index 1d793ee..0000000 --- a/client/docs/CreateV1PageReactResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateV1PageReactResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateV2PageReactResponse.md b/client/docs/CreateV2PageReactResponse.md deleted file mode 100644 index 83735fb..0000000 --- a/client/docs/CreateV2PageReactResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# CreateV2PageReactResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateVoteResponse.md b/client/docs/CreateVoteResponse.md deleted file mode 100644 index c9706f5..0000000 --- a/client/docs/CreateVoteResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# CreateVoteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**voteId** | **String** | | [optional] -**isVerified** | **Bool** | | [optional] -**user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] -**editKey** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index b871b87..a687699 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -171,7 +171,7 @@ Name | Type | Description | Notes # **addHashTag** ```swift - open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, completion: @escaping (_ data: AddHashTagResponse?, _ error: Error?) -> Void) + open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -205,7 +205,7 @@ Name | Type | Description | Notes ### Return type -[**AddHashTagResponse**](AddHashTagResponse.md) +[**CreateHashTagResponse**](CreateHashTagResponse.md) ### Authorization @@ -220,7 +220,7 @@ Name | Type | Description | Notes # **addHashTagsBulk** ```swift - open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, completion: @escaping (_ data: AddHashTagsBulkResponse?, _ error: Error?) -> Void) + open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -254,7 +254,7 @@ Name | Type | Description | Notes ### Return type -[**AddHashTagsBulkResponse**](AddHashTagsBulkResponse.md) +[**BulkCreateHashTagsResponse**](BulkCreateHashTagsResponse.md) ### Authorization @@ -422,7 +422,7 @@ Name | Type | Description | Notes # **aggregateQuestionResults** ```swift - open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, completion: @escaping (_ data: AggregateQuestionResultsResponse1?, _ error: Error?) -> Void) + open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -466,7 +466,7 @@ Name | Type | Description | Notes ### Return type -[**AggregateQuestionResultsResponse1**](AggregateQuestionResultsResponse1.md) +[**AggregateQuestionResultsResponse**](AggregateQuestionResultsResponse.md) ### Authorization @@ -481,7 +481,7 @@ Name | Type | Description | Notes # **blockUserFromComment** ```swift - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: BlockUserFromCommentResponse?, _ error: Error?) -> Void) + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -521,7 +521,7 @@ Name | Type | Description | Notes ### Return type -[**BlockUserFromCommentResponse**](BlockUserFromCommentResponse.md) +[**BlockSuccess**](BlockSuccess.md) ### Authorization @@ -536,7 +536,7 @@ Name | Type | Description | Notes # **bulkAggregateQuestionResults** ```swift - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse1?, _ error: Error?) -> Void) + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -572,7 +572,7 @@ Name | Type | Description | Notes ### Return type -[**BulkAggregateQuestionResultsResponse1**](BulkAggregateQuestionResultsResponse1.md) +[**BulkAggregateQuestionResultsResponse**](BulkAggregateQuestionResultsResponse.md) ### Authorization @@ -587,7 +587,7 @@ Name | Type | Description | Notes # **changeTicketState** ```swift - open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, completion: @escaping (_ data: ChangeTicketStateResponse1?, _ error: Error?) -> Void) + open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, completion: @escaping (_ data: ChangeTicketStateResponse?, _ error: Error?) -> Void) ``` @@ -625,7 +625,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeTicketStateResponse1**](ChangeTicketStateResponse1.md) +[**ChangeTicketStateResponse**](ChangeTicketStateResponse.md) ### Authorization @@ -640,7 +640,7 @@ Name | Type | Description | Notes # **combineCommentsWithQuestionResults** ```swift - open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: CombineCommentsWithQuestionResultsResponse?, _ error: Error?) -> Void) + open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) ``` @@ -688,7 +688,7 @@ Name | Type | Description | Notes ### Return type -[**CombineCommentsWithQuestionResultsResponse**](CombineCommentsWithQuestionResultsResponse.md) +[**CombineQuestionResultsWithCommentsResponse**](CombineQuestionResultsWithCommentsResponse.md) ### Authorization @@ -703,7 +703,7 @@ Name | Type | Description | Notes # **createEmailTemplate** ```swift - open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, completion: @escaping (_ data: CreateEmailTemplateResponse1?, _ error: Error?) -> Void) + open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, completion: @escaping (_ data: CreateEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -737,7 +737,7 @@ Name | Type | Description | Notes ### Return type -[**CreateEmailTemplateResponse1**](CreateEmailTemplateResponse1.md) +[**CreateEmailTemplateResponse**](CreateEmailTemplateResponse.md) ### Authorization @@ -752,7 +752,7 @@ Name | Type | Description | Notes # **createFeedPost** ```swift - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, completion: @escaping (_ data: CreateFeedPostResponse1?, _ error: Error?) -> Void) + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -794,7 +794,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostResponse1**](CreateFeedPostResponse1.md) +[**CreateFeedPostsResponse**](CreateFeedPostsResponse.md) ### Authorization @@ -809,7 +809,7 @@ Name | Type | Description | Notes # **createModerator** ```swift - open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, completion: @escaping (_ data: CreateModeratorResponse1?, _ error: Error?) -> Void) + open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, completion: @escaping (_ data: CreateModeratorResponse?, _ error: Error?) -> Void) ``` @@ -843,7 +843,7 @@ Name | Type | Description | Notes ### Return type -[**CreateModeratorResponse1**](CreateModeratorResponse1.md) +[**CreateModeratorResponse**](CreateModeratorResponse.md) ### Authorization @@ -858,7 +858,7 @@ Name | Type | Description | Notes # **createQuestionConfig** ```swift - open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, completion: @escaping (_ data: CreateQuestionConfigResponse1?, _ error: Error?) -> Void) + open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, completion: @escaping (_ data: CreateQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -892,7 +892,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionConfigResponse1**](CreateQuestionConfigResponse1.md) +[**CreateQuestionConfigResponse**](CreateQuestionConfigResponse.md) ### Authorization @@ -907,7 +907,7 @@ Name | Type | Description | Notes # **createQuestionResult** ```swift - open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, completion: @escaping (_ data: CreateQuestionResultResponse1?, _ error: Error?) -> Void) + open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, completion: @escaping (_ data: CreateQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -941,7 +941,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionResultResponse1**](CreateQuestionResultResponse1.md) +[**CreateQuestionResultResponse**](CreateQuestionResultResponse.md) ### Authorization @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes # **createTenant** ```swift - open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, completion: @escaping (_ data: CreateTenantResponse1?, _ error: Error?) -> Void) + open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, completion: @escaping (_ data: CreateTenantResponse?, _ error: Error?) -> Void) ``` @@ -1039,7 +1039,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantResponse1**](CreateTenantResponse1.md) +[**CreateTenantResponse**](CreateTenantResponse.md) ### Authorization @@ -1054,7 +1054,7 @@ Name | Type | Description | Notes # **createTenantPackage** ```swift - open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, completion: @escaping (_ data: CreateTenantPackageResponse1?, _ error: Error?) -> Void) + open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, completion: @escaping (_ data: CreateTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -1088,7 +1088,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantPackageResponse1**](CreateTenantPackageResponse1.md) +[**CreateTenantPackageResponse**](CreateTenantPackageResponse.md) ### Authorization @@ -1103,7 +1103,7 @@ Name | Type | Description | Notes # **createTenantUser** ```swift - open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, completion: @escaping (_ data: CreateTenantUserResponse1?, _ error: Error?) -> Void) + open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, completion: @escaping (_ data: CreateTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -1137,7 +1137,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantUserResponse1**](CreateTenantUserResponse1.md) +[**CreateTenantUserResponse**](CreateTenantUserResponse.md) ### Authorization @@ -1152,7 +1152,7 @@ Name | Type | Description | Notes # **createTicket** ```swift - open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, completion: @escaping (_ data: CreateTicketResponse1?, _ error: Error?) -> Void) + open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, completion: @escaping (_ data: CreateTicketResponse?, _ error: Error?) -> Void) ``` @@ -1188,7 +1188,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTicketResponse1**](CreateTicketResponse1.md) +[**CreateTicketResponse**](CreateTicketResponse.md) ### Authorization @@ -1203,7 +1203,7 @@ Name | Type | Description | Notes # **createUserBadge** ```swift - open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, completion: @escaping (_ data: CreateUserBadgeResponse?, _ error: Error?) -> Void) + open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, completion: @escaping (_ data: APICreateUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -1237,7 +1237,7 @@ Name | Type | Description | Notes ### Return type -[**CreateUserBadgeResponse**](CreateUserBadgeResponse.md) +[**APICreateUserBadgeResponse**](APICreateUserBadgeResponse.md) ### Authorization @@ -1252,7 +1252,7 @@ Name | Type | Description | Notes # **createVote** ```swift - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: CreateVoteResponse?, _ error: Error?) -> Void) + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -1292,7 +1292,7 @@ Name | Type | Description | Notes ### Return type -[**CreateVoteResponse**](CreateVoteResponse.md) +[**VoteResponse**](VoteResponse.md) ### Authorization @@ -1307,7 +1307,7 @@ Name | Type | Description | Notes # **deleteComment** ```swift - open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, completion: @escaping (_ data: DeleteCommentResponse?, _ error: Error?) -> Void) + open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) ``` @@ -1345,7 +1345,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentResponse**](DeleteCommentResponse.md) +[**DeleteCommentResult**](DeleteCommentResult.md) ### Authorization @@ -1409,7 +1409,7 @@ Name | Type | Description | Notes # **deleteEmailTemplate** ```swift - open class func deleteEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: DeleteEmailTemplateResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1443,7 +1443,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteEmailTemplateResponse**](DeleteEmailTemplateResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1458,7 +1458,7 @@ Name | Type | Description | Notes # **deleteEmailTemplateRenderError** ```swift - open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, completion: @escaping (_ data: DeleteEmailTemplateRenderErrorResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1494,7 +1494,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteEmailTemplateRenderErrorResponse**](DeleteEmailTemplateRenderErrorResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1509,7 +1509,7 @@ Name | Type | Description | Notes # **deleteHashTag** ```swift - open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, completion: @escaping (_ data: DeleteHashTagResponse?, _ error: Error?) -> Void) + open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1545,7 +1545,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteHashTagResponse**](DeleteHashTagResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1560,7 +1560,7 @@ Name | Type | Description | Notes # **deleteModerator** ```swift - open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, completion: @escaping (_ data: DeleteModeratorResponse?, _ error: Error?) -> Void) + open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1596,7 +1596,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteModeratorResponse**](DeleteModeratorResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1611,7 +1611,7 @@ Name | Type | Description | Notes # **deleteNotificationCount** ```swift - open class func deleteNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: DeleteNotificationCountResponse?, _ error: Error?) -> Void) + open class func deleteNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1645,7 +1645,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteNotificationCountResponse**](DeleteNotificationCountResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1709,7 +1709,7 @@ Name | Type | Description | Notes # **deletePendingWebhookEvent** ```swift - open class func deletePendingWebhookEvent(tenantId: String, id: String, completion: @escaping (_ data: DeletePendingWebhookEventResponse?, _ error: Error?) -> Void) + open class func deletePendingWebhookEvent(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1743,7 +1743,7 @@ Name | Type | Description | Notes ### Return type -[**DeletePendingWebhookEventResponse**](DeletePendingWebhookEventResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1758,7 +1758,7 @@ Name | Type | Description | Notes # **deleteQuestionConfig** ```swift - open class func deleteQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: DeleteQuestionConfigResponse?, _ error: Error?) -> Void) + open class func deleteQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1792,7 +1792,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteQuestionConfigResponse**](DeleteQuestionConfigResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1807,7 +1807,7 @@ Name | Type | Description | Notes # **deleteQuestionResult** ```swift - open class func deleteQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: DeleteQuestionResultResponse?, _ error: Error?) -> Void) + open class func deleteQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1841,7 +1841,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteQuestionResultResponse**](DeleteQuestionResultResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1960,7 +1960,7 @@ Name | Type | Description | Notes # **deleteTenant** ```swift - open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, completion: @escaping (_ data: DeleteTenantResponse?, _ error: Error?) -> Void) + open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1996,7 +1996,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTenantResponse**](DeleteTenantResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2011,7 +2011,7 @@ Name | Type | Description | Notes # **deleteTenantPackage** ```swift - open class func deleteTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: DeleteTenantPackageResponse?, _ error: Error?) -> Void) + open class func deleteTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2045,7 +2045,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTenantPackageResponse**](DeleteTenantPackageResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2060,7 +2060,7 @@ Name | Type | Description | Notes # **deleteTenantUser** ```swift - open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, completion: @escaping (_ data: DeleteTenantUserResponse?, _ error: Error?) -> Void) + open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2098,7 +2098,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTenantUserResponse**](DeleteTenantUserResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2113,7 +2113,7 @@ Name | Type | Description | Notes # **deleteUserBadge** ```swift - open class func deleteUserBadge(tenantId: String, id: String, completion: @escaping (_ data: DeleteUserBadgeResponse?, _ error: Error?) -> Void) + open class func deleteUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) ``` @@ -2147,7 +2147,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteUserBadgeResponse**](DeleteUserBadgeResponse.md) +[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) ### Authorization @@ -2162,7 +2162,7 @@ Name | Type | Description | Notes # **deleteVote** ```swift - open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, completion: @escaping (_ data: DeleteVoteResponse?, _ error: Error?) -> Void) + open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -2198,7 +2198,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteVoteResponse**](DeleteVoteResponse.md) +[**VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -2213,7 +2213,7 @@ Name | Type | Description | Notes # **flagComment** ```swift - open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse1?, _ error: Error?) -> Void) + open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -2251,7 +2251,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentResponse1**](FlagCommentResponse1.md) +[**FlagCommentResponse**](FlagCommentResponse.md) ### Authorization @@ -2266,7 +2266,7 @@ Name | Type | Description | Notes # **getAuditLogs** ```swift - open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, completion: @escaping (_ data: GetAuditLogsResponse1?, _ error: Error?) -> Void) + open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) ``` @@ -2308,7 +2308,7 @@ Name | Type | Description | Notes ### Return type -[**GetAuditLogsResponse1**](GetAuditLogsResponse1.md) +[**GetAuditLogsResponse**](GetAuditLogsResponse.md) ### Authorization @@ -2323,7 +2323,7 @@ Name | Type | Description | Notes # **getCachedNotificationCount** ```swift - open class func getCachedNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: GetCachedNotificationCountResponse1?, _ error: Error?) -> Void) + open class func getCachedNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: GetCachedNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -2357,7 +2357,7 @@ Name | Type | Description | Notes ### Return type -[**GetCachedNotificationCountResponse1**](GetCachedNotificationCountResponse1.md) +[**GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md) ### Authorization @@ -2372,7 +2372,7 @@ Name | Type | Description | Notes # **getComment** ```swift - open class func getComment(tenantId: String, id: String, completion: @escaping (_ data: GetCommentResponse?, _ error: Error?) -> Void) + open class func getComment(tenantId: String, id: String, completion: @escaping (_ data: APIGetCommentResponse?, _ error: Error?) -> Void) ``` @@ -2406,7 +2406,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentResponse**](GetCommentResponse.md) +[**APIGetCommentResponse**](APIGetCommentResponse.md) ### Authorization @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes # **getComments** ```swift - open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, completion: @escaping (_ data: GetCommentsResponse?, _ error: Error?) -> Void) + open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -2485,7 +2485,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsResponse**](GetCommentsResponse.md) +[**APIGetCommentsResponse**](APIGetCommentsResponse.md) ### Authorization @@ -2596,7 +2596,7 @@ Name | Type | Description | Notes # **getEmailTemplate** ```swift - open class func getEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: GetEmailTemplateResponse1?, _ error: Error?) -> Void) + open class func getEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: GetEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -2630,7 +2630,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateResponse1**](GetEmailTemplateResponse1.md) +[**GetEmailTemplateResponse**](GetEmailTemplateResponse.md) ### Authorization @@ -2645,7 +2645,7 @@ Name | Type | Description | Notes # **getEmailTemplateDefinitions** ```swift - open class func getEmailTemplateDefinitions(tenantId: String, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse1?, _ error: Error?) -> Void) + open class func getEmailTemplateDefinitions(tenantId: String, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse?, _ error: Error?) -> Void) ``` @@ -2677,7 +2677,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateDefinitionsResponse1**](GetEmailTemplateDefinitionsResponse1.md) +[**GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md) ### Authorization @@ -2692,7 +2692,7 @@ Name | Type | Description | Notes # **getEmailTemplateRenderErrors** ```swift - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse1?, _ error: Error?) -> Void) + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) ``` @@ -2728,7 +2728,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateRenderErrorsResponse1**](GetEmailTemplateRenderErrorsResponse1.md) +[**GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md) ### Authorization @@ -2743,7 +2743,7 @@ Name | Type | Description | Notes # **getEmailTemplates** ```swift - open class func getEmailTemplates(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplatesResponse1?, _ error: Error?) -> Void) + open class func getEmailTemplates(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) ``` @@ -2777,7 +2777,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplatesResponse1**](GetEmailTemplatesResponse1.md) +[**GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md) ### Authorization @@ -2792,7 +2792,7 @@ Name | Type | Description | Notes # **getFeedPosts** ```swift - open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, completion: @escaping (_ data: GetFeedPostsResponse1?, _ error: Error?) -> Void) + open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -2832,7 +2832,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsResponse1**](GetFeedPostsResponse1.md) +[**GetFeedPostsResponse**](GetFeedPostsResponse.md) ### Authorization @@ -2847,7 +2847,7 @@ Name | Type | Description | Notes # **getHashTags** ```swift - open class func getHashTags(tenantId: String, page: Double? = nil, completion: @escaping (_ data: GetHashTagsResponse1?, _ error: Error?) -> Void) + open class func getHashTags(tenantId: String, page: Double? = nil, completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -2881,7 +2881,7 @@ Name | Type | Description | Notes ### Return type -[**GetHashTagsResponse1**](GetHashTagsResponse1.md) +[**GetHashTagsResponse**](GetHashTagsResponse.md) ### Authorization @@ -2896,7 +2896,7 @@ Name | Type | Description | Notes # **getModerator** ```swift - open class func getModerator(tenantId: String, id: String, completion: @escaping (_ data: GetModeratorResponse1?, _ error: Error?) -> Void) + open class func getModerator(tenantId: String, id: String, completion: @escaping (_ data: GetModeratorResponse?, _ error: Error?) -> Void) ``` @@ -2930,7 +2930,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorResponse1**](GetModeratorResponse1.md) +[**GetModeratorResponse**](GetModeratorResponse.md) ### Authorization @@ -2945,7 +2945,7 @@ Name | Type | Description | Notes # **getModerators** ```swift - open class func getModerators(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetModeratorsResponse1?, _ error: Error?) -> Void) + open class func getModerators(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) ``` @@ -2979,7 +2979,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorsResponse1**](GetModeratorsResponse1.md) +[**GetModeratorsResponse**](GetModeratorsResponse.md) ### Authorization @@ -2994,7 +2994,7 @@ Name | Type | Description | Notes # **getNotificationCount** ```swift - open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, completion: @escaping (_ data: GetNotificationCountResponse1?, _ error: Error?) -> Void) + open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -3036,7 +3036,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationCountResponse1**](GetNotificationCountResponse1.md) +[**GetNotificationCountResponse**](GetNotificationCountResponse.md) ### Authorization @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes # **getNotifications** ```swift - open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetNotificationsResponse1?, _ error: Error?) -> Void) + open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -3095,7 +3095,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationsResponse1**](GetNotificationsResponse1.md) +[**GetNotificationsResponse**](GetNotificationsResponse.md) ### Authorization @@ -3206,7 +3206,7 @@ Name | Type | Description | Notes # **getPendingWebhookEventCount** ```swift - open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventCountResponse1?, _ error: Error?) -> Void) + open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) ``` @@ -3250,7 +3250,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventCountResponse1**](GetPendingWebhookEventCountResponse1.md) +[**GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md) ### Authorization @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes # **getPendingWebhookEvents** ```swift - open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventsResponse1?, _ error: Error?) -> Void) + open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) ``` @@ -3311,7 +3311,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventsResponse1**](GetPendingWebhookEventsResponse1.md) +[**GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md) ### Authorization @@ -3326,7 +3326,7 @@ Name | Type | Description | Notes # **getQuestionConfig** ```swift - open class func getQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionConfigResponse1?, _ error: Error?) -> Void) + open class func getQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -3360,7 +3360,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigResponse1**](GetQuestionConfigResponse1.md) +[**GetQuestionConfigResponse**](GetQuestionConfigResponse.md) ### Authorization @@ -3375,7 +3375,7 @@ Name | Type | Description | Notes # **getQuestionConfigs** ```swift - open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetQuestionConfigsResponse1?, _ error: Error?) -> Void) + open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) ``` @@ -3409,7 +3409,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigsResponse1**](GetQuestionConfigsResponse1.md) +[**GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md) ### Authorization @@ -3424,7 +3424,7 @@ Name | Type | Description | Notes # **getQuestionResult** ```swift - open class func getQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionResultResponse1?, _ error: Error?) -> Void) + open class func getQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -3458,7 +3458,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultResponse1**](GetQuestionResultResponse1.md) +[**GetQuestionResultResponse**](GetQuestionResultResponse.md) ### Authorization @@ -3473,7 +3473,7 @@ Name | Type | Description | Notes # **getQuestionResults** ```swift - open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetQuestionResultsResponse1?, _ error: Error?) -> Void) + open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -3517,7 +3517,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultsResponse1**](GetQuestionResultsResponse1.md) +[**GetQuestionResultsResponse**](GetQuestionResultsResponse.md) ### Authorization @@ -3728,7 +3728,7 @@ Name | Type | Description | Notes # **getTenant** ```swift - open class func getTenant(tenantId: String, id: String, completion: @escaping (_ data: GetTenantResponse1?, _ error: Error?) -> Void) + open class func getTenant(tenantId: String, id: String, completion: @escaping (_ data: GetTenantResponse?, _ error: Error?) -> Void) ``` @@ -3762,7 +3762,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantResponse1**](GetTenantResponse1.md) +[**GetTenantResponse**](GetTenantResponse.md) ### Authorization @@ -3777,7 +3777,7 @@ Name | Type | Description | Notes # **getTenantDailyUsages** ```swift - open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantDailyUsagesResponse1?, _ error: Error?) -> Void) + open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) ``` @@ -3817,7 +3817,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantDailyUsagesResponse1**](GetTenantDailyUsagesResponse1.md) +[**GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md) ### Authorization @@ -3832,7 +3832,7 @@ Name | Type | Description | Notes # **getTenantPackage** ```swift - open class func getTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: GetTenantPackageResponse1?, _ error: Error?) -> Void) + open class func getTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: GetTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -3866,7 +3866,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackageResponse1**](GetTenantPackageResponse1.md) +[**GetTenantPackageResponse**](GetTenantPackageResponse.md) ### Authorization @@ -3881,7 +3881,7 @@ Name | Type | Description | Notes # **getTenantPackages** ```swift - open class func getTenantPackages(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantPackagesResponse1?, _ error: Error?) -> Void) + open class func getTenantPackages(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) ``` @@ -3915,7 +3915,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackagesResponse1**](GetTenantPackagesResponse1.md) +[**GetTenantPackagesResponse**](GetTenantPackagesResponse.md) ### Authorization @@ -3930,7 +3930,7 @@ Name | Type | Description | Notes # **getTenantUser** ```swift - open class func getTenantUser(tenantId: String, id: String, completion: @escaping (_ data: GetTenantUserResponse1?, _ error: Error?) -> Void) + open class func getTenantUser(tenantId: String, id: String, completion: @escaping (_ data: GetTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -3964,7 +3964,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUserResponse1**](GetTenantUserResponse1.md) +[**GetTenantUserResponse**](GetTenantUserResponse.md) ### Authorization @@ -3979,7 +3979,7 @@ Name | Type | Description | Notes # **getTenantUsers** ```swift - open class func getTenantUsers(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantUsersResponse1?, _ error: Error?) -> Void) + open class func getTenantUsers(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) ``` @@ -4013,7 +4013,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUsersResponse1**](GetTenantUsersResponse1.md) +[**GetTenantUsersResponse**](GetTenantUsersResponse.md) ### Authorization @@ -4028,7 +4028,7 @@ Name | Type | Description | Notes # **getTenants** ```swift - open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantsResponse1?, _ error: Error?) -> Void) + open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) ``` @@ -4064,7 +4064,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantsResponse1**](GetTenantsResponse1.md) +[**GetTenantsResponse**](GetTenantsResponse.md) ### Authorization @@ -4079,7 +4079,7 @@ Name | Type | Description | Notes # **getTicket** ```swift - open class func getTicket(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: GetTicketResponse1?, _ error: Error?) -> Void) + open class func getTicket(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) ``` @@ -4115,7 +4115,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketResponse1**](GetTicketResponse1.md) +[**GetTicketResponse**](GetTicketResponse.md) ### Authorization @@ -4130,7 +4130,7 @@ Name | Type | Description | Notes # **getTickets** ```swift - open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: GetTicketsResponse1?, _ error: Error?) -> Void) + open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) ``` @@ -4170,7 +4170,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketsResponse1**](GetTicketsResponse1.md) +[**GetTicketsResponse**](GetTicketsResponse.md) ### Authorization @@ -4185,7 +4185,7 @@ Name | Type | Description | Notes # **getUser** ```swift - open class func getUser(tenantId: String, id: String, completion: @escaping (_ data: GetUserResponse1?, _ error: Error?) -> Void) + open class func getUser(tenantId: String, id: String, completion: @escaping (_ data: GetUserResponse?, _ error: Error?) -> Void) ``` @@ -4219,7 +4219,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserResponse1**](GetUserResponse1.md) +[**GetUserResponse**](GetUserResponse.md) ### Authorization @@ -4234,7 +4234,7 @@ Name | Type | Description | Notes # **getUserBadge** ```swift - open class func getUserBadge(tenantId: String, id: String, completion: @escaping (_ data: GetUserBadgeResponse?, _ error: Error?) -> Void) + open class func getUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -4268,7 +4268,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeResponse**](GetUserBadgeResponse.md) +[**APIGetUserBadgeResponse**](APIGetUserBadgeResponse.md) ### Authorization @@ -4283,7 +4283,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressById** ```swift - open class func getUserBadgeProgressById(tenantId: String, id: String, completion: @escaping (_ data: GetUserBadgeProgressByIdResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressById(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) ``` @@ -4317,7 +4317,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeProgressByIdResponse**](GetUserBadgeProgressByIdResponse.md) +[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) ### Authorization @@ -4332,7 +4332,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressByUserId** ```swift - open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, completion: @escaping (_ data: GetUserBadgeProgressByUserIdResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) ``` @@ -4366,7 +4366,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeProgressByUserIdResponse**](GetUserBadgeProgressByUserIdResponse.md) +[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) ### Authorization @@ -4381,7 +4381,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressList** ```swift - open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetUserBadgeProgressListResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) ``` @@ -4419,7 +4419,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeProgressListResponse**](GetUserBadgeProgressListResponse.md) +[**APIGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md) ### Authorization @@ -4434,7 +4434,7 @@ Name | Type | Description | Notes # **getUserBadges** ```swift - open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetUserBadgesResponse?, _ error: Error?) -> Void) + open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) ``` @@ -4478,7 +4478,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgesResponse**](GetUserBadgesResponse.md) +[**APIGetUserBadgesResponse**](APIGetUserBadgesResponse.md) ### Authorization @@ -4493,7 +4493,7 @@ Name | Type | Description | Notes # **getVotes** ```swift - open class func getVotes(tenantId: String, urlId: String, completion: @escaping (_ data: GetVotesResponse1?, _ error: Error?) -> Void) + open class func getVotes(tenantId: String, urlId: String, completion: @escaping (_ data: GetVotesResponse?, _ error: Error?) -> Void) ``` @@ -4527,7 +4527,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesResponse1**](GetVotesResponse1.md) +[**GetVotesResponse**](GetVotesResponse.md) ### Authorization @@ -4542,7 +4542,7 @@ Name | Type | Description | Notes # **getVotesForUser** ```swift - open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: GetVotesForUserResponse1?, _ error: Error?) -> Void) + open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) ``` @@ -4580,7 +4580,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesForUserResponse1**](GetVotesForUserResponse1.md) +[**GetVotesForUserResponse**](GetVotesForUserResponse.md) ### Authorization @@ -4646,7 +4646,7 @@ Name | Type | Description | Notes # **patchHashTag** ```swift - open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, completion: @escaping (_ data: PatchHashTagResponse?, _ error: Error?) -> Void) + open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -4682,7 +4682,7 @@ Name | Type | Description | Notes ### Return type -[**PatchHashTagResponse**](PatchHashTagResponse.md) +[**UpdateHashTagResponse**](UpdateHashTagResponse.md) ### Authorization @@ -4905,7 +4905,7 @@ Name | Type | Description | Notes # **renderEmailTemplate** ```swift - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, completion: @escaping (_ data: RenderEmailTemplateResponse1?, _ error: Error?) -> Void) + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -4941,7 +4941,7 @@ Name | Type | Description | Notes ### Return type -[**RenderEmailTemplateResponse1**](RenderEmailTemplateResponse1.md) +[**RenderEmailTemplateResponse**](RenderEmailTemplateResponse.md) ### Authorization @@ -4956,7 +4956,7 @@ Name | Type | Description | Notes # **replaceTenantPackage** ```swift - open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, completion: @escaping (_ data: ReplaceTenantPackageResponse?, _ error: Error?) -> Void) + open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -4992,7 +4992,7 @@ Name | Type | Description | Notes ### Return type -[**ReplaceTenantPackageResponse**](ReplaceTenantPackageResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5007,7 +5007,7 @@ Name | Type | Description | Notes # **replaceTenantUser** ```swift - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: ReplaceTenantUserResponse?, _ error: Error?) -> Void) + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5045,7 +5045,7 @@ Name | Type | Description | Notes ### Return type -[**ReplaceTenantUserResponse**](ReplaceTenantUserResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5060,7 +5060,7 @@ Name | Type | Description | Notes # **saveComment** ```swift - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, completion: @escaping (_ data: SaveCommentResponse?, _ error: Error?) -> Void) + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) ``` @@ -5102,7 +5102,7 @@ Name | Type | Description | Notes ### Return type -[**SaveCommentResponse**](SaveCommentResponse.md) +[**APISaveCommentResponse**](APISaveCommentResponse.md) ### Authorization @@ -5174,7 +5174,7 @@ Name | Type | Description | Notes # **sendInvite** ```swift - open class func sendInvite(tenantId: String, id: String, fromName: String, completion: @escaping (_ data: SendInviteResponse?, _ error: Error?) -> Void) + open class func sendInvite(tenantId: String, id: String, fromName: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5210,7 +5210,7 @@ Name | Type | Description | Notes ### Return type -[**SendInviteResponse**](SendInviteResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5225,7 +5225,7 @@ Name | Type | Description | Notes # **sendLoginLink** ```swift - open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, completion: @escaping (_ data: SendLoginLinkResponse?, _ error: Error?) -> Void) + open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5261,7 +5261,7 @@ Name | Type | Description | Notes ### Return type -[**SendLoginLinkResponse**](SendLoginLinkResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5276,7 +5276,7 @@ Name | Type | Description | Notes # **unBlockUserFromComment** ```swift - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnBlockUserFromCommentResponse?, _ error: Error?) -> Void) + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -5316,7 +5316,7 @@ Name | Type | Description | Notes ### Return type -[**UnBlockUserFromCommentResponse**](UnBlockUserFromCommentResponse.md) +[**UnblockSuccess**](UnblockSuccess.md) ### Authorization @@ -5331,7 +5331,7 @@ Name | Type | Description | Notes # **unFlagComment** ```swift - open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnFlagCommentResponse?, _ error: Error?) -> Void) + open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -5369,7 +5369,7 @@ Name | Type | Description | Notes ### Return type -[**UnFlagCommentResponse**](UnFlagCommentResponse.md) +[**FlagCommentResponse**](FlagCommentResponse.md) ### Authorization @@ -5384,7 +5384,7 @@ Name | Type | Description | Notes # **updateComment** ```swift - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, completion: @escaping (_ data: UpdateCommentResponse?, _ error: Error?) -> Void) + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5426,7 +5426,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateCommentResponse**](UpdateCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5441,7 +5441,7 @@ Name | Type | Description | Notes # **updateEmailTemplate** ```swift - open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, completion: @escaping (_ data: UpdateEmailTemplateResponse?, _ error: Error?) -> Void) + open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5477,7 +5477,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateEmailTemplateResponse**](UpdateEmailTemplateResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5492,7 +5492,7 @@ Name | Type | Description | Notes # **updateFeedPost** ```swift - open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, completion: @escaping (_ data: UpdateFeedPostResponse?, _ error: Error?) -> Void) + open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5528,7 +5528,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateFeedPostResponse**](UpdateFeedPostResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5543,7 +5543,7 @@ Name | Type | Description | Notes # **updateModerator** ```swift - open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, completion: @escaping (_ data: UpdateModeratorResponse?, _ error: Error?) -> Void) + open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5579,7 +5579,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateModeratorResponse**](UpdateModeratorResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5594,7 +5594,7 @@ Name | Type | Description | Notes # **updateNotification** ```swift - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, completion: @escaping (_ data: UpdateNotificationResponse?, _ error: Error?) -> Void) + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5632,7 +5632,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateNotificationResponse**](UpdateNotificationResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5647,7 +5647,7 @@ Name | Type | Description | Notes # **updateQuestionConfig** ```swift - open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, completion: @escaping (_ data: UpdateQuestionConfigResponse?, _ error: Error?) -> Void) + open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5683,7 +5683,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateQuestionConfigResponse**](UpdateQuestionConfigResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5698,7 +5698,7 @@ Name | Type | Description | Notes # **updateQuestionResult** ```swift - open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, completion: @escaping (_ data: UpdateQuestionResultResponse?, _ error: Error?) -> Void) + open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5734,7 +5734,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateQuestionResultResponse**](UpdateQuestionResultResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5802,7 +5802,7 @@ Name | Type | Description | Notes # **updateTenant** ```swift - open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, completion: @escaping (_ data: UpdateTenantResponse?, _ error: Error?) -> Void) + open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5838,7 +5838,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTenantResponse**](UpdateTenantResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5853,7 +5853,7 @@ Name | Type | Description | Notes # **updateTenantPackage** ```swift - open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, completion: @escaping (_ data: UpdateTenantPackageResponse?, _ error: Error?) -> Void) + open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5889,7 +5889,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTenantPackageResponse**](UpdateTenantPackageResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5904,7 +5904,7 @@ Name | Type | Description | Notes # **updateTenantUser** ```swift - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: UpdateTenantUserResponse?, _ error: Error?) -> Void) + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5942,7 +5942,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTenantUserResponse**](UpdateTenantUserResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -5957,7 +5957,7 @@ Name | Type | Description | Notes # **updateUserBadge** ```swift - open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, completion: @escaping (_ data: UpdateUserBadgeResponse?, _ error: Error?) -> Void) + open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) ``` @@ -5993,7 +5993,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateUserBadgeResponse**](UpdateUserBadgeResponse.md) +[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) ### Authorization diff --git a/client/docs/DeleteCommentPublicResponse.md b/client/docs/DeleteCommentPublicResponse.md deleted file mode 100644 index 68ebef8..0000000 --- a/client/docs/DeleteCommentPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeleteCommentPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | [**DeletedCommentResultComment**](DeletedCommentResultComment.md) | | [optional] -**hardRemoved** | **Bool** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteCommentResponse.md b/client/docs/DeleteCommentResponse.md deleted file mode 100644 index 56df4ce..0000000 --- a/client/docs/DeleteCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | [**DeleteCommentAction**](DeleteCommentAction.md) | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteCommentVoteResponse.md b/client/docs/DeleteCommentVoteResponse.md deleted file mode 100644 index 21cfcb8..0000000 --- a/client/docs/DeleteCommentVoteResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteCommentVoteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**wasPendingVote** | **Bool** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteEmailTemplateRenderErrorResponse.md b/client/docs/DeleteEmailTemplateRenderErrorResponse.md deleted file mode 100644 index e0b4cdd..0000000 --- a/client/docs/DeleteEmailTemplateRenderErrorResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteEmailTemplateRenderErrorResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteEmailTemplateResponse.md b/client/docs/DeleteEmailTemplateResponse.md deleted file mode 100644 index 8e4c7a3..0000000 --- a/client/docs/DeleteEmailTemplateResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteEmailTemplateResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteFeedPostPublicResponse.md b/client/docs/DeleteFeedPostPublicResponse.md index c67f7ff..7e58491 100644 --- a/client/docs/DeleteFeedPostPublicResponse.md +++ b/client/docs/DeleteFeedPostPublicResponse.md @@ -4,13 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/DeleteFeedPostPublicResponseAnyOf.md b/client/docs/DeleteFeedPostPublicResponseAnyOf.md deleted file mode 100644 index 67ee564..0000000 --- a/client/docs/DeleteFeedPostPublicResponseAnyOf.md +++ /dev/null @@ -1,10 +0,0 @@ -# DeleteFeedPostPublicResponseAnyOf - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteHashTagResponse.md b/client/docs/DeleteHashTagResponse.md deleted file mode 100644 index ccef68b..0000000 --- a/client/docs/DeleteHashTagResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteHashTagResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteModerationVoteResponse.md b/client/docs/DeleteModerationVoteResponse.md deleted file mode 100644 index 8fa666d..0000000 --- a/client/docs/DeleteModerationVoteResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteModerationVoteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**wasPendingVote** | **Bool** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteModeratorResponse.md b/client/docs/DeleteModeratorResponse.md deleted file mode 100644 index 095198d..0000000 --- a/client/docs/DeleteModeratorResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteModeratorResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteNotificationCountResponse.md b/client/docs/DeleteNotificationCountResponse.md deleted file mode 100644 index a80675d..0000000 --- a/client/docs/DeleteNotificationCountResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteNotificationCountResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeletePendingWebhookEventResponse.md b/client/docs/DeletePendingWebhookEventResponse.md deleted file mode 100644 index 23dee74..0000000 --- a/client/docs/DeletePendingWebhookEventResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeletePendingWebhookEventResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteQuestionConfigResponse.md b/client/docs/DeleteQuestionConfigResponse.md deleted file mode 100644 index baee4d5..0000000 --- a/client/docs/DeleteQuestionConfigResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteQuestionConfigResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteQuestionResultResponse.md b/client/docs/DeleteQuestionResultResponse.md deleted file mode 100644 index 0b780c9..0000000 --- a/client/docs/DeleteQuestionResultResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteQuestionResultResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantPackageResponse.md b/client/docs/DeleteTenantPackageResponse.md deleted file mode 100644 index 4410f7a..0000000 --- a/client/docs/DeleteTenantPackageResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteTenantPackageResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantResponse.md b/client/docs/DeleteTenantResponse.md deleted file mode 100644 index edde560..0000000 --- a/client/docs/DeleteTenantResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteTenantResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantUserResponse.md b/client/docs/DeleteTenantUserResponse.md deleted file mode 100644 index 15eae3a..0000000 --- a/client/docs/DeleteTenantUserResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteTenantUserResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteUserBadgeResponse.md b/client/docs/DeleteUserBadgeResponse.md deleted file mode 100644 index 688c707..0000000 --- a/client/docs/DeleteUserBadgeResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteUserBadgeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteV1PageReactResponse.md b/client/docs/DeleteV1PageReactResponse.md deleted file mode 100644 index 95cb885..0000000 --- a/client/docs/DeleteV1PageReactResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteV1PageReactResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteV2PageReactResponse.md b/client/docs/DeleteV2PageReactResponse.md deleted file mode 100644 index ed66780..0000000 --- a/client/docs/DeleteV2PageReactResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeleteV2PageReactResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteVoteResponse.md b/client/docs/DeleteVoteResponse.md deleted file mode 100644 index 810344d..0000000 --- a/client/docs/DeleteVoteResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeleteVoteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**wasPendingVote** | **Bool** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/FlagCommentPublicResponse.md b/client/docs/FlagCommentPublicResponse.md deleted file mode 100644 index 3b9c8d9..0000000 --- a/client/docs/FlagCommentPublicResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# FlagCommentPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/FlagCommentResponse1.md b/client/docs/FlagCommentResponse1.md deleted file mode 100644 index e3c2ede..0000000 --- a/client/docs/FlagCommentResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# FlagCommentResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**statusCode** | **Int** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**wasUnapproved** | **Bool** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiCommentsResponse.md b/client/docs/GetApiCommentsResponse.md deleted file mode 100644 index 30d9064..0000000 --- a/client/docs/GetApiCommentsResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetApiCommentsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**translations** | **JSONValue** | | [optional] -**comments** | [ModerationAPIComment] | | [optional] -**moderationFilter** | [**ModerationFilter**](ModerationFilter.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiExportStatusResponse.md b/client/docs/GetApiExportStatusResponse.md deleted file mode 100644 index bb99ce3..0000000 --- a/client/docs/GetApiExportStatusResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetApiExportStatusResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**jobStatus** | **String** | | [optional] -**recordCount** | **Int** | | [optional] -**downloadUrl** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiIdsResponse.md b/client/docs/GetApiIdsResponse.md deleted file mode 100644 index c803428..0000000 --- a/client/docs/GetApiIdsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetApiIdsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ids** | **[String]** | | [optional] -**hasMore** | **Bool** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetAuditLogsResponse1.md b/client/docs/GetAuditLogsResponse1.md deleted file mode 100644 index 4be0a3f..0000000 --- a/client/docs/GetAuditLogsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetAuditLogsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**auditLogs** | [APIAuditLog] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetBanUsersFromCommentResponse.md b/client/docs/GetBanUsersFromCommentResponse.md deleted file mode 100644 index bd60b4e..0000000 --- a/client/docs/GetBanUsersFromCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetBanUsersFromCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bannedUsers** | [APIBannedUserWithMultiMatchInfo] | | [optional] -**code** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCachedNotificationCountResponse1.md b/client/docs/GetCachedNotificationCountResponse1.md deleted file mode 100644 index db4198e..0000000 --- a/client/docs/GetCachedNotificationCountResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCachedNotificationCountResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**data** | [**UserNotificationCount**](UserNotificationCount.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentBanStatusResponse1.md b/client/docs/GetCommentBanStatusResponse1.md deleted file mode 100644 index 5c5e1bf..0000000 --- a/client/docs/GetCommentBanStatusResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentBanStatusResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**emailDomain** | **String** | | [optional] -**canIPBan** | **Bool** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentChildrenResponse.md b/client/docs/GetCommentChildrenResponse.md deleted file mode 100644 index 76ec67e..0000000 --- a/client/docs/GetCommentChildrenResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentChildrenResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comments** | [ModerationAPIComment] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentResponse.md b/client/docs/GetCommentResponse.md deleted file mode 100644 index c8f0c29..0000000 --- a/client/docs/GetCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**comment** | [**APIComment**](APIComment.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentTextResponse1.md b/client/docs/GetCommentTextResponse1.md deleted file mode 100644 index 9e51d48..0000000 --- a/client/docs/GetCommentTextResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentTextResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**commentText** | **String** | | [optional] -**sanitizedCommentText** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentVoteUserNamesResponse.md b/client/docs/GetCommentVoteUserNamesResponse.md deleted file mode 100644 index 4d453b2..0000000 --- a/client/docs/GetCommentVoteUserNamesResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetCommentVoteUserNamesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**voteUserNames** | **[String]** | | [optional] -**hasMore** | **Bool** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsForUserResponse1.md b/client/docs/GetCommentsForUserResponse1.md deleted file mode 100644 index 1f8bfc7..0000000 --- a/client/docs/GetCommentsForUserResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentsForUserResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**moderatingTenantIds** | **[String]** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsPublicResponse.md b/client/docs/GetCommentsPublicResponse.md deleted file mode 100644 index b0e8026..0000000 --- a/client/docs/GetCommentsPublicResponse.md +++ /dev/null @@ -1,40 +0,0 @@ -# GetCommentsPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**statusCode** | **Int** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**translatedWarning** | **String** | | [optional] -**comments** | [PublicComment] | | [optional] -**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] -**urlIdClean** | **String** | | [optional] -**lastGenDate** | **Int64** | | [optional] -**includesPastPages** | **Bool** | | [optional] -**isDemo** | **Bool** | | [optional] -**commentCount** | **Int** | | [optional] -**isSiteAdmin** | **Bool** | | [optional] -**hasBillingIssue** | **Bool** | | [optional] -**moduleData** | **[String: JSONValue]** | Construct a type with a set of properties K of type T | [optional] -**pageNumber** | **Int** | | [optional] -**isWhiteLabeled** | **Bool** | | [optional] -**isProd** | **Bool** | | [optional] -**isCrawler** | **Bool** | | [optional] -**notificationCount** | **Int** | | [optional] -**hasMore** | **Bool** | | [optional] -**isClosed** | **Bool** | | [optional] -**presencePollState** | **Int** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] -**urlIdWS** | **String** | | [optional] -**userIdWS** | **String** | | [optional] -**tenantIdWS** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsResponse.md b/client/docs/GetCommentsResponse.md deleted file mode 100644 index 4518e7b..0000000 --- a/client/docs/GetCommentsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCommentsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**comments** | [APIComment] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCountResponse.md b/client/docs/GetCountResponse.md deleted file mode 100644 index 82b85fc..0000000 --- a/client/docs/GetCountResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCountResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**count** | **Double** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCountsResponse.md b/client/docs/GetCountsResponse.md deleted file mode 100644 index 705aa21..0000000 --- a/client/docs/GetCountsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetCountsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**totalCount** | **Double** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateDefinitionsResponse1.md b/client/docs/GetEmailTemplateDefinitionsResponse1.md deleted file mode 100644 index 333dbd7..0000000 --- a/client/docs/GetEmailTemplateDefinitionsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetEmailTemplateDefinitionsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**definitions** | [EmailTemplateDefinition] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateRenderErrorsResponse1.md b/client/docs/GetEmailTemplateRenderErrorsResponse1.md deleted file mode 100644 index 2545e4f..0000000 --- a/client/docs/GetEmailTemplateRenderErrorsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetEmailTemplateRenderErrorsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**renderErrors** | [EmailTemplateRenderErrorResponse] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateResponse1.md b/client/docs/GetEmailTemplateResponse1.md deleted file mode 100644 index e919217..0000000 --- a/client/docs/GetEmailTemplateResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetEmailTemplateResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**emailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplatesResponse1.md b/client/docs/GetEmailTemplatesResponse1.md deleted file mode 100644 index fceafef..0000000 --- a/client/docs/GetEmailTemplatesResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetEmailTemplatesResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**emailTemplates** | [CustomEmailTemplate] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEventLogResponse1.md b/client/docs/GetEventLogResponse1.md deleted file mode 100644 index 9eb3215..0000000 --- a/client/docs/GetEventLogResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetEventLogResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**events** | [EventLogEntry] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsPublicResponse.md b/client/docs/GetFeedPostsPublicResponse.md deleted file mode 100644 index c93b058..0000000 --- a/client/docs/GetFeedPostsPublicResponse.md +++ /dev/null @@ -1,23 +0,0 @@ -# GetFeedPostsPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**myReacts** | [String: [String: Bool]] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**feedPosts** | [FeedPost] | | [optional] -**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] -**urlIdWS** | **String** | | [optional] -**userIdWS** | **String** | | [optional] -**tenantIdWS** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsResponse1.md b/client/docs/GetFeedPostsResponse1.md deleted file mode 100644 index 9b2eb37..0000000 --- a/client/docs/GetFeedPostsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetFeedPostsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**feedPosts** | [FeedPost] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsStatsResponse.md b/client/docs/GetFeedPostsStatsResponse.md deleted file mode 100644 index fed72dd..0000000 --- a/client/docs/GetFeedPostsStatsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetFeedPostsStatsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**stats** | [String: FeedPostStats] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetGifLargeResponse.md b/client/docs/GetGifLargeResponse.md deleted file mode 100644 index e2ee444..0000000 --- a/client/docs/GetGifLargeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetGifLargeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**src** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetGifsSearchResponse.md b/client/docs/GetGifsSearchResponse.md index 4e287d1..bfef346 100644 --- a/client/docs/GetGifsSearchResponse.md +++ b/client/docs/GetGifsSearchResponse.md @@ -6,12 +6,6 @@ Name | Type | Description | Notes **images** | [[GifSearchResponseImagesInnerInner]] | | [optional] **status** | [**APIStatus**](APIStatus.md) | | **code** | **String** | | [optional] -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/GetGlobalEventLogResponse.md b/client/docs/GetGlobalEventLogResponse.md deleted file mode 100644 index 58e7410..0000000 --- a/client/docs/GetGlobalEventLogResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetGlobalEventLogResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**events** | [EventLogEntry] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetHashTagsResponse1.md b/client/docs/GetHashTagsResponse1.md deleted file mode 100644 index f26cab4..0000000 --- a/client/docs/GetHashTagsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetHashTagsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**hashTags** | [TenantHashTag] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetLogsResponse.md b/client/docs/GetLogsResponse.md deleted file mode 100644 index b66732a..0000000 --- a/client/docs/GetLogsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetLogsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**logs** | [ModerationAPICommentLog] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetManualBadgesForUserResponse.md b/client/docs/GetManualBadgesForUserResponse.md deleted file mode 100644 index f8d227e..0000000 --- a/client/docs/GetManualBadgesForUserResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetManualBadgesForUserResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**badges** | [UserBadge] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetManualBadgesResponse.md b/client/docs/GetManualBadgesResponse.md deleted file mode 100644 index 2201ebf..0000000 --- a/client/docs/GetManualBadgesResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetManualBadgesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**badges** | [TenantBadge] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModerationCommentResponse.md b/client/docs/GetModerationCommentResponse.md deleted file mode 100644 index 424ae41..0000000 --- a/client/docs/GetModerationCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetModerationCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | [**ModerationAPIComment**](ModerationAPIComment.md) | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModerationCommentTextResponse.md b/client/docs/GetModerationCommentTextResponse.md deleted file mode 100644 index 1c57755..0000000 --- a/client/docs/GetModerationCommentTextResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetModerationCommentTextResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModeratorResponse1.md b/client/docs/GetModeratorResponse1.md deleted file mode 100644 index f133a6e..0000000 --- a/client/docs/GetModeratorResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetModeratorResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**moderator** | [**Moderator**](Moderator.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModeratorsResponse1.md b/client/docs/GetModeratorsResponse1.md deleted file mode 100644 index 4e3ab43..0000000 --- a/client/docs/GetModeratorsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetModeratorsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**moderators** | [Moderator] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetNotificationCountResponse1.md b/client/docs/GetNotificationCountResponse1.md deleted file mode 100644 index 66fb5ab..0000000 --- a/client/docs/GetNotificationCountResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetNotificationCountResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**count** | **Double** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetNotificationsResponse1.md b/client/docs/GetNotificationsResponse1.md deleted file mode 100644 index f44e8e3..0000000 --- a/client/docs/GetNotificationsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetNotificationsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**notifications** | [UserNotification] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetOfflineUsersResponse.md b/client/docs/GetOfflineUsersResponse.md deleted file mode 100644 index a748998..0000000 --- a/client/docs/GetOfflineUsersResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetOfflineUsersResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nextAfterUserId** | **String** | | [optional] -**nextAfterName** | **String** | | [optional] -**users** | [PageUserEntry] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetOnlineUsersResponse.md b/client/docs/GetOnlineUsersResponse.md deleted file mode 100644 index 2eb95ff..0000000 --- a/client/docs/GetOnlineUsersResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# GetOnlineUsersResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nextAfterUserId** | **String** | | [optional] -**nextAfterName** | **String** | | [optional] -**totalCount** | **Double** | | [optional] -**anonCount** | **Double** | | [optional] -**users** | [PageUserEntry] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPagesPublicResponse.md b/client/docs/GetPagesPublicResponse.md deleted file mode 100644 index 3986e43..0000000 --- a/client/docs/GetPagesPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetPagesPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nextCursor** | **String** | | [optional] -**pages** | [PublicPage] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPendingWebhookEventCountResponse1.md b/client/docs/GetPendingWebhookEventCountResponse1.md deleted file mode 100644 index 8b563a2..0000000 --- a/client/docs/GetPendingWebhookEventCountResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetPendingWebhookEventCountResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**count** | **Double** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPendingWebhookEventsResponse1.md b/client/docs/GetPendingWebhookEventsResponse1.md deleted file mode 100644 index bb467cf..0000000 --- a/client/docs/GetPendingWebhookEventsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetPendingWebhookEventsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**pendingWebhookEvents** | [PendingCommentToSyncOutbound] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPreBanSummaryResponse.md b/client/docs/GetPreBanSummaryResponse.md deleted file mode 100644 index d38486a..0000000 --- a/client/docs/GetPreBanSummaryResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetPreBanSummaryResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**usernames** | **[String]** | | [optional] -**count** | **Double** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionConfigResponse1.md b/client/docs/GetQuestionConfigResponse1.md deleted file mode 100644 index ae43ea5..0000000 --- a/client/docs/GetQuestionConfigResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetQuestionConfigResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**questionConfig** | [**QuestionConfig**](QuestionConfig.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionConfigsResponse1.md b/client/docs/GetQuestionConfigsResponse1.md deleted file mode 100644 index f35c9fb..0000000 --- a/client/docs/GetQuestionConfigsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetQuestionConfigsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**questionConfigs** | [QuestionConfig] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionResultResponse1.md b/client/docs/GetQuestionResultResponse1.md deleted file mode 100644 index 856460d..0000000 --- a/client/docs/GetQuestionResultResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetQuestionResultResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**questionResult** | [**QuestionResult**](QuestionResult.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionResultsResponse1.md b/client/docs/GetQuestionResultsResponse1.md deleted file mode 100644 index d5e9e3f..0000000 --- a/client/docs/GetQuestionResultsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetQuestionResultsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**questionResults** | [QuestionResult] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchCommentsSummaryResponse.md b/client/docs/GetSearchCommentsSummaryResponse.md deleted file mode 100644 index 1fa08a5..0000000 --- a/client/docs/GetSearchCommentsSummaryResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetSearchCommentsSummaryResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commentCount** | **Int** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchPagesResponse.md b/client/docs/GetSearchPagesResponse.md deleted file mode 100644 index 7774d9d..0000000 --- a/client/docs/GetSearchPagesResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetSearchPagesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pages** | [ModerationPageSearchProjected] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchSitesResponse.md b/client/docs/GetSearchSitesResponse.md deleted file mode 100644 index 9e72c20..0000000 --- a/client/docs/GetSearchSitesResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetSearchSitesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sites** | [ModerationSiteSearchProjected] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchSuggestResponse.md b/client/docs/GetSearchSuggestResponse.md deleted file mode 100644 index 3ed2da0..0000000 --- a/client/docs/GetSearchSuggestResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetSearchSuggestResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**pages** | [ModerationPageSearchProjected] | | [optional] -**users** | [ModerationUserSearchProjected] | | [optional] -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchUsersResponse.md b/client/docs/GetSearchUsersResponse.md deleted file mode 100644 index a17eff1..0000000 --- a/client/docs/GetSearchUsersResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetSearchUsersResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [ModerationUserSearchProjected] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantDailyUsagesResponse1.md b/client/docs/GetTenantDailyUsagesResponse1.md deleted file mode 100644 index e64d76d..0000000 --- a/client/docs/GetTenantDailyUsagesResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantDailyUsagesResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantDailyUsages** | [APITenantDailyUsage] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantPackageResponse1.md b/client/docs/GetTenantPackageResponse1.md deleted file mode 100644 index 9077319..0000000 --- a/client/docs/GetTenantPackageResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantPackageResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantPackage** | [**TenantPackage**](TenantPackage.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantPackagesResponse1.md b/client/docs/GetTenantPackagesResponse1.md deleted file mode 100644 index ec9ac3d..0000000 --- a/client/docs/GetTenantPackagesResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantPackagesResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantPackages** | [TenantPackage] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantResponse1.md b/client/docs/GetTenantResponse1.md deleted file mode 100644 index 56c02ab..0000000 --- a/client/docs/GetTenantResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenant** | [**APITenant**](APITenant.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantUserResponse1.md b/client/docs/GetTenantUserResponse1.md deleted file mode 100644 index 47eead6..0000000 --- a/client/docs/GetTenantUserResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantUserResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantUser** | [**User**](User.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantUsersResponse1.md b/client/docs/GetTenantUsersResponse1.md deleted file mode 100644 index f790472..0000000 --- a/client/docs/GetTenantUsersResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantUsersResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenantUsers** | [User] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantsResponse1.md b/client/docs/GetTenantsResponse1.md deleted file mode 100644 index 5f627fe..0000000 --- a/client/docs/GetTenantsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTenantsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tenants** | [APITenant] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTicketResponse1.md b/client/docs/GetTicketResponse1.md deleted file mode 100644 index 3701f05..0000000 --- a/client/docs/GetTicketResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTicketResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**ticket** | [**APITicketDetail**](APITicketDetail.md) | | [optional] -**availableStates** | **[Double]** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTicketsResponse1.md b/client/docs/GetTicketsResponse1.md deleted file mode 100644 index c9c7c3c..0000000 --- a/client/docs/GetTicketsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTicketsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**tickets** | [APITicket] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTranslationsResponse1.md b/client/docs/GetTranslationsResponse1.md deleted file mode 100644 index 0d4b624..0000000 --- a/client/docs/GetTranslationsResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetTranslationsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**translations** | **[String: String]** | Construct a type with a set of properties K of type T | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTrustFactorResponse.md b/client/docs/GetTrustFactorResponse.md deleted file mode 100644 index cbcf751..0000000 --- a/client/docs/GetTrustFactorResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetTrustFactorResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**manualTrustFactor** | **Double** | | [optional] -**autoTrustFactor** | **Double** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressByIdResponse.md b/client/docs/GetUserBadgeProgressByIdResponse.md deleted file mode 100644 index 2266e72..0000000 --- a/client/docs/GetUserBadgeProgressByIdResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserBadgeProgressByIdResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressByUserIdResponse.md b/client/docs/GetUserBadgeProgressByUserIdResponse.md deleted file mode 100644 index cd3e52e..0000000 --- a/client/docs/GetUserBadgeProgressByUserIdResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserBadgeProgressByUserIdResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressListResponse.md b/client/docs/GetUserBadgeProgressListResponse.md deleted file mode 100644 index c33d7d0..0000000 --- a/client/docs/GetUserBadgeProgressListResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserBadgeProgressListResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userBadgeProgresses** | [UserBadgeProgress] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeResponse.md b/client/docs/GetUserBadgeResponse.md deleted file mode 100644 index fabf499..0000000 --- a/client/docs/GetUserBadgeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserBadgeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userBadge** | [**UserBadge**](UserBadge.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgesResponse.md b/client/docs/GetUserBadgesResponse.md deleted file mode 100644 index 8c728df..0000000 --- a/client/docs/GetUserBadgesResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserBadgesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userBadges** | [UserBadge] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBanPreferenceResponse.md b/client/docs/GetUserBanPreferenceResponse.md deleted file mode 100644 index 8f4c3e2..0000000 --- a/client/docs/GetUserBanPreferenceResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserBanPreferenceResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**preferences** | [**APIModerateUserBanPreferences**](APIModerateUserBanPreferences.md) | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserInternalProfileResponse1.md b/client/docs/GetUserInternalProfileResponse1.md deleted file mode 100644 index 1fbf879..0000000 --- a/client/docs/GetUserInternalProfileResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserInternalProfileResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**profile** | [**GetUserInternalProfileResponseProfile**](GetUserInternalProfileResponseProfile.md) | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserNotificationCountResponse1.md b/client/docs/GetUserNotificationCountResponse1.md deleted file mode 100644 index 466dcf9..0000000 --- a/client/docs/GetUserNotificationCountResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserNotificationCountResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**count** | **Int64** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserNotificationsResponse.md b/client/docs/GetUserNotificationsResponse.md deleted file mode 100644 index 8a775cd..0000000 --- a/client/docs/GetUserNotificationsResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetUserNotificationsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**translations** | **[String: String]** | Construct a type with a set of properties K of type T | [optional] -**isSubscribed** | **Bool** | | [optional] -**hasMore** | **Bool** | | [optional] -**notifications** | [RenderableUserNotification] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserPresenceStatusesResponse1.md b/client/docs/GetUserPresenceStatusesResponse1.md deleted file mode 100644 index 161cbd3..0000000 --- a/client/docs/GetUserPresenceStatusesResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserPresenceStatusesResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**userIdsOnline** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserReactsPublicResponse.md b/client/docs/GetUserReactsPublicResponse.md deleted file mode 100644 index 11344a8..0000000 --- a/client/docs/GetUserReactsPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserReactsPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reacts** | [String: [String: Bool]] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserResponse1.md b/client/docs/GetUserResponse1.md deleted file mode 100644 index e8c4254..0000000 --- a/client/docs/GetUserResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUserResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**user** | [**User**](User.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUsersInfoResponse.md b/client/docs/GetUsersInfoResponse.md deleted file mode 100644 index 9eb41dd..0000000 --- a/client/docs/GetUsersInfoResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetUsersInfoResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**users** | [PageUserEntry] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV1PageLikesResponse.md b/client/docs/GetV1PageLikesResponse.md deleted file mode 100644 index 52099df..0000000 --- a/client/docs/GetV1PageLikesResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# GetV1PageLikesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**urlIdWS** | **String** | | [optional] -**didLike** | **Bool** | | [optional] -**commentCount** | **Int** | | [optional] -**likeCount** | **Int** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV2PageReactUsersResponse1.md b/client/docs/GetV2PageReactUsersResponse1.md deleted file mode 100644 index 1940b3a..0000000 --- a/client/docs/GetV2PageReactUsersResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetV2PageReactUsersResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**userNames** | **[String]** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV2PageReactsResponse.md b/client/docs/GetV2PageReactsResponse.md deleted file mode 100644 index 22d9587..0000000 --- a/client/docs/GetV2PageReactsResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# GetV2PageReactsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reactedIds** | **[String]** | | [optional] -**counts** | **[String: Double]** | Construct a type with a set of properties K of type T | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetVotesForUserResponse1.md b/client/docs/GetVotesForUserResponse1.md deleted file mode 100644 index 7678320..0000000 --- a/client/docs/GetVotesForUserResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetVotesForUserResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**appliedAuthorizedVotes** | [PublicVote] | | [optional] -**appliedAnonymousVotes** | [PublicVote] | | [optional] -**pendingVotes** | [PublicVote] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetVotesResponse1.md b/client/docs/GetVotesResponse1.md deleted file mode 100644 index 7943885..0000000 --- a/client/docs/GetVotesResponse1.md +++ /dev/null @@ -1,20 +0,0 @@ -# GetVotesResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**appliedAuthorizedVotes** | [PublicVote] | | [optional] -**appliedAnonymousVotes** | [PublicVote] | | [optional] -**pendingVotes** | [PublicVote] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/LockCommentResponse.md b/client/docs/LockCommentResponse.md deleted file mode 100644 index 02a1b2f..0000000 --- a/client/docs/LockCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LockCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index 421423a..b3b0de8 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -51,7 +51,7 @@ Method | HTTP request | Description # **deleteModerationVote** ```swift - open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteModerationVoteResponse?, _ error: Error?) -> Void) + open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -91,7 +91,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteModerationVoteResponse**](DeleteModerationVoteResponse.md) +[**VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -106,7 +106,7 @@ No authorization required # **getApiComments** ```swift - open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetApiCommentsResponse?, _ error: Error?) -> Void) + open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -156,7 +156,7 @@ Name | Type | Description | Notes ### Return type -[**GetApiCommentsResponse**](GetApiCommentsResponse.md) +[**ModerationAPIGetCommentsResponse**](ModerationAPIGetCommentsResponse.md) ### Authorization @@ -171,7 +171,7 @@ No authorization required # **getApiExportStatus** ```swift - open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetApiExportStatusResponse?, _ error: Error?) -> Void) + open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) ``` @@ -207,7 +207,7 @@ Name | Type | Description | Notes ### Return type -[**GetApiExportStatusResponse**](GetApiExportStatusResponse.md) +[**ModerationExportStatusResponse**](ModerationExportStatusResponse.md) ### Authorization @@ -222,7 +222,7 @@ No authorization required # **getApiIds** ```swift - open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetApiIdsResponse?, _ error: Error?) -> Void) + open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) ``` @@ -268,7 +268,7 @@ Name | Type | Description | Notes ### Return type -[**GetApiIdsResponse**](GetApiIdsResponse.md) +[**ModerationAPIGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md) ### Authorization @@ -283,7 +283,7 @@ No authorization required # **getBanUsersFromComment** ```swift - open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetBanUsersFromCommentResponse?, _ error: Error?) -> Void) + open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -319,7 +319,7 @@ Name | Type | Description | Notes ### Return type -[**GetBanUsersFromCommentResponse**](GetBanUsersFromCommentResponse.md) +[**GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md) ### Authorization @@ -334,7 +334,7 @@ No authorization required # **getCommentBanStatus** ```swift - open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentBanStatusResponse1?, _ error: Error?) -> Void) + open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) ``` @@ -370,7 +370,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentBanStatusResponse1**](GetCommentBanStatusResponse1.md) +[**GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md) ### Authorization @@ -385,7 +385,7 @@ No authorization required # **getCommentChildren** ```swift - open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentChildrenResponse?, _ error: Error?) -> Void) + open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -421,7 +421,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentChildrenResponse**](GetCommentChildrenResponse.md) +[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) ### Authorization @@ -436,7 +436,7 @@ No authorization required # **getCount** ```swift - open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCountResponse?, _ error: Error?) -> Void) + open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) ``` @@ -480,7 +480,7 @@ Name | Type | Description | Notes ### Return type -[**GetCountResponse**](GetCountResponse.md) +[**ModerationAPICountCommentsResponse**](ModerationAPICountCommentsResponse.md) ### Authorization @@ -495,7 +495,7 @@ No authorization required # **getCounts** ```swift - open class func getCounts(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCountsResponse?, _ error: Error?) -> Void) + open class func getCounts(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) ``` @@ -529,7 +529,7 @@ Name | Type | Description | Notes ### Return type -[**GetCountsResponse**](GetCountsResponse.md) +[**GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md) ### Authorization @@ -544,7 +544,7 @@ No authorization required # **getLogs** ```swift - open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetLogsResponse?, _ error: Error?) -> Void) + open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) ``` @@ -580,7 +580,7 @@ Name | Type | Description | Notes ### Return type -[**GetLogsResponse**](GetLogsResponse.md) +[**ModerationAPIGetLogsResponse**](ModerationAPIGetLogsResponse.md) ### Authorization @@ -595,7 +595,7 @@ No authorization required # **getManualBadges** ```swift - open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -629,7 +629,7 @@ Name | Type | Description | Notes ### Return type -[**GetManualBadgesResponse**](GetManualBadgesResponse.md) +[**GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md) ### Authorization @@ -644,7 +644,7 @@ No authorization required # **getManualBadgesForUser** ```swift - open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetManualBadgesForUserResponse?, _ error: Error?) -> Void) + open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -682,7 +682,7 @@ Name | Type | Description | Notes ### Return type -[**GetManualBadgesForUserResponse**](GetManualBadgesForUserResponse.md) +[**GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md) ### Authorization @@ -697,7 +697,7 @@ No authorization required # **getModerationComment** ```swift - open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetModerationCommentResponse?, _ error: Error?) -> Void) + open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) ``` @@ -737,7 +737,7 @@ Name | Type | Description | Notes ### Return type -[**GetModerationCommentResponse**](GetModerationCommentResponse.md) +[**ModerationAPICommentResponse**](ModerationAPICommentResponse.md) ### Authorization @@ -752,7 +752,7 @@ No authorization required # **getModerationCommentText** ```swift - open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetModerationCommentTextResponse?, _ error: Error?) -> Void) + open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -788,7 +788,7 @@ Name | Type | Description | Notes ### Return type -[**GetModerationCommentTextResponse**](GetModerationCommentTextResponse.md) +[**GetCommentTextResponse**](GetCommentTextResponse.md) ### Authorization @@ -803,7 +803,7 @@ No authorization required # **getPreBanSummary** ```swift - open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetPreBanSummaryResponse?, _ error: Error?) -> Void) + open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) ``` @@ -845,7 +845,7 @@ Name | Type | Description | Notes ### Return type -[**GetPreBanSummaryResponse**](GetPreBanSummaryResponse.md) +[**PreBanSummary**](PreBanSummary.md) ### Authorization @@ -860,7 +860,7 @@ No authorization required # **getSearchCommentsSummary** ```swift - open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchCommentsSummaryResponse?, _ error: Error?) -> Void) + open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) ``` @@ -900,7 +900,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchCommentsSummaryResponse**](GetSearchCommentsSummaryResponse.md) +[**ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md) ### Authorization @@ -915,7 +915,7 @@ No authorization required # **getSearchPages** ```swift - open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchPagesResponse?, _ error: Error?) -> Void) + open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) ``` @@ -951,7 +951,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchPagesResponse**](GetSearchPagesResponse.md) +[**ModerationPageSearchResponse**](ModerationPageSearchResponse.md) ### Authorization @@ -966,7 +966,7 @@ No authorization required # **getSearchSites** ```swift - open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchSitesResponse?, _ error: Error?) -> Void) + open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) ``` @@ -1002,7 +1002,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchSitesResponse**](GetSearchSitesResponse.md) +[**ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md) ### Authorization @@ -1017,7 +1017,7 @@ No authorization required # **getSearchSuggest** ```swift - open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchSuggestResponse?, _ error: Error?) -> Void) + open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) ``` @@ -1053,7 +1053,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchSuggestResponse**](GetSearchSuggestResponse.md) +[**ModerationSuggestResponse**](ModerationSuggestResponse.md) ### Authorization @@ -1068,7 +1068,7 @@ No authorization required # **getSearchUsers** ```swift - open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetSearchUsersResponse?, _ error: Error?) -> Void) + open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) ``` @@ -1104,7 +1104,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchUsersResponse**](GetSearchUsersResponse.md) +[**ModerationUserSearchResponse**](ModerationUserSearchResponse.md) ### Authorization @@ -1119,7 +1119,7 @@ No authorization required # **getTrustFactor** ```swift - open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetTrustFactorResponse?, _ error: Error?) -> Void) + open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -1155,7 +1155,7 @@ Name | Type | Description | Notes ### Return type -[**GetTrustFactorResponse**](GetTrustFactorResponse.md) +[**GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md) ### Authorization @@ -1170,7 +1170,7 @@ No authorization required # **getUserBanPreference** ```swift - open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserBanPreferenceResponse?, _ error: Error?) -> Void) + open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) ``` @@ -1204,7 +1204,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBanPreferenceResponse**](GetUserBanPreferenceResponse.md) +[**APIModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md) ### Authorization @@ -1219,7 +1219,7 @@ No authorization required # **getUserInternalProfile** ```swift - open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserInternalProfileResponse1?, _ error: Error?) -> Void) + open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) ``` @@ -1255,7 +1255,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserInternalProfileResponse1**](GetUserInternalProfileResponse1.md) +[**GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md) ### Authorization @@ -1270,7 +1270,7 @@ No authorization required # **postAdjustCommentVotes** ```swift - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostAdjustCommentVotesResponse?, _ error: Error?) -> Void) + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) ``` @@ -1310,7 +1310,7 @@ Name | Type | Description | Notes ### Return type -[**PostAdjustCommentVotesResponse**](PostAdjustCommentVotesResponse.md) +[**AdjustVotesResponse**](AdjustVotesResponse.md) ### Authorization @@ -1325,7 +1325,7 @@ No authorization required # **postApiExport** ```swift - open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostApiExportResponse?, _ error: Error?) -> Void) + open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) ``` @@ -1369,7 +1369,7 @@ Name | Type | Description | Notes ### Return type -[**PostApiExportResponse**](PostApiExportResponse.md) +[**ModerationExportResponse**](ModerationExportResponse.md) ### Authorization @@ -1384,7 +1384,7 @@ No authorization required # **postBanUserFromComment** ```swift - open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostBanUserFromCommentResponse?, _ error: Error?) -> Void) + open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) ``` @@ -1436,7 +1436,7 @@ Name | Type | Description | Notes ### Return type -[**PostBanUserFromCommentResponse**](PostBanUserFromCommentResponse.md) +[**BanUserFromCommentResult**](BanUserFromCommentResult.md) ### Authorization @@ -1451,7 +1451,7 @@ No authorization required # **postBanUserUndo** ```swift - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostBanUserUndoResponse?, _ error: Error?) -> Void) + open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1487,7 +1487,7 @@ Name | Type | Description | Notes ### Return type -[**PostBanUserUndoResponse**](PostBanUserUndoResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1502,7 +1502,7 @@ No authorization required # **postBulkPreBanSummary** ```swift - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostBulkPreBanSummaryResponse?, _ error: Error?) -> Void) + open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) ``` @@ -1544,7 +1544,7 @@ Name | Type | Description | Notes ### Return type -[**PostBulkPreBanSummaryResponse**](PostBulkPreBanSummaryResponse.md) +[**BulkPreBanSummary**](BulkPreBanSummary.md) ### Authorization @@ -1559,7 +1559,7 @@ No authorization required # **postCommentsByIds** ```swift - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostCommentsByIdsResponse?, _ error: Error?) -> Void) + open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -1595,7 +1595,7 @@ Name | Type | Description | Notes ### Return type -[**PostCommentsByIdsResponse**](PostCommentsByIdsResponse.md) +[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) ### Authorization @@ -1610,7 +1610,7 @@ No authorization required # **postFlagComment** ```swift - open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostFlagCommentResponse?, _ error: Error?) -> Void) + open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1648,7 +1648,7 @@ Name | Type | Description | Notes ### Return type -[**PostFlagCommentResponse**](PostFlagCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1716,7 +1716,7 @@ No authorization required # **postRestoreDeletedComment** ```swift - open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostRestoreDeletedCommentResponse?, _ error: Error?) -> Void) + open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1754,7 +1754,7 @@ Name | Type | Description | Notes ### Return type -[**PostRestoreDeletedCommentResponse**](PostRestoreDeletedCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1769,7 +1769,7 @@ No authorization required # **postSetCommentApprovalStatus** ```swift - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentApprovalStatusResponse?, _ error: Error?) -> Void) + open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) ``` @@ -1809,7 +1809,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentApprovalStatusResponse**](PostSetCommentApprovalStatusResponse.md) +[**SetCommentApprovedResponse**](SetCommentApprovedResponse.md) ### Authorization @@ -1824,7 +1824,7 @@ No authorization required # **postSetCommentReviewStatus** ```swift - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentReviewStatusResponse?, _ error: Error?) -> Void) + open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1864,7 +1864,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentReviewStatusResponse**](PostSetCommentReviewStatusResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1879,7 +1879,7 @@ No authorization required # **postSetCommentSpamStatus** ```swift - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentSpamStatusResponse?, _ error: Error?) -> Void) + open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1921,7 +1921,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentSpamStatusResponse**](PostSetCommentSpamStatusResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1936,7 +1936,7 @@ No authorization required # **postSetCommentText** ```swift - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostSetCommentTextResponse?, _ error: Error?) -> Void) + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -1976,7 +1976,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentTextResponse**](PostSetCommentTextResponse.md) +[**SetCommentTextResponse**](SetCommentTextResponse.md) ### Authorization @@ -1991,7 +1991,7 @@ No authorization required # **postUnFlagComment** ```swift - open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostUnFlagCommentResponse?, _ error: Error?) -> Void) + open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2029,7 +2029,7 @@ Name | Type | Description | Notes ### Return type -[**PostUnFlagCommentResponse**](PostUnFlagCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2044,7 +2044,7 @@ No authorization required # **postVote** ```swift - open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostVoteResponse?, _ error: Error?) -> Void) + open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2084,7 +2084,7 @@ Name | Type | Description | Notes ### Return type -[**PostVoteResponse**](PostVoteResponse.md) +[**VoteResponse**](VoteResponse.md) ### Authorization @@ -2099,7 +2099,7 @@ No authorization required # **putAwardBadge** ```swift - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutAwardBadgeResponse?, _ error: Error?) -> Void) + open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2141,7 +2141,7 @@ Name | Type | Description | Notes ### Return type -[**PutAwardBadgeResponse**](PutAwardBadgeResponse.md) +[**AwardUserBadgeResponse**](AwardUserBadgeResponse.md) ### Authorization @@ -2156,7 +2156,7 @@ No authorization required # **putCloseThread** ```swift - open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutCloseThreadResponse?, _ error: Error?) -> Void) + open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2192,7 +2192,7 @@ Name | Type | Description | Notes ### Return type -[**PutCloseThreadResponse**](PutCloseThreadResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2207,7 +2207,7 @@ No authorization required # **putRemoveBadge** ```swift - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutRemoveBadgeResponse?, _ error: Error?) -> Void) + open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2249,7 +2249,7 @@ Name | Type | Description | Notes ### Return type -[**PutRemoveBadgeResponse**](PutRemoveBadgeResponse.md) +[**RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md) ### Authorization @@ -2264,7 +2264,7 @@ No authorization required # **putReopenThread** ```swift - open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PutReopenThreadResponse?, _ error: Error?) -> Void) + open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2300,7 +2300,7 @@ Name | Type | Description | Notes ### Return type -[**PutReopenThreadResponse**](PutReopenThreadResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2315,7 +2315,7 @@ No authorization required # **setTrustFactor** ```swift - open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetTrustFactorResponse?, _ error: Error?) -> Void) + open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -2353,7 +2353,7 @@ Name | Type | Description | Notes ### Return type -[**SetTrustFactorResponse**](SetTrustFactorResponse.md) +[**SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md) ### Authorization diff --git a/client/docs/PatchHashTagResponse.md b/client/docs/PatchHashTagResponse.md deleted file mode 100644 index 2c71880..0000000 --- a/client/docs/PatchHashTagResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PatchHashTagResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**hashTag** | [**TenantHashTag**](TenantHashTag.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PinCommentResponse.md b/client/docs/PinCommentResponse.md deleted file mode 100644 index 8bd84fc..0000000 --- a/client/docs/PinCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PinCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commentPositions** | [String: RecordStringBeforeStringOrNullAfterStringOrNullValue] | Construct a type with a set of properties K of type T | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostAdjustCommentVotesResponse.md b/client/docs/PostAdjustCommentVotesResponse.md deleted file mode 100644 index 32b9e27..0000000 --- a/client/docs/PostAdjustCommentVotesResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostAdjustCommentVotesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**newCommentVotes** | **Int** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostApiExportResponse.md b/client/docs/PostApiExportResponse.md deleted file mode 100644 index 963400f..0000000 --- a/client/docs/PostApiExportResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostApiExportResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**batchJobId** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBanUserFromCommentResponse.md b/client/docs/PostBanUserFromCommentResponse.md deleted file mode 100644 index dcf02a7..0000000 --- a/client/docs/PostBanUserFromCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostBanUserFromCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**changelog** | [**APIBanUserChangeLog**](APIBanUserChangeLog.md) | | [optional] -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBanUserUndoResponse.md b/client/docs/PostBanUserUndoResponse.md deleted file mode 100644 index 7fad306..0000000 --- a/client/docs/PostBanUserUndoResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostBanUserUndoResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBulkPreBanSummaryResponse.md b/client/docs/PostBulkPreBanSummaryResponse.md deleted file mode 100644 index 68731e6..0000000 --- a/client/docs/PostBulkPreBanSummaryResponse.md +++ /dev/null @@ -1,22 +0,0 @@ -# PostBulkPreBanSummaryResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**totalRelatedCommentCount** | **Int** | | [optional] -**emailDomains** | **[String]** | | [optional] -**emails** | **[String]** | | [optional] -**userIds** | **[String]** | | [optional] -**ipHashes** | **[String]** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostCommentsByIdsResponse.md b/client/docs/PostCommentsByIdsResponse.md deleted file mode 100644 index 0c1d8de..0000000 --- a/client/docs/PostCommentsByIdsResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostCommentsByIdsResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comments** | [ModerationAPIComment] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostFlagCommentResponse.md b/client/docs/PostFlagCommentResponse.md deleted file mode 100644 index 30c09fc..0000000 --- a/client/docs/PostFlagCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostFlagCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentResponse.md index 069f5f7..22c6b35 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentResponse.md @@ -3,15 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**action** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] +**action** | **String** | | +**status** | **String** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/PostRestoreDeletedCommentResponse.md b/client/docs/PostRestoreDeletedCommentResponse.md deleted file mode 100644 index c887ed5..0000000 --- a/client/docs/PostRestoreDeletedCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostRestoreDeletedCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentApprovalStatusResponse.md b/client/docs/PostSetCommentApprovalStatusResponse.md deleted file mode 100644 index 96d2f0f..0000000 --- a/client/docs/PostSetCommentApprovalStatusResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostSetCommentApprovalStatusResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**didResetFlaggedCount** | **Bool** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentReviewStatusResponse.md b/client/docs/PostSetCommentReviewStatusResponse.md deleted file mode 100644 index ac4d883..0000000 --- a/client/docs/PostSetCommentReviewStatusResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostSetCommentReviewStatusResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentSpamStatusResponse.md b/client/docs/PostSetCommentSpamStatusResponse.md deleted file mode 100644 index e50ebef..0000000 --- a/client/docs/PostSetCommentSpamStatusResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostSetCommentSpamStatusResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentTextResponse.md b/client/docs/PostSetCommentTextResponse.md deleted file mode 100644 index 3d4adbb..0000000 --- a/client/docs/PostSetCommentTextResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PostSetCommentTextResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**newCommentTextHTML** | **String** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostUnFlagCommentResponse.md b/client/docs/PostUnFlagCommentResponse.md deleted file mode 100644 index 9f5f539..0000000 --- a/client/docs/PostUnFlagCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PostUnFlagCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostVoteResponse.md b/client/docs/PostVoteResponse.md deleted file mode 100644 index 0170a66..0000000 --- a/client/docs/PostVoteResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# PostVoteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**voteId** | **String** | | [optional] -**isVerified** | **Bool** | | [optional] -**user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] -**editKey** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index 9dde602..a835d52 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -60,7 +60,7 @@ Method | HTTP request | Description # **blockFromCommentPublic** ```swift - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: BlockFromCommentPublicResponse?, _ error: Error?) -> Void) + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -98,7 +98,7 @@ Name | Type | Description | Notes ### Return type -[**BlockFromCommentPublicResponse**](BlockFromCommentPublicResponse.md) +[**BlockSuccess**](BlockSuccess.md) ### Authorization @@ -113,7 +113,7 @@ No authorization required # **checkedCommentsForBlocked** ```swift - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, completion: @escaping (_ data: CheckedCommentsForBlockedResponse?, _ error: Error?) -> Void) + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) ``` @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**CheckedCommentsForBlockedResponse**](CheckedCommentsForBlockedResponse.md) +[**CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md) ### Authorization @@ -164,7 +164,7 @@ No authorization required # **createCommentPublic** ```swift - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateCommentPublicResponse?, _ error: Error?) -> Void) + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) ``` @@ -206,7 +206,7 @@ Name | Type | Description | Notes ### Return type -[**CreateCommentPublicResponse**](CreateCommentPublicResponse.md) +[**SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md) ### Authorization @@ -221,7 +221,7 @@ No authorization required # **createFeedPostPublic** ```swift - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostPublicResponse?, _ error: Error?) -> Void) + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -259,7 +259,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostPublicResponse**](CreateFeedPostPublicResponse.md) +[**CreateFeedPostResponse**](CreateFeedPostResponse.md) ### Authorization @@ -274,7 +274,7 @@ No authorization required # **createV1PageReact** ```swift - open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReactResponse?, _ error: Error?) -> Void) + open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -310,7 +310,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReactResponse**](CreateV1PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -325,7 +325,7 @@ No authorization required # **createV2PageReact** ```swift - open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, completion: @escaping (_ data: CreateV2PageReactResponse?, _ error: Error?) -> Void) + open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -363,7 +363,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV2PageReactResponse**](CreateV2PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -378,7 +378,7 @@ No authorization required # **deleteCommentPublic** ```swift - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteCommentPublicResponse?, _ error: Error?) -> Void) + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) ``` @@ -418,7 +418,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentPublicResponse**](DeleteCommentPublicResponse.md) +[**PublicAPIDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md) ### Authorization @@ -433,7 +433,7 @@ No authorization required # **deleteCommentVote** ```swift - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteCommentVoteResponse?, _ error: Error?) -> Void) + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -477,7 +477,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentVoteResponse**](DeleteCommentVoteResponse.md) +[**VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -545,7 +545,7 @@ No authorization required # **deleteV1PageReact** ```swift - open class func deleteV1PageReact(tenantId: String, urlId: String, completion: @escaping (_ data: DeleteV1PageReactResponse?, _ error: Error?) -> Void) + open class func deleteV1PageReact(tenantId: String, urlId: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -579,7 +579,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteV1PageReactResponse**](DeleteV1PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -594,7 +594,7 @@ No authorization required # **deleteV2PageReact** ```swift - open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: DeleteV2PageReactResponse?, _ error: Error?) -> Void) + open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -630,7 +630,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteV2PageReactResponse**](DeleteV2PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -645,7 +645,7 @@ No authorization required # **flagCommentPublic** ```swift - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, completion: @escaping (_ data: FlagCommentPublicResponse?, _ error: Error?) -> Void) + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -683,7 +683,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentPublicResponse**](FlagCommentPublicResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -698,7 +698,7 @@ No authorization required # **getCommentText** ```swift - open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentTextResponse1?, _ error: Error?) -> Void) + open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -736,7 +736,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentTextResponse1**](GetCommentTextResponse1.md) +[**PublicAPIGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md) ### Authorization @@ -751,7 +751,7 @@ No authorization required # **getCommentVoteUserNames** ```swift - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, completion: @escaping (_ data: GetCommentVoteUserNamesResponse?, _ error: Error?) -> Void) + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) ``` @@ -789,7 +789,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentVoteUserNamesResponse**](GetCommentVoteUserNamesResponse.md) +[**GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md) ### Authorization @@ -804,7 +804,7 @@ No authorization required # **getCommentsForUser** ```swift - open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, completion: @escaping (_ data: GetCommentsForUserResponse1?, _ error: Error?) -> Void) + open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) ``` @@ -848,7 +848,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsForUserResponse1**](GetCommentsForUserResponse1.md) +[**GetCommentsForUserResponse**](GetCommentsForUserResponse.md) ### Authorization @@ -863,7 +863,7 @@ No authorization required # **getCommentsPublic** ```swift - open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, completion: @escaping (_ data: GetCommentsPublicResponse?, _ error: Error?) -> Void) + open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) ``` @@ -951,7 +951,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsPublicResponse**](GetCommentsPublicResponse.md) +[**GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresencePublicComment.md) ### Authorization @@ -966,7 +966,7 @@ No authorization required # **getEventLog** ```swift - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse1?, _ error: Error?) -> Void) + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -1008,7 +1008,7 @@ Name | Type | Description | Notes ### Return type -[**GetEventLogResponse1**](GetEventLogResponse1.md) +[**GetEventLogResponse**](GetEventLogResponse.md) ### Authorization @@ -1023,7 +1023,7 @@ No authorization required # **getFeedPostsPublic** ```swift - open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, completion: @escaping (_ data: GetFeedPostsPublicResponse?, _ error: Error?) -> Void) + open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -1069,7 +1069,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsPublicResponse**](GetFeedPostsPublicResponse.md) +[**PublicFeedPostsResponse**](PublicFeedPostsResponse.md) ### Authorization @@ -1084,7 +1084,7 @@ No authorization required # **getFeedPostsStats** ```swift - open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, completion: @escaping (_ data: GetFeedPostsStatsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) ``` @@ -1120,7 +1120,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsStatsResponse**](GetFeedPostsStatsResponse.md) +[**FeedPostsStatsResponse**](FeedPostsStatsResponse.md) ### Authorization @@ -1135,7 +1135,7 @@ No authorization required # **getGifLarge** ```swift - open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, completion: @escaping (_ data: GetGifLargeResponse?, _ error: Error?) -> Void) + open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, completion: @escaping (_ data: GifGetLargeResponse?, _ error: Error?) -> Void) ``` @@ -1169,7 +1169,7 @@ Name | Type | Description | Notes ### Return type -[**GetGifLargeResponse**](GetGifLargeResponse.md) +[**GifGetLargeResponse**](GifGetLargeResponse.md) ### Authorization @@ -1292,7 +1292,7 @@ No authorization required # **getGlobalEventLog** ```swift - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetGlobalEventLogResponse?, _ error: Error?) -> Void) + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -1334,7 +1334,7 @@ Name | Type | Description | Notes ### Return type -[**GetGlobalEventLogResponse**](GetGlobalEventLogResponse.md) +[**GetEventLogResponse**](GetEventLogResponse.md) ### Authorization @@ -1349,7 +1349,7 @@ No authorization required # **getOfflineUsers** ```swift - open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: GetOfflineUsersResponse?, _ error: Error?) -> Void) + open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) ``` @@ -1389,7 +1389,7 @@ Name | Type | Description | Notes ### Return type -[**GetOfflineUsersResponse**](GetOfflineUsersResponse.md) +[**PageUsersOfflineResponse**](PageUsersOfflineResponse.md) ### Authorization @@ -1404,7 +1404,7 @@ No authorization required # **getOnlineUsers** ```swift - open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: GetOnlineUsersResponse?, _ error: Error?) -> Void) + open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) ``` @@ -1444,7 +1444,7 @@ Name | Type | Description | Notes ### Return type -[**GetOnlineUsersResponse**](GetOnlineUsersResponse.md) +[**PageUsersOnlineResponse**](PageUsersOnlineResponse.md) ### Authorization @@ -1459,7 +1459,7 @@ No authorization required # **getPagesPublic** ```swift - open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, completion: @escaping (_ data: GetPagesPublicResponse?, _ error: Error?) -> Void) + open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) ``` @@ -1503,7 +1503,7 @@ Name | Type | Description | Notes ### Return type -[**GetPagesPublicResponse**](GetPagesPublicResponse.md) +[**GetPublicPagesResponse**](GetPublicPagesResponse.md) ### Authorization @@ -1518,7 +1518,7 @@ No authorization required # **getTranslations** ```swift - open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, completion: @escaping (_ data: GetTranslationsResponse1?, _ error: Error?) -> Void) + open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) ``` @@ -1556,7 +1556,7 @@ Name | Type | Description | Notes ### Return type -[**GetTranslationsResponse1**](GetTranslationsResponse1.md) +[**GetTranslationsResponse**](GetTranslationsResponse.md) ### Authorization @@ -1571,7 +1571,7 @@ No authorization required # **getUserNotificationCount** ```swift - open class func getUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationCountResponse1?, _ error: Error?) -> Void) + open class func getUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -1605,7 +1605,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserNotificationCountResponse1**](GetUserNotificationCountResponse1.md) +[**GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md) ### Authorization @@ -1620,7 +1620,7 @@ No authorization required # **getUserNotifications** ```swift - open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -1674,7 +1674,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserNotificationsResponse**](GetUserNotificationsResponse.md) +[**GetMyNotificationsResponse**](GetMyNotificationsResponse.md) ### Authorization @@ -1689,7 +1689,7 @@ No authorization required # **getUserPresenceStatuses** ```swift - open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, completion: @escaping (_ data: GetUserPresenceStatusesResponse1?, _ error: Error?) -> Void) + open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, completion: @escaping (_ data: GetUserPresenceStatusesResponse?, _ error: Error?) -> Void) ``` @@ -1725,7 +1725,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserPresenceStatusesResponse1**](GetUserPresenceStatusesResponse1.md) +[**GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md) ### Authorization @@ -1740,7 +1740,7 @@ No authorization required # **getUserReactsPublic** ```swift - open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserReactsPublicResponse?, _ error: Error?) -> Void) + open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) ``` @@ -1776,7 +1776,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserReactsPublicResponse**](GetUserReactsPublicResponse.md) +[**UserReactsResponse**](UserReactsResponse.md) ### Authorization @@ -1791,7 +1791,7 @@ No authorization required # **getUsersInfo** ```swift - open class func getUsersInfo(tenantId: String, ids: String, completion: @escaping (_ data: GetUsersInfoResponse?, _ error: Error?) -> Void) + open class func getUsersInfo(tenantId: String, ids: String, completion: @escaping (_ data: PageUsersInfoResponse?, _ error: Error?) -> Void) ``` @@ -1827,7 +1827,7 @@ Name | Type | Description | Notes ### Return type -[**GetUsersInfoResponse**](GetUsersInfoResponse.md) +[**PageUsersInfoResponse**](PageUsersInfoResponse.md) ### Authorization @@ -1842,7 +1842,7 @@ No authorization required # **getV1PageLikes** ```swift - open class func getV1PageLikes(tenantId: String, urlId: String, completion: @escaping (_ data: GetV1PageLikesResponse?, _ error: Error?) -> Void) + open class func getV1PageLikes(tenantId: String, urlId: String, completion: @escaping (_ data: GetV1PageLikes?, _ error: Error?) -> Void) ``` @@ -1876,7 +1876,7 @@ Name | Type | Description | Notes ### Return type -[**GetV1PageLikesResponse**](GetV1PageLikesResponse.md) +[**GetV1PageLikes**](GetV1PageLikes.md) ### Authorization @@ -1891,7 +1891,7 @@ No authorization required # **getV2PageReactUsers** ```swift - open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: GetV2PageReactUsersResponse1?, _ error: Error?) -> Void) + open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: GetV2PageReactUsersResponse?, _ error: Error?) -> Void) ``` @@ -1927,7 +1927,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReactUsersResponse1**](GetV2PageReactUsersResponse1.md) +[**GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md) ### Authorization @@ -1942,7 +1942,7 @@ No authorization required # **getV2PageReacts** ```swift - open class func getV2PageReacts(tenantId: String, urlId: String, completion: @escaping (_ data: GetV2PageReactsResponse?, _ error: Error?) -> Void) + open class func getV2PageReacts(tenantId: String, urlId: String, completion: @escaping (_ data: GetV2PageReacts?, _ error: Error?) -> Void) ``` @@ -1976,7 +1976,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReactsResponse**](GetV2PageReactsResponse.md) +[**GetV2PageReacts**](GetV2PageReacts.md) ### Authorization @@ -1991,7 +1991,7 @@ No authorization required # **lockComment** ```swift - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: LockCommentResponse?, _ error: Error?) -> Void) + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2029,7 +2029,7 @@ Name | Type | Description | Notes ### Return type -[**LockCommentResponse**](LockCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2087,7 +2087,7 @@ No authorization required # **pinComment** ```swift - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: PinCommentResponse?, _ error: Error?) -> Void) + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2125,7 +2125,7 @@ Name | Type | Description | Notes ### Return type -[**PinCommentResponse**](PinCommentResponse.md) +[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) ### Authorization @@ -2140,7 +2140,7 @@ No authorization required # **reactFeedPostPublic** ```swift - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ReactFeedPostPublicResponse?, _ error: Error?) -> Void) + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2182,7 +2182,7 @@ Name | Type | Description | Notes ### Return type -[**ReactFeedPostPublicResponse**](ReactFeedPostPublicResponse.md) +[**ReactFeedPostResponse**](ReactFeedPostResponse.md) ### Authorization @@ -2197,7 +2197,7 @@ No authorization required # **resetUserNotificationCount** ```swift - open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationCountResponse?, _ error: Error?) -> Void) + open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2231,7 +2231,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationCountResponse**](ResetUserNotificationCountResponse.md) +[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) ### Authorization @@ -2246,7 +2246,7 @@ No authorization required # **resetUserNotifications** ```swift - open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse1?, _ error: Error?) -> Void) + open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2290,7 +2290,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationsResponse1**](ResetUserNotificationsResponse1.md) +[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) ### Authorization @@ -2305,7 +2305,7 @@ No authorization required # **searchUsers** ```swift - open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, completion: @escaping (_ data: SearchUsersResponse1?, _ error: Error?) -> Void) + open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) ``` @@ -2347,7 +2347,7 @@ Name | Type | Description | Notes ### Return type -[**SearchUsersResponse1**](SearchUsersResponse1.md) +[**SearchUsersResult**](SearchUsersResult.md) ### Authorization @@ -2362,7 +2362,7 @@ No authorization required # **setCommentText** ```swift - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse1?, _ error: Error?) -> Void) + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -2404,7 +2404,7 @@ Name | Type | Description | Notes ### Return type -[**SetCommentTextResponse1**](SetCommentTextResponse1.md) +[**PublicAPISetCommentTextResponse**](PublicAPISetCommentTextResponse.md) ### Authorization @@ -2419,7 +2419,7 @@ No authorization required # **unBlockCommentPublic** ```swift - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: UnBlockCommentPublicResponse?, _ error: Error?) -> Void) + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -2457,7 +2457,7 @@ Name | Type | Description | Notes ### Return type -[**UnBlockCommentPublicResponse**](UnBlockCommentPublicResponse.md) +[**UnblockSuccess**](UnblockSuccess.md) ### Authorization @@ -2472,7 +2472,7 @@ No authorization required # **unLockComment** ```swift - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: UnLockCommentResponse?, _ error: Error?) -> Void) + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2510,7 +2510,7 @@ Name | Type | Description | Notes ### Return type -[**UnLockCommentResponse**](UnLockCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2525,7 +2525,7 @@ No authorization required # **unPinComment** ```swift - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: UnPinCommentResponse?, _ error: Error?) -> Void) + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2563,7 +2563,7 @@ Name | Type | Description | Notes ### Return type -[**UnPinCommentResponse**](UnPinCommentResponse.md) +[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) ### Authorization @@ -2578,7 +2578,7 @@ No authorization required # **updateFeedPostPublic** ```swift - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: UpdateFeedPostPublicResponse?, _ error: Error?) -> Void) + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2618,7 +2618,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateFeedPostPublicResponse**](UpdateFeedPostPublicResponse.md) +[**CreateFeedPostResponse**](CreateFeedPostResponse.md) ### Authorization @@ -2857,7 +2857,7 @@ No authorization required # **voteComment** ```swift - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteCommentResponse?, _ error: Error?) -> Void) + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2901,7 +2901,7 @@ Name | Type | Description | Notes ### Return type -[**VoteCommentResponse**](VoteCommentResponse.md) +[**VoteResponse**](VoteResponse.md) ### Authorization diff --git a/client/docs/PutAwardBadgeResponse.md b/client/docs/PutAwardBadgeResponse.md deleted file mode 100644 index ad5f992..0000000 --- a/client/docs/PutAwardBadgeResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# PutAwardBadgeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**notes** | **[String]** | | [optional] -**badges** | [CommentUserBadgeInfo] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutCloseThreadResponse.md b/client/docs/PutCloseThreadResponse.md deleted file mode 100644 index 576c5ea..0000000 --- a/client/docs/PutCloseThreadResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PutCloseThreadResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutRemoveBadgeResponse.md b/client/docs/PutRemoveBadgeResponse.md deleted file mode 100644 index 1982420..0000000 --- a/client/docs/PutRemoveBadgeResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# PutRemoveBadgeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**badges** | [CommentUserBadgeInfo] | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutReopenThreadResponse.md b/client/docs/PutReopenThreadResponse.md deleted file mode 100644 index ffc5788..0000000 --- a/client/docs/PutReopenThreadResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# PutReopenThreadResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReactFeedPostPublicResponse.md b/client/docs/ReactFeedPostPublicResponse.md deleted file mode 100644 index 00ba567..0000000 --- a/client/docs/ReactFeedPostPublicResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# ReactFeedPostPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reactType** | **String** | | [optional] -**isUndo** | **Bool** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/RenderEmailTemplateResponse1.md b/client/docs/RenderEmailTemplateResponse1.md deleted file mode 100644 index a591375..0000000 --- a/client/docs/RenderEmailTemplateResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# RenderEmailTemplateResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**html** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReplaceTenantPackageResponse.md b/client/docs/ReplaceTenantPackageResponse.md deleted file mode 100644 index 826d931..0000000 --- a/client/docs/ReplaceTenantPackageResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# ReplaceTenantPackageResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReplaceTenantUserResponse.md b/client/docs/ReplaceTenantUserResponse.md deleted file mode 100644 index 052ffb7..0000000 --- a/client/docs/ReplaceTenantUserResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# ReplaceTenantUserResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ResetUserNotificationCountResponse.md b/client/docs/ResetUserNotificationCountResponse.md deleted file mode 100644 index ce1850d..0000000 --- a/client/docs/ResetUserNotificationCountResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResetUserNotificationCountResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ResetUserNotificationsResponse1.md b/client/docs/ResetUserNotificationsResponse1.md deleted file mode 100644 index 9fd8adf..0000000 --- a/client/docs/ResetUserNotificationsResponse1.md +++ /dev/null @@ -1,17 +0,0 @@ -# ResetUserNotificationsResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SaveCommentResponse.md b/client/docs/SaveCommentResponse.md deleted file mode 100644 index e42e612..0000000 --- a/client/docs/SaveCommentResponse.md +++ /dev/null @@ -1,20 +0,0 @@ -# SaveCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**comment** | [**APIComment**](APIComment.md) | | [optional] -**user** | [**UserSessionInfo**](UserSessionInfo.md) | | [optional] -**moduleData** | **[String: JSONValue]** | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SearchUsersResponse1.md b/client/docs/SearchUsersResponse1.md deleted file mode 100644 index 59c8d64..0000000 --- a/client/docs/SearchUsersResponse1.md +++ /dev/null @@ -1,19 +0,0 @@ -# SearchUsersResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**sections** | [UserSearchSectionResult] | | [optional] -**users** | [UserSearchResult] | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SendInviteResponse.md b/client/docs/SendInviteResponse.md deleted file mode 100644 index f986727..0000000 --- a/client/docs/SendInviteResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SendInviteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SendLoginLinkResponse.md b/client/docs/SendLoginLinkResponse.md deleted file mode 100644 index 2582337..0000000 --- a/client/docs/SendLoginLinkResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SendLoginLinkResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SetCommentTextResponse1.md b/client/docs/SetCommentTextResponse1.md deleted file mode 100644 index 451c41a..0000000 --- a/client/docs/SetCommentTextResponse1.md +++ /dev/null @@ -1,18 +0,0 @@ -# SetCommentTextResponse1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | [**SetCommentTextResult**](SetCommentTextResult.md) | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SetTrustFactorResponse.md b/client/docs/SetTrustFactorResponse.md deleted file mode 100644 index 7889759..0000000 --- a/client/docs/SetTrustFactorResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# SetTrustFactorResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**previousManualTrustFactor** | **Double** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnBlockCommentPublicResponse.md b/client/docs/UnBlockCommentPublicResponse.md deleted file mode 100644 index d02c340..0000000 --- a/client/docs/UnBlockCommentPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UnBlockCommentPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnBlockUserFromCommentResponse.md b/client/docs/UnBlockUserFromCommentResponse.md deleted file mode 100644 index ed7dc5b..0000000 --- a/client/docs/UnBlockUserFromCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UnBlockUserFromCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**commentStatuses** | **[String: Bool]** | Construct a type with a set of properties K of type T | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnFlagCommentResponse.md b/client/docs/UnFlagCommentResponse.md deleted file mode 100644 index 3be56ce..0000000 --- a/client/docs/UnFlagCommentResponse.md +++ /dev/null @@ -1,19 +0,0 @@ -# UnFlagCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**statusCode** | **Int** | | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**code** | **String** | | [optional] -**reason** | **String** | | [optional] -**wasUnapproved** | **Bool** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnLockCommentResponse.md b/client/docs/UnLockCommentResponse.md deleted file mode 100644 index 35d908c..0000000 --- a/client/docs/UnLockCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UnLockCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnPinCommentResponse.md b/client/docs/UnPinCommentResponse.md deleted file mode 100644 index 9abb633..0000000 --- a/client/docs/UnPinCommentResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UnPinCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commentPositions** | [String: RecordStringBeforeStringOrNullAfterStringOrNullValue] | Construct a type with a set of properties K of type T | [optional] -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateCommentResponse.md b/client/docs/UpdateCommentResponse.md deleted file mode 100644 index 63586ad..0000000 --- a/client/docs/UpdateCommentResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateEmailTemplateResponse.md b/client/docs/UpdateEmailTemplateResponse.md deleted file mode 100644 index e45f910..0000000 --- a/client/docs/UpdateEmailTemplateResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateEmailTemplateResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateFeedPostPublicResponse.md b/client/docs/UpdateFeedPostPublicResponse.md deleted file mode 100644 index df1ab6d..0000000 --- a/client/docs/UpdateFeedPostPublicResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# UpdateFeedPostPublicResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateFeedPostResponse.md b/client/docs/UpdateFeedPostResponse.md deleted file mode 100644 index 2139048..0000000 --- a/client/docs/UpdateFeedPostResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateFeedPostResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateModeratorResponse.md b/client/docs/UpdateModeratorResponse.md deleted file mode 100644 index a9ec236..0000000 --- a/client/docs/UpdateModeratorResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateModeratorResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateNotificationResponse.md b/client/docs/UpdateNotificationResponse.md deleted file mode 100644 index 958ad14..0000000 --- a/client/docs/UpdateNotificationResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateNotificationResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateQuestionConfigResponse.md b/client/docs/UpdateQuestionConfigResponse.md deleted file mode 100644 index 9658e6a..0000000 --- a/client/docs/UpdateQuestionConfigResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateQuestionConfigResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateQuestionResultResponse.md b/client/docs/UpdateQuestionResultResponse.md deleted file mode 100644 index b6637d2..0000000 --- a/client/docs/UpdateQuestionResultResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateQuestionResultResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantPackageResponse.md b/client/docs/UpdateTenantPackageResponse.md deleted file mode 100644 index 2a7b76f..0000000 --- a/client/docs/UpdateTenantPackageResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateTenantPackageResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantResponse.md b/client/docs/UpdateTenantResponse.md deleted file mode 100644 index 0107e7c..0000000 --- a/client/docs/UpdateTenantResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateTenantResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantUserResponse.md b/client/docs/UpdateTenantUserResponse.md deleted file mode 100644 index bf933c7..0000000 --- a/client/docs/UpdateTenantUserResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateTenantUserResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateUserBadgeResponse.md b/client/docs/UpdateUserBadgeResponse.md deleted file mode 100644 index bc09f0d..0000000 --- a/client/docs/UpdateUserBadgeResponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# UpdateUserBadgeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md index 577476a..b98028e 100644 --- a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -7,13 +7,6 @@ Name | Type | Description | Notes **matchedCount** | **Int64** | | [optional] **modifiedCount** | **Int64** | | [optional] **note** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md index 9f0f621..65ae4db 100644 --- a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -7,13 +7,6 @@ Name | Type | Description | Notes **matchedCount** | **Int64** | | [optional] **modifiedCount** | **Int64** | | [optional] **note** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationStatusResponse.md b/client/docs/UpdateUserNotificationStatusResponse.md index ab70f50..99da674 100644 --- a/client/docs/UpdateUserNotificationStatusResponse.md +++ b/client/docs/UpdateUserNotificationStatusResponse.md @@ -7,13 +7,6 @@ Name | Type | Description | Notes **matchedCount** | **Int64** | | [optional] **modifiedCount** | **Int64** | | [optional] **note** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/VoteCommentResponse.md b/client/docs/VoteCommentResponse.md deleted file mode 100644 index f5fa9ac..0000000 --- a/client/docs/VoteCommentResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -# VoteCommentResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**APIStatus**](APIStatus.md) | | -**voteId** | **String** | | [optional] -**isVerified** | **Bool** | | [optional] -**user** | [**VoteResponseUser**](VoteResponseUser.md) | | [optional] -**editKey** | **String** | | [optional] -**reason** | **String** | | [optional] -**code** | **String** | | [optional] -**secondaryCode** | **String** | | [optional] -**bannedUntil** | **Int64** | | [optional] -**maxCharacterLength** | **Int** | | [optional] -**translatedError** | **String** | | [optional] -**customConfig** | [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 eff93dd7779c30abefa587d1c8c905ce70f8a24f Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 15:25:20 -0700 Subject: [PATCH 03/10] Restore presence-tracking cookie patch and protect it from regen The regen overwrote the deliberate customization in URLSessionImplementations.swift (ephemeral URLSession config with cookies disabled), which prevents the server from tying userIdWS to a session cookie -- stale/shared cookies otherwise return the wrong userIdWS and break presence p-u events. update.sh's 'rm -rf ./client' deletes both .openapi-generator-ignore and the patched file before generation, so the ignore never engaged. Re-apply the patch, restore the ignore entry, and have update.sh restore the protected files from git after generation so every future regen keeps them. --- client/.openapi-generator-ignore | 5 +++++ .../Infrastructure/URLSessionImplementations.swift | 8 +++++++- update.sh | 8 ++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/client/.openapi-generator-ignore b/client/.openapi-generator-ignore index 7484ee5..3815279 100644 --- a/client/.openapi-generator-ignore +++ b/client/.openapi-generator-ignore @@ -21,3 +21,8 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md + +# Preserve manually-patched infrastructure files from being overwritten. +# NOTE: update.sh's `rm -rf ./client` wipes this file before generation, so the ignore +# alone is not enough -- update.sh also restores these files from git after generation. +FastCommentsSwift/Infrastructure/URLSessionImplementations.swift diff --git a/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift b/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift index c8b0c8c..7f30ea3 100644 --- a/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift +++ b/client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift @@ -54,7 +54,13 @@ public final class URLSessionRequestBuilderFactory: RequestBuilderFactory, Senda fileprivate class URLSessionRequestBuilderConfiguration: @unchecked Sendable { private init() { - defaultURLSession = URLSession(configuration: .default, delegate: sessionDelegate, delegateQueue: nil) + // Disable cookies to prevent the server from tying userIdWS to a session cookie. + // Stale or shared cookies cause the wrong userIdWS to be returned, which breaks + // presence tracking (p-u events won't fire for unrecognized userIdWS values). + let config = URLSessionConfiguration.ephemeral + config.httpCookieAcceptPolicy = .never + config.httpShouldSetCookies = false + defaultURLSession = URLSession(configuration: config, delegate: sessionDelegate, delegateQueue: nil) } static let shared = URLSessionRequestBuilderConfiguration() diff --git a/update.sh b/update.sh index 8907119..9a90aa0 100755 --- a/update.sh +++ b/update.sh @@ -32,6 +32,14 @@ else exit 1 fi +# Re-apply hand-patched infrastructure files that the generator overwrites. The +# `rm -rf ./client` + regen above wipes .openapi-generator-ignore and the files it +# protects, so restore them from git here. This keeps the presence-tracking cookie patch +# in URLSessionImplementations.swift (ephemeral config, cookies disabled) from being +# silently reverted on every regen. See client/.openapi-generator-ignore. +echo "Restoring hand-patched infrastructure files..." +git checkout -- ./client/.openapi-generator-ignore ./client/FastCommentsSwift/Infrastructure/URLSessionImplementations.swift + # Remove files that prevent Swift Package from including client directory echo "Cleaning up generated files..." rm -f ./client/.gitignore From 137561e632d772f5636f35c14eb1fc98c5421df9 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 19:39:16 -0700 Subject: [PATCH 04/10] Regenerate with grouped request objects (useSingleRequestParameter) API methods now take a single ApiRequest struct. Updated SSO integration tests and README examples. --- README.md | 45 +- .../SSOIntegrationTests.swift | 60 +- .../FastCommentsSwift/APIs/DefaultAPI.swift | 2610 ++++++++++++++--- .../APIs/ModerationAPI.swift | 1210 ++++++-- client/FastCommentsSwift/APIs/PublicAPI.swift | 1407 ++++++++- client/docs/ModerationAPI.md | 104 +- openapi.json | 52 +- 7 files changed, 4702 insertions(+), 786 deletions(-) diff --git a/README.md b/README.md index f879413..0ee4dc6 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,13 @@ The FastComments Swift SDK consists of several modules: ```swift import FastCommentsSwift -// Create API client -let publicApi = PublicAPI() - // Fetch comments for a page do { - let response = try await publicApi.getCommentsPublic( - tenantId: "your-tenant-id", - urlId: "page-url-id" + let response = try await PublicAPI.getCommentsPublic( + request: PublicAPI.ApiGetCommentsPublicRequest( + tenantId: "your-tenant-id", + urlId: "page-url-id" + ) ) print("Found \(response.comments?.count ?? 0) comments") @@ -70,15 +69,16 @@ do { ```swift import FastCommentsSwift -// Create configuration with API key -let defaultApi = DefaultAPI() -defaultApi.apiKey = "your-api-key" +// Configure your API key on the shared configuration (sent as the x-api-key header) +FastCommentsSwiftAPIConfiguration.shared.customHeaders["x-api-key"] = "your-api-key" // Fetch comments using authenticated API do { - let response = try await defaultApi.getComments( - tenantId: "your-tenant-id", - urlId: "page-url-id" + let response = try await DefaultAPI.getComments( + request: DefaultAPI.ApiGetCommentsRequest( + tenantId: "your-tenant-id", + urlId: "page-url-id" + ) ) print("Total comments: \(response.count ?? 0)") @@ -99,9 +99,11 @@ import FastCommentsSwift // (generate it with FastCommentsSSO, see the SSO section above). do { let response = try await ModerationAPI.getApiComments( - page: 0, - count: 30, - sso: ssoToken + request: ModerationAPI.ApiGetApiCommentsRequest( + page: 0, + count: 30, + sso: ssoToken + ) ) print("Found \(response.comments.count) comments to moderate") @@ -207,9 +209,11 @@ Every `ModerationAPI` method accepts an `sso` parameter so moderators can be aut The Swift SDK uses modern async/await syntax for all API calls: ```swift -let response = try await publicApi.getCommentsPublic( - tenantId: "your-tenant-id", - urlId: "page-url-id" +let response = try await PublicAPI.getCommentsPublic( + request: PublicAPI.ApiGetCommentsPublicRequest( + tenantId: "your-tenant-id", + urlId: "page-url-id" + ) ) ``` @@ -221,11 +225,10 @@ If you're getting 401 errors when using the authenticated API: 1. **Check your API key**: Ensure you're using the correct API key from your FastComments dashboard 2. **Verify the tenant ID**: Make sure the tenant ID matches your account -3. **API key format**: The API key should be set on the API client: +3. **API key format**: The API key should be set as the `x-api-key` header on the shared configuration: ```swift -let defaultApi = DefaultAPI() -defaultApi.apiKey = "YOUR_API_KEY" +FastCommentsSwiftAPIConfiguration.shared.customHeaders["x-api-key"] = "YOUR_API_KEY" ``` 4. **Using the wrong API**: Make sure you're using `DefaultAPI` (not `PublicAPI`) for authenticated calls diff --git a/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift b/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift index cfaec34..77aae95 100644 --- a/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift +++ b/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift @@ -50,11 +50,13 @@ final class SSOIntegrationTests: XCTestCase { ) let createResponse = try await PublicAPI.createCommentPublic( - tenantId: tenantId, - urlId: testUrlId, - broadcastId: "swift-test-\(timestamp)", - commentData: commentData, - sso: token + request: PublicAPI.ApiCreateCommentPublicRequest( + tenantId: tenantId, + urlId: testUrlId, + broadcastId: "swift-test-\(timestamp)", + commentData: commentData, + sso: token + ) ) XCTAssertEqual(createResponse.status, .success, "Create comment should succeed") @@ -69,9 +71,11 @@ final class SSOIntegrationTests: XCTestCase { // Fetch comments back with the same SSO token let getResponse = try await PublicAPI.getCommentsPublic( - tenantId: tenantId, - urlId: testUrlId, - sso: token + request: PublicAPI.ApiGetCommentsPublicRequest( + tenantId: tenantId, + urlId: testUrlId, + sso: token + ) ) XCTAssertEqual(getResponse.status, "success", "Get comments should succeed") @@ -120,11 +124,13 @@ final class SSOIntegrationTests: XCTestCase { ) let createResponse = try await PublicAPI.createCommentPublic( - tenantId: tenantId, - urlId: testUrlId, - broadcastId: "swift-opts-\(timestamp)", - commentData: commentData, - sso: token + request: PublicAPI.ApiCreateCommentPublicRequest( + tenantId: tenantId, + urlId: testUrlId, + broadcastId: "swift-opts-\(timestamp)", + commentData: commentData, + sso: token + ) ) XCTAssertEqual(createResponse.status, .success, "Create comment with optional SSO fields should succeed") @@ -138,9 +144,11 @@ final class SSOIntegrationTests: XCTestCase { // Fetch and verify the comment carries the display label let getResponse = try await PublicAPI.getCommentsPublic( - tenantId: tenantId, - urlId: testUrlId, - sso: token + request: PublicAPI.ApiGetCommentsPublicRequest( + tenantId: tenantId, + urlId: testUrlId, + sso: token + ) ) XCTAssertEqual(getResponse.status, "success") @@ -187,11 +195,13 @@ final class SSOIntegrationTests: XCTestCase { ) let createResponse = try await PublicAPI.createCommentPublic( - tenantId: tenantId, - urlId: testUrlId, - broadcastId: "swift-simple-\(timestamp)", - commentData: commentData, - sso: token + request: PublicAPI.ApiCreateCommentPublicRequest( + tenantId: tenantId, + urlId: testUrlId, + broadcastId: "swift-simple-\(timestamp)", + commentData: commentData, + sso: token + ) ) XCTAssertEqual(createResponse.status, .success, "Create comment with simple SSO should succeed") @@ -206,9 +216,11 @@ final class SSOIntegrationTests: XCTestCase { // Fetch comments back with the same simple SSO token let getResponse = try await PublicAPI.getCommentsPublic( - tenantId: tenantId, - urlId: testUrlId, - sso: token + request: PublicAPI.ApiGetCommentsPublicRequest( + tenantId: tenantId, + urlId: testUrlId, + sso: token + ) ) XCTAssertEqual(getResponse.status, "success", "Get comments with simple SSO should succeed") diff --git a/client/FastCommentsSwift/APIs/DefaultAPI.swift b/client/FastCommentsSwift/APIs/DefaultAPI.swift index 593612c..49263d8 100644 --- a/client/FastCommentsSwift/APIs/DefaultAPI.swift +++ b/client/FastCommentsSwift/APIs/DefaultAPI.swift @@ -9,6 +9,17 @@ import Foundation open class DefaultAPI { + /** Request parameters for addDomainConfig. */ + public struct ApiAddDomainConfigRequest: Sendable { + public var tenantId: String + public var addDomainConfigParams: AddDomainConfigParams + + public init(tenantId: String, addDomainConfigParams: AddDomainConfigParams) { + self.tenantId = tenantId + self.addDomainConfigParams = addDomainConfigParams + } + } + /** - parameter tenantId: (query) @@ -16,8 +27,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AddDomainConfigResponse */ - open class func addDomainConfig(tenantId: String, addDomainConfigParams: AddDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddDomainConfigResponse { - return try await addDomainConfigWithRequestBuilder(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams, apiConfiguration: apiConfiguration).execute().body + open class func addDomainConfig(request: ApiAddDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddDomainConfigResponse { + return try await addDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -30,7 +41,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addDomainConfigWithRequestBuilder(tenantId: String, addDomainConfigParams: AddDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addDomainConfigWithRequestBuilder(request: ApiAddDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let addDomainConfigParams = request.addDomainConfigParams let localVariablePath = "/api/v1/domain-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: addDomainConfigParams, codableHelper: apiConfiguration.codableHelper) @@ -51,6 +64,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for addHashTag. */ + public struct ApiAddHashTagRequest: Sendable { + public var tenantId: String? + public var createHashTagBody: CreateHashTagBody? + + public init(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil) { + self.tenantId = tenantId + self.createHashTagBody = createHashTagBody + } + } + /** - parameter tenantId: (query) (optional) @@ -58,8 +82,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateHashTagResponse */ - open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { - return try await addHashTagWithRequestBuilder(tenantId: tenantId, createHashTagBody: createHashTagBody, apiConfiguration: apiConfiguration).execute().body + open class func addHashTag(request: ApiAddHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { + return try await addHashTagWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -72,7 +96,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagWithRequestBuilder(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagWithRequestBuilder(request: ApiAddHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createHashTagBody = request.createHashTagBody let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createHashTagBody, codableHelper: apiConfiguration.codableHelper) @@ -93,6 +119,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for addHashTagsBulk. */ + public struct ApiAddHashTagsBulkRequest: Sendable { + public var tenantId: String? + public var bulkCreateHashTagsBody: BulkCreateHashTagsBody? + + public init(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil) { + self.tenantId = tenantId + self.bulkCreateHashTagsBody = bulkCreateHashTagsBody + } + } + /** - parameter tenantId: (query) (optional) @@ -100,8 +137,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkCreateHashTagsResponse */ - open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { - return try await addHashTagsBulkWithRequestBuilder(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody, apiConfiguration: apiConfiguration).execute().body + open class func addHashTagsBulk(request: ApiAddHashTagsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { + return try await addHashTagsBulkWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -114,7 +151,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagsBulkWithRequestBuilder(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagsBulkWithRequestBuilder(request: ApiAddHashTagsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let bulkCreateHashTagsBody = request.bulkCreateHashTagsBody let localVariablePath = "/api/v1/hash-tags/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkCreateHashTagsBody, codableHelper: apiConfiguration.codableHelper) @@ -135,6 +174,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for addPage. */ + public struct ApiAddPageRequest: Sendable { + public var tenantId: String + public var createAPIPageData: CreateAPIPageData + + public init(tenantId: String, createAPIPageData: CreateAPIPageData) { + self.tenantId = tenantId + self.createAPIPageData = createAPIPageData + } + } + /** - parameter tenantId: (query) @@ -142,8 +192,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AddPageAPIResponse */ - open class func addPage(tenantId: String, createAPIPageData: CreateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddPageAPIResponse { - return try await addPageWithRequestBuilder(tenantId: tenantId, createAPIPageData: createAPIPageData, apiConfiguration: apiConfiguration).execute().body + open class func addPage(request: ApiAddPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddPageAPIResponse { + return try await addPageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -156,7 +206,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addPageWithRequestBuilder(tenantId: String, createAPIPageData: CreateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addPageWithRequestBuilder(request: ApiAddPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createAPIPageData = request.createAPIPageData let localVariablePath = "/api/v1/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createAPIPageData, codableHelper: apiConfiguration.codableHelper) @@ -177,6 +229,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for addSSOUser. */ + public struct ApiAddSSOUserRequest: Sendable { + public var tenantId: String + public var createAPISSOUserData: CreateAPISSOUserData + + public init(tenantId: String, createAPISSOUserData: CreateAPISSOUserData) { + self.tenantId = tenantId + self.createAPISSOUserData = createAPISSOUserData + } + } + /** - parameter tenantId: (query) @@ -184,8 +247,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AddSSOUserAPIResponse */ - open class func addSSOUser(tenantId: String, createAPISSOUserData: CreateAPISSOUserData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddSSOUserAPIResponse { - return try await addSSOUserWithRequestBuilder(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData, apiConfiguration: apiConfiguration).execute().body + open class func addSSOUser(request: ApiAddSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddSSOUserAPIResponse { + return try await addSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -198,7 +261,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addSSOUserWithRequestBuilder(tenantId: String, createAPISSOUserData: CreateAPISSOUserData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addSSOUserWithRequestBuilder(request: ApiAddSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createAPISSOUserData = request.createAPISSOUserData let localVariablePath = "/api/v1/sso-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createAPISSOUserData, codableHelper: apiConfiguration.codableHelper) @@ -219,6 +284,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for aggregate. */ + public struct ApiAggregateRequest: Sendable { + public var tenantId: String + public var aggregationRequest: AggregationRequest + public var parentTenantId: String? + public var includeStats: Bool? + + public init(tenantId: String, aggregationRequest: AggregationRequest, parentTenantId: String? = nil, includeStats: Bool? = nil) { + self.tenantId = tenantId + self.aggregationRequest = aggregationRequest + self.parentTenantId = parentTenantId + self.includeStats = includeStats + } + } + /** - parameter tenantId: (query) @@ -228,8 +308,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AggregateResponse */ - open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, parentTenantId: String? = nil, includeStats: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateResponse { - return try await aggregateWithRequestBuilder(tenantId: tenantId, aggregationRequest: aggregationRequest, parentTenantId: parentTenantId, includeStats: includeStats, apiConfiguration: apiConfiguration).execute().body + open class func aggregate(request: ApiAggregateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateResponse { + return try await aggregateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -245,7 +325,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func aggregateWithRequestBuilder(tenantId: String, aggregationRequest: AggregationRequest, parentTenantId: String? = nil, includeStats: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func aggregateWithRequestBuilder(request: ApiAggregateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let aggregationRequest = request.aggregationRequest + let parentTenantId = request.parentTenantId + let includeStats = request.includeStats let localVariablePath = "/api/v1/aggregate" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: aggregationRequest, codableHelper: apiConfiguration.codableHelper) @@ -268,6 +352,27 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for aggregateQuestionResults. */ + public struct ApiAggregateQuestionResultsRequest: Sendable { + public var tenantId: String + public var questionId: String? + public var questionIds: [String]? + public var urlId: String? + public var timeBucket: AggregateTimeBucket? + public var startDate: Date? + public var forceRecalculate: Bool? + + public init(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil) { + self.tenantId = tenantId + self.questionId = questionId + self.questionIds = questionIds + self.urlId = urlId + self.timeBucket = timeBucket + self.startDate = startDate + self.forceRecalculate = forceRecalculate + } + } + /** - parameter tenantId: (query) @@ -280,8 +385,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AggregateQuestionResultsResponse */ - open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { - return try await aggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body + open class func aggregateQuestionResults(request: ApiAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { + return try await aggregateQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -299,7 +404,14 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func aggregateQuestionResultsWithRequestBuilder(request: ApiAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let questionId = request.questionId + let questionIds = request.questionIds + let urlId = request.urlId + let timeBucket = request.timeBucket + let startDate = request.startDate + let forceRecalculate = request.forceRecalculate let localVariablePath = "/api/v1/question-results-aggregation" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -326,6 +438,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for blockUserFromComment. */ + public struct ApiBlockUserFromCommentRequest: Sendable { + public var tenantId: String + public var id: String + public var blockFromCommentParams: BlockFromCommentParams + public var userId: String? + public var anonUserId: String? + + public init(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.blockFromCommentParams = blockFromCommentParams + self.userId = userId + self.anonUserId = anonUserId + } + } + /** - parameter tenantId: (query) @@ -336,8 +465,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BlockSuccess */ - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { - return try await blockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body + open class func blockUserFromComment(request: ApiBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + return try await blockUserFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -353,7 +482,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockUserFromCommentWithRequestBuilder(request: ApiBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let blockFromCommentParams = request.blockFromCommentParams + let userId = request.userId + let anonUserId = request.anonUserId var localVariablePath = "/api/v1/comments/{id}/block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -379,6 +513,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for bulkAggregateQuestionResults. */ + public struct ApiBulkAggregateQuestionResultsRequest: Sendable { + public var tenantId: String + public var bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest + public var forceRecalculate: Bool? + + public init(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil) { + self.tenantId = tenantId + self.bulkAggregateQuestionResultsRequest = bulkAggregateQuestionResultsRequest + self.forceRecalculate = forceRecalculate + } + } + /** - parameter tenantId: (query) @@ -387,8 +534,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkAggregateQuestionResultsResponse */ - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { - return try await bulkAggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body + open class func bulkAggregateQuestionResults(request: ApiBulkAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { + return try await bulkAggregateQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -402,7 +549,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func bulkAggregateQuestionResultsWithRequestBuilder(request: ApiBulkAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let bulkAggregateQuestionResultsRequest = request.bulkAggregateQuestionResultsRequest + let forceRecalculate = request.forceRecalculate let localVariablePath = "/api/v1/question-results-aggregation/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkAggregateQuestionResultsRequest, codableHelper: apiConfiguration.codableHelper) @@ -424,6 +574,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for changeTicketState. */ + public struct ApiChangeTicketStateRequest: Sendable { + public var tenantId: String + public var userId: String + public var id: String + public var changeTicketStateBody: ChangeTicketStateBody + + public init(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody) { + self.tenantId = tenantId + self.userId = userId + self.id = id + self.changeTicketStateBody = changeTicketStateBody + } + } + /** - parameter tenantId: (query) @@ -433,8 +598,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeTicketStateResponse */ - open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse { - return try await changeTicketStateWithRequestBuilder(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody, apiConfiguration: apiConfiguration).execute().body + open class func changeTicketState(request: ApiChangeTicketStateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse { + return try await changeTicketStateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -449,7 +614,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func changeTicketStateWithRequestBuilder(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func changeTicketStateWithRequestBuilder(request: ApiChangeTicketStateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let id = request.id + let changeTicketStateBody = request.changeTicketStateBody var localVariablePath = "/api/v1/tickets/{id}/state" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -474,6 +643,31 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for combineCommentsWithQuestionResults. */ + public struct ApiCombineCommentsWithQuestionResultsRequest: Sendable { + public var tenantId: String + public var questionId: String? + public var questionIds: [String]? + public var urlId: String? + public var startDate: Date? + public var forceRecalculate: Bool? + public var minValue: Double? + public var maxValue: Double? + public var limit: Double? + + public init(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil) { + self.tenantId = tenantId + self.questionId = questionId + self.questionIds = questionIds + self.urlId = urlId + self.startDate = startDate + self.forceRecalculate = forceRecalculate + self.minValue = minValue + self.maxValue = maxValue + self.limit = limit + } + } + /** - parameter tenantId: (query) @@ -488,8 +682,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CombineQuestionResultsWithCommentsResponse */ - open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { - return try await combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit, apiConfiguration: apiConfiguration).execute().body + open class func combineCommentsWithQuestionResults(request: ApiCombineCommentsWithQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { + return try await combineCommentsWithQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -509,7 +703,16 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func combineCommentsWithQuestionResultsWithRequestBuilder(request: ApiCombineCommentsWithQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let questionId = request.questionId + let questionIds = request.questionIds + let urlId = request.urlId + let startDate = request.startDate + let forceRecalculate = request.forceRecalculate + let minValue = request.minValue + let maxValue = request.maxValue + let limit = request.limit let localVariablePath = "/api/v1/question-results-aggregation/combine/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -538,6 +741,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createEmailTemplate. */ + public struct ApiCreateEmailTemplateRequest: Sendable { + public var tenantId: String + public var createEmailTemplateBody: CreateEmailTemplateBody + + public init(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody) { + self.tenantId = tenantId + self.createEmailTemplateBody = createEmailTemplateBody + } + } + /** - parameter tenantId: (query) @@ -545,8 +759,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateEmailTemplateResponse */ - open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse { - return try await createEmailTemplateWithRequestBuilder(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body + open class func createEmailTemplate(request: ApiCreateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse { + return try await createEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -559,7 +773,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createEmailTemplateWithRequestBuilder(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createEmailTemplateWithRequestBuilder(request: ApiCreateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createEmailTemplateBody = request.createEmailTemplateBody let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -580,6 +796,25 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createFeedPost. */ + public struct ApiCreateFeedPostRequest: Sendable { + public var tenantId: String + public var createFeedPostParams: CreateFeedPostParams + public var broadcastId: String? + public var isLive: Bool? + public var doSpamCheck: Bool? + public var skipDupCheck: Bool? + + public init(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil) { + self.tenantId = tenantId + self.createFeedPostParams = createFeedPostParams + self.broadcastId = broadcastId + self.isLive = isLive + self.doSpamCheck = doSpamCheck + self.skipDupCheck = skipDupCheck + } + } + /** - parameter tenantId: (query) @@ -591,8 +826,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostsResponse */ - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { - return try await createFeedPostWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck, apiConfiguration: apiConfiguration).execute().body + open class func createFeedPost(request: ApiCreateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { + return try await createFeedPostWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -609,7 +844,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostWithRequestBuilder(request: ApiCreateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createFeedPostParams = request.createFeedPostParams + let broadcastId = request.broadcastId + let isLive = request.isLive + let doSpamCheck = request.doSpamCheck + let skipDupCheck = request.skipDupCheck let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createFeedPostParams, codableHelper: apiConfiguration.codableHelper) @@ -634,6 +875,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createModerator. */ + public struct ApiCreateModeratorRequest: Sendable { + public var tenantId: String + public var createModeratorBody: CreateModeratorBody + + public init(tenantId: String, createModeratorBody: CreateModeratorBody) { + self.tenantId = tenantId + self.createModeratorBody = createModeratorBody + } + } + /** - parameter tenantId: (query) @@ -641,8 +893,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateModeratorResponse */ - open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse { - return try await createModeratorWithRequestBuilder(tenantId: tenantId, createModeratorBody: createModeratorBody, apiConfiguration: apiConfiguration).execute().body + open class func createModerator(request: ApiCreateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse { + return try await createModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -655,7 +907,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createModeratorWithRequestBuilder(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createModeratorWithRequestBuilder(request: ApiCreateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createModeratorBody = request.createModeratorBody let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createModeratorBody, codableHelper: apiConfiguration.codableHelper) @@ -676,6 +930,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createQuestionConfig. */ + public struct ApiCreateQuestionConfigRequest: Sendable { + public var tenantId: String + public var createQuestionConfigBody: CreateQuestionConfigBody + + public init(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody) { + self.tenantId = tenantId + self.createQuestionConfigBody = createQuestionConfigBody + } + } + /** - parameter tenantId: (query) @@ -683,8 +948,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateQuestionConfigResponse */ - open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse { - return try await createQuestionConfigWithRequestBuilder(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body + open class func createQuestionConfig(request: ApiCreateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse { + return try await createQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -697,7 +962,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createQuestionConfigWithRequestBuilder(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createQuestionConfigWithRequestBuilder(request: ApiCreateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createQuestionConfigBody = request.createQuestionConfigBody let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionConfigBody, codableHelper: apiConfiguration.codableHelper) @@ -718,6 +985,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createQuestionResult. */ + public struct ApiCreateQuestionResultRequest: Sendable { + public var tenantId: String + public var createQuestionResultBody: CreateQuestionResultBody + + public init(tenantId: String, createQuestionResultBody: CreateQuestionResultBody) { + self.tenantId = tenantId + self.createQuestionResultBody = createQuestionResultBody + } + } + /** - parameter tenantId: (query) @@ -725,8 +1003,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateQuestionResultResponse */ - open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse { - return try await createQuestionResultWithRequestBuilder(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody, apiConfiguration: apiConfiguration).execute().body + open class func createQuestionResult(request: ApiCreateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse { + return try await createQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -739,7 +1017,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createQuestionResultWithRequestBuilder(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createQuestionResultWithRequestBuilder(request: ApiCreateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createQuestionResultBody = request.createQuestionResultBody let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionResultBody, codableHelper: apiConfiguration.codableHelper) @@ -760,6 +1040,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createSubscription. */ + public struct ApiCreateSubscriptionRequest: Sendable { + public var tenantId: String + public var createAPIUserSubscriptionData: CreateAPIUserSubscriptionData + + public init(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData) { + self.tenantId = tenantId + self.createAPIUserSubscriptionData = createAPIUserSubscriptionData + } + } + /** - parameter tenantId: (query) @@ -767,8 +1058,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateSubscriptionAPIResponse */ - open class func createSubscription(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateSubscriptionAPIResponse { - return try await createSubscriptionWithRequestBuilder(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData, apiConfiguration: apiConfiguration).execute().body + open class func createSubscription(request: ApiCreateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateSubscriptionAPIResponse { + return try await createSubscriptionWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -781,7 +1072,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createSubscriptionWithRequestBuilder(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createSubscriptionWithRequestBuilder(request: ApiCreateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createAPIUserSubscriptionData = request.createAPIUserSubscriptionData let localVariablePath = "/api/v1/subscriptions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createAPIUserSubscriptionData, codableHelper: apiConfiguration.codableHelper) @@ -802,6 +1095,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createTenant. */ + public struct ApiCreateTenantRequest: Sendable { + public var tenantId: String + public var createTenantBody: CreateTenantBody + + public init(tenantId: String, createTenantBody: CreateTenantBody) { + self.tenantId = tenantId + self.createTenantBody = createTenantBody + } + } + /** - parameter tenantId: (query) @@ -809,8 +1113,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTenantResponse */ - open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse { - return try await createTenantWithRequestBuilder(tenantId: tenantId, createTenantBody: createTenantBody, apiConfiguration: apiConfiguration).execute().body + open class func createTenant(request: ApiCreateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse { + return try await createTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -823,7 +1127,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTenantWithRequestBuilder(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantWithRequestBuilder(request: ApiCreateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createTenantBody = request.createTenantBody let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantBody, codableHelper: apiConfiguration.codableHelper) @@ -844,6 +1150,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createTenantPackage. */ + public struct ApiCreateTenantPackageRequest: Sendable { + public var tenantId: String + public var createTenantPackageBody: CreateTenantPackageBody + + public init(tenantId: String, createTenantPackageBody: CreateTenantPackageBody) { + self.tenantId = tenantId + self.createTenantPackageBody = createTenantPackageBody + } + } + /** - parameter tenantId: (query) @@ -851,8 +1168,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTenantPackageResponse */ - open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse { - return try await createTenantPackageWithRequestBuilder(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody, apiConfiguration: apiConfiguration).execute().body + open class func createTenantPackage(request: ApiCreateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse { + return try await createTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -865,7 +1182,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTenantPackageWithRequestBuilder(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantPackageWithRequestBuilder(request: ApiCreateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createTenantPackageBody = request.createTenantPackageBody let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantPackageBody, codableHelper: apiConfiguration.codableHelper) @@ -886,6 +1205,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createTenantUser. */ + public struct ApiCreateTenantUserRequest: Sendable { + public var tenantId: String + public var createTenantUserBody: CreateTenantUserBody + + public init(tenantId: String, createTenantUserBody: CreateTenantUserBody) { + self.tenantId = tenantId + self.createTenantUserBody = createTenantUserBody + } + } + /** - parameter tenantId: (query) @@ -893,8 +1223,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTenantUserResponse */ - open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse { - return try await createTenantUserWithRequestBuilder(tenantId: tenantId, createTenantUserBody: createTenantUserBody, apiConfiguration: apiConfiguration).execute().body + open class func createTenantUser(request: ApiCreateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse { + return try await createTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -907,7 +1237,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTenantUserWithRequestBuilder(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTenantUserWithRequestBuilder(request: ApiCreateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createTenantUserBody = request.createTenantUserBody let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantUserBody, codableHelper: apiConfiguration.codableHelper) @@ -928,6 +1260,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createTicket. */ + public struct ApiCreateTicketRequest: Sendable { + public var tenantId: String + public var userId: String + public var createTicketBody: CreateTicketBody + + public init(tenantId: String, userId: String, createTicketBody: CreateTicketBody) { + self.tenantId = tenantId + self.userId = userId + self.createTicketBody = createTicketBody + } + } + /** - parameter tenantId: (query) @@ -936,8 +1281,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTicketResponse */ - open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse { - return try await createTicketWithRequestBuilder(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody, apiConfiguration: apiConfiguration).execute().body + open class func createTicket(request: ApiCreateTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse { + return try await createTicketWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -951,7 +1296,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTicketWithRequestBuilder(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createTicketWithRequestBuilder(request: ApiCreateTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let createTicketBody = request.createTicketBody let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTicketBody, codableHelper: apiConfiguration.codableHelper) @@ -973,6 +1321,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for createUserBadge. */ + public struct ApiCreateUserBadgeRequest: Sendable { + public var tenantId: String + public var createUserBadgeParams: CreateUserBadgeParams + + public init(tenantId: String, createUserBadgeParams: CreateUserBadgeParams) { + self.tenantId = tenantId + self.createUserBadgeParams = createUserBadgeParams + } + } + /** - parameter tenantId: (query) @@ -980,8 +1339,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APICreateUserBadgeResponse */ - open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APICreateUserBadgeResponse { - return try await createUserBadgeWithRequestBuilder(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams, apiConfiguration: apiConfiguration).execute().body + open class func createUserBadge(request: ApiCreateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APICreateUserBadgeResponse { + return try await createUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -994,7 +1353,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createUserBadgeWithRequestBuilder(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createUserBadgeWithRequestBuilder(request: ApiCreateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createUserBadgeParams = request.createUserBadgeParams let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createUserBadgeParams, codableHelper: apiConfiguration.codableHelper) @@ -1023,6 +1384,23 @@ open class DefaultAPI { case down = "down" } + /** Request parameters for createVote. */ + public struct ApiCreateVoteRequest: Sendable { + public var tenantId: String + public var commentId: String + public var direction: Direction_createVote + public var userId: String? + public var anonUserId: String? + + public init(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.direction = direction + self.userId = userId + self.anonUserId = anonUserId + } + } + /** - parameter tenantId: (query) @@ -1033,8 +1411,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await createVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body + open class func createVote(request: ApiCreateVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await createVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1050,7 +1428,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createVoteWithRequestBuilder(request: ApiCreateVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let direction = request.direction + let userId = request.userId + let anonUserId = request.anonUserId let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1075,6 +1458,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteComment. */ + public struct ApiDeleteCommentRequest: Sendable { + public var tenantId: String + public var id: String + public var contextUserId: String? + public var isLive: Bool? + + public init(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil) { + self.tenantId = tenantId + self.id = id + self.contextUserId = contextUserId + self.isLive = isLive + } + } + /** - parameter tenantId: (query) @@ -1084,8 +1482,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteCommentResult */ - open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { - return try await deleteCommentWithRequestBuilder(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive, apiConfiguration: apiConfiguration).execute().body + open class func deleteComment(request: ApiDeleteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { + return try await deleteCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1100,7 +1498,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentWithRequestBuilder(request: ApiDeleteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let contextUserId = request.contextUserId + let isLive = request.isLive var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1126,6 +1528,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteDomainConfig. */ + public struct ApiDeleteDomainConfigRequest: Sendable { + public var tenantId: String + public var domain: String + + public init(tenantId: String, domain: String) { + self.tenantId = tenantId + self.domain = domain + } + } + /** - parameter tenantId: (query) @@ -1133,8 +1546,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteDomainConfigResponse */ - open class func deleteDomainConfig(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteDomainConfigResponse { - return try await deleteDomainConfigWithRequestBuilder(tenantId: tenantId, domain: domain, apiConfiguration: apiConfiguration).execute().body + open class func deleteDomainConfig(request: ApiDeleteDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteDomainConfigResponse { + return try await deleteDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1147,7 +1560,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteDomainConfigWithRequestBuilder(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteDomainConfigWithRequestBuilder(request: ApiDeleteDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let domain = request.domain var localVariablePath = "/api/v1/domain-configs/{domain}" let domainPreEscape = "\(APIHelper.mapValueToPathItem(domain))" let domainPostEscape = domainPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1171,6 +1586,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteEmailTemplate. */ + public struct ApiDeleteEmailTemplateRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1178,8 +1604,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteEmailTemplate(request: ApiDeleteEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1192,7 +1618,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteEmailTemplateWithRequestBuilder(request: ApiDeleteEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1216,6 +1644,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteEmailTemplateRenderError. */ + public struct ApiDeleteEmailTemplateRenderErrorRequest: Sendable { + public var tenantId: String + public var id: String + public var errorId: String + + public init(tenantId: String, id: String, errorId: String) { + self.tenantId = tenantId + self.id = id + self.errorId = errorId + } + } + /** - parameter tenantId: (query) @@ -1224,8 +1665,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: tenantId, id: id, errorId: errorId, apiConfiguration: apiConfiguration).execute().body + open class func deleteEmailTemplateRenderError(request: ApiDeleteEmailTemplateRenderErrorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteEmailTemplateRenderErrorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1239,7 +1680,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteEmailTemplateRenderErrorWithRequestBuilder(request: ApiDeleteEmailTemplateRenderErrorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let errorId = request.errorId var localVariablePath = "/api/v1/email-templates/{id}/render-errors/{errorId}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1266,6 +1710,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteHashTag. */ + public struct ApiDeleteHashTagRequest: Sendable { + public var tag: String + public var tenantId: String? + public var deleteHashTagRequestBody: DeleteHashTagRequestBody? + + public init(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil) { + self.tag = tag + self.tenantId = tenantId + self.deleteHashTagRequestBody = deleteHashTagRequestBody + } + } + /** - parameter tag: (path) @@ -1274,8 +1731,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteHashTagWithRequestBuilder(tag: tag, tenantId: tenantId, deleteHashTagRequestBody: deleteHashTagRequestBody, apiConfiguration: apiConfiguration).execute().body + open class func deleteHashTag(request: ApiDeleteHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteHashTagWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1289,7 +1746,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteHashTagWithRequestBuilder(request: ApiDeleteHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tag = request.tag + let tenantId = request.tenantId + let deleteHashTagRequestBody = request.deleteHashTagRequestBody var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1313,6 +1773,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteModerator. */ + public struct ApiDeleteModeratorRequest: Sendable { + public var tenantId: String + public var id: String + public var sendEmail: String? + + public init(tenantId: String, id: String, sendEmail: String? = nil) { + self.tenantId = tenantId + self.id = id + self.sendEmail = sendEmail + } + } + /** - parameter tenantId: (query) @@ -1321,8 +1794,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteModeratorWithRequestBuilder(tenantId: tenantId, id: id, sendEmail: sendEmail, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerator(request: ApiDeleteModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1336,7 +1809,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteModeratorWithRequestBuilder(request: ApiDeleteModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let sendEmail = request.sendEmail var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1361,6 +1837,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteNotificationCount. */ + public struct ApiDeleteNotificationCountRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1368,8 +1855,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteNotificationCount(request: ApiDeleteNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1382,7 +1869,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteNotificationCountWithRequestBuilder(request: ApiDeleteNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1406,6 +1895,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deletePage. */ + public struct ApiDeletePageRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1413,8 +1913,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeletePageAPIResponse */ - open class func deletePage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeletePageAPIResponse { - return try await deletePageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deletePage(request: ApiDeletePageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeletePageAPIResponse { + return try await deletePageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1427,7 +1927,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deletePageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deletePageWithRequestBuilder(request: ApiDeletePageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/pages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1451,6 +1953,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deletePendingWebhookEvent. */ + public struct ApiDeletePendingWebhookEventRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1458,8 +1971,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deletePendingWebhookEvent(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deletePendingWebhookEventWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deletePendingWebhookEvent(request: ApiDeletePendingWebhookEventRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deletePendingWebhookEventWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1472,7 +1985,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deletePendingWebhookEventWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deletePendingWebhookEventWithRequestBuilder(request: ApiDeletePendingWebhookEventRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/pending-webhook-events/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1496,6 +2011,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteQuestionConfig. */ + public struct ApiDeleteQuestionConfigRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1503,8 +2029,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteQuestionConfig(request: ApiDeleteQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1517,7 +2043,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteQuestionConfigWithRequestBuilder(request: ApiDeleteQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1541,6 +2069,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteQuestionResult. */ + public struct ApiDeleteQuestionResultRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1548,8 +2087,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteQuestionResult(request: ApiDeleteQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1562,7 +2101,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteQuestionResultWithRequestBuilder(request: ApiDeleteQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1586,6 +2127,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteSSOUser. */ + public struct ApiDeleteSSOUserRequest: Sendable { + public var tenantId: String + public var id: String + public var deleteComments: Bool? + public var commentDeleteMode: String? + + public init(tenantId: String, id: String, deleteComments: Bool? = nil, commentDeleteMode: String? = nil) { + self.tenantId = tenantId + self.id = id + self.deleteComments = deleteComments + self.commentDeleteMode = commentDeleteMode + } + } + /** - parameter tenantId: (query) @@ -1595,8 +2151,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteSSOUserAPIResponse */ - open class func deleteSSOUser(tenantId: String, id: String, deleteComments: Bool? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSSOUserAPIResponse { - return try await deleteSSOUserWithRequestBuilder(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode, apiConfiguration: apiConfiguration).execute().body + open class func deleteSSOUser(request: ApiDeleteSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSSOUserAPIResponse { + return try await deleteSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1611,7 +2167,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteSSOUserWithRequestBuilder(tenantId: String, id: String, deleteComments: Bool? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteSSOUserWithRequestBuilder(request: ApiDeleteSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let deleteComments = request.deleteComments + let commentDeleteMode = request.commentDeleteMode var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1637,6 +2197,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteSubscription. */ + public struct ApiDeleteSubscriptionRequest: Sendable { + public var tenantId: String + public var id: String + public var userId: String? + + public init(tenantId: String, id: String, userId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.userId = userId + } + } + /** - parameter tenantId: (query) @@ -1645,8 +2218,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteSubscriptionAPIResponse */ - open class func deleteSubscription(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSubscriptionAPIResponse { - return try await deleteSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, apiConfiguration: apiConfiguration).execute().body + open class func deleteSubscription(request: ApiDeleteSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSubscriptionAPIResponse { + return try await deleteSubscriptionWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1660,7 +2233,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteSubscriptionWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteSubscriptionWithRequestBuilder(request: ApiDeleteSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let userId = request.userId var localVariablePath = "/api/v1/subscriptions/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1685,6 +2261,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteTenant. */ + public struct ApiDeleteTenantRequest: Sendable { + public var tenantId: String + public var id: String + public var sure: String? + + public init(tenantId: String, id: String, sure: String? = nil) { + self.tenantId = tenantId + self.id = id + self.sure = sure + } + } + /** - parameter tenantId: (query) @@ -1693,8 +2282,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantWithRequestBuilder(tenantId: tenantId, id: id, sure: sure, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenant(request: ApiDeleteTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1708,7 +2297,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantWithRequestBuilder(request: ApiDeleteTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let sure = request.sure var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1733,6 +2325,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteTenantPackage. */ + public struct ApiDeleteTenantPackageRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1740,8 +2343,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenantPackage(request: ApiDeleteTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1754,7 +2357,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantPackageWithRequestBuilder(request: ApiDeleteTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1778,6 +2383,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteTenantUser. */ + public struct ApiDeleteTenantUserRequest: Sendable { + public var tenantId: String + public var id: String + public var deleteComments: String? + public var commentDeleteMode: String? + + public init(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil) { + self.tenantId = tenantId + self.id = id + self.deleteComments = deleteComments + self.commentDeleteMode = commentDeleteMode + } + } + /** - parameter tenantId: (query) @@ -1787,8 +2407,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantUserWithRequestBuilder(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenantUser(request: ApiDeleteTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1803,7 +2423,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantUserWithRequestBuilder(request: ApiDeleteTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let deleteComments = request.deleteComments + let commentDeleteMode = request.commentDeleteMode var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1829,6 +2453,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteUserBadge. */ + public struct ApiDeleteUserBadgeRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -1836,8 +2471,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptySuccessResponse */ - open class func deleteUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { - return try await deleteUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteUserBadge(request: ApiDeleteUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { + return try await deleteUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1850,7 +2485,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteUserBadgeWithRequestBuilder(request: ApiDeleteUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1874,6 +2511,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteVote. */ + public struct ApiDeleteVoteRequest: Sendable { + public var tenantId: String + public var id: String + public var editKey: String? + + public init(tenantId: String, id: String, editKey: String? = nil) { + self.tenantId = tenantId + self.id = id + self.editKey = editKey + } + } + /** - parameter tenantId: (query) @@ -1882,8 +2532,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteVoteWithRequestBuilder(tenantId: tenantId, id: id, editKey: editKey, apiConfiguration: apiConfiguration).execute().body + open class func deleteVote(request: ApiDeleteVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1897,7 +2547,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteVoteWithRequestBuilder(request: ApiDeleteVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let editKey = request.editKey var localVariablePath = "/api/v1/votes/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1922,6 +2575,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for flagComment. */ + public struct ApiFlagCommentRequest: Sendable { + public var tenantId: String + public var id: String + public var userId: String? + public var anonUserId: String? + + public init(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.userId = userId + self.anonUserId = anonUserId + } + } + /** - parameter tenantId: (query) @@ -1931,8 +2599,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FlagCommentResponse */ - open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { - return try await flagCommentWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body + open class func flagComment(request: ApiFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + return try await flagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1947,7 +2615,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func flagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentWithRequestBuilder(request: ApiFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let userId = request.userId + let anonUserId = request.anonUserId var localVariablePath = "/api/v1/comments/{id}/flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1973,6 +2645,25 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getAuditLogs. */ + public struct ApiGetAuditLogsRequest: Sendable { + public var tenantId: String + public var limit: Double? + public var skip: Double? + public var order: SORTDIR? + public var after: Double? + public var before: Double? + + public init(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil) { + self.tenantId = tenantId + self.limit = limit + self.skip = skip + self.order = order + self.after = after + self.before = before + } + } + /** - parameter tenantId: (query) @@ -1984,8 +2675,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetAuditLogsResponse */ - open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { - return try await getAuditLogsWithRequestBuilder(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before, apiConfiguration: apiConfiguration).execute().body + open class func getAuditLogs(request: ApiGetAuditLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { + return try await getAuditLogsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2002,7 +2693,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getAuditLogsWithRequestBuilder(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getAuditLogsWithRequestBuilder(request: ApiGetAuditLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let limit = request.limit + let skip = request.skip + let order = request.order + let after = request.after + let before = request.before let localVariablePath = "/api/v1/audit-logs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2028,6 +2725,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getCachedNotificationCount. */ + public struct ApiGetCachedNotificationCountRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -2035,8 +2743,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCachedNotificationCountResponse */ - open class func getCachedNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse { - return try await getCachedNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getCachedNotificationCount(request: ApiGetCachedNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse { + return try await getCachedNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2049,7 +2757,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCachedNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCachedNotificationCountWithRequestBuilder(request: ApiGetCachedNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2073,6 +2783,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getComment. */ + public struct ApiGetCommentRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -2080,8 +2801,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetCommentResponse */ - open class func getComment(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentResponse { - return try await getCommentWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getComment(request: ApiGetCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentResponse { + return try await getCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2094,7 +2815,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentWithRequestBuilder(request: ApiGetCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2118,6 +2841,47 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getComments. */ + public struct ApiGetCommentsRequest: Sendable { + public var tenantId: String + public var page: Int? + public var limit: Int? + public var skip: Int? + public var asTree: Bool? + public var skipChildren: Int? + public var limitChildren: Int? + public var maxTreeDepth: Int? + public var urlId: String? + public var userId: String? + public var anonUserId: String? + public var contextUserId: String? + public var hashTag: String? + public var parentId: String? + public var direction: SortDirections? + public var fromDate: Int64? + public var toDate: Int64? + + public init(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil) { + self.tenantId = tenantId + self.page = page + self.limit = limit + self.skip = skip + self.asTree = asTree + self.skipChildren = skipChildren + self.limitChildren = limitChildren + self.maxTreeDepth = maxTreeDepth + self.urlId = urlId + self.userId = userId + self.anonUserId = anonUserId + self.contextUserId = contextUserId + self.hashTag = hashTag + self.parentId = parentId + self.direction = direction + self.fromDate = fromDate + self.toDate = toDate + } + } + /** - parameter tenantId: (query) @@ -2140,8 +2904,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetCommentsResponse */ - open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { - return try await getCommentsWithRequestBuilder(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate, apiConfiguration: apiConfiguration).execute().body + open class func getComments(request: ApiGetCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { + return try await getCommentsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2169,7 +2933,24 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsWithRequestBuilder(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsWithRequestBuilder(request: ApiGetCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let page = request.page + let limit = request.limit + let skip = request.skip + let asTree = request.asTree + let skipChildren = request.skipChildren + let limitChildren = request.limitChildren + let maxTreeDepth = request.maxTreeDepth + let urlId = request.urlId + let userId = request.userId + let anonUserId = request.anonUserId + let contextUserId = request.contextUserId + let hashTag = request.hashTag + let parentId = request.parentId + let direction = request.direction + let fromDate = request.fromDate + let toDate = request.toDate let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2206,6 +2987,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getDomainConfig. */ + public struct ApiGetDomainConfigRequest: Sendable { + public var tenantId: String + public var domain: String + + public init(tenantId: String, domain: String) { + self.tenantId = tenantId + self.domain = domain + } + } + /** - parameter tenantId: (query) @@ -2213,8 +3005,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetDomainConfigResponse */ - open class func getDomainConfig(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigResponse { - return try await getDomainConfigWithRequestBuilder(tenantId: tenantId, domain: domain, apiConfiguration: apiConfiguration).execute().body + open class func getDomainConfig(request: ApiGetDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigResponse { + return try await getDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2227,7 +3019,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getDomainConfigWithRequestBuilder(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getDomainConfigWithRequestBuilder(request: ApiGetDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let domain = request.domain var localVariablePath = "/api/v1/domain-configs/{domain}" let domainPreEscape = "\(APIHelper.mapValueToPathItem(domain))" let domainPostEscape = domainPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2251,14 +3045,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getDomainConfigs. */ + public struct ApiGetDomainConfigsRequest: Sendable { + public var tenantId: String + + public init(tenantId: String) { + self.tenantId = tenantId + } + } + /** - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - returns: GetDomainConfigsResponse */ - open class func getDomainConfigs(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigsResponse { - return try await getDomainConfigsWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func getDomainConfigs(request: ApiGetDomainConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigsResponse { + return try await getDomainConfigsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2270,7 +3073,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getDomainConfigsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getDomainConfigsWithRequestBuilder(request: ApiGetDomainConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId let localVariablePath = "/api/v1/domain-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2291,6 +3095,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getEmailTemplate. */ + public struct ApiGetEmailTemplateRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -2298,8 +3113,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateResponse */ - open class func getEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse { - return try await getEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplate(request: ApiGetEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse { + return try await getEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2312,7 +3127,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateWithRequestBuilder(request: ApiGetEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2336,14 +3153,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getEmailTemplateDefinitions. */ + public struct ApiGetEmailTemplateDefinitionsRequest: Sendable { + public var tenantId: String + + public init(tenantId: String) { + self.tenantId = tenantId + } + } + /** - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateDefinitionsResponse */ - open class func getEmailTemplateDefinitions(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse { - return try await getEmailTemplateDefinitionsWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplateDefinitions(request: ApiGetEmailTemplateDefinitionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse { + return try await getEmailTemplateDefinitionsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2355,7 +3181,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateDefinitionsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateDefinitionsWithRequestBuilder(request: ApiGetEmailTemplateDefinitionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId let localVariablePath = "/api/v1/email-templates/definitions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2376,6 +3203,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getEmailTemplateRenderErrors. */ + public struct ApiGetEmailTemplateRenderErrorsRequest: Sendable { + public var tenantId: String + public var id: String + public var skip: Double? + + public init(tenantId: String, id: String, skip: Double? = nil) { + self.tenantId = tenantId + self.id = id + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -2384,8 +3224,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateRenderErrorsResponse */ - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { - return try await getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: tenantId, id: id, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplateRenderErrors(request: ApiGetEmailTemplateRenderErrorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { + return try await getEmailTemplateRenderErrorsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2399,7 +3239,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplateRenderErrorsWithRequestBuilder(request: ApiGetEmailTemplateRenderErrorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let skip = request.skip var localVariablePath = "/api/v1/email-templates/{id}/render-errors" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2424,6 +3267,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getEmailTemplates. */ + public struct ApiGetEmailTemplatesRequest: Sendable { + public var tenantId: String + public var skip: Double? + + public init(tenantId: String, skip: Double? = nil) { + self.tenantId = tenantId + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -2431,8 +3285,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplatesResponse */ - open class func getEmailTemplates(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { - return try await getEmailTemplatesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplates(request: ApiGetEmailTemplatesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { + return try await getEmailTemplatesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2445,7 +3299,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplatesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEmailTemplatesWithRequestBuilder(request: ApiGetEmailTemplatesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let skip = request.skip let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2467,6 +3323,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getFeedPosts. */ + public struct ApiGetFeedPostsRequest: Sendable { + public var tenantId: String + public var afterId: String? + public var limit: Int? + public var tags: [String]? + + public init(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil) { + self.tenantId = tenantId + self.afterId = afterId + self.limit = limit + self.tags = tags + } + } + /** - parameter tenantId: (query) @@ -2476,8 +3347,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetFeedPostsResponse */ - open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { - return try await getFeedPostsWithRequestBuilder(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPosts(request: ApiGetFeedPostsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { + return try await getFeedPostsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2493,7 +3364,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsWithRequestBuilder(request: ApiGetFeedPostsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let afterId = request.afterId + let limit = request.limit + let tags = request.tags let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2517,6 +3392,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getHashTags. */ + public struct ApiGetHashTagsRequest: Sendable { + public var tenantId: String + public var page: Double? + + public init(tenantId: String, page: Double? = nil) { + self.tenantId = tenantId + self.page = page + } + } + /** - parameter tenantId: (query) @@ -2524,8 +3410,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetHashTagsResponse */ - open class func getHashTags(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { - return try await getHashTagsWithRequestBuilder(tenantId: tenantId, page: page, apiConfiguration: apiConfiguration).execute().body + open class func getHashTags(request: ApiGetHashTagsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { + return try await getHashTagsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2538,7 +3424,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getHashTagsWithRequestBuilder(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getHashTagsWithRequestBuilder(request: ApiGetHashTagsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let page = request.page let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2560,6 +3448,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getModerator. */ + public struct ApiGetModeratorRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -2567,8 +3466,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetModeratorResponse */ - open class func getModerator(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse { - return try await getModeratorWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getModerator(request: ApiGetModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse { + return try await getModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2581,7 +3480,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModeratorWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModeratorWithRequestBuilder(request: ApiGetModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2605,6 +3506,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getModerators. */ + public struct ApiGetModeratorsRequest: Sendable { + public var tenantId: String + public var skip: Double? + + public init(tenantId: String, skip: Double? = nil) { + self.tenantId = tenantId + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -2612,8 +3524,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetModeratorsResponse */ - open class func getModerators(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { - return try await getModeratorsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getModerators(request: ApiGetModeratorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { + return try await getModeratorsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2626,7 +3538,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModeratorsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModeratorsWithRequestBuilder(request: ApiGetModeratorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let skip = request.skip let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2648,6 +3562,25 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getNotificationCount. */ + public struct ApiGetNotificationCountRequest: Sendable { + public var tenantId: String + public var userId: String? + public var urlId: String? + public var fromCommentId: String? + public var viewed: Bool? + public var type: String? + + public init(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil) { + self.tenantId = tenantId + self.userId = userId + self.urlId = urlId + self.fromCommentId = fromCommentId + self.viewed = viewed + self.type = type + } + } + /** - parameter tenantId: (query) @@ -2659,8 +3592,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetNotificationCountResponse */ - open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { - return try await getNotificationCountWithRequestBuilder(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, apiConfiguration: apiConfiguration).execute().body + open class func getNotificationCount(request: ApiGetNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { + return try await getNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2677,7 +3610,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getNotificationCountWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationCountWithRequestBuilder(request: ApiGetNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let urlId = request.urlId + let fromCommentId = request.fromCommentId + let viewed = request.viewed + let type = request.type let localVariablePath = "/api/v1/notifications/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2703,6 +3642,27 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getNotifications. */ + public struct ApiGetNotificationsRequest: Sendable { + public var tenantId: String + public var userId: String? + public var urlId: String? + public var fromCommentId: String? + public var viewed: Bool? + public var type: String? + public var skip: Double? + + public init(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.userId = userId + self.urlId = urlId + self.fromCommentId = fromCommentId + self.viewed = viewed + self.type = type + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -2715,8 +3675,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetNotificationsResponse */ - open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { - return try await getNotificationsWithRequestBuilder(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getNotifications(request: ApiGetNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { + return try await getNotificationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2734,7 +3694,14 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getNotificationsWithRequestBuilder(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationsWithRequestBuilder(request: ApiGetNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let urlId = request.urlId + let fromCommentId = request.fromCommentId + let viewed = request.viewed + let type = request.type + let skip = request.skip let localVariablePath = "/api/v1/notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2761,6 +3728,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getPageByURLId. */ + public struct ApiGetPageByURLIdRequest: Sendable { + public var tenantId: String + public var urlId: String + + public init(tenantId: String, urlId: String) { + self.tenantId = tenantId + self.urlId = urlId + } + } + /** - parameter tenantId: (query) @@ -2768,8 +3746,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPageByURLIdAPIResponse */ - open class func getPageByURLId(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPageByURLIdAPIResponse { - return try await getPageByURLIdWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body + open class func getPageByURLId(request: ApiGetPageByURLIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPageByURLIdAPIResponse { + return try await getPageByURLIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2782,7 +3760,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPageByURLIdWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPageByURLIdWithRequestBuilder(request: ApiGetPageByURLIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId let localVariablePath = "/api/v1/pages/by-url-id" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2804,14 +3784,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getPages. */ + public struct ApiGetPagesRequest: Sendable { + public var tenantId: String + + public init(tenantId: String) { + self.tenantId = tenantId + } + } + /** - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - returns: GetPagesAPIResponse */ - open class func getPages(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPagesAPIResponse { - return try await getPagesWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func getPages(request: ApiGetPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPagesAPIResponse { + return try await getPagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2823,7 +3812,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPagesWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPagesWithRequestBuilder(request: ApiGetPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId let localVariablePath = "/api/v1/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2844,6 +3834,27 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getPendingWebhookEventCount. */ + public struct ApiGetPendingWebhookEventCountRequest: Sendable { + public var tenantId: String + public var commentId: String? + public var externalId: String? + public var eventType: String? + public var type: String? + public var domain: String? + public var attemptCountGT: Double? + + public init(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.externalId = externalId + self.eventType = eventType + self.type = type + self.domain = domain + self.attemptCountGT = attemptCountGT + } + } + /** - parameter tenantId: (query) @@ -2856,8 +3867,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPendingWebhookEventCountResponse */ - open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { - return try await getPendingWebhookEventCountWithRequestBuilder(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, apiConfiguration: apiConfiguration).execute().body + open class func getPendingWebhookEventCount(request: ApiGetPendingWebhookEventCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { + return try await getPendingWebhookEventCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2875,7 +3886,14 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventCountWithRequestBuilder(request: ApiGetPendingWebhookEventCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let externalId = request.externalId + let eventType = request.eventType + let type = request.type + let domain = request.domain + let attemptCountGT = request.attemptCountGT let localVariablePath = "/api/v1/pending-webhook-events/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2902,6 +3920,29 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getPendingWebhookEvents. */ + public struct ApiGetPendingWebhookEventsRequest: Sendable { + public var tenantId: String + public var commentId: String? + public var externalId: String? + public var eventType: String? + public var type: String? + public var domain: String? + public var attemptCountGT: Double? + public var skip: Double? + + public init(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.externalId = externalId + self.eventType = eventType + self.type = type + self.domain = domain + self.attemptCountGT = attemptCountGT + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -2915,8 +3956,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPendingWebhookEventsResponse */ - open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { - return try await getPendingWebhookEventsWithRequestBuilder(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getPendingWebhookEvents(request: ApiGetPendingWebhookEventsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { + return try await getPendingWebhookEventsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2935,7 +3976,15 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventsWithRequestBuilder(request: ApiGetPendingWebhookEventsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let externalId = request.externalId + let eventType = request.eventType + let type = request.type + let domain = request.domain + let attemptCountGT = request.attemptCountGT + let skip = request.skip let localVariablePath = "/api/v1/pending-webhook-events" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2963,6 +4012,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getQuestionConfig. */ + public struct ApiGetQuestionConfigRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -2970,8 +4030,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionConfigResponse */ - open class func getQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse { - return try await getQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionConfig(request: ApiGetQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse { + return try await getQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2984,7 +4044,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionConfigWithRequestBuilder(request: ApiGetQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3008,6 +4070,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getQuestionConfigs. */ + public struct ApiGetQuestionConfigsRequest: Sendable { + public var tenantId: String + public var skip: Double? + + public init(tenantId: String, skip: Double? = nil) { + self.tenantId = tenantId + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3015,8 +4088,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionConfigsResponse */ - open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { - return try await getQuestionConfigsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionConfigs(request: ApiGetQuestionConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { + return try await getQuestionConfigsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3029,7 +4102,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionConfigsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionConfigsWithRequestBuilder(request: ApiGetQuestionConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let skip = request.skip let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3051,6 +4126,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getQuestionResult. */ + public struct ApiGetQuestionResultRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3058,8 +4144,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionResultResponse */ - open class func getQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse { - return try await getQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionResult(request: ApiGetQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse { + return try await getQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3072,7 +4158,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultWithRequestBuilder(request: ApiGetQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3096,6 +4184,27 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getQuestionResults. */ + public struct ApiGetQuestionResultsRequest: Sendable { + public var tenantId: String + public var urlId: String? + public var userId: String? + public var startDate: String? + public var questionId: String? + public var questionIds: String? + public var skip: Double? + + public init(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.userId = userId + self.startDate = startDate + self.questionId = questionId + self.questionIds = questionIds + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3108,8 +4217,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionResultsResponse */ - open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { - return try await getQuestionResultsWithRequestBuilder(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionResults(request: ApiGetQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { + return try await getQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3127,7 +4236,14 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionResultsWithRequestBuilder(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultsWithRequestBuilder(request: ApiGetQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let userId = request.userId + let startDate = request.startDate + let questionId = request.questionId + let questionIds = request.questionIds + let skip = request.skip let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3154,6 +4270,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getSSOUserByEmail. */ + public struct ApiGetSSOUserByEmailRequest: Sendable { + public var tenantId: String + public var email: String + + public init(tenantId: String, email: String) { + self.tenantId = tenantId + self.email = email + } + } + /** - parameter tenantId: (query) @@ -3161,8 +4288,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUserByEmailAPIResponse */ - open class func getSSOUserByEmail(tenantId: String, email: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByEmailAPIResponse { - return try await getSSOUserByEmailWithRequestBuilder(tenantId: tenantId, email: email, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUserByEmail(request: ApiGetSSOUserByEmailRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByEmailAPIResponse { + return try await getSSOUserByEmailWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3175,7 +4302,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUserByEmailWithRequestBuilder(tenantId: String, email: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSSOUserByEmailWithRequestBuilder(request: ApiGetSSOUserByEmailRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let email = request.email var localVariablePath = "/api/v1/sso-users/by-email/{email}" let emailPreEscape = "\(APIHelper.mapValueToPathItem(email))" let emailPostEscape = emailPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3199,6 +4328,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getSSOUserById. */ + public struct ApiGetSSOUserByIdRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3206,8 +4346,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUserByIdAPIResponse */ - open class func getSSOUserById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByIdAPIResponse { - return try await getSSOUserByIdWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUserById(request: ApiGetSSOUserByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByIdAPIResponse { + return try await getSSOUserByIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3220,7 +4360,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUserByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSSOUserByIdWithRequestBuilder(request: ApiGetSSOUserByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/sso-users/by-id/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3244,6 +4386,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getSSOUsers. */ + public struct ApiGetSSOUsersRequest: Sendable { + public var tenantId: String + public var skip: Int? + + public init(tenantId: String, skip: Int? = nil) { + self.tenantId = tenantId + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3251,8 +4404,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUsersResponse */ - open class func getSSOUsers(tenantId: String, skip: Int? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUsersResponse { - return try await getSSOUsersWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUsers(request: ApiGetSSOUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUsersResponse { + return try await getSSOUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3265,7 +4418,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUsersWithRequestBuilder(tenantId: String, skip: Int? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSSOUsersWithRequestBuilder(request: ApiGetSSOUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let skip = request.skip let localVariablePath = "/api/v1/sso-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3287,6 +4442,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getSubscriptions. */ + public struct ApiGetSubscriptionsRequest: Sendable { + public var tenantId: String + public var userId: String? + + public init(tenantId: String, userId: String? = nil) { + self.tenantId = tenantId + self.userId = userId + } + } + /** - parameter tenantId: (query) @@ -3294,8 +4460,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSubscriptionsAPIResponse */ - open class func getSubscriptions(tenantId: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSubscriptionsAPIResponse { - return try await getSubscriptionsWithRequestBuilder(tenantId: tenantId, userId: userId, apiConfiguration: apiConfiguration).execute().body + open class func getSubscriptions(request: ApiGetSubscriptionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSubscriptionsAPIResponse { + return try await getSubscriptionsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3308,7 +4474,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSubscriptionsWithRequestBuilder(tenantId: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSubscriptionsWithRequestBuilder(request: ApiGetSubscriptionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId let localVariablePath = "/api/v1/subscriptions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3330,6 +4498,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenant. */ + public struct ApiGetTenantRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3337,8 +4516,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantResponse */ - open class func getTenant(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse { - return try await getTenantWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getTenant(request: ApiGetTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse { + return try await getTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3351,7 +4530,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantWithRequestBuilder(request: ApiGetTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3375,6 +4556,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenantDailyUsages. */ + public struct ApiGetTenantDailyUsagesRequest: Sendable { + public var tenantId: String + public var yearNumber: Double? + public var monthNumber: Double? + public var dayNumber: Double? + public var skip: Double? + + public init(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.yearNumber = yearNumber + self.monthNumber = monthNumber + self.dayNumber = dayNumber + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3385,8 +4583,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantDailyUsagesResponse */ - open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { - return try await getTenantDailyUsagesWithRequestBuilder(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getTenantDailyUsages(request: ApiGetTenantDailyUsagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { + return try await getTenantDailyUsagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3402,7 +4600,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantDailyUsagesWithRequestBuilder(request: ApiGetTenantDailyUsagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let yearNumber = request.yearNumber + let monthNumber = request.monthNumber + let dayNumber = request.dayNumber + let skip = request.skip let localVariablePath = "/api/v1/tenant-daily-usage" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3427,6 +4630,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenantPackage. */ + public struct ApiGetTenantPackageRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3434,8 +4648,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantPackageResponse */ - open class func getTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse { - return try await getTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getTenantPackage(request: ApiGetTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse { + return try await getTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3448,7 +4662,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantPackageWithRequestBuilder(request: ApiGetTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3472,6 +4688,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenantPackages. */ + public struct ApiGetTenantPackagesRequest: Sendable { + public var tenantId: String + public var skip: Double? + + public init(tenantId: String, skip: Double? = nil) { + self.tenantId = tenantId + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3479,8 +4706,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantPackagesResponse */ - open class func getTenantPackages(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { - return try await getTenantPackagesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getTenantPackages(request: ApiGetTenantPackagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { + return try await getTenantPackagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3493,7 +4720,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantPackagesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantPackagesWithRequestBuilder(request: ApiGetTenantPackagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let skip = request.skip let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3515,6 +4744,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenantUser. */ + public struct ApiGetTenantUserRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3522,8 +4762,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantUserResponse */ - open class func getTenantUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse { - return try await getTenantUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getTenantUser(request: ApiGetTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse { + return try await getTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3536,7 +4776,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantUserWithRequestBuilder(request: ApiGetTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3560,6 +4802,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenantUsers. */ + public struct ApiGetTenantUsersRequest: Sendable { + public var tenantId: String + public var skip: Double? + + public init(tenantId: String, skip: Double? = nil) { + self.tenantId = tenantId + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3567,8 +4820,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantUsersResponse */ - open class func getTenantUsers(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { - return try await getTenantUsersWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getTenantUsers(request: ApiGetTenantUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { + return try await getTenantUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3581,7 +4834,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantUsersWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantUsersWithRequestBuilder(request: ApiGetTenantUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let skip = request.skip let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3603,6 +4858,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTenants. */ + public struct ApiGetTenantsRequest: Sendable { + public var tenantId: String + public var meta: String? + public var skip: Double? + + public init(tenantId: String, meta: String? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.meta = meta + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3611,8 +4879,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantsResponse */ - open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { - return try await getTenantsWithRequestBuilder(tenantId: tenantId, meta: meta, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getTenants(request: ApiGetTenantsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { + return try await getTenantsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3626,7 +4894,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantsWithRequestBuilder(tenantId: String, meta: String? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantsWithRequestBuilder(request: ApiGetTenantsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let meta = request.meta + let skip = request.skip let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3649,6 +4920,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTicket. */ + public struct ApiGetTicketRequest: Sendable { + public var tenantId: String + public var id: String + public var userId: String? + + public init(tenantId: String, id: String, userId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.userId = userId + } + } + /** - parameter tenantId: (query) @@ -3657,8 +4941,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTicketResponse */ - open class func getTicket(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { - return try await getTicketWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, apiConfiguration: apiConfiguration).execute().body + open class func getTicket(request: ApiGetTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { + return try await getTicketWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3672,7 +4956,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTicketWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketWithRequestBuilder(request: ApiGetTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let userId = request.userId var localVariablePath = "/api/v1/tickets/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3697,6 +4984,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getTickets. */ + public struct ApiGetTicketsRequest: Sendable { + public var tenantId: String + public var userId: String? + public var state: Double? + public var skip: Double? + public var limit: Double? + + public init(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil) { + self.tenantId = tenantId + self.userId = userId + self.state = state + self.skip = skip + self.limit = limit + } + } + /** - parameter tenantId: (query) @@ -3707,8 +5011,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTicketsResponse */ - open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { - return try await getTicketsWithRequestBuilder(tenantId: tenantId, userId: userId, state: state, skip: skip, limit: limit, apiConfiguration: apiConfiguration).execute().body + open class func getTickets(request: ApiGetTicketsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { + return try await getTicketsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3724,7 +5028,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTicketsWithRequestBuilder(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketsWithRequestBuilder(request: ApiGetTicketsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let state = request.state + let skip = request.skip + let limit = request.limit let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3749,6 +5058,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getUser. */ + public struct ApiGetUserRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3756,8 +5076,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserResponse */ - open class func getUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse { - return try await getUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getUser(request: ApiGetUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse { + return try await getUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3770,7 +5090,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserWithRequestBuilder(request: ApiGetUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3794,6 +5116,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserBadge. */ + public struct ApiGetUserBadgeRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3801,8 +5134,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeResponse */ - open class func getUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeResponse { - return try await getUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadge(request: ApiGetUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeResponse { + return try await getUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3815,7 +5148,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeWithRequestBuilder(request: ApiGetUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3839,6 +5174,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserBadgeProgressById. */ + public struct ApiGetUserBadgeProgressByIdRequest: Sendable { + public var tenantId: String + public var id: String + + public init(tenantId: String, id: String) { + self.tenantId = tenantId + self.id = id + } + } + /** - parameter tenantId: (query) @@ -3846,8 +5192,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressResponse */ - open class func getUserBadgeProgressById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { - return try await getUserBadgeProgressByIdWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadgeProgressById(request: ApiGetUserBadgeProgressByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { + return try await getUserBadgeProgressByIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3860,7 +5206,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressByIdWithRequestBuilder(request: ApiGetUserBadgeProgressByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id var localVariablePath = "/api/v1/user-badge-progress/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3884,6 +5232,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserBadgeProgressByUserId. */ + public struct ApiGetUserBadgeProgressByUserIdRequest: Sendable { + public var tenantId: String + public var userId: String + + public init(tenantId: String, userId: String) { + self.tenantId = tenantId + self.userId = userId + } + } + /** - parameter tenantId: (query) @@ -3891,8 +5250,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressResponse */ - open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { - return try await getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: tenantId, userId: userId, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadgeProgressByUserId(request: ApiGetUserBadgeProgressByUserIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { + return try await getUserBadgeProgressByUserIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3905,7 +5264,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressByUserIdWithRequestBuilder(request: ApiGetUserBadgeProgressByUserIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId var localVariablePath = "/api/v1/user-badge-progress/user/{userId}" let userIdPreEscape = "\(APIHelper.mapValueToPathItem(userId))" let userIdPostEscape = userIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3929,6 +5290,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserBadgeProgressList. */ + public struct ApiGetUserBadgeProgressListRequest: Sendable { + public var tenantId: String + public var userId: String? + public var limit: Double? + public var skip: Double? + + public init(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.userId = userId + self.limit = limit + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3938,8 +5314,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressListResponse */ - open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { - return try await getUserBadgeProgressListWithRequestBuilder(tenantId: tenantId, userId: userId, limit: limit, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadgeProgressList(request: ApiGetUserBadgeProgressListRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { + return try await getUserBadgeProgressListWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -3954,7 +5330,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressListWithRequestBuilder(request: ApiGetUserBadgeProgressListRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let limit = request.limit + let skip = request.skip let localVariablePath = "/api/v1/user-badge-progress" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3978,6 +5358,27 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserBadges. */ + public struct ApiGetUserBadgesRequest: Sendable { + public var tenantId: String + public var userId: String? + public var badgeId: String? + public var type: Double? + public var displayedOnComments: Bool? + public var limit: Double? + public var skip: Double? + + public init(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil) { + self.tenantId = tenantId + self.userId = userId + self.badgeId = badgeId + self.type = type + self.displayedOnComments = displayedOnComments + self.limit = limit + self.skip = skip + } + } + /** - parameter tenantId: (query) @@ -3990,8 +5391,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgesResponse */ - open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { - return try await getUserBadgesWithRequestBuilder(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadges(request: ApiGetUserBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { + return try await getUserBadgesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4009,7 +5410,14 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgesWithRequestBuilder(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgesWithRequestBuilder(request: ApiGetUserBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let userId = request.userId + let badgeId = request.badgeId + let type = request.type + let displayedOnComments = request.displayedOnComments + let limit = request.limit + let skip = request.skip let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4036,6 +5444,17 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getVotes. */ + public struct ApiGetVotesRequest: Sendable { + public var tenantId: String + public var urlId: String + + public init(tenantId: String, urlId: String) { + self.tenantId = tenantId + self.urlId = urlId + } + } + /** - parameter tenantId: (query) @@ -4043,8 +5462,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetVotesResponse */ - open class func getVotes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse { - return try await getVotesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body + open class func getVotes(request: ApiGetVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse { + return try await getVotesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4057,7 +5476,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getVotesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesWithRequestBuilder(request: ApiGetVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4079,6 +5500,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for getVotesForUser. */ + public struct ApiGetVotesForUserRequest: Sendable { + public var tenantId: String + public var urlId: String + public var userId: String? + public var anonUserId: String? + + public init(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.userId = userId + self.anonUserId = anonUserId + } + } + /** - parameter tenantId: (query) @@ -4088,8 +5524,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetVotesForUserResponse */ - open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { - return try await getVotesForUserWithRequestBuilder(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body + open class func getVotesForUser(request: ApiGetVotesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { + return try await getVotesForUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4104,7 +5540,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesForUserWithRequestBuilder(request: ApiGetVotesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let userId = request.userId + let anonUserId = request.anonUserId let localVariablePath = "/api/v1/votes/for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4128,6 +5568,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for patchDomainConfig. */ + public struct ApiPatchDomainConfigRequest: Sendable { + public var tenantId: String + public var domainToUpdate: String + public var patchDomainConfigParams: PatchDomainConfigParams + + public init(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams) { + self.tenantId = tenantId + self.domainToUpdate = domainToUpdate + self.patchDomainConfigParams = patchDomainConfigParams + } + } + /** - parameter tenantId: (query) @@ -4136,8 +5589,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchDomainConfigResponse */ - open class func patchDomainConfig(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchDomainConfigResponse { - return try await patchDomainConfigWithRequestBuilder(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams, apiConfiguration: apiConfiguration).execute().body + open class func patchDomainConfig(request: ApiPatchDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchDomainConfigResponse { + return try await patchDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4151,7 +5604,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchDomainConfigWithRequestBuilder(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchDomainConfigWithRequestBuilder(request: ApiPatchDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let domainToUpdate = request.domainToUpdate + let patchDomainConfigParams = request.patchDomainConfigParams var localVariablePath = "/api/v1/domain-configs/{domainToUpdate}" let domainToUpdatePreEscape = "\(APIHelper.mapValueToPathItem(domainToUpdate))" let domainToUpdatePostEscape = domainToUpdatePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4175,6 +5631,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for patchHashTag. */ + public struct ApiPatchHashTagRequest: Sendable { + public var tag: String + public var tenantId: String? + public var updateHashTagBody: UpdateHashTagBody? + + public init(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil) { + self.tag = tag + self.tenantId = tenantId + self.updateHashTagBody = updateHashTagBody + } + } + /** - parameter tag: (path) @@ -4183,8 +5652,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateHashTagResponse */ - open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { - return try await patchHashTagWithRequestBuilder(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody, apiConfiguration: apiConfiguration).execute().body + open class func patchHashTag(request: ApiPatchHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { + return try await patchHashTagWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4198,7 +5667,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchHashTagWithRequestBuilder(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchHashTagWithRequestBuilder(request: ApiPatchHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tag = request.tag + let tenantId = request.tenantId + let updateHashTagBody = request.updateHashTagBody var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4222,6 +5694,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for patchPage. */ + public struct ApiPatchPageRequest: Sendable { + public var tenantId: String + public var id: String + public var updateAPIPageData: UpdateAPIPageData + + public init(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData) { + self.tenantId = tenantId + self.id = id + self.updateAPIPageData = updateAPIPageData + } + } + /** - parameter tenantId: (query) @@ -4230,8 +5715,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchPageAPIResponse */ - open class func patchPage(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchPageAPIResponse { - return try await patchPageWithRequestBuilder(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData, apiConfiguration: apiConfiguration).execute().body + open class func patchPage(request: ApiPatchPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchPageAPIResponse { + return try await patchPageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4245,7 +5730,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchPageWithRequestBuilder(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchPageWithRequestBuilder(request: ApiPatchPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateAPIPageData = request.updateAPIPageData var localVariablePath = "/api/v1/pages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4269,6 +5757,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for patchSSOUser. */ + public struct ApiPatchSSOUserRequest: Sendable { + public var tenantId: String + public var id: String + public var updateAPISSOUserData: UpdateAPISSOUserData + public var updateComments: Bool? + + public init(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil) { + self.tenantId = tenantId + self.id = id + self.updateAPISSOUserData = updateAPISSOUserData + self.updateComments = updateComments + } + } + /** - parameter tenantId: (query) @@ -4278,8 +5781,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchSSOUserAPIResponse */ - open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchSSOUserAPIResponse { - return try await patchSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body + open class func patchSSOUser(request: ApiPatchSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchSSOUserAPIResponse { + return try await patchSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4294,7 +5797,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchSSOUserWithRequestBuilder(request: ApiPatchSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateAPISSOUserData = request.updateAPISSOUserData + let updateComments = request.updateComments var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4319,6 +5826,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for putDomainConfig. */ + public struct ApiPutDomainConfigRequest: Sendable { + public var tenantId: String + public var domainToUpdate: String + public var updateDomainConfigParams: UpdateDomainConfigParams + + public init(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams) { + self.tenantId = tenantId + self.domainToUpdate = domainToUpdate + self.updateDomainConfigParams = updateDomainConfigParams + } + } + /** - parameter tenantId: (query) @@ -4327,8 +5847,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PutDomainConfigResponse */ - open class func putDomainConfig(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutDomainConfigResponse { - return try await putDomainConfigWithRequestBuilder(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams, apiConfiguration: apiConfiguration).execute().body + open class func putDomainConfig(request: ApiPutDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutDomainConfigResponse { + return try await putDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4342,7 +5862,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putDomainConfigWithRequestBuilder(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putDomainConfigWithRequestBuilder(request: ApiPutDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let domainToUpdate = request.domainToUpdate + let updateDomainConfigParams = request.updateDomainConfigParams var localVariablePath = "/api/v1/domain-configs/{domainToUpdate}" let domainToUpdatePreEscape = "\(APIHelper.mapValueToPathItem(domainToUpdate))" let domainToUpdatePostEscape = domainToUpdatePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4366,6 +5889,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for putSSOUser. */ + public struct ApiPutSSOUserRequest: Sendable { + public var tenantId: String + public var id: String + public var updateAPISSOUserData: UpdateAPISSOUserData + public var updateComments: Bool? + + public init(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil) { + self.tenantId = tenantId + self.id = id + self.updateAPISSOUserData = updateAPISSOUserData + self.updateComments = updateComments + } + } + /** - parameter tenantId: (query) @@ -4375,8 +5913,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PutSSOUserAPIResponse */ - open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutSSOUserAPIResponse { - return try await putSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body + open class func putSSOUser(request: ApiPutSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutSSOUserAPIResponse { + return try await putSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4391,7 +5929,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putSSOUserWithRequestBuilder(request: ApiPutSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateAPISSOUserData = request.updateAPISSOUserData + let updateComments = request.updateComments var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4416,6 +5958,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for renderEmailTemplate. */ + public struct ApiRenderEmailTemplateRequest: Sendable { + public var tenantId: String + public var renderEmailTemplateBody: RenderEmailTemplateBody + public var locale: String? + + public init(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil) { + self.tenantId = tenantId + self.renderEmailTemplateBody = renderEmailTemplateBody + self.locale = locale + } + } + /** - parameter tenantId: (query) @@ -4424,8 +5979,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RenderEmailTemplateResponse */ - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { - return try await renderEmailTemplateWithRequestBuilder(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale, apiConfiguration: apiConfiguration).execute().body + open class func renderEmailTemplate(request: ApiRenderEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { + return try await renderEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4439,7 +5994,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func renderEmailTemplateWithRequestBuilder(request: ApiRenderEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let renderEmailTemplateBody = request.renderEmailTemplateBody + let locale = request.locale let localVariablePath = "/api/v1/email-templates/render" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: renderEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -4461,6 +6019,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for replaceTenantPackage. */ + public struct ApiReplaceTenantPackageRequest: Sendable { + public var tenantId: String + public var id: String + public var replaceTenantPackageBody: ReplaceTenantPackageBody + + public init(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody) { + self.tenantId = tenantId + self.id = id + self.replaceTenantPackageBody = replaceTenantPackageBody + } + } + /** - parameter tenantId: (query) @@ -4469,8 +6040,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await replaceTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody, apiConfiguration: apiConfiguration).execute().body + open class func replaceTenantPackage(request: ApiReplaceTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await replaceTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4484,7 +6055,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func replaceTenantPackageWithRequestBuilder(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func replaceTenantPackageWithRequestBuilder(request: ApiReplaceTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let replaceTenantPackageBody = request.replaceTenantPackageBody var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4508,6 +6082,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for replaceTenantUser. */ + public struct ApiReplaceTenantUserRequest: Sendable { + public var tenantId: String + public var id: String + public var replaceTenantUserBody: ReplaceTenantUserBody + public var updateComments: String? + + public init(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil) { + self.tenantId = tenantId + self.id = id + self.replaceTenantUserBody = replaceTenantUserBody + self.updateComments = updateComments + } + } + /** - parameter tenantId: (query) @@ -4517,8 +6106,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await replaceTenantUserWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body + open class func replaceTenantUser(request: ApiReplaceTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await replaceTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4533,7 +6122,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func replaceTenantUserWithRequestBuilder(request: ApiReplaceTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let replaceTenantUserBody = request.replaceTenantUserBody + let updateComments = request.updateComments var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4558,6 +6151,25 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for saveComment. */ + public struct ApiSaveCommentRequest: Sendable { + public var tenantId: String + public var createCommentParams: CreateCommentParams + public var isLive: Bool? + public var doSpamCheck: Bool? + public var sendEmails: Bool? + public var populateNotifications: Bool? + + public init(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil) { + self.tenantId = tenantId + self.createCommentParams = createCommentParams + self.isLive = isLive + self.doSpamCheck = doSpamCheck + self.sendEmails = sendEmails + self.populateNotifications = populateNotifications + } + } + /** - parameter tenantId: (query) @@ -4569,8 +6181,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APISaveCommentResponse */ - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { - return try await saveCommentWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications, apiConfiguration: apiConfiguration).execute().body + open class func saveComment(request: ApiSaveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { + return try await saveCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4587,7 +6199,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func saveCommentWithRequestBuilder(request: ApiSaveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createCommentParams = request.createCommentParams + let isLive = request.isLive + let doSpamCheck = request.doSpamCheck + let sendEmails = request.sendEmails + let populateNotifications = request.populateNotifications let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createCommentParams, codableHelper: apiConfiguration.codableHelper) @@ -4612,6 +6230,25 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for saveCommentsBulk. */ + public struct ApiSaveCommentsBulkRequest: Sendable { + public var tenantId: String + public var createCommentParams: [CreateCommentParams] + public var isLive: Bool? + public var doSpamCheck: Bool? + public var sendEmails: Bool? + public var populateNotifications: Bool? + + public init(tenantId: String, createCommentParams: [CreateCommentParams], isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil) { + self.tenantId = tenantId + self.createCommentParams = createCommentParams + self.isLive = isLive + self.doSpamCheck = doSpamCheck + self.sendEmails = sendEmails + self.populateNotifications = populateNotifications + } + } + /** - parameter tenantId: (query) @@ -4623,8 +6260,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: [SaveCommentsBulkResponse] */ - open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> [SaveCommentsBulkResponse] { - return try await saveCommentsBulkWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications, apiConfiguration: apiConfiguration).execute().body + open class func saveCommentsBulk(request: ApiSaveCommentsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> [SaveCommentsBulkResponse] { + return try await saveCommentsBulkWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4641,7 +6278,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder<[SaveCommentsBulkResponse]> */ - open class func saveCommentsBulkWithRequestBuilder(tenantId: String, createCommentParams: [CreateCommentParams], isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder<[SaveCommentsBulkResponse]> { + open class func saveCommentsBulkWithRequestBuilder(request: ApiSaveCommentsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder<[SaveCommentsBulkResponse]> { + let tenantId = request.tenantId + let createCommentParams = request.createCommentParams + let isLive = request.isLive + let doSpamCheck = request.doSpamCheck + let sendEmails = request.sendEmails + let populateNotifications = request.populateNotifications let localVariablePath = "/api/v1/comments/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createCommentParams, codableHelper: apiConfiguration.codableHelper) @@ -4666,6 +6309,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for sendInvite. */ + public struct ApiSendInviteRequest: Sendable { + public var tenantId: String + public var id: String + public var fromName: String + + public init(tenantId: String, id: String, fromName: String) { + self.tenantId = tenantId + self.id = id + self.fromName = fromName + } + } + /** - parameter tenantId: (query) @@ -4674,8 +6330,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func sendInvite(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await sendInviteWithRequestBuilder(tenantId: tenantId, id: id, fromName: fromName, apiConfiguration: apiConfiguration).execute().body + open class func sendInvite(request: ApiSendInviteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await sendInviteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4689,7 +6345,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func sendInviteWithRequestBuilder(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func sendInviteWithRequestBuilder(request: ApiSendInviteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let fromName = request.fromName var localVariablePath = "/api/v1/moderators/{id}/send-invite" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4714,6 +6373,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for sendLoginLink. */ + public struct ApiSendLoginLinkRequest: Sendable { + public var tenantId: String + public var id: String + public var redirectURL: String? + + public init(tenantId: String, id: String, redirectURL: String? = nil) { + self.tenantId = tenantId + self.id = id + self.redirectURL = redirectURL + } + } + /** - parameter tenantId: (query) @@ -4722,8 +6394,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await sendLoginLinkWithRequestBuilder(tenantId: tenantId, id: id, redirectURL: redirectURL, apiConfiguration: apiConfiguration).execute().body + open class func sendLoginLink(request: ApiSendLoginLinkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await sendLoginLinkWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4737,7 +6409,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func sendLoginLinkWithRequestBuilder(request: ApiSendLoginLinkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let redirectURL = request.redirectURL var localVariablePath = "/api/v1/tenant-users/{id}/send-login-link" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4762,6 +6437,23 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for unBlockUserFromComment. */ + public struct ApiUnBlockUserFromCommentRequest: Sendable { + public var tenantId: String + public var id: String + public var unBlockFromCommentParams: UnBlockFromCommentParams + public var userId: String? + public var anonUserId: String? + + public init(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.unBlockFromCommentParams = unBlockFromCommentParams + self.userId = userId + self.anonUserId = anonUserId + } + } + /** - parameter tenantId: (query) @@ -4772,8 +6464,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UnblockSuccess */ - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { - return try await unBlockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body + open class func unBlockUserFromComment(request: ApiUnBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + return try await unBlockUserFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4789,7 +6481,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockUserFromCommentWithRequestBuilder(request: ApiUnBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let unBlockFromCommentParams = request.unBlockFromCommentParams + let userId = request.userId + let anonUserId = request.anonUserId var localVariablePath = "/api/v1/comments/{id}/un-block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4815,6 +6512,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for unFlagComment. */ + public struct ApiUnFlagCommentRequest: Sendable { + public var tenantId: String + public var id: String + public var userId: String? + public var anonUserId: String? + + public init(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.userId = userId + self.anonUserId = anonUserId + } + } + /** - parameter tenantId: (query) @@ -4824,8 +6536,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FlagCommentResponse */ - open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { - return try await unFlagCommentWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId, apiConfiguration: apiConfiguration).execute().body + open class func unFlagComment(request: ApiUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + return try await unFlagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4840,7 +6552,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unFlagCommentWithRequestBuilder(request: ApiUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let userId = request.userId + let anonUserId = request.anonUserId var localVariablePath = "/api/v1/comments/{id}/un-flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4866,6 +6582,25 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateComment. */ + public struct ApiUpdateCommentRequest: Sendable { + public var tenantId: String + public var id: String + public var updatableCommentParams: UpdatableCommentParams + public var contextUserId: String? + public var doSpamCheck: Bool? + public var isLive: Bool? + + public init(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil) { + self.tenantId = tenantId + self.id = id + self.updatableCommentParams = updatableCommentParams + self.contextUserId = contextUserId + self.doSpamCheck = doSpamCheck + self.isLive = isLive + } + } + /** - parameter tenantId: (query) @@ -4877,8 +6612,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateCommentWithRequestBuilder(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive, apiConfiguration: apiConfiguration).execute().body + open class func updateComment(request: ApiUpdateCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4895,7 +6630,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateCommentWithRequestBuilder(request: ApiUpdateCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updatableCommentParams = request.updatableCommentParams + let contextUserId = request.contextUserId + let doSpamCheck = request.doSpamCheck + let isLive = request.isLive var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4922,6 +6663,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateEmailTemplate. */ + public struct ApiUpdateEmailTemplateRequest: Sendable { + public var tenantId: String + public var id: String + public var updateEmailTemplateBody: UpdateEmailTemplateBody + + public init(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody) { + self.tenantId = tenantId + self.id = id + self.updateEmailTemplateBody = updateEmailTemplateBody + } + } + /** - parameter tenantId: (query) @@ -4930,8 +6684,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body + open class func updateEmailTemplate(request: ApiUpdateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4945,7 +6699,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateEmailTemplateWithRequestBuilder(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateEmailTemplateWithRequestBuilder(request: ApiUpdateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateEmailTemplateBody = request.updateEmailTemplateBody var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4969,6 +6726,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateFeedPost. */ + public struct ApiUpdateFeedPostRequest: Sendable { + public var tenantId: String + public var id: String + public var feedPost: FeedPost + + public init(tenantId: String, id: String, feedPost: FeedPost) { + self.tenantId = tenantId + self.id = id + self.feedPost = feedPost + } + } + /** - parameter tenantId: (query) @@ -4977,8 +6747,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateFeedPostWithRequestBuilder(tenantId: tenantId, id: id, feedPost: feedPost, apiConfiguration: apiConfiguration).execute().body + open class func updateFeedPost(request: ApiUpdateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateFeedPostWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -4992,7 +6762,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateFeedPostWithRequestBuilder(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostWithRequestBuilder(request: ApiUpdateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let feedPost = request.feedPost var localVariablePath = "/api/v1/feed-posts/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5016,6 +6789,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateModerator. */ + public struct ApiUpdateModeratorRequest: Sendable { + public var tenantId: String + public var id: String + public var updateModeratorBody: UpdateModeratorBody + + public init(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody) { + self.tenantId = tenantId + self.id = id + self.updateModeratorBody = updateModeratorBody + } + } + /** - parameter tenantId: (query) @@ -5024,8 +6810,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateModeratorWithRequestBuilder(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody, apiConfiguration: apiConfiguration).execute().body + open class func updateModerator(request: ApiUpdateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5039,7 +6825,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateModeratorWithRequestBuilder(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateModeratorWithRequestBuilder(request: ApiUpdateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateModeratorBody = request.updateModeratorBody var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5063,6 +6852,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateNotification. */ + public struct ApiUpdateNotificationRequest: Sendable { + public var tenantId: String + public var id: String + public var updateNotificationBody: UpdateNotificationBody + public var userId: String? + + public init(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.updateNotificationBody = updateNotificationBody + self.userId = userId + } + } + /** - parameter tenantId: (query) @@ -5072,8 +6876,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateNotificationWithRequestBuilder(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId, apiConfiguration: apiConfiguration).execute().body + open class func updateNotification(request: ApiUpdateNotificationRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateNotificationWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5088,7 +6892,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateNotificationWithRequestBuilder(request: ApiUpdateNotificationRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateNotificationBody = request.updateNotificationBody + let userId = request.userId var localVariablePath = "/api/v1/notifications/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5113,6 +6921,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateQuestionConfig. */ + public struct ApiUpdateQuestionConfigRequest: Sendable { + public var tenantId: String + public var id: String + public var updateQuestionConfigBody: UpdateQuestionConfigBody + + public init(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody) { + self.tenantId = tenantId + self.id = id + self.updateQuestionConfigBody = updateQuestionConfigBody + } + } + /** - parameter tenantId: (query) @@ -5121,8 +6942,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body + open class func updateQuestionConfig(request: ApiUpdateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5136,7 +6957,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateQuestionConfigWithRequestBuilder(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateQuestionConfigWithRequestBuilder(request: ApiUpdateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateQuestionConfigBody = request.updateQuestionConfigBody var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5160,6 +6984,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateQuestionResult. */ + public struct ApiUpdateQuestionResultRequest: Sendable { + public var tenantId: String + public var id: String + public var updateQuestionResultBody: UpdateQuestionResultBody + + public init(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody) { + self.tenantId = tenantId + self.id = id + self.updateQuestionResultBody = updateQuestionResultBody + } + } + /** - parameter tenantId: (query) @@ -5168,8 +7005,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody, apiConfiguration: apiConfiguration).execute().body + open class func updateQuestionResult(request: ApiUpdateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5183,7 +7020,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateQuestionResultWithRequestBuilder(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateQuestionResultWithRequestBuilder(request: ApiUpdateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateQuestionResultBody = request.updateQuestionResultBody var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5207,6 +7047,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateSubscription. */ + public struct ApiUpdateSubscriptionRequest: Sendable { + public var tenantId: String + public var id: String + public var updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData + public var userId: String? + + public init(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil) { + self.tenantId = tenantId + self.id = id + self.updateAPIUserSubscriptionData = updateAPIUserSubscriptionData + self.userId = userId + } + } + /** - parameter tenantId: (query) @@ -5216,8 +7071,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateSubscriptionAPIResponse */ - open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateSubscriptionAPIResponse { - return try await updateSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, userId: userId, apiConfiguration: apiConfiguration).execute().body + open class func updateSubscription(request: ApiUpdateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateSubscriptionAPIResponse { + return try await updateSubscriptionWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5232,7 +7087,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateSubscriptionWithRequestBuilder(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateSubscriptionWithRequestBuilder(request: ApiUpdateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateAPIUserSubscriptionData = request.updateAPIUserSubscriptionData + let userId = request.userId var localVariablePath = "/api/v1/subscriptions/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5257,6 +7116,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateTenant. */ + public struct ApiUpdateTenantRequest: Sendable { + public var tenantId: String + public var id: String + public var updateTenantBody: UpdateTenantBody + + public init(tenantId: String, id: String, updateTenantBody: UpdateTenantBody) { + self.tenantId = tenantId + self.id = id + self.updateTenantBody = updateTenantBody + } + } + /** - parameter tenantId: (query) @@ -5265,8 +7137,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantWithRequestBuilder(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody, apiConfiguration: apiConfiguration).execute().body + open class func updateTenant(request: ApiUpdateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5280,7 +7152,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantWithRequestBuilder(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantWithRequestBuilder(request: ApiUpdateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateTenantBody = request.updateTenantBody var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5304,6 +7179,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateTenantPackage. */ + public struct ApiUpdateTenantPackageRequest: Sendable { + public var tenantId: String + public var id: String + public var updateTenantPackageBody: UpdateTenantPackageBody + + public init(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody) { + self.tenantId = tenantId + self.id = id + self.updateTenantPackageBody = updateTenantPackageBody + } + } + /** - parameter tenantId: (query) @@ -5312,8 +7200,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody, apiConfiguration: apiConfiguration).execute().body + open class func updateTenantPackage(request: ApiUpdateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5327,7 +7215,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantPackageWithRequestBuilder(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantPackageWithRequestBuilder(request: ApiUpdateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateTenantPackageBody = request.updateTenantPackageBody var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5351,6 +7242,21 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateTenantUser. */ + public struct ApiUpdateTenantUserRequest: Sendable { + public var tenantId: String + public var id: String + public var updateTenantUserBody: UpdateTenantUserBody + public var updateComments: String? + + public init(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil) { + self.tenantId = tenantId + self.id = id + self.updateTenantUserBody = updateTenantUserBody + self.updateComments = updateComments + } + } + /** - parameter tenantId: (query) @@ -5360,8 +7266,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantUserWithRequestBuilder(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body + open class func updateTenantUser(request: ApiUpdateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5376,7 +7282,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateTenantUserWithRequestBuilder(request: ApiUpdateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateTenantUserBody = request.updateTenantUserBody + let updateComments = request.updateComments var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5401,6 +7311,19 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } + /** Request parameters for updateUserBadge. */ + public struct ApiUpdateUserBadgeRequest: Sendable { + public var tenantId: String + public var id: String + public var updateUserBadgeParams: UpdateUserBadgeParams + + public init(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams) { + self.tenantId = tenantId + self.id = id + self.updateUserBadgeParams = updateUserBadgeParams + } + } + /** - parameter tenantId: (query) @@ -5409,8 +7332,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptySuccessResponse */ - open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { - return try await updateUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams, apiConfiguration: apiConfiguration).execute().body + open class func updateUserBadge(request: ApiUpdateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { + return try await updateUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -5424,7 +7347,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserBadgeWithRequestBuilder(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateUserBadgeWithRequestBuilder(request: ApiUpdateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let id = request.id + let updateUserBadgeParams = request.updateUserBadgeParams var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" diff --git a/client/FastCommentsSwift/APIs/ModerationAPI.swift b/client/FastCommentsSwift/APIs/ModerationAPI.swift index 84fa7a6..d7f0c59 100644 --- a/client/FastCommentsSwift/APIs/ModerationAPI.swift +++ b/client/FastCommentsSwift/APIs/ModerationAPI.swift @@ -9,31 +9,53 @@ import Foundation open class ModerationAPI { + /** Request parameters for deleteModerationVote. */ + public struct ApiDeleteModerationVoteRequest: Sendable { + public var commentId: String + public var voteId: String + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, voteId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.voteId = voteId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter voteId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteModerationVoteWithRequestBuilder(commentId: commentId, voteId: voteId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerationVote(request: ApiDeleteModerationVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteModerationVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - DELETE /auth/my-account/moderate-comments/vote/{commentId}/{voteId} - parameter commentId: (path) - parameter voteId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteModerationVoteWithRequestBuilder(request: ApiDeleteModerationVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let voteId = request.voteId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -46,8 +68,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -62,6 +84,33 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getApiComments. */ + public struct ApiGetApiCommentsRequest: Sendable { + public var page: Double? + public var count: Double? + public var textSearch: String? + public var byIPFromComment: String? + public var filters: String? + public var searchFilters: String? + public var sorts: String? + public var demo: Bool? + public var tenantId: String? + public var sso: String? + + public init(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + self.page = page + self.count = count + self.textSearch = textSearch + self.byIPFromComment = byIPFromComment + self.filters = filters + self.searchFilters = searchFilters + self.sorts = sorts + self.demo = demo + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter page: (query) (optional) @@ -77,8 +126,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetCommentsResponse */ - open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { - return try await getApiCommentsWithRequestBuilder(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getApiComments(request: ApiGetApiCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { + return try await getApiCommentsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -96,7 +145,17 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiCommentsWithRequestBuilder(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiCommentsWithRequestBuilder(request: ApiGetApiCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let page = request.page + let count = request.count + let textSearch = request.textSearch + let byIPFromComment = request.byIPFromComment + let filters = request.filters + let searchFilters = request.searchFilters + let sorts = request.sorts + let demo = request.demo + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/api/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -126,6 +185,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getApiExportStatus. */ + public struct ApiGetApiExportStatusRequest: Sendable { + public var batchJobId: String? + public var tenantId: String? + public var sso: String? + + public init(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.batchJobId = batchJobId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter batchJobId: (query) (optional) @@ -134,8 +206,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationExportStatusResponse */ - open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { - return try await getApiExportStatusWithRequestBuilder(batchJobId: batchJobId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getApiExportStatus(request: ApiGetApiExportStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { + return try await getApiExportStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -146,7 +218,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiExportStatusWithRequestBuilder(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiExportStatusWithRequestBuilder(request: ApiGetApiExportStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let batchJobId = request.batchJobId + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/api/export/status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -169,6 +244,29 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getApiIds. */ + public struct ApiGetApiIdsRequest: Sendable { + public var textSearch: String? + public var byIPFromComment: String? + public var filters: String? + public var searchFilters: String? + public var afterId: String? + public var demo: Bool? + public var tenantId: String? + public var sso: String? + + public init(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + self.textSearch = textSearch + self.byIPFromComment = byIPFromComment + self.filters = filters + self.searchFilters = searchFilters + self.afterId = afterId + self.demo = demo + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter textSearch: (query) (optional) @@ -182,8 +280,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetCommentIdsResponse */ - open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { - return try await getApiIdsWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getApiIds(request: ApiGetApiIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { + return try await getApiIdsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -199,7 +297,15 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiIdsWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiIdsWithRequestBuilder(request: ApiGetApiIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let textSearch = request.textSearch + let byIPFromComment = request.byIPFromComment + let filters = request.filters + let searchFilters = request.searchFilters + let afterId = request.afterId + let demo = request.demo + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/api/ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -227,6 +333,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getBanUsersFromComment. */ + public struct ApiGetBanUsersFromCommentRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -235,8 +354,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetBannedUsersFromCommentResponse */ - open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { - return try await getBanUsersFromCommentWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getBanUsersFromComment(request: ApiGetBanUsersFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { + return try await getBanUsersFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -247,7 +366,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getBanUsersFromCommentWithRequestBuilder(request: ApiGetBanUsersFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -272,6 +394,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCommentBanStatus. */ + public struct ApiGetCommentBanStatusRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -280,8 +415,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentBanStatusResponse */ - open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { - return try await getCommentBanStatusWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCommentBanStatus(request: ApiGetCommentBanStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { + return try await getCommentBanStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -292,7 +427,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentBanStatusWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentBanStatusWithRequestBuilder(request: ApiGetCommentBanStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -317,6 +455,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCommentChildren. */ + public struct ApiGetCommentChildrenRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -325,8 +476,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIChildCommentsResponse */ - open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await getCommentChildrenWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCommentChildren(request: ApiGetCommentChildrenRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { + return try await getCommentChildrenWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -337,7 +488,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentChildrenWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentChildrenWithRequestBuilder(request: ApiGetCommentChildrenRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/comment-children/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -362,6 +516,27 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCount. */ + public struct ApiGetCountRequest: Sendable { + public var textSearch: String? + public var byIPFromComment: String? + public var filter: String? + public var searchFilters: String? + public var demo: Bool? + public var tenantId: String? + public var sso: String? + + public init(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + self.textSearch = textSearch + self.byIPFromComment = byIPFromComment + self.filter = filter + self.searchFilters = searchFilters + self.demo = demo + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter textSearch: (query) (optional) @@ -374,8 +549,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPICountCommentsResponse */ - open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { - return try await getCountWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCount(request: ApiGetCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { + return try await getCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -390,7 +565,14 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCountWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountWithRequestBuilder(request: ApiGetCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let textSearch = request.textSearch + let byIPFromComment = request.byIPFromComment + let filter = request.filter + let searchFilters = request.searchFilters + let demo = request.demo + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -417,6 +599,17 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCounts. */ + public struct ApiGetCountsRequest: Sendable { + public var tenantId: String? + public var sso: String? + + public init(tenantId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter tenantId: (query) (optional) @@ -424,8 +617,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetBannedUsersCountResponse */ - open class func getCounts(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { - return try await getCountsWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCounts(request: ApiGetCountsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { + return try await getCountsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -435,7 +628,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCountsWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountsWithRequestBuilder(request: ApiGetCountsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/banned-users/counts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -457,6 +652,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getLogs. */ + public struct ApiGetLogsRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -465,8 +673,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetLogsResponse */ - open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { - return try await getLogsWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getLogs(request: ApiGetLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { + return try await getLogsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -477,7 +685,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getLogsWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getLogsWithRequestBuilder(request: ApiGetLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/logs/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -502,6 +713,17 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getManualBadges. */ + public struct ApiGetManualBadgesRequest: Sendable { + public var tenantId: String? + public var sso: String? + + public init(tenantId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter tenantId: (query) (optional) @@ -509,8 +731,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantManualBadgesResponse */ - open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { - return try await getManualBadgesWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadges(request: ApiGetManualBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { + return try await getManualBadgesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -520,7 +742,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getManualBadgesWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesWithRequestBuilder(request: ApiGetManualBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -542,6 +766,21 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getManualBadgesForUser. */ + public struct ApiGetManualBadgesForUserRequest: Sendable { + public var badgesUserId: String? + public var commentId: String? + public var tenantId: String? + public var sso: String? + + public init(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.badgesUserId = badgesUserId + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter badgesUserId: (query) (optional) @@ -551,8 +790,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserManualBadgesResponse */ - open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { - return try await getManualBadgesForUserWithRequestBuilder(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadgesForUser(request: ApiGetManualBadgesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { + return try await getManualBadgesForUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -564,7 +803,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getManualBadgesForUserWithRequestBuilder(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesForUserWithRequestBuilder(request: ApiGetManualBadgesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let badgesUserId = request.badgesUserId + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -588,6 +831,23 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getModerationComment. */ + public struct ApiGetModerationCommentRequest: Sendable { + public var commentId: String + public var includeEmail: Bool? + public var includeIP: Bool? + public var tenantId: String? + public var sso: String? + + public init(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.includeEmail = includeEmail + self.includeIP = includeIP + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -598,8 +858,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPICommentResponse */ - open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { - return try await getModerationCommentWithRequestBuilder(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getModerationComment(request: ApiGetModerationCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { + return try await getModerationCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -612,7 +872,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModerationCommentWithRequestBuilder(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentWithRequestBuilder(request: ApiGetModerationCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let includeEmail = request.includeEmail + let includeIP = request.includeIP + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -639,6 +904,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getModerationCommentText. */ + public struct ApiGetModerationCommentTextRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -647,8 +925,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentTextResponse */ - open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { - return try await getModerationCommentTextWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getModerationCommentText(request: ApiGetModerationCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { + return try await getModerationCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -659,7 +937,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModerationCommentTextWithRequestBuilder(commentId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentTextWithRequestBuilder(request: ApiGetModerationCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/get-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -684,6 +965,25 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getPreBanSummary. */ + public struct ApiGetPreBanSummaryRequest: Sendable { + public var commentId: String + public var includeByUserIdAndEmail: Bool? + public var includeByIP: Bool? + public var includeByEmailDomain: Bool? + public var tenantId: String? + public var sso: String? + + public init(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.includeByUserIdAndEmail = includeByUserIdAndEmail + self.includeByIP = includeByIP + self.includeByEmailDomain = includeByEmailDomain + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -695,8 +995,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PreBanSummary */ - open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { - return try await getPreBanSummaryWithRequestBuilder(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getPreBanSummary(request: ApiGetPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { + return try await getPreBanSummaryWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -710,7 +1010,13 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPreBanSummaryWithRequestBuilder(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPreBanSummaryWithRequestBuilder(request: ApiGetPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let includeByUserIdAndEmail = request.includeByUserIdAndEmail + let includeByIP = request.includeByIP + let includeByEmailDomain = request.includeByEmailDomain + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -738,6 +1044,23 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getSearchCommentsSummary. */ + public struct ApiGetSearchCommentsSummaryRequest: Sendable { + public var value: String? + public var filters: String? + public var searchFilters: String? + public var tenantId: String? + public var sso: String? + + public init(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.value = value + self.filters = filters + self.searchFilters = searchFilters + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter value: (query) (optional) @@ -748,8 +1071,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationCommentSearchResponse */ - open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { - return try await getSearchCommentsSummaryWithRequestBuilder(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchCommentsSummary(request: ApiGetSearchCommentsSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { + return try await getSearchCommentsSummaryWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -762,7 +1085,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchCommentsSummaryWithRequestBuilder(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchCommentsSummaryWithRequestBuilder(request: ApiGetSearchCommentsSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = request.value + let filters = request.filters + let searchFilters = request.searchFilters + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/search/comments/summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -787,6 +1115,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getSearchPages. */ + public struct ApiGetSearchPagesRequest: Sendable { + public var value: String? + public var tenantId: String? + public var sso: String? + + public init(value: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.value = value + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter value: (query) (optional) @@ -795,8 +1136,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationPageSearchResponse */ - open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { - return try await getSearchPagesWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchPages(request: ApiGetSearchPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { + return try await getSearchPagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -807,7 +1148,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchPagesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchPagesWithRequestBuilder(request: ApiGetSearchPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = request.value + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/search/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -830,6 +1174,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getSearchSites. */ + public struct ApiGetSearchSitesRequest: Sendable { + public var value: String? + public var tenantId: String? + public var sso: String? + + public init(value: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.value = value + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter value: (query) (optional) @@ -838,8 +1195,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationSiteSearchResponse */ - open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { - return try await getSearchSitesWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSites(request: ApiGetSearchSitesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { + return try await getSearchSitesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -850,7 +1207,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchSitesWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSitesWithRequestBuilder(request: ApiGetSearchSitesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = request.value + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/search/sites" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -873,6 +1233,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getSearchSuggest. */ + public struct ApiGetSearchSuggestRequest: Sendable { + public var textSearch: String? + public var tenantId: String? + public var sso: String? + + public init(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.textSearch = textSearch + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter textSearch: (query) (optional) @@ -881,8 +1254,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationSuggestResponse */ - open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { - return try await getSearchSuggestWithRequestBuilder(textSearch: textSearch, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSuggest(request: ApiGetSearchSuggestRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { + return try await getSearchSuggestWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -893,7 +1266,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchSuggestWithRequestBuilder(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSuggestWithRequestBuilder(request: ApiGetSearchSuggestRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let textSearch = request.textSearch + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/search/suggest" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -916,6 +1292,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getSearchUsers. */ + public struct ApiGetSearchUsersRequest: Sendable { + public var value: String? + public var tenantId: String? + public var sso: String? + + public init(value: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.value = value + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter value: (query) (optional) @@ -924,8 +1313,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationUserSearchResponse */ - open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { - return try await getSearchUsersWithRequestBuilder(value: value, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getSearchUsers(request: ApiGetSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { + return try await getSearchUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -936,7 +1325,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchUsersWithRequestBuilder(value: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchUsersWithRequestBuilder(request: ApiGetSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = request.value + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/search/users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -959,6 +1351,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getTrustFactor. */ + public struct ApiGetTrustFactorRequest: Sendable { + public var userId: String? + public var tenantId: String? + public var sso: String? + + public init(userId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.userId = userId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter userId: (query) (optional) @@ -967,8 +1372,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserTrustFactorResponse */ - open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { - return try await getTrustFactorWithRequestBuilder(userId: userId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getTrustFactor(request: ApiGetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { + return try await getTrustFactorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -979,7 +1384,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTrustFactorWithRequestBuilder(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTrustFactorWithRequestBuilder(request: ApiGetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = request.userId + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/get-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1002,6 +1410,17 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserBanPreference. */ + public struct ApiGetUserBanPreferenceRequest: Sendable { + public var tenantId: String? + public var sso: String? + + public init(tenantId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter tenantId: (query) (optional) @@ -1009,8 +1428,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIModerateGetUserBanPreferencesResponse */ - open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { - return try await getUserBanPreferenceWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserBanPreference(request: ApiGetUserBanPreferenceRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { + return try await getUserBanPreferenceWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1020,7 +1439,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBanPreferenceWithRequestBuilder(tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBanPreferenceWithRequestBuilder(request: ApiGetUserBanPreferenceRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/user-ban-preference" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1042,6 +1463,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserInternalProfile. */ + public struct ApiGetUserInternalProfileRequest: Sendable { + public var commentId: String? + public var tenantId: String? + public var sso: String? + + public init(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (query) (optional) @@ -1050,8 +1484,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserInternalProfileResponse */ - open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { - return try await getUserInternalProfileWithRequestBuilder(commentId: commentId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserInternalProfile(request: ApiGetUserInternalProfileRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { + return try await getUserInternalProfileWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1062,7 +1496,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserInternalProfileWithRequestBuilder(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserInternalProfileWithRequestBuilder(request: ApiGetUserInternalProfileRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/get-user-internal-profile" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1085,31 +1522,53 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postAdjustCommentVotes. */ + public struct ApiPostAdjustCommentVotesRequest: Sendable { + public var commentId: String + public var adjustCommentVotesParams: AdjustCommentVotesParams + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.adjustCommentVotesParams = adjustCommentVotesParams + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter adjustCommentVotesParams: (body) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: AdjustVotesResponse */ - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { - return try await postAdjustCommentVotesWithRequestBuilder(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postAdjustCommentVotes(request: ApiPostAdjustCommentVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { + return try await postAdjustCommentVotesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} - parameter commentId: (path) - parameter adjustCommentVotesParams: (body) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postAdjustCommentVotesWithRequestBuilder(request: ApiPostAdjustCommentVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let adjustCommentVotesParams = request.adjustCommentVotesParams + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1119,8 +1578,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1135,6 +1594,27 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postApiExport. */ + public struct ApiPostApiExportRequest: Sendable { + public var textSearch: String? + public var byIPFromComment: String? + public var filters: String? + public var searchFilters: String? + public var sorts: String? + public var tenantId: String? + public var sso: String? + + public init(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.textSearch = textSearch + self.byIPFromComment = byIPFromComment + self.filters = filters + self.searchFilters = searchFilters + self.sorts = sorts + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter textSearch: (query) (optional) @@ -1147,8 +1627,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationExportResponse */ - open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { - return try await postApiExportWithRequestBuilder(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postApiExport(request: ApiPostApiExportRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { + return try await postApiExportWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1163,7 +1643,14 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postApiExportWithRequestBuilder(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postApiExportWithRequestBuilder(request: ApiPostApiExportRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let textSearch = request.textSearch + let byIPFromComment = request.byIPFromComment + let filters = request.filters + let searchFilters = request.searchFilters + let sorts = request.sorts + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/api/export" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1190,6 +1677,35 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postBanUserFromComment. */ + public struct ApiPostBanUserFromCommentRequest: Sendable { + public var commentId: String + public var banEmail: Bool? + public var banEmailDomain: Bool? + public var banIP: Bool? + public var deleteAllUsersComments: Bool? + public var bannedUntil: String? + public var isShadowBan: Bool? + public var updateId: String? + public var banReason: String? + public var tenantId: String? + public var sso: String? + + public init(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.banEmail = banEmail + self.banEmailDomain = banEmailDomain + self.banIP = banIP + self.deleteAllUsersComments = deleteAllUsersComments + self.bannedUntil = bannedUntil + self.isShadowBan = isShadowBan + self.updateId = updateId + self.banReason = banReason + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentId: (path) @@ -1206,8 +1722,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BanUserFromCommentResult */ - open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { - return try await postBanUserFromCommentWithRequestBuilder(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserFromComment(request: ApiPostBanUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { + return try await postBanUserFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1226,7 +1742,18 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBanUserFromCommentWithRequestBuilder(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserFromCommentWithRequestBuilder(request: ApiPostBanUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let banEmail = request.banEmail + let banEmailDomain = request.banEmailDomain + let banIP = request.banIP + let deleteAllUsersComments = request.deleteAllUsersComments + let bannedUntil = request.bannedUntil + let isShadowBan = request.isShadowBan + let updateId = request.updateId + let banReason = request.banReason + let tenantId = request.tenantId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1259,6 +1786,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postBanUserUndo. */ + public struct ApiPostBanUserUndoRequest: Sendable { + public var banUserUndoParams: BanUserUndoParams + public var tenantId: String? + public var sso: String? + + public init(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil) { + self.banUserUndoParams = banUserUndoParams + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter banUserUndoParams: (body) @@ -1267,8 +1807,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postBanUserUndoWithRequestBuilder(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserUndo(request: ApiPostBanUserUndoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postBanUserUndoWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1279,7 +1819,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserUndoWithRequestBuilder(request: ApiPostBanUserUndoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let banUserUndoParams = request.banUserUndoParams + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/ban-user/undo" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: banUserUndoParams, codableHelper: apiConfiguration.codableHelper) @@ -1301,6 +1844,25 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postBulkPreBanSummary. */ + public struct ApiPostBulkPreBanSummaryRequest: Sendable { + public var bulkPreBanParams: BulkPreBanParams + public var includeByUserIdAndEmail: Bool? + public var includeByIP: Bool? + public var includeByEmailDomain: Bool? + public var tenantId: String? + public var sso: String? + + public init(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + self.bulkPreBanParams = bulkPreBanParams + self.includeByUserIdAndEmail = includeByUserIdAndEmail + self.includeByIP = includeByIP + self.includeByEmailDomain = includeByEmailDomain + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter bulkPreBanParams: (body) @@ -1312,8 +1874,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkPreBanSummary */ - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { - return try await postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postBulkPreBanSummary(request: ApiPostBulkPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { + return try await postBulkPreBanSummaryWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1327,7 +1889,13 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBulkPreBanSummaryWithRequestBuilder(request: ApiPostBulkPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let bulkPreBanParams = request.bulkPreBanParams + let includeByUserIdAndEmail = request.includeByUserIdAndEmail + let includeByIP = request.includeByIP + let includeByEmailDomain = request.includeByEmailDomain + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/bulk-pre-ban-summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkPreBanParams, codableHelper: apiConfiguration.codableHelper) @@ -1352,6 +1920,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postCommentsByIds. */ + public struct ApiPostCommentsByIdsRequest: Sendable { + public var commentsByIdsParams: CommentsByIdsParams + public var tenantId: String? + public var sso: String? + + public init(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil) { + self.commentsByIdsParams = commentsByIdsParams + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter commentsByIdsParams: (body) @@ -1360,8 +1941,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIChildCommentsResponse */ - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await postCommentsByIdsWithRequestBuilder(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postCommentsByIds(request: ApiPostCommentsByIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { + return try await postCommentsByIdsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1372,7 +1953,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postCommentsByIdsWithRequestBuilder(request: ApiPostCommentsByIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentsByIdsParams = request.commentsByIdsParams + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/comments-by-ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: commentsByIdsParams, codableHelper: apiConfiguration.codableHelper) @@ -1394,29 +1978,48 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postFlagComment. */ + public struct ApiPostFlagCommentRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postFlagCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postFlagComment(request: ApiPostFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postFlagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/flag-comment/{commentId} - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postFlagCommentWithRequestBuilder(request: ApiPostFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1426,8 +2029,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1442,29 +2045,48 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postRemoveComment. */ + public struct ApiPostRemoveCommentRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: PostRemoveCommentResponse */ - open class func postRemoveComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { - return try await postRemoveCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postRemoveComment(request: ApiPostRemoveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { + return try await postRemoveCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/remove-comment/{commentId} - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postRemoveCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postRemoveCommentWithRequestBuilder(request: ApiPostRemoveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/remove-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1474,8 +2096,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1490,29 +2112,48 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postRestoreDeletedComment. */ + public struct ApiPostRestoreDeletedCommentRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postRestoreDeletedCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postRestoreDeletedComment(request: ApiPostRestoreDeletedCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postRestoreDeletedCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postRestoreDeletedCommentWithRequestBuilder(request: ApiPostRestoreDeletedCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1522,8 +2163,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1538,31 +2179,53 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postSetCommentApprovalStatus. */ + public struct ApiPostSetCommentApprovalStatusRequest: Sendable { + public var commentId: String + public var approved: Bool? + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, approved: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.approved = approved + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter approved: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: SetCommentApprovedResponse */ - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { - return try await postSetCommentApprovalStatusWithRequestBuilder(commentId: commentId, approved: approved, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentApprovalStatus(request: ApiPostSetCommentApprovalStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { + return try await postSetCommentApprovalStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} - parameter commentId: (path) - parameter approved: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentApprovalStatusWithRequestBuilder(request: ApiPostSetCommentApprovalStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let approved = request.approved + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1573,8 +2236,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "approved": (wrappedValue: approved?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1589,31 +2252,53 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postSetCommentReviewStatus. */ + public struct ApiPostSetCommentReviewStatusRequest: Sendable { + public var commentId: String + public var reviewed: Bool? + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, reviewed: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.reviewed = reviewed + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter reviewed: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentReviewStatusWithRequestBuilder(commentId: commentId, reviewed: reviewed, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentReviewStatus(request: ApiPostSetCommentReviewStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postSetCommentReviewStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId} - parameter commentId: (path) - parameter reviewed: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentReviewStatusWithRequestBuilder(request: ApiPostSetCommentReviewStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let reviewed = request.reviewed + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1624,8 +2309,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "reviewed": (wrappedValue: reviewed?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1640,19 +2325,38 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postSetCommentSpamStatus. */ + public struct ApiPostSetCommentSpamStatusRequest: Sendable { + public var commentId: String + public var spam: Bool? + public var permNotSpam: Bool? + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.spam = spam + self.permNotSpam = permNotSpam + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter spam: (query) (optional) - parameter permNotSpam: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentSpamStatusWithRequestBuilder(commentId: commentId, spam: spam, permNotSpam: permNotSpam, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentSpamStatus(request: ApiPostSetCommentSpamStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postSetCommentSpamStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1660,13 +2364,19 @@ open class ModerationAPI { - parameter commentId: (path) - parameter spam: (query) (optional) - parameter permNotSpam: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentSpamStatusWithRequestBuilder(request: ApiPostSetCommentSpamStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let spam = request.spam + let permNotSpam = request.permNotSpam + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1678,8 +2388,8 @@ open class ModerationAPI { localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "spam": (wrappedValue: spam?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "permNotSpam": (wrappedValue: permNotSpam?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1694,31 +2404,53 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postSetCommentText. */ + public struct ApiPostSetCommentTextRequest: Sendable { + public var commentId: String + public var setCommentTextParams: SetCommentTextParams + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, setCommentTextParams: SetCommentTextParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.setCommentTextParams = setCommentTextParams + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter setCommentTextParams: (body) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: SetCommentTextResponse */ - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { - return try await postSetCommentTextWithRequestBuilder(commentId: commentId, setCommentTextParams: setCommentTextParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentText(request: ApiPostSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { + return try await postSetCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/set-comment-text/{commentId} - parameter commentId: (path) - parameter setCommentTextParams: (body) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentTextWithRequestBuilder(request: ApiPostSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let setCommentTextParams = request.setCommentTextParams + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1728,8 +2460,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1744,29 +2476,48 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postUnFlagComment. */ + public struct ApiPostUnFlagCommentRequest: Sendable { + public var commentId: String + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postUnFlagCommentWithRequestBuilder(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postUnFlagComment(request: ApiPostUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postUnFlagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/un-flag-comment/{commentId} - parameter commentId: (path) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postUnFlagCommentWithRequestBuilder(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postUnFlagCommentWithRequestBuilder(request: ApiPostUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/un-flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1776,8 +2527,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1792,31 +2543,53 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for postVote. */ + public struct ApiPostVoteRequest: Sendable { + public var commentId: String + public var direction: String? + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(commentId: String, direction: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.commentId = commentId + self.direction = direction + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter commentId: (path) - parameter direction: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await postVoteWithRequestBuilder(commentId: commentId, direction: direction, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func postVote(request: ApiPostVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await postVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** - POST /auth/my-account/moderate-comments/vote/{commentId} - parameter commentId: (path) - parameter direction: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postVoteWithRequestBuilder(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postVoteWithRequestBuilder(request: ApiPostVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = request.commentId + let direction = request.direction + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1827,8 +2600,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ "direction": (wrappedValue: direction?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1843,19 +2616,38 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for putAwardBadge. */ + public struct ApiPutAwardBadgeRequest: Sendable { + public var badgeId: String + public var userId: String? + public var commentId: String? + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.badgeId = badgeId + self.userId = userId + self.commentId = commentId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: AwardUserBadgeResponse */ - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { - return try await putAwardBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putAwardBadge(request: ApiPutAwardBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { + return try await putAwardBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1863,13 +2655,19 @@ open class ModerationAPI { - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putAwardBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putAwardBadgeWithRequestBuilder(request: ApiPutAwardBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let badgeId = request.badgeId + let userId = request.userId + let commentId = request.commentId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/award-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1879,8 +2677,8 @@ open class ModerationAPI { "badgeId": (wrappedValue: badgeId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1895,6 +2693,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for putCloseThread. */ + public struct ApiPutCloseThreadRequest: Sendable { + public var urlId: String + public var tenantId: String? + public var sso: String? + + public init(urlId: String, tenantId: String? = nil, sso: String? = nil) { + self.urlId = urlId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter urlId: (query) @@ -1903,8 +2714,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putCloseThreadWithRequestBuilder(urlId: urlId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putCloseThread(request: ApiPutCloseThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await putCloseThreadWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1915,7 +2726,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putCloseThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putCloseThreadWithRequestBuilder(request: ApiPutCloseThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let urlId = request.urlId + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/close-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1938,19 +2752,38 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for putRemoveBadge. */ + public struct ApiPutRemoveBadgeRequest: Sendable { + public var badgeId: String + public var userId: String? + public var commentId: String? + public var tenantId: String? + public var broadcastId: String? + public var sso: String? + + public init(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.badgeId = badgeId + self.userId = userId + self.commentId = commentId + self.tenantId = tenantId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RemoveUserBadgeResponse */ - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { - return try await putRemoveBadgeWithRequestBuilder(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putRemoveBadge(request: ApiPutRemoveBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { + return try await putRemoveBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1958,13 +2791,19 @@ open class ModerationAPI { - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter broadcastId: (query) (optional) - parameter tenantId: (query) (optional) + - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putRemoveBadgeWithRequestBuilder(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putRemoveBadgeWithRequestBuilder(request: ApiPutRemoveBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let badgeId = request.badgeId + let userId = request.userId + let commentId = request.commentId + let tenantId = request.tenantId + let broadcastId = request.broadcastId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/remove-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1974,8 +2813,8 @@ open class ModerationAPI { "badgeId": (wrappedValue: badgeId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1990,6 +2829,19 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for putReopenThread. */ + public struct ApiPutReopenThreadRequest: Sendable { + public var urlId: String + public var tenantId: String? + public var sso: String? + + public init(urlId: String, tenantId: String? = nil, sso: String? = nil) { + self.urlId = urlId + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter urlId: (query) @@ -1998,8 +2850,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putReopenThreadWithRequestBuilder(urlId: urlId, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func putReopenThread(request: ApiPutReopenThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await putReopenThreadWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2010,7 +2862,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putReopenThreadWithRequestBuilder(urlId: String, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putReopenThreadWithRequestBuilder(request: ApiPutReopenThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let urlId = request.urlId + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/reopen-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2033,6 +2888,21 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for setTrustFactor. */ + public struct ApiSetTrustFactorRequest: Sendable { + public var userId: String? + public var trustFactor: String? + public var tenantId: String? + public var sso: String? + + public init(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil) { + self.userId = userId + self.trustFactor = trustFactor + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter userId: (query) (optional) @@ -2042,8 +2912,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SetUserTrustFactorResponse */ - open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { - return try await setTrustFactorWithRequestBuilder(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func setTrustFactor(request: ApiSetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { + return try await setTrustFactorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2055,7 +2925,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func setTrustFactorWithRequestBuilder(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setTrustFactorWithRequestBuilder(request: ApiSetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = request.userId + let trustFactor = request.trustFactor + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/auth/my-account/moderate-comments/set-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil diff --git a/client/FastCommentsSwift/APIs/PublicAPI.swift b/client/FastCommentsSwift/APIs/PublicAPI.swift index e140e85..283f1c6 100644 --- a/client/FastCommentsSwift/APIs/PublicAPI.swift +++ b/client/FastCommentsSwift/APIs/PublicAPI.swift @@ -9,6 +9,21 @@ import Foundation open class PublicAPI { + /** Request parameters for blockFromCommentPublic. */ + public struct ApiBlockFromCommentPublicRequest: Sendable { + public var tenantId: String + public var commentId: String + public var publicBlockFromCommentParams: PublicBlockFromCommentParams + public var sso: String? + + public init(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.publicBlockFromCommentParams = publicBlockFromCommentParams + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -18,8 +33,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BlockSuccess */ - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { - return try await blockFromCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func blockFromCommentPublic(request: ApiBlockFromCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + return try await blockFromCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -31,7 +46,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockFromCommentPublicWithRequestBuilder(request: ApiBlockFromCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let publicBlockFromCommentParams = request.publicBlockFromCommentParams + let sso = request.sso var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -56,6 +75,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for checkedCommentsForBlocked. */ + public struct ApiCheckedCommentsForBlockedRequest: Sendable { + public var tenantId: String + public var commentIds: String + public var sso: String? + + public init(tenantId: String, commentIds: String, sso: String? = nil) { + self.tenantId = tenantId + self.commentIds = commentIds + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -64,8 +96,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CheckBlockedCommentsResponse */ - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { - return try await checkedCommentsForBlockedWithRequestBuilder(tenantId: tenantId, commentIds: commentIds, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func checkedCommentsForBlocked(request: ApiCheckedCommentsForBlockedRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { + return try await checkedCommentsForBlockedWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -76,7 +108,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func checkedCommentsForBlockedWithRequestBuilder(request: ApiCheckedCommentsForBlockedRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentIds = request.commentIds + let sso = request.sso let localVariablePath = "/check-blocked-comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -99,6 +134,25 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for createCommentPublic. */ + public struct ApiCreateCommentPublicRequest: Sendable { + public var tenantId: String + public var urlId: String + public var broadcastId: String + public var commentData: CommentData + public var sessionId: String? + public var sso: String? + + public init(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.broadcastId = broadcastId + self.commentData = commentData + self.sessionId = sessionId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -110,8 +164,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SaveCommentsResponseWithPresence */ - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { - return try await createCommentPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func createCommentPublic(request: ApiCreateCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { + return try await createCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -125,7 +179,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createCommentPublicWithRequestBuilder(request: ApiCreateCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let broadcastId = request.broadcastId + let commentData = request.commentData + let sessionId = request.sessionId + let sso = request.sso var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -152,6 +212,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for createFeedPostPublic. */ + public struct ApiCreateFeedPostPublicRequest: Sendable { + public var tenantId: String + public var createFeedPostParams: CreateFeedPostParams + public var broadcastId: String? + public var sso: String? + + public init(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.createFeedPostParams = createFeedPostParams + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -161,8 +236,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostResponse */ - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { - return try await createFeedPostPublicWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func createFeedPostPublic(request: ApiCreateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + return try await createFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -174,7 +249,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostPublicWithRequestBuilder(request: ApiCreateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let createFeedPostParams = request.createFeedPostParams + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -199,6 +278,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for createV1PageReact. */ + public struct ApiCreateV1PageReactRequest: Sendable { + public var tenantId: String + public var urlId: String + public var title: String? + + public init(tenantId: String, urlId: String, title: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.title = title + } + } + /** - parameter tenantId: (path) @@ -207,8 +299,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await createV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, title: title, apiConfiguration: apiConfiguration).execute().body + open class func createV1PageReact(request: ApiCreateV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await createV1PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -219,7 +311,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createV1PageReactWithRequestBuilder(request: ApiCreateV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let title = request.title var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -244,6 +339,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for createV2PageReact. */ + public struct ApiCreateV2PageReactRequest: Sendable { + public var tenantId: String + public var urlId: String + public var id: String + public var title: String? + + public init(tenantId: String, urlId: String, id: String, title: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.id = id + self.title = title + } + } + /** - parameter tenantId: (path) @@ -253,8 +363,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await createV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, title: title, apiConfiguration: apiConfiguration).execute().body + open class func createV2PageReact(request: ApiCreateV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await createV2PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -266,7 +376,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createV2PageReactWithRequestBuilder(request: ApiCreateV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let id = request.id + let title = request.title var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -292,6 +406,23 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteCommentPublic. */ + public struct ApiDeleteCommentPublicRequest: Sendable { + public var tenantId: String + public var commentId: String + public var broadcastId: String + public var editKey: String? + public var sso: String? + + public init(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.broadcastId = broadcastId + self.editKey = editKey + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -302,8 +433,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPIDeleteCommentResponse */ - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { - return try await deleteCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func deleteCommentPublic(request: ApiDeleteCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { + return try await deleteCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -316,7 +447,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentPublicWithRequestBuilder(request: ApiDeleteCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let broadcastId = request.broadcastId + let editKey = request.editKey + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -345,6 +481,27 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteCommentVote. */ + public struct ApiDeleteCommentVoteRequest: Sendable { + public var tenantId: String + public var commentId: String + public var voteId: String + public var urlId: String + public var broadcastId: String + public var editKey: String? + public var sso: String? + + public init(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.voteId = voteId + self.urlId = urlId + self.broadcastId = broadcastId + self.editKey = editKey + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -357,8 +514,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteCommentVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func deleteCommentVote(request: ApiDeleteCommentVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteCommentVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -373,7 +530,14 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentVoteWithRequestBuilder(request: ApiDeleteCommentVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let voteId = request.voteId + let urlId = request.urlId + let broadcastId = request.broadcastId + let editKey = request.editKey + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/vote/{voteId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -406,6 +570,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteFeedPostPublic. */ + public struct ApiDeleteFeedPostPublicRequest: Sendable { + public var tenantId: String + public var postId: String + public var broadcastId: String? + public var sso: String? + + public init(tenantId: String, postId: String, broadcastId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.postId = postId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -415,8 +594,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteFeedPostPublicResponse */ - open class func deleteFeedPostPublic(tenantId: String, postId: String, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteFeedPostPublicResponse { - return try await deleteFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func deleteFeedPostPublic(request: ApiDeleteFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteFeedPostPublicResponse { + return try await deleteFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -428,7 +607,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteFeedPostPublicWithRequestBuilder(request: ApiDeleteFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let postId = request.postId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/feed-posts/{tenantId}/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -456,6 +639,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteV1PageReact. */ + public struct ApiDeleteV1PageReactRequest: Sendable { + public var tenantId: String + public var urlId: String + + public init(tenantId: String, urlId: String) { + self.tenantId = tenantId + self.urlId = urlId + } + } + /** - parameter tenantId: (path) @@ -463,8 +657,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func deleteV1PageReact(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await deleteV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body + open class func deleteV1PageReact(request: ApiDeleteV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await deleteV1PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -474,7 +668,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteV1PageReactWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteV1PageReactWithRequestBuilder(request: ApiDeleteV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -498,6 +694,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for deleteV2PageReact. */ + public struct ApiDeleteV2PageReactRequest: Sendable { + public var tenantId: String + public var urlId: String + public var id: String + + public init(tenantId: String, urlId: String, id: String) { + self.tenantId = tenantId + self.urlId = urlId + self.id = id + } + } + /** - parameter tenantId: (path) @@ -506,8 +715,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await deleteV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func deleteV2PageReact(request: ApiDeleteV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await deleteV2PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -518,7 +727,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteV2PageReactWithRequestBuilder(request: ApiDeleteV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let id = request.id var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -543,6 +755,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for flagCommentPublic. */ + public struct ApiFlagCommentPublicRequest: Sendable { + public var tenantId: String + public var commentId: String + public var isFlagged: Bool + public var sso: String? + + public init(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.isFlagged = isFlagged + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -552,8 +779,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await flagCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func flagCommentPublic(request: ApiFlagCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await flagCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -565,7 +792,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentPublicWithRequestBuilder(request: ApiFlagCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let isFlagged = request.isFlagged + let sso = request.sso var localVariablePath = "/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -591,6 +822,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCommentText. */ + public struct ApiGetCommentTextRequest: Sendable { + public var tenantId: String + public var commentId: String + public var editKey: String? + public var sso: String? + + public init(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.editKey = editKey + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -600,8 +846,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPIGetCommentTextResponse */ - open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { - return try await getCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCommentText(request: ApiGetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { + return try await getCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -613,7 +859,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentTextWithRequestBuilder(request: ApiGetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let editKey = request.editKey + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -641,6 +891,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCommentVoteUserNames. */ + public struct ApiGetCommentVoteUserNamesRequest: Sendable { + public var tenantId: String + public var commentId: String + public var dir: Int + public var sso: String? + + public init(tenantId: String, commentId: String, dir: Int, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.dir = dir + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -650,8 +915,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentVoteUserNamesSuccessResponse */ - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { - return try await getCommentVoteUserNamesWithRequestBuilder(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getCommentVoteUserNames(request: ApiGetCommentVoteUserNamesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { + return try await getCommentVoteUserNamesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -663,7 +928,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentVoteUserNamesWithRequestBuilder(request: ApiGetCommentVoteUserNamesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let dir = request.dir + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/votes" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -691,6 +960,27 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCommentsForUser. */ + public struct ApiGetCommentsForUserRequest: Sendable { + public var userId: String? + public var direction: SortDirections? + public var repliesToUserId: String? + public var page: Double? + public var includei10n: Bool? + public var locale: String? + public var isCrawler: Bool? + + public init(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil) { + self.userId = userId + self.direction = direction + self.repliesToUserId = repliesToUserId + self.page = page + self.includei10n = includei10n + self.locale = locale + self.isCrawler = isCrawler + } + } + /** - parameter userId: (query) (optional) @@ -703,8 +993,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentsForUserResponse */ - open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { - return try await getCommentsForUserWithRequestBuilder(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler, apiConfiguration: apiConfiguration).execute().body + open class func getCommentsForUser(request: ApiGetCommentsForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { + return try await getCommentsForUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -719,7 +1009,14 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsForUserWithRequestBuilder(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsForUserWithRequestBuilder(request: ApiGetCommentsForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = request.userId + let direction = request.direction + let repliesToUserId = request.repliesToUserId + let page = request.page + let includei10n = request.includei10n + let locale = request.locale + let isCrawler = request.isCrawler let localVariablePath = "/comments-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -746,6 +1043,69 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getCommentsPublic. */ + public struct ApiGetCommentsPublicRequest: Sendable { + public var tenantId: String + public var urlId: String + public var page: Int? + public var direction: SortDirections? + public var sso: String? + public var skip: Int? + public var skipChildren: Int? + public var limit: Int? + public var limitChildren: Int? + public var countChildren: Bool? + public var fetchPageForCommentId: String? + public var includeConfig: Bool? + public var countAll: Bool? + public var includei10n: Bool? + public var locale: String? + public var modules: String? + public var isCrawler: Bool? + public var includeNotificationCount: Bool? + public var asTree: Bool? + public var maxTreeDepth: Int? + public var useFullTranslationIds: Bool? + public var parentId: String? + public var searchText: String? + public var hashTags: [String]? + public var userId: String? + public var customConfigStr: String? + public var afterCommentId: String? + public var beforeCommentId: String? + + public init(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.page = page + self.direction = direction + self.sso = sso + self.skip = skip + self.skipChildren = skipChildren + self.limit = limit + self.limitChildren = limitChildren + self.countChildren = countChildren + self.fetchPageForCommentId = fetchPageForCommentId + self.includeConfig = includeConfig + self.countAll = countAll + self.includei10n = includei10n + self.locale = locale + self.modules = modules + self.isCrawler = isCrawler + self.includeNotificationCount = includeNotificationCount + self.asTree = asTree + self.maxTreeDepth = maxTreeDepth + self.useFullTranslationIds = useFullTranslationIds + self.parentId = parentId + self.searchText = searchText + self.hashTags = hashTags + self.userId = userId + self.customConfigStr = customConfigStr + self.afterCommentId = afterCommentId + self.beforeCommentId = beforeCommentId + } + } + /** - parameter tenantId: (path) @@ -779,8 +1139,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentsResponseWithPresencePublicComment */ - open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { - return try await getCommentsPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId, apiConfiguration: apiConfiguration).execute().body + open class func getCommentsPublic(request: ApiGetCommentsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { + return try await getCommentsPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -817,7 +1177,35 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsPublicWithRequestBuilder(request: ApiGetCommentsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let page = request.page + let direction = request.direction + let sso = request.sso + let skip = request.skip + let skipChildren = request.skipChildren + let limit = request.limit + let limitChildren = request.limitChildren + let countChildren = request.countChildren + let fetchPageForCommentId = request.fetchPageForCommentId + let includeConfig = request.includeConfig + let countAll = request.countAll + let includei10n = request.includei10n + let locale = request.locale + let modules = request.modules + let isCrawler = request.isCrawler + let includeNotificationCount = request.includeNotificationCount + let asTree = request.asTree + let maxTreeDepth = request.maxTreeDepth + let useFullTranslationIds = request.useFullTranslationIds + let parentId = request.parentId + let searchText = request.searchText + let hashTags = request.hashTags + let userId = request.userId + let customConfigStr = request.customConfigStr + let afterCommentId = request.afterCommentId + let beforeCommentId = request.beforeCommentId var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -867,6 +1255,23 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getEventLog. */ + public struct ApiGetEventLogRequest: Sendable { + public var tenantId: String + public var urlId: String + public var userIdWS: String + public var startTime: Int64 + public var endTime: Int64? + + public init(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.userIdWS = userIdWS + self.startTime = startTime + self.endTime = endTime + } + } + /** - parameter tenantId: (path) @@ -877,8 +1282,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEventLogResponse */ - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { - return try await getEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body + open class func getEventLog(request: ApiGetEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + return try await getEventLogWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -892,7 +1297,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getEventLogWithRequestBuilder(request: ApiGetEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let userIdWS = request.userIdWS + let startTime = request.startTime + let endTime = request.endTime var localVariablePath = "/event-log/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -919,6 +1329,27 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getFeedPostsPublic. */ + public struct ApiGetFeedPostsPublicRequest: Sendable { + public var tenantId: String + public var afterId: String? + public var limit: Int? + public var tags: [String]? + public var sso: String? + public var isCrawler: Bool? + public var includeUserInfo: Bool? + + public init(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil) { + self.tenantId = tenantId + self.afterId = afterId + self.limit = limit + self.tags = tags + self.sso = sso + self.isCrawler = isCrawler + self.includeUserInfo = includeUserInfo + } + } + /** - parameter tenantId: (path) @@ -931,8 +1362,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicFeedPostsResponse */ - open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { - return try await getFeedPostsPublicWithRequestBuilder(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPostsPublic(request: ApiGetFeedPostsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { + return try await getFeedPostsPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -948,7 +1379,14 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsPublicWithRequestBuilder(request: ApiGetFeedPostsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let afterId = request.afterId + let limit = request.limit + let tags = request.tags + let sso = request.sso + let isCrawler = request.isCrawler + let includeUserInfo = request.includeUserInfo var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -977,6 +1415,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getFeedPostsStats. */ + public struct ApiGetFeedPostsStatsRequest: Sendable { + public var tenantId: String + public var postIds: [String] + public var sso: String? + + public init(tenantId: String, postIds: [String], sso: String? = nil) { + self.tenantId = tenantId + self.postIds = postIds + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -985,8 +1436,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FeedPostsStatsResponse */ - open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { - return try await getFeedPostsStatsWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPostsStats(request: ApiGetFeedPostsStatsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { + return try await getFeedPostsStatsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -997,7 +1448,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsStatsWithRequestBuilder(request: ApiGetFeedPostsStatsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let postIds = request.postIds + let sso = request.sso var localVariablePath = "/feed-posts/{tenantId}/stats" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1022,6 +1476,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getGifLarge. */ + public struct ApiGetGifLargeRequest: Sendable { + public var tenantId: String + public var largeInternalURLSanitized: String + + public init(tenantId: String, largeInternalURLSanitized: String) { + self.tenantId = tenantId + self.largeInternalURLSanitized = largeInternalURLSanitized + } + } + /** - parameter tenantId: (path) @@ -1029,8 +1494,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GifGetLargeResponse */ - open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GifGetLargeResponse { - return try await getGifLargeWithRequestBuilder(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized, apiConfiguration: apiConfiguration).execute().body + open class func getGifLarge(request: ApiGetGifLargeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GifGetLargeResponse { + return try await getGifLargeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1040,7 +1505,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifLargeWithRequestBuilder(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifLargeWithRequestBuilder(request: ApiGetGifLargeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let largeInternalURLSanitized = request.largeInternalURLSanitized var localVariablePath = "/gifs/get-large/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1064,6 +1531,23 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getGifsSearch. */ + public struct ApiGetGifsSearchRequest: Sendable { + public var tenantId: String + public var search: String + public var locale: String? + public var rating: String? + public var page: Double? + + public init(tenantId: String, search: String, locale: String? = nil, rating: String? = nil, page: Double? = nil) { + self.tenantId = tenantId + self.search = search + self.locale = locale + self.rating = rating + self.page = page + } + } + /** - parameter tenantId: (path) @@ -1074,8 +1558,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetGifsSearchResponse */ - open class func getGifsSearch(tenantId: String, search: String, locale: String? = nil, rating: String? = nil, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsSearchResponse { - return try await getGifsSearchWithRequestBuilder(tenantId: tenantId, search: search, locale: locale, rating: rating, page: page, apiConfiguration: apiConfiguration).execute().body + open class func getGifsSearch(request: ApiGetGifsSearchRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsSearchResponse { + return try await getGifsSearchWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1088,7 +1572,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifsSearchWithRequestBuilder(tenantId: String, search: String, locale: String? = nil, rating: String? = nil, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifsSearchWithRequestBuilder(request: ApiGetGifsSearchRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let search = request.search + let locale = request.locale + let rating = request.rating + let page = request.page var localVariablePath = "/gifs/search/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1115,6 +1604,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getGifsTrending. */ + public struct ApiGetGifsTrendingRequest: Sendable { + public var tenantId: String + public var locale: String? + public var rating: String? + public var page: Double? + + public init(tenantId: String, locale: String? = nil, rating: String? = nil, page: Double? = nil) { + self.tenantId = tenantId + self.locale = locale + self.rating = rating + self.page = page + } + } + /** - parameter tenantId: (path) @@ -1124,8 +1628,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetGifsTrendingResponse */ - open class func getGifsTrending(tenantId: String, locale: String? = nil, rating: String? = nil, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsTrendingResponse { - return try await getGifsTrendingWithRequestBuilder(tenantId: tenantId, locale: locale, rating: rating, page: page, apiConfiguration: apiConfiguration).execute().body + open class func getGifsTrending(request: ApiGetGifsTrendingRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsTrendingResponse { + return try await getGifsTrendingWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1137,7 +1641,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifsTrendingWithRequestBuilder(tenantId: String, locale: String? = nil, rating: String? = nil, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifsTrendingWithRequestBuilder(request: ApiGetGifsTrendingRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let locale = request.locale + let rating = request.rating + let page = request.page var localVariablePath = "/gifs/trending/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1163,6 +1671,23 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getGlobalEventLog. */ + public struct ApiGetGlobalEventLogRequest: Sendable { + public var tenantId: String + public var urlId: String + public var userIdWS: String + public var startTime: Int64 + public var endTime: Int64? + + public init(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.userIdWS = userIdWS + self.startTime = startTime + self.endTime = endTime + } + } + /** - parameter tenantId: (path) @@ -1173,8 +1698,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEventLogResponse */ - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { - return try await getGlobalEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body + open class func getGlobalEventLog(request: ApiGetGlobalEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + return try await getGlobalEventLogWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1188,7 +1713,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGlobalEventLogWithRequestBuilder(request: ApiGetGlobalEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let userIdWS = request.userIdWS + let startTime = request.startTime + let endTime = request.endTime var localVariablePath = "/event-log/global/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1215,6 +1745,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getOfflineUsers. */ + public struct ApiGetOfflineUsersRequest: Sendable { + public var tenantId: String + public var urlId: String + public var afterName: String? + public var afterUserId: String? + + public init(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.afterName = afterName + self.afterUserId = afterUserId + } + } + /** - parameter tenantId: (path) @@ -1224,8 +1769,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersOfflineResponse */ - open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { - return try await getOfflineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId, apiConfiguration: apiConfiguration).execute().body + open class func getOfflineUsers(request: ApiGetOfflineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { + return try await getOfflineUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1238,7 +1783,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOfflineUsersWithRequestBuilder(request: ApiGetOfflineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let afterName = request.afterName + let afterUserId = request.afterUserId var localVariablePath = "/pages/{tenantId}/users/offline" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1264,6 +1813,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getOnlineUsers. */ + public struct ApiGetOnlineUsersRequest: Sendable { + public var tenantId: String + public var urlId: String + public var afterName: String? + public var afterUserId: String? + + public init(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.afterName = afterName + self.afterUserId = afterUserId + } + } + /** - parameter tenantId: (path) @@ -1273,8 +1837,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersOnlineResponse */ - open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { - return try await getOnlineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId, apiConfiguration: apiConfiguration).execute().body + open class func getOnlineUsers(request: ApiGetOnlineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { + return try await getOnlineUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1287,7 +1851,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOnlineUsersWithRequestBuilder(request: ApiGetOnlineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let afterName = request.afterName + let afterUserId = request.afterUserId var localVariablePath = "/pages/{tenantId}/users/online" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1313,6 +1881,25 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getPagesPublic. */ + public struct ApiGetPagesPublicRequest: Sendable { + public var tenantId: String + public var cursor: String? + public var limit: Int? + public var q: String? + public var sortBy: PagesSortBy? + public var hasComments: Bool? + + public init(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil) { + self.tenantId = tenantId + self.cursor = cursor + self.limit = limit + self.q = q + self.sortBy = sortBy + self.hasComments = hasComments + } + } + /** - parameter tenantId: (path) @@ -1324,8 +1911,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPublicPagesResponse */ - open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { - return try await getPagesPublicWithRequestBuilder(tenantId: tenantId, cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments, apiConfiguration: apiConfiguration).execute().body + open class func getPagesPublic(request: ApiGetPagesPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { + return try await getPagesPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1340,7 +1927,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPagesPublicWithRequestBuilder(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPagesPublicWithRequestBuilder(request: ApiGetPagesPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let cursor = request.cursor + let limit = request.limit + let q = request.q + let sortBy = request.sortBy + let hasComments = request.hasComments var localVariablePath = "/pages/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1368,6 +1961,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getTranslations. */ + public struct ApiGetTranslationsRequest: Sendable { + public var namespace: String + public var component: String + public var locale: String? + public var useFullTranslationIds: Bool? + + public init(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil) { + self.namespace = namespace + self.component = component + self.locale = locale + self.useFullTranslationIds = useFullTranslationIds + } + } + /** - parameter namespace: (path) @@ -1377,8 +1985,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTranslationsResponse */ - open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { - return try await getTranslationsWithRequestBuilder(namespace: namespace, component: component, locale: locale, useFullTranslationIds: useFullTranslationIds, apiConfiguration: apiConfiguration).execute().body + open class func getTranslations(request: ApiGetTranslationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { + return try await getTranslationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1390,7 +1998,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTranslationsWithRequestBuilder(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTranslationsWithRequestBuilder(request: ApiGetTranslationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let namespace = request.namespace + let component = request.component + let locale = request.locale + let useFullTranslationIds = request.useFullTranslationIds var localVariablePath = "/translations/{namespace}/{component}" let namespacePreEscape = "\(APIHelper.mapValueToPathItem(namespace))" let namespacePostEscape = namespacePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1418,6 +2030,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserNotificationCount. */ + public struct ApiGetUserNotificationCountRequest: Sendable { + public var tenantId: String + public var sso: String? + + public init(tenantId: String, sso: String? = nil) { + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -1425,8 +2048,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserNotificationCountResponse */ - open class func getUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { - return try await getUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserNotificationCount(request: ApiGetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { + return try await getUserNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1436,7 +2059,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationCountWithRequestBuilder(request: ApiGetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/user-notifications/get-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1458,6 +2083,37 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserNotifications. */ + public struct ApiGetUserNotificationsRequest: Sendable { + public var tenantId: String + public var urlId: String? + public var pageSize: Int? + public var afterId: String? + public var includeContext: Bool? + public var afterCreatedAt: Int64? + public var unreadOnly: Bool? + public var dmOnly: Bool? + public var noDm: Bool? + public var includeTranslations: Bool? + public var includeTenantNotifications: Bool? + public var sso: String? + + public init(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.pageSize = pageSize + self.afterId = afterId + self.includeContext = includeContext + self.afterCreatedAt = afterCreatedAt + self.unreadOnly = unreadOnly + self.dmOnly = dmOnly + self.noDm = noDm + self.includeTranslations = includeTranslations + self.includeTenantNotifications = includeTenantNotifications + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -1475,8 +2131,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetMyNotificationsResponse */ - open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { - return try await getUserNotificationsWithRequestBuilder(tenantId: tenantId, urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserNotifications(request: ApiGetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { + return try await getUserNotificationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1496,7 +2152,19 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserNotificationsWithRequestBuilder(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationsWithRequestBuilder(request: ApiGetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let pageSize = request.pageSize + let afterId = request.afterId + let includeContext = request.includeContext + let afterCreatedAt = request.afterCreatedAt + let unreadOnly = request.unreadOnly + let dmOnly = request.dmOnly + let noDm = request.noDm + let includeTranslations = request.includeTranslations + let includeTenantNotifications = request.includeTenantNotifications + let sso = request.sso let localVariablePath = "/user-notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1528,6 +2196,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserPresenceStatuses. */ + public struct ApiGetUserPresenceStatusesRequest: Sendable { + public var tenantId: String + public var urlIdWS: String + public var userIds: String + + public init(tenantId: String, urlIdWS: String, userIds: String) { + self.tenantId = tenantId + self.urlIdWS = urlIdWS + self.userIds = userIds + } + } + /** - parameter tenantId: (query) @@ -1536,8 +2217,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserPresenceStatusesResponse */ - open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse { - return try await getUserPresenceStatusesWithRequestBuilder(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds, apiConfiguration: apiConfiguration).execute().body + open class func getUserPresenceStatuses(request: ApiGetUserPresenceStatusesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse { + return try await getUserPresenceStatusesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1548,7 +2229,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserPresenceStatusesWithRequestBuilder(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserPresenceStatusesWithRequestBuilder(request: ApiGetUserPresenceStatusesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlIdWS = request.urlIdWS + let userIds = request.userIds let localVariablePath = "/user-presence-status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1571,6 +2255,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUserReactsPublic. */ + public struct ApiGetUserReactsPublicRequest: Sendable { + public var tenantId: String + public var postIds: [String]? + public var sso: String? + + public init(tenantId: String, postIds: [String]? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.postIds = postIds + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -1579,8 +2276,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UserReactsResponse */ - open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { - return try await getUserReactsPublicWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func getUserReactsPublic(request: ApiGetUserReactsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { + return try await getUserReactsPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1591,7 +2288,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserReactsPublicWithRequestBuilder(tenantId: String, postIds: [String]? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserReactsPublicWithRequestBuilder(request: ApiGetUserReactsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let postIds = request.postIds + let sso = request.sso var localVariablePath = "/feed-posts/{tenantId}/user-reacts" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1616,6 +2316,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getUsersInfo. */ + public struct ApiGetUsersInfoRequest: Sendable { + public var tenantId: String + public var ids: String + + public init(tenantId: String, ids: String) { + self.tenantId = tenantId + self.ids = ids + } + } + /** - parameter tenantId: (path) @@ -1623,8 +2334,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersInfoResponse */ - open class func getUsersInfo(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersInfoResponse { - return try await getUsersInfoWithRequestBuilder(tenantId: tenantId, ids: ids, apiConfiguration: apiConfiguration).execute().body + open class func getUsersInfo(request: ApiGetUsersInfoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersInfoResponse { + return try await getUsersInfoWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1635,7 +2346,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUsersInfoWithRequestBuilder(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUsersInfoWithRequestBuilder(request: ApiGetUsersInfoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let ids = request.ids var localVariablePath = "/pages/{tenantId}/users/info" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1659,6 +2372,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getV1PageLikes. */ + public struct ApiGetV1PageLikesRequest: Sendable { + public var tenantId: String + public var urlId: String + + public init(tenantId: String, urlId: String) { + self.tenantId = tenantId + self.urlId = urlId + } + } + /** - parameter tenantId: (path) @@ -1666,8 +2390,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetV1PageLikes */ - open class func getV1PageLikes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikes { - return try await getV1PageLikesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body + open class func getV1PageLikes(request: ApiGetV1PageLikesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikes { + return try await getV1PageLikesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1677,7 +2401,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getV1PageLikesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV1PageLikesWithRequestBuilder(request: ApiGetV1PageLikesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1701,6 +2427,19 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getV2PageReactUsers. */ + public struct ApiGetV2PageReactUsersRequest: Sendable { + public var tenantId: String + public var urlId: String + public var id: String + + public init(tenantId: String, urlId: String, id: String) { + self.tenantId = tenantId + self.urlId = urlId + self.id = id + } + } + /** - parameter tenantId: (path) @@ -1709,8 +2448,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetV2PageReactUsersResponse */ - open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse { - return try await getV2PageReactUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body + open class func getV2PageReactUsers(request: ApiGetV2PageReactUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse { + return try await getV2PageReactUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1721,7 +2460,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getV2PageReactUsersWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV2PageReactUsersWithRequestBuilder(request: ApiGetV2PageReactUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let id = request.id var localVariablePath = "/page-reacts/v2/{tenantId}/list" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1746,6 +2488,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for getV2PageReacts. */ + public struct ApiGetV2PageReactsRequest: Sendable { + public var tenantId: String + public var urlId: String + + public init(tenantId: String, urlId: String) { + self.tenantId = tenantId + self.urlId = urlId + } + } + /** - parameter tenantId: (path) @@ -1753,8 +2506,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetV2PageReacts */ - open class func getV2PageReacts(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReacts { - return try await getV2PageReactsWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body + open class func getV2PageReacts(request: ApiGetV2PageReactsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReacts { + return try await getV2PageReactsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1764,7 +2517,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getV2PageReactsWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getV2PageReactsWithRequestBuilder(request: ApiGetV2PageReactsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1788,6 +2543,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for lockComment. */ + public struct ApiLockCommentRequest: Sendable { + public var tenantId: String + public var commentId: String + public var broadcastId: String + public var sso: String? + + public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -1797,8 +2567,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await lockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func lockComment(request: ApiLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await lockCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1810,7 +2580,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func lockCommentWithRequestBuilder(request: ApiLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/lock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1870,6 +2644,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for pinComment. */ + public struct ApiPinCommentRequest: Sendable { + public var tenantId: String + public var commentId: String + public var broadcastId: String + public var sso: String? + + public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -1879,8 +2668,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeCommentPinStatusResponse */ - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { - return try await pinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func pinComment(request: ApiPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + return try await pinCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1892,7 +2681,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func pinCommentWithRequestBuilder(request: ApiPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/pin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1920,6 +2713,25 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for reactFeedPostPublic. */ + public struct ApiReactFeedPostPublicRequest: Sendable { + public var tenantId: String + public var postId: String + public var reactBodyParams: ReactBodyParams + public var isUndo: Bool? + public var broadcastId: String? + public var sso: String? + + public init(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.postId = postId + self.reactBodyParams = reactBodyParams + self.isUndo = isUndo + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -1931,8 +2743,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ReactFeedPostResponse */ - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { - return try await reactFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func reactFeedPostPublic(request: ApiReactFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { + return try await reactFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1946,7 +2758,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func reactFeedPostPublicWithRequestBuilder(request: ApiReactFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let postId = request.postId + let reactBodyParams = request.reactBodyParams + let isUndo = request.isUndo + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/feed-posts/{tenantId}/react/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1975,6 +2793,17 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for resetUserNotificationCount. */ + public struct ApiResetUserNotificationCountRequest: Sendable { + public var tenantId: String + public var sso: String? + + public init(tenantId: String, sso: String? = nil) { + self.tenantId = tenantId + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -1982,8 +2811,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ResetUserNotificationsResponse */ - open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { - return try await resetUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func resetUserNotificationCount(request: ApiResetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + return try await resetUserNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -1993,7 +2822,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationCountWithRequestBuilder(request: ApiResetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let sso = request.sso let localVariablePath = "/user-notifications/reset-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2015,6 +2846,27 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for resetUserNotifications. */ + public struct ApiResetUserNotificationsRequest: Sendable { + public var tenantId: String + public var afterId: String? + public var afterCreatedAt: Int64? + public var unreadOnly: Bool? + public var dmOnly: Bool? + public var noDm: Bool? + public var sso: String? + + public init(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.afterId = afterId + self.afterCreatedAt = afterCreatedAt + self.unreadOnly = unreadOnly + self.dmOnly = dmOnly + self.noDm = noDm + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -2027,8 +2879,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ResetUserNotificationsResponse */ - open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { - return try await resetUserNotificationsWithRequestBuilder(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func resetUserNotifications(request: ApiResetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + return try await resetUserNotificationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2043,7 +2895,14 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func resetUserNotificationsWithRequestBuilder(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationsWithRequestBuilder(request: ApiResetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let afterId = request.afterId + let afterCreatedAt = request.afterCreatedAt + let unreadOnly = request.unreadOnly + let dmOnly = request.dmOnly + let noDm = request.noDm + let sso = request.sso let localVariablePath = "/user-notifications/reset" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2078,6 +2937,25 @@ open class PublicAPI { case site = "site" } + /** Request parameters for searchUsers. */ + public struct ApiSearchUsersRequest: Sendable { + public var tenantId: String + public var urlId: String + public var usernameStartsWith: String? + public var mentionGroupIds: [String]? + public var sso: String? + public var searchSection: SearchSection_searchUsers? + + public init(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.usernameStartsWith = usernameStartsWith + self.mentionGroupIds = mentionGroupIds + self.sso = sso + self.searchSection = searchSection + } + } + /** - parameter tenantId: (path) @@ -2089,8 +2967,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SearchUsersResult */ - open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { - return try await searchUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection, apiConfiguration: apiConfiguration).execute().body + open class func searchUsers(request: ApiSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { + return try await searchUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2104,7 +2982,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func searchUsersWithRequestBuilder(request: ApiSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let usernameStartsWith = request.usernameStartsWith + let mentionGroupIds = request.mentionGroupIds + let sso = request.sso + let searchSection = request.searchSection var localVariablePath = "/user-search/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2132,6 +3016,25 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for setCommentText. */ + public struct ApiSetCommentTextRequest: Sendable { + public var tenantId: String + public var commentId: String + public var broadcastId: String + public var commentTextUpdateRequest: CommentTextUpdateRequest + public var editKey: String? + public var sso: String? + + public init(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.broadcastId = broadcastId + self.commentTextUpdateRequest = commentTextUpdateRequest + self.editKey = editKey + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -2143,8 +3046,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPISetCommentTextResponse */ - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { - return try await setCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func setCommentText(request: ApiSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { + return try await setCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2158,7 +3061,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setCommentTextWithRequestBuilder(request: ApiSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let broadcastId = request.broadcastId + let commentTextUpdateRequest = request.commentTextUpdateRequest + let editKey = request.editKey + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/update-text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2187,6 +3096,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for unBlockCommentPublic. */ + public struct ApiUnBlockCommentPublicRequest: Sendable { + public var tenantId: String + public var commentId: String + public var publicBlockFromCommentParams: PublicBlockFromCommentParams + public var sso: String? + + public init(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.publicBlockFromCommentParams = publicBlockFromCommentParams + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -2196,8 +3120,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UnblockSuccess */ - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { - return try await unBlockCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func unBlockCommentPublic(request: ApiUnBlockCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + return try await unBlockCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2209,7 +3133,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockCommentPublicWithRequestBuilder(request: ApiUnBlockCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let publicBlockFromCommentParams = request.publicBlockFromCommentParams + let sso = request.sso var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2234,6 +3162,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for unLockComment. */ + public struct ApiUnLockCommentRequest: Sendable { + public var tenantId: String + public var commentId: String + public var broadcastId: String + public var sso: String? + + public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -2243,8 +3186,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await unLockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func unLockComment(request: ApiUnLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await unLockCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2256,7 +3199,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unLockCommentWithRequestBuilder(request: ApiUnLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/unlock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2284,6 +3231,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for unPinComment. */ + public struct ApiUnPinCommentRequest: Sendable { + public var tenantId: String + public var commentId: String + public var broadcastId: String + public var sso: String? + + public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -2293,8 +3255,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeCommentPinStatusResponse */ - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { - return try await unPinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func unPinComment(request: ApiUnPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + return try await unPinCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2306,7 +3268,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unPinCommentWithRequestBuilder(request: ApiUnPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/unpin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2334,6 +3300,23 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for updateFeedPostPublic. */ + public struct ApiUpdateFeedPostPublicRequest: Sendable { + public var tenantId: String + public var postId: String + public var updateFeedPostParams: UpdateFeedPostParams + public var broadcastId: String? + public var sso: String? + + public init(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.postId = postId + self.updateFeedPostParams = updateFeedPostParams + self.broadcastId = broadcastId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -2344,8 +3327,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostResponse */ - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { - return try await updateFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func updateFeedPostPublic(request: ApiUpdateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + return try await updateFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2358,7 +3341,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostPublicWithRequestBuilder(request: ApiUpdateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let postId = request.postId + let updateFeedPostParams = request.updateFeedPostParams + let broadcastId = request.broadcastId + let sso = request.sso var localVariablePath = "/feed-posts/{tenantId}/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2394,6 +3382,23 @@ open class PublicAPI { case out = "out" } + /** Request parameters for updateUserNotificationCommentSubscriptionStatus. */ + public struct ApiUpdateUserNotificationCommentSubscriptionStatusRequest: Sendable { + public var tenantId: String + public var notificationId: String + public var optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus + public var commentId: String + public var sso: String? + + public init(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil) { + self.tenantId = tenantId + self.notificationId = notificationId + self.optedInOrOut = optedInOrOut + self.commentId = commentId + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -2404,8 +3409,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationCommentSubscriptionStatusResponse */ - open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationCommentSubscriptionStatusResponse { - return try await updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationCommentSubscriptionStatus(request: ApiUpdateUserNotificationCommentSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationCommentSubscriptionStatusResponse { + return try await updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2419,7 +3424,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(request: ApiUpdateUserNotificationCommentSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let notificationId = request.notificationId + let optedInOrOut = request.optedInOrOut + let commentId = request.commentId + let sso = request.sso var localVariablePath = "/user-notifications/{notificationId}/mark-opted/{optedInOrOut}" let notificationIdPreEscape = "\(APIHelper.mapValueToPathItem(notificationId))" let notificationIdPostEscape = notificationIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2456,6 +3466,25 @@ open class PublicAPI { case unsubscribe = "unsubscribe" } + /** Request parameters for updateUserNotificationPageSubscriptionStatus. */ + public struct ApiUpdateUserNotificationPageSubscriptionStatusRequest: Sendable { + public var tenantId: String + public var urlId: String + public var url: String + public var pageTitle: String + public var subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus + public var sso: String? + + public init(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil) { + self.tenantId = tenantId + self.urlId = urlId + self.url = url + self.pageTitle = pageTitle + self.subscribedOrUnsubscribed = subscribedOrUnsubscribed + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -2467,8 +3496,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationPageSubscriptionStatusResponse */ - open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationPageSubscriptionStatusResponse { - return try await updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationPageSubscriptionStatus(request: ApiUpdateUserNotificationPageSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationPageSubscriptionStatusResponse { + return try await updateUserNotificationPageSubscriptionStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2483,7 +3512,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateUserNotificationPageSubscriptionStatusWithRequestBuilder(request: ApiUpdateUserNotificationPageSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let urlId = request.urlId + let url = request.url + let pageTitle = request.pageTitle + let subscribedOrUnsubscribed = request.subscribedOrUnsubscribed + let sso = request.sso var localVariablePath = "/user-notifications/set-subscription-state/{subscribedOrUnsubscribed}" let subscribedOrUnsubscribedPreEscape = "\(subscribedOrUnsubscribed.rawValue)" let subscribedOrUnsubscribedPostEscape = subscribedOrUnsubscribedPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2519,6 +3554,21 @@ open class PublicAPI { case unread = "unread" } + /** Request parameters for updateUserNotificationStatus. */ + public struct ApiUpdateUserNotificationStatusRequest: Sendable { + public var tenantId: String + public var notificationId: String + public var newStatus: NewStatus_updateUserNotificationStatus + public var sso: String? + + public init(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil) { + self.tenantId = tenantId + self.notificationId = notificationId + self.newStatus = newStatus + self.sso = sso + } + } + /** - parameter tenantId: (query) @@ -2528,8 +3578,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationStatusResponse */ - open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationStatusResponse { - return try await updateUserNotificationStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationStatus(request: ApiUpdateUserNotificationStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationStatusResponse { + return try await updateUserNotificationStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2541,7 +3591,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationStatusWithRequestBuilder(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateUserNotificationStatusWithRequestBuilder(request: ApiUpdateUserNotificationStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let notificationId = request.notificationId + let newStatus = request.newStatus + let sso = request.sso var localVariablePath = "/user-notifications/{notificationId}/mark/{newStatus}" let notificationIdPreEscape = "\(APIHelper.mapValueToPathItem(notificationId))" let notificationIdPostEscape = notificationIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2569,6 +3623,21 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for uploadImage. */ + public struct ApiUploadImageRequest: Sendable { + public var tenantId: String + public var file: URL + public var sizePreset: SizePreset? + public var urlId: String? + + public init(tenantId: String, file: URL, sizePreset: SizePreset? = nil, urlId: String? = nil) { + self.tenantId = tenantId + self.file = file + self.sizePreset = sizePreset + self.urlId = urlId + } + } + /** - parameter tenantId: (path) @@ -2578,8 +3647,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UploadImageResponse */ - open class func uploadImage(tenantId: String, file: URL, sizePreset: SizePreset? = nil, urlId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UploadImageResponse { - return try await uploadImageWithRequestBuilder(tenantId: tenantId, file: file, sizePreset: sizePreset, urlId: urlId, apiConfiguration: apiConfiguration).execute().body + open class func uploadImage(request: ApiUploadImageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UploadImageResponse { + return try await uploadImageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2592,7 +3661,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func uploadImageWithRequestBuilder(tenantId: String, file: URL, sizePreset: SizePreset? = nil, urlId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func uploadImageWithRequestBuilder(request: ApiUploadImageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let file = request.file + let sizePreset = request.sizePreset + let urlId = request.urlId var localVariablePath = "/upload-image/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2622,6 +3695,27 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } + /** Request parameters for voteComment. */ + public struct ApiVoteCommentRequest: Sendable { + public var tenantId: String + public var commentId: String + public var urlId: String + public var broadcastId: String + public var voteBodyParams: VoteBodyParams + public var sessionId: String? + public var sso: String? + + public init(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil) { + self.tenantId = tenantId + self.commentId = commentId + self.urlId = urlId + self.broadcastId = broadcastId + self.voteBodyParams = voteBodyParams + self.sessionId = sessionId + self.sso = sso + } + } + /** - parameter tenantId: (path) @@ -2634,8 +3728,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await voteCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso, apiConfiguration: apiConfiguration).execute().body + open class func voteComment(request: ApiVoteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await voteCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body } /** @@ -2650,7 +3744,14 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func voteCommentWithRequestBuilder(request: ApiVoteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = request.tenantId + let commentId = request.commentId + let urlId = request.urlId + let broadcastId = request.broadcastId + let voteBodyParams = request.voteBodyParams + let sessionId = request.sessionId + let sso = request.sso var localVariablePath = "/comments/{tenantId}/{commentId}/vote" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index b3b0de8..ee0e6a9 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -51,7 +51,7 @@ Method | HTTP request | Description # **deleteModerationVote** ```swift - open class func deleteModerationVote(commentId: String, voteId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteModerationVote(commentId: String, voteId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -63,11 +63,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let voteId = "voteId_example" // String | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -85,8 +85,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **voteId** | **String** | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1270,7 +1270,7 @@ No authorization required # **postAdjustCommentVotes** ```swift - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) ``` @@ -1282,11 +1282,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let adjustCommentVotesParams = AdjustCommentVotesParams(adjustVoteAmount: 123) // AdjustCommentVotesParams | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1304,8 +1304,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **adjustCommentVotesParams** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1610,7 +1610,7 @@ No authorization required # **postFlagComment** ```swift - open class func postFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postFlagComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1621,11 +1621,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postFlagComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postFlagComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1642,8 +1642,8 @@ ModerationAPI.postFlagComment(commentId: commentId, broadcastId: broadcastId, te Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1663,7 +1663,7 @@ No authorization required # **postRemoveComment** ```swift - open class func postRemoveComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) + open class func postRemoveComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) ``` @@ -1674,11 +1674,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRemoveComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postRemoveComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1695,8 +1695,8 @@ ModerationAPI.postRemoveComment(commentId: commentId, broadcastId: broadcastId, Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1716,7 +1716,7 @@ No authorization required # **postRestoreDeletedComment** ```swift - open class func postRestoreDeletedComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postRestoreDeletedComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1727,11 +1727,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRestoreDeletedComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postRestoreDeletedComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1748,8 +1748,8 @@ ModerationAPI.postRestoreDeletedComment(commentId: commentId, broadcastId: broad Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1769,7 +1769,7 @@ No authorization required # **postSetCommentApprovalStatus** ```swift - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) + open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) ``` @@ -1781,11 +1781,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let approved = true // Bool | (optional) -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, approved: approved, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, approved: approved, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1803,8 +1803,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **approved** | **Bool** | | [optional] - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1824,7 +1824,7 @@ No authorization required # **postSetCommentReviewStatus** ```swift - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1836,11 +1836,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let reviewed = true // Bool | (optional) -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentReviewStatus(commentId: commentId, reviewed: reviewed, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentReviewStatus(commentId: commentId, reviewed: reviewed, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1858,8 +1858,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **reviewed** | **Bool** | | [optional] - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1879,7 +1879,7 @@ No authorization required # **postSetCommentSpamStatus** ```swift - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1892,11 +1892,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let spam = true // Bool | (optional) let permNotSpam = true // Bool | (optional) -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentSpamStatus(commentId: commentId, spam: spam, permNotSpam: permNotSpam, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentSpamStatus(commentId: commentId, spam: spam, permNotSpam: permNotSpam, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1915,8 +1915,8 @@ Name | Type | Description | Notes **commentId** | **String** | | **spam** | **Bool** | | [optional] **permNotSpam** | **Bool** | | [optional] - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1936,7 +1936,7 @@ No authorization required # **postSetCommentText** ```swift - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -1948,11 +1948,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let setCommentTextParams = SetCommentTextParams(comment: "comment_example") // SetCommentTextParams | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1970,8 +1970,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **setCommentTextParams** | [**SetCommentTextParams**](SetCommentTextParams.md) | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1991,7 +1991,7 @@ No authorization required # **postUnFlagComment** ```swift - open class func postUnFlagComment(commentId: String, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postUnFlagComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2002,11 +2002,11 @@ No authorization required import FastCommentsSwift let commentId = "commentId_example" // String | -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postUnFlagComment(commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postUnFlagComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2023,8 +2023,8 @@ ModerationAPI.postUnFlagComment(commentId: commentId, broadcastId: broadcastId, Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -2044,7 +2044,7 @@ No authorization required # **postVote** ```swift - open class func postVote(commentId: String, direction: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func postVote(commentId: String, direction: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2056,11 +2056,11 @@ import FastCommentsSwift let commentId = "commentId_example" // String | let direction = "direction_example" // String | (optional) -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postVote(commentId: commentId, direction: direction, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postVote(commentId: commentId, direction: direction, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2078,8 +2078,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **String** | | **direction** | **String** | | [optional] - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -2099,7 +2099,7 @@ No authorization required # **putAwardBadge** ```swift - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) + open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2112,11 +2112,11 @@ import FastCommentsSwift let badgeId = "badgeId_example" // String | let userId = "userId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putAwardBadge(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.putAwardBadge(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2135,8 +2135,8 @@ Name | Type | Description | Notes **badgeId** | **String** | | **userId** | **String** | | [optional] **commentId** | **String** | | [optional] - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -2207,7 +2207,7 @@ No authorization required # **putRemoveBadge** ```swift - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) + open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2220,11 +2220,11 @@ import FastCommentsSwift let badgeId = "badgeId_example" // String | let userId = "userId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) -let broadcastId = "broadcastId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) +let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putRemoveBadge(badgeId: badgeId, userId: userId, commentId: commentId, broadcastId: broadcastId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.putRemoveBadge(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2243,8 +2243,8 @@ Name | Type | Description | Notes **badgeId** | **String** | | **userId** | **String** | | [optional] **commentId** | **String** | | [optional] - **broadcastId** | **String** | | [optional] **tenantId** | **String** | | [optional] + **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### 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" From 3117f3542c6dc59ef889768ea081e3227695a613 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 21:55:05 -0700 Subject: [PATCH 05/10] Regenerate docs with grouped request-object examples API reference examples now construct the single ApiRequest object, matching the grouped method signatures. --- client/docs/DefaultAPI.md | 456 +++++++++++++++++------------------ client/docs/ModerationAPI.md | 172 ++++++------- client/docs/PublicAPI.md | 204 ++++++++-------- 3 files changed, 416 insertions(+), 416 deletions(-) diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index a687699..bffd556 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -122,7 +122,7 @@ Method | HTTP request | Description # **addDomainConfig** ```swift - open class func addDomainConfig(tenantId: String, addDomainConfigParams: AddDomainConfigParams, completion: @escaping (_ data: AddDomainConfigResponse?, _ error: Error?) -> Void) + open class func addDomainConfig(request: ApiAddDomainConfigRequest, completion: @escaping (_ data: AddDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -135,7 +135,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let addDomainConfigParams = AddDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // AddDomainConfigParams | -DefaultAPI.addDomainConfig(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams) { (response, error) in +DefaultAPI.addDomainConfig(request: DefaultAPI.ApiAddDomainConfigRequest(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams)) { (response, error) in guard error == nil else { print(error) return @@ -171,7 +171,7 @@ Name | Type | Description | Notes # **addHashTag** ```swift - open class func addHashTag(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) + open class func addHashTag(request: ApiAddHashTagRequest, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -184,7 +184,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let createHashTagBody = CreateHashTagBody(tenantId: "tenantId_example", tag: "tag_example", url: "url_example") // CreateHashTagBody | (optional) -DefaultAPI.addHashTag(tenantId: tenantId, createHashTagBody: createHashTagBody) { (response, error) in +DefaultAPI.addHashTag(request: DefaultAPI.ApiAddHashTagRequest(tenantId: tenantId, createHashTagBody: createHashTagBody)) { (response, error) in guard error == nil else { print(error) return @@ -220,7 +220,7 @@ Name | Type | Description | Notes # **addHashTagsBulk** ```swift - open class func addHashTagsBulk(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) + open class func addHashTagsBulk(request: ApiAddHashTagsBulkRequest, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -233,7 +233,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let bulkCreateHashTagsBody = BulkCreateHashTagsBody(tenantId: "tenantId_example", tags: [BulkCreateHashTagsBody_tags_inner(url: "url_example", tag: "tag_example")]) // BulkCreateHashTagsBody | (optional) -DefaultAPI.addHashTagsBulk(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody) { (response, error) in +DefaultAPI.addHashTagsBulk(request: DefaultAPI.ApiAddHashTagsBulkRequest(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody)) { (response, error) in guard error == nil else { print(error) return @@ -269,7 +269,7 @@ Name | Type | Description | Notes # **addPage** ```swift - open class func addPage(tenantId: String, createAPIPageData: CreateAPIPageData, completion: @escaping (_ data: AddPageAPIResponse?, _ error: Error?) -> Void) + open class func addPage(request: ApiAddPageRequest, completion: @escaping (_ data: AddPageAPIResponse?, _ error: Error?) -> Void) ``` @@ -282,7 +282,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createAPIPageData = CreateAPIPageData(accessibleByGroupIds: ["accessibleByGroupIds_example"], rootCommentCount: 123, commentCount: 123, title: "title_example", url: "url_example", urlId: "urlId_example") // CreateAPIPageData | -DefaultAPI.addPage(tenantId: tenantId, createAPIPageData: createAPIPageData) { (response, error) in +DefaultAPI.addPage(request: DefaultAPI.ApiAddPageRequest(tenantId: tenantId, createAPIPageData: createAPIPageData)) { (response, error) in guard error == nil else { print(error) return @@ -318,7 +318,7 @@ Name | Type | Description | Notes # **addSSOUser** ```swift - open class func addSSOUser(tenantId: String, createAPISSOUserData: CreateAPISSOUserData, completion: @escaping (_ data: AddSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func addSSOUser(request: ApiAddSSOUserRequest, completion: @escaping (_ data: AddSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -331,7 +331,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createAPISSOUserData = CreateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // CreateAPISSOUserData | -DefaultAPI.addSSOUser(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData) { (response, error) in +DefaultAPI.addSSOUser(request: DefaultAPI.ApiAddSSOUserRequest(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData)) { (response, error) in guard error == nil else { print(error) return @@ -367,7 +367,7 @@ Name | Type | Description | Notes # **aggregate** ```swift - open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, parentTenantId: String? = nil, includeStats: Bool? = nil, completion: @escaping (_ data: AggregateResponse?, _ error: Error?) -> Void) + open class func aggregate(request: ApiAggregateRequest, completion: @escaping (_ data: AggregateResponse?, _ error: Error?) -> Void) ``` @@ -384,7 +384,7 @@ let aggregationRequest = AggregationRequest(query: [QueryPredicate(key: "key_exa let parentTenantId = "parentTenantId_example" // String | (optional) let includeStats = true // Bool | (optional) -DefaultAPI.aggregate(tenantId: tenantId, aggregationRequest: aggregationRequest, parentTenantId: parentTenantId, includeStats: includeStats) { (response, error) in +DefaultAPI.aggregate(request: DefaultAPI.ApiAggregateRequest(tenantId: tenantId, aggregationRequest: aggregationRequest, parentTenantId: parentTenantId, includeStats: includeStats)) { (response, error) in guard error == nil else { print(error) return @@ -422,7 +422,7 @@ Name | Type | Description | Notes # **aggregateQuestionResults** ```swift - open class func aggregateQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func aggregateQuestionResults(request: ApiAggregateQuestionResultsRequest, completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -440,7 +440,7 @@ let timeBucket = AggregateTimeBucket() // AggregateTimeBucket | (optional) let startDate = Date() // Date | (optional) let forceRecalculate = true // Bool | (optional) -DefaultAPI.aggregateQuestionResults(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate) { (response, error) in +DefaultAPI.aggregateQuestionResults(request: DefaultAPI.ApiAggregateQuestionResultsRequest(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate)) { (response, error) in guard error == nil else { print(error) return @@ -481,7 +481,7 @@ Name | Type | Description | Notes # **blockUserFromComment** ```swift - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockUserFromComment(request: ApiBlockUserFromCommentRequest, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -497,7 +497,7 @@ let blockFromCommentParams = BlockFromCommentParams(commentIdsToCheck: ["comment let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.blockUserFromComment(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId) { (response, error) in +DefaultAPI.blockUserFromComment(request: DefaultAPI.ApiBlockUserFromCommentRequest(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -536,7 +536,7 @@ Name | Type | Description | Notes # **bulkAggregateQuestionResults** ```swift - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func bulkAggregateQuestionResults(request: ApiBulkAggregateQuestionResultsRequest, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -550,7 +550,7 @@ let tenantId = "tenantId_example" // String | let bulkAggregateQuestionResultsRequest = BulkAggregateQuestionResultsRequest(aggregations: [BulkAggregateQuestionItem(aggId: "aggId_example", questionId: "questionId_example", questionIds: ["questionIds_example"], urlId: "urlId_example", timeBucket: AggregateTimeBucket(), startDate: Date())]) // BulkAggregateQuestionResultsRequest | let forceRecalculate = true // Bool | (optional) -DefaultAPI.bulkAggregateQuestionResults(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate) { (response, error) in +DefaultAPI.bulkAggregateQuestionResults(request: DefaultAPI.ApiBulkAggregateQuestionResultsRequest(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate)) { (response, error) in guard error == nil else { print(error) return @@ -587,7 +587,7 @@ Name | Type | Description | Notes # **changeTicketState** ```swift - open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, completion: @escaping (_ data: ChangeTicketStateResponse?, _ error: Error?) -> Void) + open class func changeTicketState(request: ApiChangeTicketStateRequest, completion: @escaping (_ data: ChangeTicketStateResponse?, _ error: Error?) -> Void) ``` @@ -602,7 +602,7 @@ let userId = "userId_example" // String | let id = "id_example" // String | let changeTicketStateBody = ChangeTicketStateBody(state: 123) // ChangeTicketStateBody | -DefaultAPI.changeTicketState(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody) { (response, error) in +DefaultAPI.changeTicketState(request: DefaultAPI.ApiChangeTicketStateRequest(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody)) { (response, error) in guard error == nil else { print(error) return @@ -640,7 +640,7 @@ Name | Type | Description | Notes # **combineCommentsWithQuestionResults** ```swift - open class func combineCommentsWithQuestionResults(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) + open class func combineCommentsWithQuestionResults(request: ApiCombineCommentsWithQuestionResultsRequest, completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) ``` @@ -660,7 +660,7 @@ let minValue = 987 // Double | (optional) let maxValue = 987 // Double | (optional) let limit = 987 // Double | (optional) -DefaultAPI.combineCommentsWithQuestionResults(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit) { (response, error) in +DefaultAPI.combineCommentsWithQuestionResults(request: DefaultAPI.ApiCombineCommentsWithQuestionResultsRequest(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit)) { (response, error) in guard error == nil else { print(error) return @@ -703,7 +703,7 @@ Name | Type | Description | Notes # **createEmailTemplate** ```swift - open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, completion: @escaping (_ data: CreateEmailTemplateResponse?, _ error: Error?) -> Void) + open class func createEmailTemplate(request: ApiCreateEmailTemplateRequest, completion: @escaping (_ data: CreateEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -716,7 +716,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createEmailTemplateBody = CreateEmailTemplateBody(emailTemplateId: "emailTemplateId_example", displayName: "displayName_example", ejs: "ejs_example", domain: "domain_example", translationOverridesByLocale: "TODO", testData: "TODO") // CreateEmailTemplateBody | -DefaultAPI.createEmailTemplate(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody) { (response, error) in +DefaultAPI.createEmailTemplate(request: DefaultAPI.ApiCreateEmailTemplateRequest(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody)) { (response, error) in guard error == nil else { print(error) return @@ -752,7 +752,7 @@ Name | Type | Description | Notes # **createFeedPost** ```swift - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil, completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) + open class func createFeedPost(request: ApiCreateFeedPostRequest, completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -769,7 +769,7 @@ let isLive = true // Bool | (optional) let doSpamCheck = true // Bool | (optional) let skipDupCheck = true // Bool | (optional) -DefaultAPI.createFeedPost(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck) { (response, error) in +DefaultAPI.createFeedPost(request: DefaultAPI.ApiCreateFeedPostRequest(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck)) { (response, error) in guard error == nil else { print(error) return @@ -809,7 +809,7 @@ Name | Type | Description | Notes # **createModerator** ```swift - open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, completion: @escaping (_ data: CreateModeratorResponse?, _ error: Error?) -> Void) + open class func createModerator(request: ApiCreateModeratorRequest, completion: @escaping (_ data: CreateModeratorResponse?, _ error: Error?) -> Void) ``` @@ -822,7 +822,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createModeratorBody = CreateModeratorBody(name: "name_example", email: "email_example", userId: "userId_example", moderationGroupIds: ["moderationGroupIds_example"]) // CreateModeratorBody | -DefaultAPI.createModerator(tenantId: tenantId, createModeratorBody: createModeratorBody) { (response, error) in +DefaultAPI.createModerator(request: DefaultAPI.ApiCreateModeratorRequest(tenantId: tenantId, createModeratorBody: createModeratorBody)) { (response, error) in guard error == nil else { print(error) return @@ -858,7 +858,7 @@ Name | Type | Description | Notes # **createQuestionConfig** ```swift - open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, completion: @escaping (_ data: CreateQuestionConfigResponse?, _ error: Error?) -> Void) + open class func createQuestionConfig(request: ApiCreateQuestionConfigRequest, completion: @escaping (_ data: CreateQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -871,7 +871,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createQuestionConfigBody = CreateQuestionConfigBody(name: "name_example", question: "question_example", helpText: "helpText_example", type: "type_example", numStars: 123, min: 123, max: 123, defaultValue: 123, labelNegative: "labelNegative_example", labelPositive: "labelPositive_example", customOptions: [QuestionConfig_customOptions_inner(imageSrc: "imageSrc_example", name: "name_example")], subQuestionIds: ["subQuestionIds_example"], alwaysShowSubQuestions: false, reportingOrder: 123) // CreateQuestionConfigBody | -DefaultAPI.createQuestionConfig(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody) { (response, error) in +DefaultAPI.createQuestionConfig(request: DefaultAPI.ApiCreateQuestionConfigRequest(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody)) { (response, error) in guard error == nil else { print(error) return @@ -907,7 +907,7 @@ Name | Type | Description | Notes # **createQuestionResult** ```swift - open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, completion: @escaping (_ data: CreateQuestionResultResponse?, _ error: Error?) -> Void) + open class func createQuestionResult(request: ApiCreateQuestionResultRequest, completion: @escaping (_ data: CreateQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -920,7 +920,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createQuestionResultBody = CreateQuestionResultBody(urlId: "urlId_example", value: 123, questionId: "questionId_example", anonUserId: "anonUserId_example", userId: "userId_example", commentId: "commentId_example", meta: [MetaItem(name: "name_example", values: ["values_example"])]) // CreateQuestionResultBody | -DefaultAPI.createQuestionResult(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody) { (response, error) in +DefaultAPI.createQuestionResult(request: DefaultAPI.ApiCreateQuestionResultRequest(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody)) { (response, error) in guard error == nil else { print(error) return @@ -956,7 +956,7 @@ Name | Type | Description | Notes # **createSubscription** ```swift - open class func createSubscription(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData, completion: @escaping (_ data: CreateSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func createSubscription(request: ApiCreateSubscriptionRequest, completion: @escaping (_ data: CreateSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -969,7 +969,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createAPIUserSubscriptionData = CreateAPIUserSubscriptionData(notificationFrequency: 123, pageTitle: "pageTitle_example", url: "url_example", urlId: "urlId_example", anonUserId: "anonUserId_example", userId: "userId_example") // CreateAPIUserSubscriptionData | -DefaultAPI.createSubscription(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData) { (response, error) in +DefaultAPI.createSubscription(request: DefaultAPI.ApiCreateSubscriptionRequest(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData)) { (response, error) in guard error == nil else { print(error) return @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes # **createTenant** ```swift - open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, completion: @escaping (_ data: CreateTenantResponse?, _ error: Error?) -> Void) + open class func createTenant(request: ApiCreateTenantRequest, completion: @escaping (_ data: CreateTenantResponse?, _ error: Error?) -> Void) ``` @@ -1018,7 +1018,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createTenantBody = CreateTenantBody(name: "name_example", domainConfiguration: [APIDomainConfiguration(id: "id_example", domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", emailHeaders: "TODO", wpSyncToken: "wpSyncToken_example", wpSynced: false, wpURL: "wpURL_example", createdAt: Date(), autoAddedDate: Date(), siteType: ImportedSiteType(), logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", disableUnsubscribeLinks: false)], email: "email_example", signUpDate: 123, packageId: "packageId_example", paymentFrequency: 123, billingInfoValid: false, billingHandledExternally: false, createdBy: "createdBy_example", isSetup: false, billingInfo: BillingInfo(name: "name_example", address: "address_example", city: "city_example", state: "state_example", zip: "zip_example", country: "country_example", currency: "currency_example", email: "email_example"), stripeCustomerId: "stripeCustomerId_example", stripeSubscriptionId: "stripeSubscriptionId_example", stripePlanId: "stripePlanId_example", enableProfanityFilter: false, enableSpamFilter: false, removeUnverifiedComments: false, unverifiedCommentsTTLms: 123, commentsRequireApproval: false, autoApproveCommentOnVerification: false, sendProfaneToSpam: false, deAnonIpAddr: 123, meta: "TODO") // CreateTenantBody | -DefaultAPI.createTenant(tenantId: tenantId, createTenantBody: createTenantBody) { (response, error) in +DefaultAPI.createTenant(request: DefaultAPI.ApiCreateTenantRequest(tenantId: tenantId, createTenantBody: createTenantBody)) { (response, error) in guard error == nil else { print(error) return @@ -1054,7 +1054,7 @@ Name | Type | Description | Notes # **createTenantPackage** ```swift - open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, completion: @escaping (_ data: CreateTenantPackageResponse?, _ error: Error?) -> Void) + open class func createTenantPackage(request: ApiCreateTenantPackageRequest, completion: @escaping (_ data: CreateTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -1067,7 +1067,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createTenantPackageBody = CreateTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, monthlyStripePlanId: "monthlyStripePlanId_example", yearlyStripePlanId: "yearlyStripePlanId_example", maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlySmallWidgetsCredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxWhiteLabeledTenants: 123, maxMonthlyEventLogRequests: 123, maxCustomCollectionSize: 123, hasWhiteLabeling: false, hasDebranding: false, hasLLMSpamDetection: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasAuditing: false, hasFlexPricing: false, enableSAML: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexSmallWidgetsCreditCostCents: 123, flexSmallWidgetsCreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexLLMCostCents: 123, flexLLMUnit: 123, flexMinimumCostCents: 123, flexManagedTenantCostCents: 123, flexSSOAdminCostCents: 123, flexSSOAdminUnit: 123, flexSSOModeratorCostCents: 123, flexSSOModeratorUnit: 123) // CreateTenantPackageBody | -DefaultAPI.createTenantPackage(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody) { (response, error) in +DefaultAPI.createTenantPackage(request: DefaultAPI.ApiCreateTenantPackageRequest(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody)) { (response, error) in guard error == nil else { print(error) return @@ -1103,7 +1103,7 @@ Name | Type | Description | Notes # **createTenantUser** ```swift - open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, completion: @escaping (_ data: CreateTenantUserResponse?, _ error: Error?) -> Void) + open class func createTenantUser(request: ApiCreateTenantUserRequest, completion: @escaping (_ data: CreateTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -1116,7 +1116,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createTenantUserBody = CreateTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example") // CreateTenantUserBody | -DefaultAPI.createTenantUser(tenantId: tenantId, createTenantUserBody: createTenantUserBody) { (response, error) in +DefaultAPI.createTenantUser(request: DefaultAPI.ApiCreateTenantUserRequest(tenantId: tenantId, createTenantUserBody: createTenantUserBody)) { (response, error) in guard error == nil else { print(error) return @@ -1152,7 +1152,7 @@ Name | Type | Description | Notes # **createTicket** ```swift - open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, completion: @escaping (_ data: CreateTicketResponse?, _ error: Error?) -> Void) + open class func createTicket(request: ApiCreateTicketRequest, completion: @escaping (_ data: CreateTicketResponse?, _ error: Error?) -> Void) ``` @@ -1166,7 +1166,7 @@ let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | let createTicketBody = CreateTicketBody(subject: "subject_example") // CreateTicketBody | -DefaultAPI.createTicket(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody) { (response, error) in +DefaultAPI.createTicket(request: DefaultAPI.ApiCreateTicketRequest(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody)) { (response, error) in guard error == nil else { print(error) return @@ -1203,7 +1203,7 @@ Name | Type | Description | Notes # **createUserBadge** ```swift - open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, completion: @escaping (_ data: APICreateUserBadgeResponse?, _ error: Error?) -> Void) + open class func createUserBadge(request: ApiCreateUserBadgeRequest, completion: @escaping (_ data: APICreateUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -1216,7 +1216,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createUserBadgeParams = CreateUserBadgeParams(userId: "userId_example", badgeId: "badgeId_example", displayedOnComments: false) // CreateUserBadgeParams | -DefaultAPI.createUserBadge(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams) { (response, error) in +DefaultAPI.createUserBadge(request: DefaultAPI.ApiCreateUserBadgeRequest(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams)) { (response, error) in guard error == nil else { print(error) return @@ -1252,7 +1252,7 @@ Name | Type | Description | Notes # **createVote** ```swift - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func createVote(request: ApiCreateVoteRequest, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -1268,7 +1268,7 @@ let direction = "direction_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.createVote(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId) { (response, error) in +DefaultAPI.createVote(request: DefaultAPI.ApiCreateVoteRequest(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1307,7 +1307,7 @@ Name | Type | Description | Notes # **deleteComment** ```swift - open class func deleteComment(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil, completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) + open class func deleteComment(request: ApiDeleteCommentRequest, completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) ``` @@ -1322,7 +1322,7 @@ let id = "id_example" // String | let contextUserId = "contextUserId_example" // String | (optional) let isLive = true // Bool | (optional) -DefaultAPI.deleteComment(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive) { (response, error) in +DefaultAPI.deleteComment(request: DefaultAPI.ApiDeleteCommentRequest(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive)) { (response, error) in guard error == nil else { print(error) return @@ -1360,7 +1360,7 @@ Name | Type | Description | Notes # **deleteDomainConfig** ```swift - open class func deleteDomainConfig(tenantId: String, domain: String, completion: @escaping (_ data: DeleteDomainConfigResponse?, _ error: Error?) -> Void) + open class func deleteDomainConfig(request: ApiDeleteDomainConfigRequest, completion: @escaping (_ data: DeleteDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -1373,7 +1373,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let domain = "domain_example" // String | -DefaultAPI.deleteDomainConfig(tenantId: tenantId, domain: domain) { (response, error) in +DefaultAPI.deleteDomainConfig(request: DefaultAPI.ApiDeleteDomainConfigRequest(tenantId: tenantId, domain: domain)) { (response, error) in guard error == nil else { print(error) return @@ -1409,7 +1409,7 @@ Name | Type | Description | Notes # **deleteEmailTemplate** ```swift - open class func deleteEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplate(request: ApiDeleteEmailTemplateRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1422,7 +1422,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteEmailTemplate(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deleteEmailTemplate(request: DefaultAPI.ApiDeleteEmailTemplateRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1458,7 +1458,7 @@ Name | Type | Description | Notes # **deleteEmailTemplateRenderError** ```swift - open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplateRenderError(request: ApiDeleteEmailTemplateRenderErrorRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1472,7 +1472,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let errorId = "errorId_example" // String | -DefaultAPI.deleteEmailTemplateRenderError(tenantId: tenantId, id: id, errorId: errorId) { (response, error) in +DefaultAPI.deleteEmailTemplateRenderError(request: DefaultAPI.ApiDeleteEmailTemplateRenderErrorRequest(tenantId: tenantId, id: id, errorId: errorId)) { (response, error) in guard error == nil else { print(error) return @@ -1509,7 +1509,7 @@ Name | Type | Description | Notes # **deleteHashTag** ```swift - open class func deleteHashTag(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteHashTag(request: ApiDeleteHashTagRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1523,7 +1523,7 @@ let tag = "tag_example" // String | let tenantId = "tenantId_example" // String | (optional) let deleteHashTagRequestBody = DeleteHashTagRequestBody(tenantId: "tenantId_example") // DeleteHashTagRequestBody | (optional) -DefaultAPI.deleteHashTag(tag: tag, tenantId: tenantId, deleteHashTagRequestBody: deleteHashTagRequestBody) { (response, error) in +DefaultAPI.deleteHashTag(request: DefaultAPI.ApiDeleteHashTagRequest(tag: tag, tenantId: tenantId, deleteHashTagRequestBody: deleteHashTagRequestBody)) { (response, error) in guard error == nil else { print(error) return @@ -1560,7 +1560,7 @@ Name | Type | Description | Notes # **deleteModerator** ```swift - open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteModerator(request: ApiDeleteModeratorRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1574,7 +1574,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let sendEmail = "sendEmail_example" // String | (optional) -DefaultAPI.deleteModerator(tenantId: tenantId, id: id, sendEmail: sendEmail) { (response, error) in +DefaultAPI.deleteModerator(request: DefaultAPI.ApiDeleteModeratorRequest(tenantId: tenantId, id: id, sendEmail: sendEmail)) { (response, error) in guard error == nil else { print(error) return @@ -1611,7 +1611,7 @@ Name | Type | Description | Notes # **deleteNotificationCount** ```swift - open class func deleteNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteNotificationCount(request: ApiDeleteNotificationCountRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1624,7 +1624,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteNotificationCount(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deleteNotificationCount(request: DefaultAPI.ApiDeleteNotificationCountRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1660,7 +1660,7 @@ Name | Type | Description | Notes # **deletePage** ```swift - open class func deletePage(tenantId: String, id: String, completion: @escaping (_ data: DeletePageAPIResponse?, _ error: Error?) -> Void) + open class func deletePage(request: ApiDeletePageRequest, completion: @escaping (_ data: DeletePageAPIResponse?, _ error: Error?) -> Void) ``` @@ -1673,7 +1673,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deletePage(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deletePage(request: DefaultAPI.ApiDeletePageRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1709,7 +1709,7 @@ Name | Type | Description | Notes # **deletePendingWebhookEvent** ```swift - open class func deletePendingWebhookEvent(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deletePendingWebhookEvent(request: ApiDeletePendingWebhookEventRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1722,7 +1722,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deletePendingWebhookEvent(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deletePendingWebhookEvent(request: DefaultAPI.ApiDeletePendingWebhookEventRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1758,7 +1758,7 @@ Name | Type | Description | Notes # **deleteQuestionConfig** ```swift - open class func deleteQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteQuestionConfig(request: ApiDeleteQuestionConfigRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1771,7 +1771,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteQuestionConfig(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deleteQuestionConfig(request: DefaultAPI.ApiDeleteQuestionConfigRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1807,7 +1807,7 @@ Name | Type | Description | Notes # **deleteQuestionResult** ```swift - open class func deleteQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteQuestionResult(request: ApiDeleteQuestionResultRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1820,7 +1820,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteQuestionResult(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deleteQuestionResult(request: DefaultAPI.ApiDeleteQuestionResultRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1856,7 +1856,7 @@ Name | Type | Description | Notes # **deleteSSOUser** ```swift - open class func deleteSSOUser(tenantId: String, id: String, deleteComments: Bool? = nil, commentDeleteMode: String? = nil, completion: @escaping (_ data: DeleteSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func deleteSSOUser(request: ApiDeleteSSOUserRequest, completion: @escaping (_ data: DeleteSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -1871,7 +1871,7 @@ let id = "id_example" // String | let deleteComments = true // Bool | (optional) let commentDeleteMode = "commentDeleteMode_example" // String | (optional) -DefaultAPI.deleteSSOUser(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode) { (response, error) in +DefaultAPI.deleteSSOUser(request: DefaultAPI.ApiDeleteSSOUserRequest(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in guard error == nil else { print(error) return @@ -1909,7 +1909,7 @@ Name | Type | Description | Notes # **deleteSubscription** ```swift - open class func deleteSubscription(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: DeleteSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func deleteSubscription(request: ApiDeleteSubscriptionRequest, completion: @escaping (_ data: DeleteSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -1923,7 +1923,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.deleteSubscription(tenantId: tenantId, id: id, userId: userId) { (response, error) in +DefaultAPI.deleteSubscription(request: DefaultAPI.ApiDeleteSubscriptionRequest(tenantId: tenantId, id: id, userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -1960,7 +1960,7 @@ Name | Type | Description | Notes # **deleteTenant** ```swift - open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenant(request: ApiDeleteTenantRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1974,7 +1974,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let sure = "sure_example" // String | (optional) -DefaultAPI.deleteTenant(tenantId: tenantId, id: id, sure: sure) { (response, error) in +DefaultAPI.deleteTenant(request: DefaultAPI.ApiDeleteTenantRequest(tenantId: tenantId, id: id, sure: sure)) { (response, error) in guard error == nil else { print(error) return @@ -2011,7 +2011,7 @@ Name | Type | Description | Notes # **deleteTenantPackage** ```swift - open class func deleteTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantPackage(request: ApiDeleteTenantPackageRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2024,7 +2024,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteTenantPackage(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deleteTenantPackage(request: DefaultAPI.ApiDeleteTenantPackageRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -2060,7 +2060,7 @@ Name | Type | Description | Notes # **deleteTenantUser** ```swift - open class func deleteTenantUser(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantUser(request: ApiDeleteTenantUserRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2075,7 +2075,7 @@ let id = "id_example" // String | let deleteComments = "deleteComments_example" // String | (optional) let commentDeleteMode = "commentDeleteMode_example" // String | (optional) -DefaultAPI.deleteTenantUser(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode) { (response, error) in +DefaultAPI.deleteTenantUser(request: DefaultAPI.ApiDeleteTenantUserRequest(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in guard error == nil else { print(error) return @@ -2113,7 +2113,7 @@ Name | Type | Description | Notes # **deleteUserBadge** ```swift - open class func deleteUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) + open class func deleteUserBadge(request: ApiDeleteUserBadgeRequest, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) ``` @@ -2126,7 +2126,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteUserBadge(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.deleteUserBadge(request: DefaultAPI.ApiDeleteUserBadgeRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -2162,7 +2162,7 @@ Name | Type | Description | Notes # **deleteVote** ```swift - open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteVote(request: ApiDeleteVoteRequest, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -2176,7 +2176,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let editKey = "editKey_example" // String | (optional) -DefaultAPI.deleteVote(tenantId: tenantId, id: id, editKey: editKey) { (response, error) in +DefaultAPI.deleteVote(request: DefaultAPI.ApiDeleteVoteRequest(tenantId: tenantId, id: id, editKey: editKey)) { (response, error) in guard error == nil else { print(error) return @@ -2213,7 +2213,7 @@ Name | Type | Description | Notes # **flagComment** ```swift - open class func flagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func flagComment(request: ApiFlagCommentRequest, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -2228,7 +2228,7 @@ let id = "id_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.flagComment(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId) { (response, error) in +DefaultAPI.flagComment(request: DefaultAPI.ApiFlagCommentRequest(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -2266,7 +2266,7 @@ Name | Type | Description | Notes # **getAuditLogs** ```swift - open class func getAuditLogs(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil, completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) + open class func getAuditLogs(request: ApiGetAuditLogsRequest, completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) ``` @@ -2283,7 +2283,7 @@ let order = SORT_DIR() // SORTDIR | (optional) let after = 987 // Double | (optional) let before = 987 // Double | (optional) -DefaultAPI.getAuditLogs(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before) { (response, error) in +DefaultAPI.getAuditLogs(request: DefaultAPI.ApiGetAuditLogsRequest(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before)) { (response, error) in guard error == nil else { print(error) return @@ -2323,7 +2323,7 @@ Name | Type | Description | Notes # **getCachedNotificationCount** ```swift - open class func getCachedNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: GetCachedNotificationCountResponse?, _ error: Error?) -> Void) + open class func getCachedNotificationCount(request: ApiGetCachedNotificationCountRequest, completion: @escaping (_ data: GetCachedNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -2336,7 +2336,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getCachedNotificationCount(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getCachedNotificationCount(request: DefaultAPI.ApiGetCachedNotificationCountRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -2372,7 +2372,7 @@ Name | Type | Description | Notes # **getComment** ```swift - open class func getComment(tenantId: String, id: String, completion: @escaping (_ data: APIGetCommentResponse?, _ error: Error?) -> Void) + open class func getComment(request: ApiGetCommentRequest, completion: @escaping (_ data: APIGetCommentResponse?, _ error: Error?) -> Void) ``` @@ -2385,7 +2385,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getComment(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getComment(request: DefaultAPI.ApiGetCommentRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes # **getComments** ```swift - open class func getComments(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil, completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getComments(request: ApiGetCommentsRequest, completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -2449,7 +2449,7 @@ let direction = SortDirections() // SortDirections | (optional) let fromDate = 987 // Int64 | (optional) let toDate = 987 // Int64 | (optional) -DefaultAPI.getComments(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate) { (response, error) in +DefaultAPI.getComments(request: DefaultAPI.ApiGetCommentsRequest(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate)) { (response, error) in guard error == nil else { print(error) return @@ -2500,7 +2500,7 @@ Name | Type | Description | Notes # **getDomainConfig** ```swift - open class func getDomainConfig(tenantId: String, domain: String, completion: @escaping (_ data: GetDomainConfigResponse?, _ error: Error?) -> Void) + open class func getDomainConfig(request: ApiGetDomainConfigRequest, completion: @escaping (_ data: GetDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -2513,7 +2513,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let domain = "domain_example" // String | -DefaultAPI.getDomainConfig(tenantId: tenantId, domain: domain) { (response, error) in +DefaultAPI.getDomainConfig(request: DefaultAPI.ApiGetDomainConfigRequest(tenantId: tenantId, domain: domain)) { (response, error) in guard error == nil else { print(error) return @@ -2549,7 +2549,7 @@ Name | Type | Description | Notes # **getDomainConfigs** ```swift - open class func getDomainConfigs(tenantId: String, completion: @escaping (_ data: GetDomainConfigsResponse?, _ error: Error?) -> Void) + open class func getDomainConfigs(request: ApiGetDomainConfigsRequest, completion: @escaping (_ data: GetDomainConfigsResponse?, _ error: Error?) -> Void) ``` @@ -2561,7 +2561,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | -DefaultAPI.getDomainConfigs(tenantId: tenantId) { (response, error) in +DefaultAPI.getDomainConfigs(request: DefaultAPI.ApiGetDomainConfigsRequest(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -2596,7 +2596,7 @@ Name | Type | Description | Notes # **getEmailTemplate** ```swift - open class func getEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: GetEmailTemplateResponse?, _ error: Error?) -> Void) + open class func getEmailTemplate(request: ApiGetEmailTemplateRequest, completion: @escaping (_ data: GetEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -2609,7 +2609,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getEmailTemplate(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getEmailTemplate(request: DefaultAPI.ApiGetEmailTemplateRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -2645,7 +2645,7 @@ Name | Type | Description | Notes # **getEmailTemplateDefinitions** ```swift - open class func getEmailTemplateDefinitions(tenantId: String, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateDefinitions(request: ApiGetEmailTemplateDefinitionsRequest, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse?, _ error: Error?) -> Void) ``` @@ -2657,7 +2657,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | -DefaultAPI.getEmailTemplateDefinitions(tenantId: tenantId) { (response, error) in +DefaultAPI.getEmailTemplateDefinitions(request: DefaultAPI.ApiGetEmailTemplateDefinitionsRequest(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -2692,7 +2692,7 @@ Name | Type | Description | Notes # **getEmailTemplateRenderErrors** ```swift - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateRenderErrors(request: ApiGetEmailTemplateRenderErrorsRequest, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) ``` @@ -2706,7 +2706,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getEmailTemplateRenderErrors(tenantId: tenantId, id: id, skip: skip) { (response, error) in +DefaultAPI.getEmailTemplateRenderErrors(request: DefaultAPI.ApiGetEmailTemplateRenderErrorsRequest(tenantId: tenantId, id: id, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -2743,7 +2743,7 @@ Name | Type | Description | Notes # **getEmailTemplates** ```swift - open class func getEmailTemplates(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) + open class func getEmailTemplates(request: ApiGetEmailTemplatesRequest, completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) ``` @@ -2756,7 +2756,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getEmailTemplates(tenantId: tenantId, skip: skip) { (response, error) in +DefaultAPI.getEmailTemplates(request: DefaultAPI.ApiGetEmailTemplatesRequest(tenantId: tenantId, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -2792,7 +2792,7 @@ Name | Type | Description | Notes # **getFeedPosts** ```swift - open class func getFeedPosts(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPosts(request: ApiGetFeedPostsRequest, completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -2809,7 +2809,7 @@ let afterId = "afterId_example" // String | (optional) let limit = 987 // Int | (optional) let tags = ["inner_example"] // [String] | (optional) -DefaultAPI.getFeedPosts(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags) { (response, error) in +DefaultAPI.getFeedPosts(request: DefaultAPI.ApiGetFeedPostsRequest(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags)) { (response, error) in guard error == nil else { print(error) return @@ -2847,7 +2847,7 @@ Name | Type | Description | Notes # **getHashTags** ```swift - open class func getHashTags(tenantId: String, page: Double? = nil, completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) + open class func getHashTags(request: ApiGetHashTagsRequest, completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -2860,7 +2860,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let page = 987 // Double | (optional) -DefaultAPI.getHashTags(tenantId: tenantId, page: page) { (response, error) in +DefaultAPI.getHashTags(request: DefaultAPI.ApiGetHashTagsRequest(tenantId: tenantId, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -2896,7 +2896,7 @@ Name | Type | Description | Notes # **getModerator** ```swift - open class func getModerator(tenantId: String, id: String, completion: @escaping (_ data: GetModeratorResponse?, _ error: Error?) -> Void) + open class func getModerator(request: ApiGetModeratorRequest, completion: @escaping (_ data: GetModeratorResponse?, _ error: Error?) -> Void) ``` @@ -2909,7 +2909,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getModerator(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getModerator(request: DefaultAPI.ApiGetModeratorRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -2945,7 +2945,7 @@ Name | Type | Description | Notes # **getModerators** ```swift - open class func getModerators(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) + open class func getModerators(request: ApiGetModeratorsRequest, completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) ``` @@ -2958,7 +2958,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getModerators(tenantId: tenantId, skip: skip) { (response, error) in +DefaultAPI.getModerators(request: DefaultAPI.ApiGetModeratorsRequest(tenantId: tenantId, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -2994,7 +2994,7 @@ Name | Type | Description | Notes # **getNotificationCount** ```swift - open class func getNotificationCount(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) + open class func getNotificationCount(request: ApiGetNotificationCountRequest, completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -3011,7 +3011,7 @@ let fromCommentId = "fromCommentId_example" // String | (optional) let viewed = true // Bool | (optional) let type = "type_example" // String | (optional) -DefaultAPI.getNotificationCount(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type) { (response, error) in +DefaultAPI.getNotificationCount(request: DefaultAPI.ApiGetNotificationCountRequest(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type)) { (response, error) in guard error == nil else { print(error) return @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes # **getNotifications** ```swift - open class func getNotifications(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) + open class func getNotifications(request: ApiGetNotificationsRequest, completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -3069,7 +3069,7 @@ let viewed = true // Bool | (optional) let type = "type_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getNotifications(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip) { (response, error) in +DefaultAPI.getNotifications(request: DefaultAPI.ApiGetNotificationsRequest(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3110,7 +3110,7 @@ Name | Type | Description | Notes # **getPageByURLId** ```swift - open class func getPageByURLId(tenantId: String, urlId: String, completion: @escaping (_ data: GetPageByURLIdAPIResponse?, _ error: Error?) -> Void) + open class func getPageByURLId(request: ApiGetPageByURLIdRequest, completion: @escaping (_ data: GetPageByURLIdAPIResponse?, _ error: Error?) -> Void) ``` @@ -3123,7 +3123,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -DefaultAPI.getPageByURLId(tenantId: tenantId, urlId: urlId) { (response, error) in +DefaultAPI.getPageByURLId(request: DefaultAPI.ApiGetPageByURLIdRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -3159,7 +3159,7 @@ Name | Type | Description | Notes # **getPages** ```swift - open class func getPages(tenantId: String, completion: @escaping (_ data: GetPagesAPIResponse?, _ error: Error?) -> Void) + open class func getPages(request: ApiGetPagesRequest, completion: @escaping (_ data: GetPagesAPIResponse?, _ error: Error?) -> Void) ``` @@ -3171,7 +3171,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | -DefaultAPI.getPages(tenantId: tenantId) { (response, error) in +DefaultAPI.getPages(request: DefaultAPI.ApiGetPagesRequest(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -3206,7 +3206,7 @@ Name | Type | Description | Notes # **getPendingWebhookEventCount** ```swift - open class func getPendingWebhookEventCount(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEventCount(request: ApiGetPendingWebhookEventCountRequest, completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) ``` @@ -3224,7 +3224,7 @@ let type = "type_example" // String | (optional) let domain = "domain_example" // String | (optional) let attemptCountGT = 987 // Double | (optional) -DefaultAPI.getPendingWebhookEventCount(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT) { (response, error) in +DefaultAPI.getPendingWebhookEventCount(request: DefaultAPI.ApiGetPendingWebhookEventCountRequest(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT)) { (response, error) in guard error == nil else { print(error) return @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes # **getPendingWebhookEvents** ```swift - open class func getPendingWebhookEvents(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEvents(request: ApiGetPendingWebhookEventsRequest, completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) ``` @@ -3284,7 +3284,7 @@ let domain = "domain_example" // String | (optional) let attemptCountGT = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getPendingWebhookEvents(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip) { (response, error) in +DefaultAPI.getPendingWebhookEvents(request: DefaultAPI.ApiGetPendingWebhookEventsRequest(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3326,7 +3326,7 @@ Name | Type | Description | Notes # **getQuestionConfig** ```swift - open class func getQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionConfigResponse?, _ error: Error?) -> Void) + open class func getQuestionConfig(request: ApiGetQuestionConfigRequest, completion: @escaping (_ data: GetQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -3339,7 +3339,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getQuestionConfig(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getQuestionConfig(request: DefaultAPI.ApiGetQuestionConfigRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -3375,7 +3375,7 @@ Name | Type | Description | Notes # **getQuestionConfigs** ```swift - open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) + open class func getQuestionConfigs(request: ApiGetQuestionConfigsRequest, completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) ``` @@ -3388,7 +3388,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getQuestionConfigs(tenantId: tenantId, skip: skip) { (response, error) in +DefaultAPI.getQuestionConfigs(request: DefaultAPI.ApiGetQuestionConfigsRequest(tenantId: tenantId, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3424,7 +3424,7 @@ Name | Type | Description | Notes # **getQuestionResult** ```swift - open class func getQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionResultResponse?, _ error: Error?) -> Void) + open class func getQuestionResult(request: ApiGetQuestionResultRequest, completion: @escaping (_ data: GetQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -3437,7 +3437,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getQuestionResult(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getQuestionResult(request: DefaultAPI.ApiGetQuestionResultRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -3473,7 +3473,7 @@ Name | Type | Description | Notes # **getQuestionResults** ```swift - open class func getQuestionResults(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) + open class func getQuestionResults(request: ApiGetQuestionResultsRequest, completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -3491,7 +3491,7 @@ let questionId = "questionId_example" // String | (optional) let questionIds = "questionIds_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getQuestionResults(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip) { (response, error) in +DefaultAPI.getQuestionResults(request: DefaultAPI.ApiGetQuestionResultsRequest(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3532,7 +3532,7 @@ Name | Type | Description | Notes # **getSSOUserByEmail** ```swift - open class func getSSOUserByEmail(tenantId: String, email: String, completion: @escaping (_ data: GetSSOUserByEmailAPIResponse?, _ error: Error?) -> Void) + open class func getSSOUserByEmail(request: ApiGetSSOUserByEmailRequest, completion: @escaping (_ data: GetSSOUserByEmailAPIResponse?, _ error: Error?) -> Void) ``` @@ -3545,7 +3545,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let email = "email_example" // String | -DefaultAPI.getSSOUserByEmail(tenantId: tenantId, email: email) { (response, error) in +DefaultAPI.getSSOUserByEmail(request: DefaultAPI.ApiGetSSOUserByEmailRequest(tenantId: tenantId, email: email)) { (response, error) in guard error == nil else { print(error) return @@ -3581,7 +3581,7 @@ Name | Type | Description | Notes # **getSSOUserById** ```swift - open class func getSSOUserById(tenantId: String, id: String, completion: @escaping (_ data: GetSSOUserByIdAPIResponse?, _ error: Error?) -> Void) + open class func getSSOUserById(request: ApiGetSSOUserByIdRequest, completion: @escaping (_ data: GetSSOUserByIdAPIResponse?, _ error: Error?) -> Void) ``` @@ -3594,7 +3594,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getSSOUserById(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getSSOUserById(request: DefaultAPI.ApiGetSSOUserByIdRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -3630,7 +3630,7 @@ Name | Type | Description | Notes # **getSSOUsers** ```swift - open class func getSSOUsers(tenantId: String, skip: Int? = nil, completion: @escaping (_ data: GetSSOUsersResponse?, _ error: Error?) -> Void) + open class func getSSOUsers(request: ApiGetSSOUsersRequest, completion: @escaping (_ data: GetSSOUsersResponse?, _ error: Error?) -> Void) ``` @@ -3643,7 +3643,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Int | (optional) -DefaultAPI.getSSOUsers(tenantId: tenantId, skip: skip) { (response, error) in +DefaultAPI.getSSOUsers(request: DefaultAPI.ApiGetSSOUsersRequest(tenantId: tenantId, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3679,7 +3679,7 @@ Name | Type | Description | Notes # **getSubscriptions** ```swift - open class func getSubscriptions(tenantId: String, userId: String? = nil, completion: @escaping (_ data: GetSubscriptionsAPIResponse?, _ error: Error?) -> Void) + open class func getSubscriptions(request: ApiGetSubscriptionsRequest, completion: @escaping (_ data: GetSubscriptionsAPIResponse?, _ error: Error?) -> Void) ``` @@ -3692,7 +3692,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.getSubscriptions(tenantId: tenantId, userId: userId) { (response, error) in +DefaultAPI.getSubscriptions(request: DefaultAPI.ApiGetSubscriptionsRequest(tenantId: tenantId, userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -3728,7 +3728,7 @@ Name | Type | Description | Notes # **getTenant** ```swift - open class func getTenant(tenantId: String, id: String, completion: @escaping (_ data: GetTenantResponse?, _ error: Error?) -> Void) + open class func getTenant(request: ApiGetTenantRequest, completion: @escaping (_ data: GetTenantResponse?, _ error: Error?) -> Void) ``` @@ -3741,7 +3741,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getTenant(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getTenant(request: DefaultAPI.ApiGetTenantRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -3777,7 +3777,7 @@ Name | Type | Description | Notes # **getTenantDailyUsages** ```swift - open class func getTenantDailyUsages(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) + open class func getTenantDailyUsages(request: ApiGetTenantDailyUsagesRequest, completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) ``` @@ -3793,7 +3793,7 @@ let monthNumber = 987 // Double | (optional) let dayNumber = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getTenantDailyUsages(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip) { (response, error) in +DefaultAPI.getTenantDailyUsages(request: DefaultAPI.ApiGetTenantDailyUsagesRequest(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3832,7 +3832,7 @@ Name | Type | Description | Notes # **getTenantPackage** ```swift - open class func getTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: GetTenantPackageResponse?, _ error: Error?) -> Void) + open class func getTenantPackage(request: ApiGetTenantPackageRequest, completion: @escaping (_ data: GetTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -3845,7 +3845,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getTenantPackage(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getTenantPackage(request: DefaultAPI.ApiGetTenantPackageRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -3881,7 +3881,7 @@ Name | Type | Description | Notes # **getTenantPackages** ```swift - open class func getTenantPackages(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) + open class func getTenantPackages(request: ApiGetTenantPackagesRequest, completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) ``` @@ -3894,7 +3894,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getTenantPackages(tenantId: tenantId, skip: skip) { (response, error) in +DefaultAPI.getTenantPackages(request: DefaultAPI.ApiGetTenantPackagesRequest(tenantId: tenantId, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3930,7 +3930,7 @@ Name | Type | Description | Notes # **getTenantUser** ```swift - open class func getTenantUser(tenantId: String, id: String, completion: @escaping (_ data: GetTenantUserResponse?, _ error: Error?) -> Void) + open class func getTenantUser(request: ApiGetTenantUserRequest, completion: @escaping (_ data: GetTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -3943,7 +3943,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getTenantUser(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getTenantUser(request: DefaultAPI.ApiGetTenantUserRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -3979,7 +3979,7 @@ Name | Type | Description | Notes # **getTenantUsers** ```swift - open class func getTenantUsers(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) + open class func getTenantUsers(request: ApiGetTenantUsersRequest, completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) ``` @@ -3992,7 +3992,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getTenantUsers(tenantId: tenantId, skip: skip) { (response, error) in +DefaultAPI.getTenantUsers(request: DefaultAPI.ApiGetTenantUsersRequest(tenantId: tenantId, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4028,7 +4028,7 @@ Name | Type | Description | Notes # **getTenants** ```swift - open class func getTenants(tenantId: String, meta: String? = nil, skip: Double? = nil, completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) + open class func getTenants(request: ApiGetTenantsRequest, completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) ``` @@ -4042,7 +4042,7 @@ let tenantId = "tenantId_example" // String | let meta = "meta_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getTenants(tenantId: tenantId, meta: meta, skip: skip) { (response, error) in +DefaultAPI.getTenants(request: DefaultAPI.ApiGetTenantsRequest(tenantId: tenantId, meta: meta, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4079,7 +4079,7 @@ Name | Type | Description | Notes # **getTicket** ```swift - open class func getTicket(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) + open class func getTicket(request: ApiGetTicketRequest, completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) ``` @@ -4093,7 +4093,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.getTicket(tenantId: tenantId, id: id, userId: userId) { (response, error) in +DefaultAPI.getTicket(request: DefaultAPI.ApiGetTicketRequest(tenantId: tenantId, id: id, userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -4130,7 +4130,7 @@ Name | Type | Description | Notes # **getTickets** ```swift - open class func getTickets(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil, completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) + open class func getTickets(request: ApiGetTicketsRequest, completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) ``` @@ -4146,7 +4146,7 @@ let state = 987 // Double | (optional) let skip = 987 // Double | (optional) let limit = 987 // Double | (optional) -DefaultAPI.getTickets(tenantId: tenantId, userId: userId, state: state, skip: skip, limit: limit) { (response, error) in +DefaultAPI.getTickets(request: DefaultAPI.ApiGetTicketsRequest(tenantId: tenantId, userId: userId, state: state, skip: skip, limit: limit)) { (response, error) in guard error == nil else { print(error) return @@ -4185,7 +4185,7 @@ Name | Type | Description | Notes # **getUser** ```swift - open class func getUser(tenantId: String, id: String, completion: @escaping (_ data: GetUserResponse?, _ error: Error?) -> Void) + open class func getUser(request: ApiGetUserRequest, completion: @escaping (_ data: GetUserResponse?, _ error: Error?) -> Void) ``` @@ -4198,7 +4198,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getUser(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getUser(request: DefaultAPI.ApiGetUserRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -4234,7 +4234,7 @@ Name | Type | Description | Notes # **getUserBadge** ```swift - open class func getUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeResponse?, _ error: Error?) -> Void) + open class func getUserBadge(request: ApiGetUserBadgeRequest, completion: @escaping (_ data: APIGetUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -4247,7 +4247,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getUserBadge(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getUserBadge(request: DefaultAPI.ApiGetUserBadgeRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -4283,7 +4283,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressById** ```swift - open class func getUserBadgeProgressById(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressById(request: ApiGetUserBadgeProgressByIdRequest, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) ``` @@ -4296,7 +4296,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getUserBadgeProgressById(tenantId: tenantId, id: id) { (response, error) in +DefaultAPI.getUserBadgeProgressById(request: DefaultAPI.ApiGetUserBadgeProgressByIdRequest(tenantId: tenantId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -4332,7 +4332,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressByUserId** ```swift - open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressByUserId(request: ApiGetUserBadgeProgressByUserIdRequest, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) ``` @@ -4345,7 +4345,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | -DefaultAPI.getUserBadgeProgressByUserId(tenantId: tenantId, userId: userId) { (response, error) in +DefaultAPI.getUserBadgeProgressByUserId(request: DefaultAPI.ApiGetUserBadgeProgressByUserIdRequest(tenantId: tenantId, userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -4381,7 +4381,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressList** ```swift - open class func getUserBadgeProgressList(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressList(request: ApiGetUserBadgeProgressListRequest, completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) ``` @@ -4396,7 +4396,7 @@ let userId = "userId_example" // String | (optional) let limit = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getUserBadgeProgressList(tenantId: tenantId, userId: userId, limit: limit, skip: skip) { (response, error) in +DefaultAPI.getUserBadgeProgressList(request: DefaultAPI.ApiGetUserBadgeProgressListRequest(tenantId: tenantId, userId: userId, limit: limit, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4434,7 +4434,7 @@ Name | Type | Description | Notes # **getUserBadges** ```swift - open class func getUserBadges(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil, completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) + open class func getUserBadges(request: ApiGetUserBadgesRequest, completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) ``` @@ -4452,7 +4452,7 @@ let displayedOnComments = true // Bool | (optional) let limit = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getUserBadges(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip) { (response, error) in +DefaultAPI.getUserBadges(request: DefaultAPI.ApiGetUserBadgesRequest(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4493,7 +4493,7 @@ Name | Type | Description | Notes # **getVotes** ```swift - open class func getVotes(tenantId: String, urlId: String, completion: @escaping (_ data: GetVotesResponse?, _ error: Error?) -> Void) + open class func getVotes(request: ApiGetVotesRequest, completion: @escaping (_ data: GetVotesResponse?, _ error: Error?) -> Void) ``` @@ -4506,7 +4506,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -DefaultAPI.getVotes(tenantId: tenantId, urlId: urlId) { (response, error) in +DefaultAPI.getVotes(request: DefaultAPI.ApiGetVotesRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -4542,7 +4542,7 @@ Name | Type | Description | Notes # **getVotesForUser** ```swift - open class func getVotesForUser(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) + open class func getVotesForUser(request: ApiGetVotesForUserRequest, completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) ``` @@ -4557,7 +4557,7 @@ let urlId = "urlId_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.getVotesForUser(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId) { (response, error) in +DefaultAPI.getVotesForUser(request: DefaultAPI.ApiGetVotesForUserRequest(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -4595,7 +4595,7 @@ Name | Type | Description | Notes # **patchDomainConfig** ```swift - open class func patchDomainConfig(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams, completion: @escaping (_ data: PatchDomainConfigResponse?, _ error: Error?) -> Void) + open class func patchDomainConfig(request: ApiPatchDomainConfigRequest, completion: @escaping (_ data: PatchDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -4609,7 +4609,7 @@ let tenantId = "tenantId_example" // String | let domainToUpdate = "domainToUpdate_example" // String | let patchDomainConfigParams = PatchDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // PatchDomainConfigParams | -DefaultAPI.patchDomainConfig(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams) { (response, error) in +DefaultAPI.patchDomainConfig(request: DefaultAPI.ApiPatchDomainConfigRequest(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams)) { (response, error) in guard error == nil else { print(error) return @@ -4646,7 +4646,7 @@ Name | Type | Description | Notes # **patchHashTag** ```swift - open class func patchHashTag(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) + open class func patchHashTag(request: ApiPatchHashTagRequest, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -4660,7 +4660,7 @@ let tag = "tag_example" // String | let tenantId = "tenantId_example" // String | (optional) let updateHashTagBody = UpdateHashTagBody(tenantId: "tenantId_example", url: "url_example", tag: "tag_example") // UpdateHashTagBody | (optional) -DefaultAPI.patchHashTag(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody) { (response, error) in +DefaultAPI.patchHashTag(request: DefaultAPI.ApiPatchHashTagRequest(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody)) { (response, error) in guard error == nil else { print(error) return @@ -4697,7 +4697,7 @@ Name | Type | Description | Notes # **patchPage** ```swift - open class func patchPage(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData, completion: @escaping (_ data: PatchPageAPIResponse?, _ error: Error?) -> Void) + open class func patchPage(request: ApiPatchPageRequest, completion: @escaping (_ data: PatchPageAPIResponse?, _ error: Error?) -> Void) ``` @@ -4711,7 +4711,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateAPIPageData = UpdateAPIPageData(isClosed: false, accessibleByGroupIds: ["accessibleByGroupIds_example"], title: "title_example", url: "url_example", urlId: "urlId_example") // UpdateAPIPageData | -DefaultAPI.patchPage(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData) { (response, error) in +DefaultAPI.patchPage(request: DefaultAPI.ApiPatchPageRequest(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData)) { (response, error) in guard error == nil else { print(error) return @@ -4748,7 +4748,7 @@ Name | Type | Description | Notes # **patchSSOUser** ```swift - open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, completion: @escaping (_ data: PatchSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func patchSSOUser(request: ApiPatchSSOUserRequest, completion: @escaping (_ data: PatchSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -4763,7 +4763,7 @@ let id = "id_example" // String | let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData | let updateComments = true // Bool | (optional) -DefaultAPI.patchSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments) { (response, error) in +DefaultAPI.patchSSOUser(request: DefaultAPI.ApiPatchSSOUserRequest(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -4801,7 +4801,7 @@ Name | Type | Description | Notes # **putDomainConfig** ```swift - open class func putDomainConfig(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams, completion: @escaping (_ data: PutDomainConfigResponse?, _ error: Error?) -> Void) + open class func putDomainConfig(request: ApiPutDomainConfigRequest, completion: @escaping (_ data: PutDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -4815,7 +4815,7 @@ let tenantId = "tenantId_example" // String | let domainToUpdate = "domainToUpdate_example" // String | let updateDomainConfigParams = UpdateDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // UpdateDomainConfigParams | -DefaultAPI.putDomainConfig(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams) { (response, error) in +DefaultAPI.putDomainConfig(request: DefaultAPI.ApiPutDomainConfigRequest(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams)) { (response, error) in guard error == nil else { print(error) return @@ -4852,7 +4852,7 @@ Name | Type | Description | Notes # **putSSOUser** ```swift - open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, completion: @escaping (_ data: PutSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func putSSOUser(request: ApiPutSSOUserRequest, completion: @escaping (_ data: PutSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -4867,7 +4867,7 @@ let id = "id_example" // String | let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData | let updateComments = true // Bool | (optional) -DefaultAPI.putSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments) { (response, error) in +DefaultAPI.putSSOUser(request: DefaultAPI.ApiPutSSOUserRequest(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -4905,7 +4905,7 @@ Name | Type | Description | Notes # **renderEmailTemplate** ```swift - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) + open class func renderEmailTemplate(request: ApiRenderEmailTemplateRequest, completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -4919,7 +4919,7 @@ let tenantId = "tenantId_example" // String | let renderEmailTemplateBody = RenderEmailTemplateBody(emailTemplateId: "emailTemplateId_example", ejs: "ejs_example", testData: "TODO", translationOverridesByLocale: "TODO") // RenderEmailTemplateBody | let locale = "locale_example" // String | (optional) -DefaultAPI.renderEmailTemplate(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale) { (response, error) in +DefaultAPI.renderEmailTemplate(request: DefaultAPI.ApiRenderEmailTemplateRequest(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale)) { (response, error) in guard error == nil else { print(error) return @@ -4956,7 +4956,7 @@ Name | Type | Description | Notes # **replaceTenantPackage** ```swift - open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantPackage(request: ApiReplaceTenantPackageRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -4970,7 +4970,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let replaceTenantPackageBody = ReplaceTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxCustomCollectionSize: 123, hasDebranding: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasFlexPricing: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexMinimumCostCents: 123) // ReplaceTenantPackageBody | -DefaultAPI.replaceTenantPackage(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody) { (response, error) in +DefaultAPI.replaceTenantPackage(request: DefaultAPI.ApiReplaceTenantPackageRequest(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody)) { (response, error) in guard error == nil else { print(error) return @@ -5007,7 +5007,7 @@ Name | Type | Description | Notes # **replaceTenantUser** ```swift - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantUser(request: ApiReplaceTenantUserRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5022,7 +5022,7 @@ let id = "id_example" // String | let replaceTenantUserBody = ReplaceTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example", createdFromUrlId: "createdFromUrlId_example", createdFromTenantId: "createdFromTenantId_example", lastLoginDate: 123, karma: 123) // ReplaceTenantUserBody | let updateComments = "updateComments_example" // String | (optional) -DefaultAPI.replaceTenantUser(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments) { (response, error) in +DefaultAPI.replaceTenantUser(request: DefaultAPI.ApiReplaceTenantUserRequest(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -5060,7 +5060,7 @@ Name | Type | Description | Notes # **saveComment** ```swift - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) + open class func saveComment(request: ApiSaveCommentRequest, completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) ``` @@ -5077,7 +5077,7 @@ let doSpamCheck = true // Bool | (optional) let sendEmails = true // Bool | (optional) let populateNotifications = true // Bool | (optional) -DefaultAPI.saveComment(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications) { (response, error) in +DefaultAPI.saveComment(request: DefaultAPI.ApiSaveCommentRequest(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in guard error == nil else { print(error) return @@ -5117,7 +5117,7 @@ Name | Type | Description | Notes # **saveCommentsBulk** ```swift - open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil, completion: @escaping (_ data: [SaveCommentsBulkResponse]?, _ error: Error?) -> Void) + open class func saveCommentsBulk(request: ApiSaveCommentsBulkRequest, completion: @escaping (_ data: [SaveCommentsBulkResponse]?, _ error: Error?) -> Void) ``` @@ -5134,7 +5134,7 @@ let doSpamCheck = true // Bool | (optional) let sendEmails = true // Bool | (optional) let populateNotifications = true // Bool | (optional) -DefaultAPI.saveCommentsBulk(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications) { (response, error) in +DefaultAPI.saveCommentsBulk(request: DefaultAPI.ApiSaveCommentsBulkRequest(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in guard error == nil else { print(error) return @@ -5174,7 +5174,7 @@ Name | Type | Description | Notes # **sendInvite** ```swift - open class func sendInvite(tenantId: String, id: String, fromName: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendInvite(request: ApiSendInviteRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5188,7 +5188,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let fromName = "fromName_example" // String | -DefaultAPI.sendInvite(tenantId: tenantId, id: id, fromName: fromName) { (response, error) in +DefaultAPI.sendInvite(request: DefaultAPI.ApiSendInviteRequest(tenantId: tenantId, id: id, fromName: fromName)) { (response, error) in guard error == nil else { print(error) return @@ -5225,7 +5225,7 @@ Name | Type | Description | Notes # **sendLoginLink** ```swift - open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendLoginLink(request: ApiSendLoginLinkRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5239,7 +5239,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let redirectURL = "redirectURL_example" // String | (optional) -DefaultAPI.sendLoginLink(tenantId: tenantId, id: id, redirectURL: redirectURL) { (response, error) in +DefaultAPI.sendLoginLink(request: DefaultAPI.ApiSendLoginLinkRequest(tenantId: tenantId, id: id, redirectURL: redirectURL)) { (response, error) in guard error == nil else { print(error) return @@ -5276,7 +5276,7 @@ Name | Type | Description | Notes # **unBlockUserFromComment** ```swift - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockUserFromComment(request: ApiUnBlockUserFromCommentRequest, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -5292,7 +5292,7 @@ let unBlockFromCommentParams = UnBlockFromCommentParams(commentIdsToCheck: ["com let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.unBlockUserFromComment(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId) { (response, error) in +DefaultAPI.unBlockUserFromComment(request: DefaultAPI.ApiUnBlockUserFromCommentRequest(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -5331,7 +5331,7 @@ Name | Type | Description | Notes # **unFlagComment** ```swift - open class func unFlagComment(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func unFlagComment(request: ApiUnFlagCommentRequest, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -5346,7 +5346,7 @@ let id = "id_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.unFlagComment(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId) { (response, error) in +DefaultAPI.unFlagComment(request: DefaultAPI.ApiUnFlagCommentRequest(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -5384,7 +5384,7 @@ Name | Type | Description | Notes # **updateComment** ```swift - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateComment(request: ApiUpdateCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5401,7 +5401,7 @@ let contextUserId = "contextUserId_example" // String | (optional) let doSpamCheck = true // Bool | (optional) let isLive = true // Bool | (optional) -DefaultAPI.updateComment(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive) { (response, error) in +DefaultAPI.updateComment(request: DefaultAPI.ApiUpdateCommentRequest(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive)) { (response, error) in guard error == nil else { print(error) return @@ -5441,7 +5441,7 @@ Name | Type | Description | Notes # **updateEmailTemplate** ```swift - open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateEmailTemplate(request: ApiUpdateEmailTemplateRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5455,7 +5455,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateEmailTemplateBody = UpdateEmailTemplateBody(emailTemplateId: "emailTemplateId_example", displayName: "displayName_example", ejs: "ejs_example", domain: "domain_example", translationOverridesByLocale: "TODO", testData: "TODO") // UpdateEmailTemplateBody | -DefaultAPI.updateEmailTemplate(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody) { (response, error) in +DefaultAPI.updateEmailTemplate(request: DefaultAPI.ApiUpdateEmailTemplateRequest(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody)) { (response, error) in guard error == nil else { print(error) return @@ -5492,7 +5492,7 @@ Name | Type | Description | Notes # **updateFeedPost** ```swift - open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateFeedPost(request: ApiUpdateFeedPostRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5506,7 +5506,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let feedPost = FeedPost(id: "id_example", tenantId: "tenantId_example", title: "title_example", fromUserId: "fromUserId_example", fromUserDisplayName: "fromUserDisplayName_example", fromUserAvatar: "fromUserAvatar_example", fromIpHash: "fromIpHash_example", tags: ["tags_example"], weight: 123, meta: "TODO", contentHTML: "contentHTML_example", media: [FeedPostMediaItem(title: "title_example", linkUrl: "linkUrl_example", sizes: [FeedPostMediaItemAsset(w: 123, h: 123, src: "src_example")])], links: [FeedPostLink(text: "text_example", title: "title_example", description: "description_example", url: "url_example")], createdAt: Date(), reacts: "TODO", commentCount: 123) // FeedPost | -DefaultAPI.updateFeedPost(tenantId: tenantId, id: id, feedPost: feedPost) { (response, error) in +DefaultAPI.updateFeedPost(request: DefaultAPI.ApiUpdateFeedPostRequest(tenantId: tenantId, id: id, feedPost: feedPost)) { (response, error) in guard error == nil else { print(error) return @@ -5543,7 +5543,7 @@ Name | Type | Description | Notes # **updateModerator** ```swift - open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateModerator(request: ApiUpdateModeratorRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5557,7 +5557,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateModeratorBody = UpdateModeratorBody(name: "name_example", email: "email_example", userId: "userId_example", moderationGroupIds: ["moderationGroupIds_example"]) // UpdateModeratorBody | -DefaultAPI.updateModerator(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody) { (response, error) in +DefaultAPI.updateModerator(request: DefaultAPI.ApiUpdateModeratorRequest(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody)) { (response, error) in guard error == nil else { print(error) return @@ -5594,7 +5594,7 @@ Name | Type | Description | Notes # **updateNotification** ```swift - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateNotification(request: ApiUpdateNotificationRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5609,7 +5609,7 @@ let id = "id_example" // String | let updateNotificationBody = UpdateNotificationBody(viewed: false, optedOut: false) // UpdateNotificationBody | let userId = "userId_example" // String | (optional) -DefaultAPI.updateNotification(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId) { (response, error) in +DefaultAPI.updateNotification(request: DefaultAPI.ApiUpdateNotificationRequest(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -5647,7 +5647,7 @@ Name | Type | Description | Notes # **updateQuestionConfig** ```swift - open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateQuestionConfig(request: ApiUpdateQuestionConfigRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5661,7 +5661,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateQuestionConfigBody = UpdateQuestionConfigBody(name: "name_example", question: "question_example", helpText: "helpText_example", type: "type_example", numStars: 123, min: 123, max: 123, defaultValue: 123, labelNegative: "labelNegative_example", labelPositive: "labelPositive_example", customOptions: [QuestionConfig_customOptions_inner(imageSrc: "imageSrc_example", name: "name_example")], subQuestionIds: ["subQuestionIds_example"], alwaysShowSubQuestions: false, reportingOrder: 123) // UpdateQuestionConfigBody | -DefaultAPI.updateQuestionConfig(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody) { (response, error) in +DefaultAPI.updateQuestionConfig(request: DefaultAPI.ApiUpdateQuestionConfigRequest(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody)) { (response, error) in guard error == nil else { print(error) return @@ -5698,7 +5698,7 @@ Name | Type | Description | Notes # **updateQuestionResult** ```swift - open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateQuestionResult(request: ApiUpdateQuestionResultRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5712,7 +5712,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateQuestionResultBody = UpdateQuestionResultBody(urlId: "urlId_example", anonUserId: "anonUserId_example", userId: "userId_example", value: 123, commentId: "commentId_example", questionId: "questionId_example", meta: [MetaItem(name: "name_example", values: ["values_example"])]) // UpdateQuestionResultBody | -DefaultAPI.updateQuestionResult(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody) { (response, error) in +DefaultAPI.updateQuestionResult(request: DefaultAPI.ApiUpdateQuestionResultRequest(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody)) { (response, error) in guard error == nil else { print(error) return @@ -5749,7 +5749,7 @@ Name | Type | Description | Notes # **updateSubscription** ```swift - open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil, completion: @escaping (_ data: UpdateSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func updateSubscription(request: ApiUpdateSubscriptionRequest, completion: @escaping (_ data: UpdateSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -5764,7 +5764,7 @@ let id = "id_example" // String | let updateAPIUserSubscriptionData = UpdateAPIUserSubscriptionData(notificationFrequency: 123) // UpdateAPIUserSubscriptionData | let userId = "userId_example" // String | (optional) -DefaultAPI.updateSubscription(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, userId: userId) { (response, error) in +DefaultAPI.updateSubscription(request: DefaultAPI.ApiUpdateSubscriptionRequest(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -5802,7 +5802,7 @@ Name | Type | Description | Notes # **updateTenant** ```swift - open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenant(request: ApiUpdateTenantRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5816,7 +5816,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateTenantBody = UpdateTenantBody(name: "name_example", email: "email_example", signUpDate: 123, packageId: "packageId_example", paymentFrequency: 123, billingInfoValid: false, billingHandledExternally: false, createdBy: "createdBy_example", isSetup: false, domainConfiguration: [APIDomainConfiguration(id: "id_example", domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", emailHeaders: "TODO", wpSyncToken: "wpSyncToken_example", wpSynced: false, wpURL: "wpURL_example", createdAt: Date(), autoAddedDate: Date(), siteType: ImportedSiteType(), logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", disableUnsubscribeLinks: false)], billingInfo: BillingInfo(name: "name_example", address: "address_example", city: "city_example", state: "state_example", zip: "zip_example", country: "country_example", currency: "currency_example", email: "email_example"), stripeCustomerId: "stripeCustomerId_example", stripeSubscriptionId: "stripeSubscriptionId_example", stripePlanId: "stripePlanId_example", enableProfanityFilter: false, enableSpamFilter: false, removeUnverifiedComments: false, unverifiedCommentsTTLms: 123, commentsRequireApproval: false, autoApproveCommentOnVerification: false, sendProfaneToSpam: false, deAnonIpAddr: 123, meta: "TODO", managedByTenantId: "managedByTenantId_example") // UpdateTenantBody | -DefaultAPI.updateTenant(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody) { (response, error) in +DefaultAPI.updateTenant(request: DefaultAPI.ApiUpdateTenantRequest(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody)) { (response, error) in guard error == nil else { print(error) return @@ -5853,7 +5853,7 @@ Name | Type | Description | Notes # **updateTenantPackage** ```swift - open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantPackage(request: ApiUpdateTenantPackageRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5867,7 +5867,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateTenantPackageBody = UpdateTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxCustomCollectionSize: 123, hasDebranding: false, hasWhiteLabeling: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasFlexPricing: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexMinimumCostCents: 123) // UpdateTenantPackageBody | -DefaultAPI.updateTenantPackage(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody) { (response, error) in +DefaultAPI.updateTenantPackage(request: DefaultAPI.ApiUpdateTenantPackageRequest(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody)) { (response, error) in guard error == nil else { print(error) return @@ -5904,7 +5904,7 @@ Name | Type | Description | Notes # **updateTenantUser** ```swift - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantUser(request: ApiUpdateTenantUserRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5919,7 +5919,7 @@ let id = "id_example" // String | let updateTenantUserBody = UpdateTenantUserBody(username: "username_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", email: "email_example", signUpDate: 123, verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], locale: "locale_example", digestEmailFrequency: 123, displayLabel: "displayLabel_example") // UpdateTenantUserBody | let updateComments = "updateComments_example" // String | (optional) -DefaultAPI.updateTenantUser(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments) { (response, error) in +DefaultAPI.updateTenantUser(request: DefaultAPI.ApiUpdateTenantUserRequest(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -5957,7 +5957,7 @@ Name | Type | Description | Notes # **updateUserBadge** ```swift - open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) + open class func updateUserBadge(request: ApiUpdateUserBadgeRequest, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) ``` @@ -5971,7 +5971,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateUserBadgeParams = UpdateUserBadgeParams(displayedOnComments: false) // UpdateUserBadgeParams | -DefaultAPI.updateUserBadge(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams) { (response, error) in +DefaultAPI.updateUserBadge(request: DefaultAPI.ApiUpdateUserBadgeRequest(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams)) { (response, error) in guard error == nil else { print(error) return diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index ee0e6a9..ef77253 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -51,7 +51,7 @@ Method | HTTP request | Description # **deleteModerationVote** ```swift - open class func deleteModerationVote(commentId: String, voteId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteModerationVote(request: ApiDeleteModerationVoteRequest, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -67,7 +67,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.deleteModerationVote(request: ModerationAPI.ApiDeleteModerationVoteRequest(commentId: commentId, voteId: voteId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -106,7 +106,7 @@ No authorization required # **getApiComments** ```swift - open class func getApiComments(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getApiComments(request: ApiGetApiCommentsRequest, completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -127,7 +127,7 @@ let demo = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiComments(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getApiComments(request: ModerationAPI.ApiGetApiCommentsRequest(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -171,7 +171,7 @@ No authorization required # **getApiExportStatus** ```swift - open class func getApiExportStatus(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) + open class func getApiExportStatus(request: ApiGetApiExportStatusRequest, completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) ``` @@ -185,7 +185,7 @@ let batchJobId = "batchJobId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiExportStatus(batchJobId: batchJobId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getApiExportStatus(request: ModerationAPI.ApiGetApiExportStatusRequest(batchJobId: batchJobId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -222,7 +222,7 @@ No authorization required # **getApiIds** ```swift - open class func getApiIds(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) + open class func getApiIds(request: ApiGetApiIdsRequest, completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) ``` @@ -241,7 +241,7 @@ let demo = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiIds(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getApiIds(request: ModerationAPI.ApiGetApiIdsRequest(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -283,7 +283,7 @@ No authorization required # **getBanUsersFromComment** ```swift - open class func getBanUsersFromComment(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) + open class func getBanUsersFromComment(request: ApiGetBanUsersFromCommentRequest, completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -297,7 +297,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getBanUsersFromComment(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getBanUsersFromComment(request: ModerationAPI.ApiGetBanUsersFromCommentRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -334,7 +334,7 @@ No authorization required # **getCommentBanStatus** ```swift - open class func getCommentBanStatus(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) + open class func getCommentBanStatus(request: ApiGetCommentBanStatusRequest, completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) ``` @@ -348,7 +348,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentBanStatus(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getCommentBanStatus(request: ModerationAPI.ApiGetCommentBanStatusRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -385,7 +385,7 @@ No authorization required # **getCommentChildren** ```swift - open class func getCommentChildren(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func getCommentChildren(request: ApiGetCommentChildrenRequest, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -399,7 +399,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentChildren(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getCommentChildren(request: ModerationAPI.ApiGetCommentChildrenRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -436,7 +436,7 @@ No authorization required # **getCount** ```swift - open class func getCount(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) + open class func getCount(request: ApiGetCountRequest, completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) ``` @@ -454,7 +454,7 @@ let demo = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCount(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getCount(request: ModerationAPI.ApiGetCountRequest(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -495,7 +495,7 @@ No authorization required # **getCounts** ```swift - open class func getCounts(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) + open class func getCounts(request: ApiGetCountsRequest, completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) ``` @@ -508,7 +508,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCounts(tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getCounts(request: ModerationAPI.ApiGetCountsRequest(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -544,7 +544,7 @@ No authorization required # **getLogs** ```swift - open class func getLogs(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) + open class func getLogs(request: ApiGetLogsRequest, completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) ``` @@ -558,7 +558,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getLogs(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getLogs(request: ModerationAPI.ApiGetLogsRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -595,7 +595,7 @@ No authorization required # **getManualBadges** ```swift - open class func getManualBadges(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadges(request: ApiGetManualBadgesRequest, completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -608,7 +608,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadges(tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getManualBadges(request: ModerationAPI.ApiGetManualBadgesRequest(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -644,7 +644,7 @@ No authorization required # **getManualBadgesForUser** ```swift - open class func getManualBadgesForUser(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadgesForUser(request: ApiGetManualBadgesForUserRequest, completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -659,7 +659,7 @@ let commentId = "commentId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadgesForUser(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getManualBadgesForUser(request: ModerationAPI.ApiGetManualBadgesForUserRequest(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -697,7 +697,7 @@ No authorization required # **getModerationComment** ```swift - open class func getModerationComment(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) + open class func getModerationComment(request: ApiGetModerationCommentRequest, completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) ``` @@ -713,7 +713,7 @@ let includeIP = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationComment(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getModerationComment(request: ModerationAPI.ApiGetModerationCommentRequest(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -752,7 +752,7 @@ No authorization required # **getModerationCommentText** ```swift - open class func getModerationCommentText(commentId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) + open class func getModerationCommentText(request: ApiGetModerationCommentTextRequest, completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -766,7 +766,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationCommentText(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getModerationCommentText(request: ModerationAPI.ApiGetModerationCommentTextRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -803,7 +803,7 @@ No authorization required # **getPreBanSummary** ```swift - open class func getPreBanSummary(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) + open class func getPreBanSummary(request: ApiGetPreBanSummaryRequest, completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) ``` @@ -820,7 +820,7 @@ let includeByEmailDomain = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getPreBanSummary(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getPreBanSummary(request: ModerationAPI.ApiGetPreBanSummaryRequest(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -860,7 +860,7 @@ No authorization required # **getSearchCommentsSummary** ```swift - open class func getSearchCommentsSummary(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) + open class func getSearchCommentsSummary(request: ApiGetSearchCommentsSummaryRequest, completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) ``` @@ -876,7 +876,7 @@ let searchFilters = "searchFilters_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchCommentsSummary(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getSearchCommentsSummary(request: ModerationAPI.ApiGetSearchCommentsSummaryRequest(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -915,7 +915,7 @@ No authorization required # **getSearchPages** ```swift - open class func getSearchPages(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) + open class func getSearchPages(request: ApiGetSearchPagesRequest, completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) ``` @@ -929,7 +929,7 @@ let value = "value_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchPages(value: value, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getSearchPages(request: ModerationAPI.ApiGetSearchPagesRequest(value: value, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -966,7 +966,7 @@ No authorization required # **getSearchSites** ```swift - open class func getSearchSites(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) + open class func getSearchSites(request: ApiGetSearchSitesRequest, completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) ``` @@ -980,7 +980,7 @@ let value = "value_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSites(value: value, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getSearchSites(request: ModerationAPI.ApiGetSearchSitesRequest(value: value, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1017,7 +1017,7 @@ No authorization required # **getSearchSuggest** ```swift - open class func getSearchSuggest(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) + open class func getSearchSuggest(request: ApiGetSearchSuggestRequest, completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) ``` @@ -1031,7 +1031,7 @@ let textSearch = "textSearch_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSuggest(textSearch: textSearch, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getSearchSuggest(request: ModerationAPI.ApiGetSearchSuggestRequest(textSearch: textSearch, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1068,7 +1068,7 @@ No authorization required # **getSearchUsers** ```swift - open class func getSearchUsers(value: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) + open class func getSearchUsers(request: ApiGetSearchUsersRequest, completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) ``` @@ -1082,7 +1082,7 @@ let value = "value_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchUsers(value: value, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getSearchUsers(request: ModerationAPI.ApiGetSearchUsersRequest(value: value, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1119,7 +1119,7 @@ No authorization required # **getTrustFactor** ```swift - open class func getTrustFactor(userId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func getTrustFactor(request: ApiGetTrustFactorRequest, completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -1133,7 +1133,7 @@ let userId = "userId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getTrustFactor(userId: userId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getTrustFactor(request: ModerationAPI.ApiGetTrustFactorRequest(userId: userId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1170,7 +1170,7 @@ No authorization required # **getUserBanPreference** ```swift - open class func getUserBanPreference(tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) + open class func getUserBanPreference(request: ApiGetUserBanPreferenceRequest, completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) ``` @@ -1183,7 +1183,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserBanPreference(tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getUserBanPreference(request: ModerationAPI.ApiGetUserBanPreferenceRequest(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1219,7 +1219,7 @@ No authorization required # **getUserInternalProfile** ```swift - open class func getUserInternalProfile(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) + open class func getUserInternalProfile(request: ApiGetUserInternalProfileRequest, completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) ``` @@ -1233,7 +1233,7 @@ let commentId = "commentId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserInternalProfile(commentId: commentId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.getUserInternalProfile(request: ModerationAPI.ApiGetUserInternalProfileRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1270,7 +1270,7 @@ No authorization required # **postAdjustCommentVotes** ```swift - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) + open class func postAdjustCommentVotes(request: ApiPostAdjustCommentVotesRequest, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) ``` @@ -1286,7 +1286,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postAdjustCommentVotes(request: ModerationAPI.ApiPostAdjustCommentVotesRequest(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1325,7 +1325,7 @@ No authorization required # **postApiExport** ```swift - open class func postApiExport(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) + open class func postApiExport(request: ApiPostApiExportRequest, completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) ``` @@ -1343,7 +1343,7 @@ let sorts = "sorts_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postApiExport(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postApiExport(request: ModerationAPI.ApiPostApiExportRequest(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1384,7 +1384,7 @@ No authorization required # **postBanUserFromComment** ```swift - open class func postBanUserFromComment(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) + open class func postBanUserFromComment(request: ApiPostBanUserFromCommentRequest, completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) ``` @@ -1406,7 +1406,7 @@ let banReason = "banReason_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserFromComment(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postBanUserFromComment(request: ModerationAPI.ApiPostBanUserFromCommentRequest(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1451,7 +1451,7 @@ No authorization required # **postBanUserUndo** ```swift - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postBanUserUndo(request: ApiPostBanUserUndoRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1465,7 +1465,7 @@ let banUserUndoParams = BanUserUndoParams(changelog: APIBanUserChangeLog(created let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postBanUserUndo(request: ModerationAPI.ApiPostBanUserUndoRequest(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1502,7 +1502,7 @@ No authorization required # **postBulkPreBanSummary** ```swift - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) + open class func postBulkPreBanSummary(request: ApiPostBulkPreBanSummaryRequest, completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) ``` @@ -1519,7 +1519,7 @@ let includeByEmailDomain = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBulkPreBanSummary(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postBulkPreBanSummary(request: ModerationAPI.ApiPostBulkPreBanSummaryRequest(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1559,7 +1559,7 @@ No authorization required # **postCommentsByIds** ```swift - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func postCommentsByIds(request: ApiPostCommentsByIdsRequest, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -1573,7 +1573,7 @@ let commentsByIdsParams = CommentsByIdsParams(ids: ["ids_example"]) // CommentsB let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.postCommentsByIds(request: ModerationAPI.ApiPostCommentsByIdsRequest(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1610,7 +1610,7 @@ No authorization required # **postFlagComment** ```swift - open class func postFlagComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postFlagComment(request: ApiPostFlagCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1625,7 +1625,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postFlagComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postFlagComment(request: ModerationAPI.ApiPostFlagCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1663,7 +1663,7 @@ No authorization required # **postRemoveComment** ```swift - open class func postRemoveComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) + open class func postRemoveComment(request: ApiPostRemoveCommentRequest, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) ``` @@ -1678,7 +1678,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRemoveComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postRemoveComment(request: ModerationAPI.ApiPostRemoveCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1716,7 +1716,7 @@ No authorization required # **postRestoreDeletedComment** ```swift - open class func postRestoreDeletedComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postRestoreDeletedComment(request: ApiPostRestoreDeletedCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1731,7 +1731,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRestoreDeletedComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postRestoreDeletedComment(request: ModerationAPI.ApiPostRestoreDeletedCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1769,7 +1769,7 @@ No authorization required # **postSetCommentApprovalStatus** ```swift - open class func postSetCommentApprovalStatus(commentId: String, approved: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) + open class func postSetCommentApprovalStatus(request: ApiPostSetCommentApprovalStatusRequest, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) ``` @@ -1785,7 +1785,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, approved: approved, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentApprovalStatus(request: ModerationAPI.ApiPostSetCommentApprovalStatusRequest(commentId: commentId, approved: approved, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1824,7 +1824,7 @@ No authorization required # **postSetCommentReviewStatus** ```swift - open class func postSetCommentReviewStatus(commentId: String, reviewed: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentReviewStatus(request: ApiPostSetCommentReviewStatusRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1840,7 +1840,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentReviewStatus(commentId: commentId, reviewed: reviewed, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentReviewStatus(request: ModerationAPI.ApiPostSetCommentReviewStatusRequest(commentId: commentId, reviewed: reviewed, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1879,7 +1879,7 @@ No authorization required # **postSetCommentSpamStatus** ```swift - open class func postSetCommentSpamStatus(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentSpamStatus(request: ApiPostSetCommentSpamStatusRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1896,7 +1896,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentSpamStatus(commentId: commentId, spam: spam, permNotSpam: permNotSpam, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentSpamStatus(request: ModerationAPI.ApiPostSetCommentSpamStatusRequest(commentId: commentId, spam: spam, permNotSpam: permNotSpam, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1936,7 +1936,7 @@ No authorization required # **postSetCommentText** ```swift - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) + open class func postSetCommentText(request: ApiPostSetCommentTextRequest, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -1952,7 +1952,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postSetCommentText(request: ModerationAPI.ApiPostSetCommentTextRequest(commentId: commentId, setCommentTextParams: setCommentTextParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1991,7 +1991,7 @@ No authorization required # **postUnFlagComment** ```swift - open class func postUnFlagComment(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postUnFlagComment(request: ApiPostUnFlagCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2006,7 +2006,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postUnFlagComment(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postUnFlagComment(request: ModerationAPI.ApiPostUnFlagCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2044,7 +2044,7 @@ No authorization required # **postVote** ```swift - open class func postVote(commentId: String, direction: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func postVote(request: ApiPostVoteRequest, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2060,7 +2060,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postVote(commentId: commentId, direction: direction, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.postVote(request: ModerationAPI.ApiPostVoteRequest(commentId: commentId, direction: direction, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2099,7 +2099,7 @@ No authorization required # **putAwardBadge** ```swift - open class func putAwardBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) + open class func putAwardBadge(request: ApiPutAwardBadgeRequest, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2116,7 +2116,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putAwardBadge(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.putAwardBadge(request: ModerationAPI.ApiPutAwardBadgeRequest(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2156,7 +2156,7 @@ No authorization required # **putCloseThread** ```swift - open class func putCloseThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putCloseThread(request: ApiPutCloseThreadRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2170,7 +2170,7 @@ let urlId = "urlId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putCloseThread(urlId: urlId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.putCloseThread(request: ModerationAPI.ApiPutCloseThreadRequest(urlId: urlId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2207,7 +2207,7 @@ No authorization required # **putRemoveBadge** ```swift - open class func putRemoveBadge(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) + open class func putRemoveBadge(request: ApiPutRemoveBadgeRequest, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2224,7 +2224,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putRemoveBadge(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso) { (response, error) in +ModerationAPI.putRemoveBadge(request: ModerationAPI.ApiPutRemoveBadgeRequest(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2264,7 +2264,7 @@ No authorization required # **putReopenThread** ```swift - open class func putReopenThread(urlId: String, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putReopenThread(request: ApiPutReopenThreadRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2278,7 +2278,7 @@ let urlId = "urlId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putReopenThread(urlId: urlId, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.putReopenThread(request: ModerationAPI.ApiPutReopenThreadRequest(urlId: urlId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2315,7 +2315,7 @@ No authorization required # **setTrustFactor** ```swift - open class func setTrustFactor(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func setTrustFactor(request: ApiSetTrustFactorRequest, completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -2330,7 +2330,7 @@ let trustFactor = "trustFactor_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.setTrustFactor(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso) { (response, error) in +ModerationAPI.setTrustFactor(request: ModerationAPI.ApiSetTrustFactorRequest(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index a835d52..89db42d 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -60,7 +60,7 @@ Method | HTTP request | Description # **blockFromCommentPublic** ```swift - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockFromCommentPublic(request: ApiBlockFromCommentPublicRequest, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -75,7 +75,7 @@ let commentId = "commentId_example" // String | let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams | let sso = "sso_example" // String | (optional) -PublicAPI.blockFromCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso) { (response, error) in +PublicAPI.blockFromCommentPublic(request: PublicAPI.ApiBlockFromCommentPublicRequest(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -113,7 +113,7 @@ No authorization required # **checkedCommentsForBlocked** ```swift - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) + open class func checkedCommentsForBlocked(request: ApiCheckedCommentsForBlockedRequest, completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) ``` @@ -127,7 +127,7 @@ let tenantId = "tenantId_example" // String | let commentIds = "commentIds_example" // String | A comma separated list of comment ids. let sso = "sso_example" // String | (optional) -PublicAPI.checkedCommentsForBlocked(tenantId: tenantId, commentIds: commentIds, sso: sso) { (response, error) in +PublicAPI.checkedCommentsForBlocked(request: PublicAPI.ApiCheckedCommentsForBlockedRequest(tenantId: tenantId, commentIds: commentIds, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -164,7 +164,7 @@ No authorization required # **createCommentPublic** ```swift - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) + open class func createCommentPublic(request: ApiCreateCommentPublicRequest, completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) ``` @@ -181,7 +181,7 @@ let commentData = CommentData(date: 123, localDateString: "localDateString_examp let sessionId = "sessionId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.createCommentPublic(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso) { (response, error) in +PublicAPI.createCommentPublic(request: PublicAPI.ApiCreateCommentPublicRequest(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -221,7 +221,7 @@ No authorization required # **createFeedPostPublic** ```swift - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func createFeedPostPublic(request: ApiCreateFeedPostPublicRequest, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -236,7 +236,7 @@ let createFeedPostParams = CreateFeedPostParams(title: "title_example", contentH let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.createFeedPostPublic(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.createFeedPostPublic(request: PublicAPI.ApiCreateFeedPostPublicRequest(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -274,7 +274,7 @@ No authorization required # **createV1PageReact** ```swift - open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV1PageReact(request: ApiCreateV1PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -288,7 +288,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let title = "title_example" // String | (optional) -PublicAPI.createV1PageReact(tenantId: tenantId, urlId: urlId, title: title) { (response, error) in +PublicAPI.createV1PageReact(request: PublicAPI.ApiCreateV1PageReactRequest(tenantId: tenantId, urlId: urlId, title: title)) { (response, error) in guard error == nil else { print(error) return @@ -325,7 +325,7 @@ No authorization required # **createV2PageReact** ```swift - open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV2PageReact(request: ApiCreateV2PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -340,7 +340,7 @@ let urlId = "urlId_example" // String | let id = "id_example" // String | let title = "title_example" // String | (optional) -PublicAPI.createV2PageReact(tenantId: tenantId, urlId: urlId, id: id, title: title) { (response, error) in +PublicAPI.createV2PageReact(request: PublicAPI.ApiCreateV2PageReactRequest(tenantId: tenantId, urlId: urlId, id: id, title: title)) { (response, error) in guard error == nil else { print(error) return @@ -378,7 +378,7 @@ No authorization required # **deleteCommentPublic** ```swift - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) + open class func deleteCommentPublic(request: ApiDeleteCommentPublicRequest, completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) ``` @@ -394,7 +394,7 @@ let broadcastId = "broadcastId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteCommentPublic(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso) { (response, error) in +PublicAPI.deleteCommentPublic(request: PublicAPI.ApiDeleteCommentPublicRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -433,7 +433,7 @@ No authorization required # **deleteCommentVote** ```swift - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteCommentVote(request: ApiDeleteCommentVoteRequest, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -451,7 +451,7 @@ let broadcastId = "broadcastId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteCommentVote(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso) { (response, error) in +PublicAPI.deleteCommentVote(request: PublicAPI.ApiDeleteCommentVoteRequest(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -492,7 +492,7 @@ No authorization required # **deleteFeedPostPublic** ```swift - open class func deleteFeedPostPublic(tenantId: String, postId: String, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: DeleteFeedPostPublicResponse?, _ error: Error?) -> Void) + open class func deleteFeedPostPublic(request: ApiDeleteFeedPostPublicRequest, completion: @escaping (_ data: DeleteFeedPostPublicResponse?, _ error: Error?) -> Void) ``` @@ -507,7 +507,7 @@ let postId = "postId_example" // String | let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteFeedPostPublic(tenantId: tenantId, postId: postId, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.deleteFeedPostPublic(request: PublicAPI.ApiDeleteFeedPostPublicRequest(tenantId: tenantId, postId: postId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -545,7 +545,7 @@ No authorization required # **deleteV1PageReact** ```swift - open class func deleteV1PageReact(tenantId: String, urlId: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func deleteV1PageReact(request: ApiDeleteV1PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -558,7 +558,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -PublicAPI.deleteV1PageReact(tenantId: tenantId, urlId: urlId) { (response, error) in +PublicAPI.deleteV1PageReact(request: PublicAPI.ApiDeleteV1PageReactRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -594,7 +594,7 @@ No authorization required # **deleteV2PageReact** ```swift - open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func deleteV2PageReact(request: ApiDeleteV2PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -608,7 +608,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let id = "id_example" // String | -PublicAPI.deleteV2PageReact(tenantId: tenantId, urlId: urlId, id: id) { (response, error) in +PublicAPI.deleteV2PageReact(request: PublicAPI.ApiDeleteV2PageReactRequest(tenantId: tenantId, urlId: urlId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -645,7 +645,7 @@ No authorization required # **flagCommentPublic** ```swift - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func flagCommentPublic(request: ApiFlagCommentPublicRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -660,7 +660,7 @@ let commentId = "commentId_example" // String | let isFlagged = true // Bool | let sso = "sso_example" // String | (optional) -PublicAPI.flagCommentPublic(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso) { (response, error) in +PublicAPI.flagCommentPublic(request: PublicAPI.ApiFlagCommentPublicRequest(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -698,7 +698,7 @@ No authorization required # **getCommentText** ```swift - open class func getCommentText(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) + open class func getCommentText(request: ApiGetCommentTextRequest, completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -713,7 +713,7 @@ let commentId = "commentId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getCommentText(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso) { (response, error) in +PublicAPI.getCommentText(request: PublicAPI.ApiGetCommentTextRequest(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -751,7 +751,7 @@ No authorization required # **getCommentVoteUserNames** ```swift - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) + open class func getCommentVoteUserNames(request: ApiGetCommentVoteUserNamesRequest, completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) ``` @@ -766,7 +766,7 @@ let commentId = "commentId_example" // String | let dir = 987 // Int | let sso = "sso_example" // String | (optional) -PublicAPI.getCommentVoteUserNames(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso) { (response, error) in +PublicAPI.getCommentVoteUserNames(request: PublicAPI.ApiGetCommentVoteUserNamesRequest(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -804,7 +804,7 @@ No authorization required # **getCommentsForUser** ```swift - open class func getCommentsForUser(userId: String? = nil, direction: SortDirections? = nil, repliesToUserId: String? = nil, page: Double? = nil, includei10n: Bool? = nil, locale: String? = nil, isCrawler: Bool? = nil, completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) + open class func getCommentsForUser(request: ApiGetCommentsForUserRequest, completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) ``` @@ -822,7 +822,7 @@ let includei10n = true // Bool | (optional) let locale = "locale_example" // String | (optional) let isCrawler = true // Bool | (optional) -PublicAPI.getCommentsForUser(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler) { (response, error) in +PublicAPI.getCommentsForUser(request: PublicAPI.ApiGetCommentsForUserRequest(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler)) { (response, error) in guard error == nil else { print(error) return @@ -863,7 +863,7 @@ No authorization required # **getCommentsPublic** ```swift - open class func getCommentsPublic(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil, completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) + open class func getCommentsPublic(request: ApiGetCommentsPublicRequest, completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) ``` @@ -904,7 +904,7 @@ let customConfigStr = "customConfigStr_example" // String | (optional) let afterCommentId = "afterCommentId_example" // String | (optional) let beforeCommentId = "beforeCommentId_example" // String | (optional) -PublicAPI.getCommentsPublic(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId) { (response, error) in +PublicAPI.getCommentsPublic(request: PublicAPI.ApiGetCommentsPublicRequest(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId)) { (response, error) in guard error == nil else { print(error) return @@ -966,7 +966,7 @@ No authorization required # **getEventLog** ```swift - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getEventLog(request: ApiGetEventLogRequest, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -984,7 +984,7 @@ let userIdWS = "userIdWS_example" // String | let startTime = 987 // Int64 | let endTime = 987 // Int64 | (optional) -PublicAPI.getEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime) { (response, error) in +PublicAPI.getEventLog(request: PublicAPI.ApiGetEventLogRequest(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime)) { (response, error) in guard error == nil else { print(error) return @@ -1023,7 +1023,7 @@ No authorization required # **getFeedPostsPublic** ```swift - open class func getFeedPostsPublic(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil, completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsPublic(request: ApiGetFeedPostsPublicRequest, completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -1043,7 +1043,7 @@ let sso = "sso_example" // String | (optional) let isCrawler = true // Bool | (optional) let includeUserInfo = true // Bool | (optional) -PublicAPI.getFeedPostsPublic(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo) { (response, error) in +PublicAPI.getFeedPostsPublic(request: PublicAPI.ApiGetFeedPostsPublicRequest(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo)) { (response, error) in guard error == nil else { print(error) return @@ -1084,7 +1084,7 @@ No authorization required # **getFeedPostsStats** ```swift - open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsStats(request: ApiGetFeedPostsStatsRequest, completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) ``` @@ -1098,7 +1098,7 @@ let tenantId = "tenantId_example" // String | let postIds = ["inner_example"] // [String] | let sso = "sso_example" // String | (optional) -PublicAPI.getFeedPostsStats(tenantId: tenantId, postIds: postIds, sso: sso) { (response, error) in +PublicAPI.getFeedPostsStats(request: PublicAPI.ApiGetFeedPostsStatsRequest(tenantId: tenantId, postIds: postIds, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1135,7 +1135,7 @@ No authorization required # **getGifLarge** ```swift - open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, completion: @escaping (_ data: GifGetLargeResponse?, _ error: Error?) -> Void) + open class func getGifLarge(request: ApiGetGifLargeRequest, completion: @escaping (_ data: GifGetLargeResponse?, _ error: Error?) -> Void) ``` @@ -1148,7 +1148,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let largeInternalURLSanitized = "largeInternalURLSanitized_example" // String | -PublicAPI.getGifLarge(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized) { (response, error) in +PublicAPI.getGifLarge(request: PublicAPI.ApiGetGifLargeRequest(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized)) { (response, error) in guard error == nil else { print(error) return @@ -1184,7 +1184,7 @@ No authorization required # **getGifsSearch** ```swift - open class func getGifsSearch(tenantId: String, search: String, locale: String? = nil, rating: String? = nil, page: Double? = nil, completion: @escaping (_ data: GetGifsSearchResponse?, _ error: Error?) -> Void) + open class func getGifsSearch(request: ApiGetGifsSearchRequest, completion: @escaping (_ data: GetGifsSearchResponse?, _ error: Error?) -> Void) ``` @@ -1200,7 +1200,7 @@ let locale = "locale_example" // String | (optional) let rating = "rating_example" // String | (optional) let page = 987 // Double | (optional) -PublicAPI.getGifsSearch(tenantId: tenantId, search: search, locale: locale, rating: rating, page: page) { (response, error) in +PublicAPI.getGifsSearch(request: PublicAPI.ApiGetGifsSearchRequest(tenantId: tenantId, search: search, locale: locale, rating: rating, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -1239,7 +1239,7 @@ No authorization required # **getGifsTrending** ```swift - open class func getGifsTrending(tenantId: String, locale: String? = nil, rating: String? = nil, page: Double? = nil, completion: @escaping (_ data: GetGifsTrendingResponse?, _ error: Error?) -> Void) + open class func getGifsTrending(request: ApiGetGifsTrendingRequest, completion: @escaping (_ data: GetGifsTrendingResponse?, _ error: Error?) -> Void) ``` @@ -1254,7 +1254,7 @@ let locale = "locale_example" // String | (optional) let rating = "rating_example" // String | (optional) let page = 987 // Double | (optional) -PublicAPI.getGifsTrending(tenantId: tenantId, locale: locale, rating: rating, page: page) { (response, error) in +PublicAPI.getGifsTrending(request: PublicAPI.ApiGetGifsTrendingRequest(tenantId: tenantId, locale: locale, rating: rating, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -1292,7 +1292,7 @@ No authorization required # **getGlobalEventLog** ```swift - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getGlobalEventLog(request: ApiGetGlobalEventLogRequest, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -1310,7 +1310,7 @@ let userIdWS = "userIdWS_example" // String | let startTime = 987 // Int64 | let endTime = 987 // Int64 | (optional) -PublicAPI.getGlobalEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime) { (response, error) in +PublicAPI.getGlobalEventLog(request: PublicAPI.ApiGetGlobalEventLogRequest(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime)) { (response, error) in guard error == nil else { print(error) return @@ -1349,7 +1349,7 @@ No authorization required # **getOfflineUsers** ```swift - open class func getOfflineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) + open class func getOfflineUsers(request: ApiGetOfflineUsersRequest, completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) ``` @@ -1366,7 +1366,7 @@ let urlId = "urlId_example" // String | Page URL identifier (cleaned server-side let afterName = "afterName_example" // String | Cursor: pass nextAfterName from the previous response. (optional) let afterUserId = "afterUserId_example" // String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) -PublicAPI.getOfflineUsers(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId) { (response, error) in +PublicAPI.getOfflineUsers(request: PublicAPI.ApiGetOfflineUsersRequest(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1404,7 +1404,7 @@ No authorization required # **getOnlineUsers** ```swift - open class func getOnlineUsers(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil, completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) + open class func getOnlineUsers(request: ApiGetOnlineUsersRequest, completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) ``` @@ -1421,7 +1421,7 @@ let urlId = "urlId_example" // String | Page URL identifier (cleaned server-side let afterName = "afterName_example" // String | Cursor: pass nextAfterName from the previous response. (optional) let afterUserId = "afterUserId_example" // String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) -PublicAPI.getOnlineUsers(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId) { (response, error) in +PublicAPI.getOnlineUsers(request: PublicAPI.ApiGetOnlineUsersRequest(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1459,7 +1459,7 @@ No authorization required # **getPagesPublic** ```swift - open class func getPagesPublic(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil, completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) + open class func getPagesPublic(request: ApiGetPagesPublicRequest, completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) ``` @@ -1478,7 +1478,7 @@ let q = "q_example" // String | Optional case-insensitive title prefix filter. ( let sortBy = PagesSortBy() // PagesSortBy | Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) let hasComments = true // Bool | If true, only return pages with at least one comment. (optional) -PublicAPI.getPagesPublic(tenantId: tenantId, cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments) { (response, error) in +PublicAPI.getPagesPublic(request: PublicAPI.ApiGetPagesPublicRequest(tenantId: tenantId, cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments)) { (response, error) in guard error == nil else { print(error) return @@ -1518,7 +1518,7 @@ No authorization required # **getTranslations** ```swift - open class func getTranslations(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil, completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) + open class func getTranslations(request: ApiGetTranslationsRequest, completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) ``` @@ -1533,7 +1533,7 @@ let component = "component_example" // String | let locale = "locale_example" // String | (optional) let useFullTranslationIds = true // Bool | (optional) -PublicAPI.getTranslations(namespace: namespace, component: component, locale: locale, useFullTranslationIds: useFullTranslationIds) { (response, error) in +PublicAPI.getTranslations(request: PublicAPI.ApiGetTranslationsRequest(namespace: namespace, component: component, locale: locale, useFullTranslationIds: useFullTranslationIds)) { (response, error) in guard error == nil else { print(error) return @@ -1571,7 +1571,7 @@ No authorization required # **getUserNotificationCount** ```swift - open class func getUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) + open class func getUserNotificationCount(request: ApiGetUserNotificationCountRequest, completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -1584,7 +1584,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.getUserNotificationCount(tenantId: tenantId, sso: sso) { (response, error) in +PublicAPI.getUserNotificationCount(request: PublicAPI.ApiGetUserNotificationCountRequest(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1620,7 +1620,7 @@ No authorization required # **getUserNotifications** ```swift - open class func getUserNotifications(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) + open class func getUserNotifications(request: ApiGetUserNotificationsRequest, completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -1643,7 +1643,7 @@ let includeTranslations = true // Bool | (optional) let includeTenantNotifications = true // Bool | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getUserNotifications(tenantId: tenantId, urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso) { (response, error) in +PublicAPI.getUserNotifications(request: PublicAPI.ApiGetUserNotificationsRequest(tenantId: tenantId, urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1689,7 +1689,7 @@ No authorization required # **getUserPresenceStatuses** ```swift - open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, completion: @escaping (_ data: GetUserPresenceStatusesResponse?, _ error: Error?) -> Void) + open class func getUserPresenceStatuses(request: ApiGetUserPresenceStatusesRequest, completion: @escaping (_ data: GetUserPresenceStatusesResponse?, _ error: Error?) -> Void) ``` @@ -1703,7 +1703,7 @@ let tenantId = "tenantId_example" // String | let urlIdWS = "urlIdWS_example" // String | let userIds = "userIds_example" // String | -PublicAPI.getUserPresenceStatuses(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds) { (response, error) in +PublicAPI.getUserPresenceStatuses(request: PublicAPI.ApiGetUserPresenceStatusesRequest(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds)) { (response, error) in guard error == nil else { print(error) return @@ -1740,7 +1740,7 @@ No authorization required # **getUserReactsPublic** ```swift - open class func getUserReactsPublic(tenantId: String, postIds: [String]? = nil, sso: String? = nil, completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) + open class func getUserReactsPublic(request: ApiGetUserReactsPublicRequest, completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) ``` @@ -1754,7 +1754,7 @@ let tenantId = "tenantId_example" // String | let postIds = ["inner_example"] // [String] | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getUserReactsPublic(tenantId: tenantId, postIds: postIds, sso: sso) { (response, error) in +PublicAPI.getUserReactsPublic(request: PublicAPI.ApiGetUserReactsPublicRequest(tenantId: tenantId, postIds: postIds, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1791,7 +1791,7 @@ No authorization required # **getUsersInfo** ```swift - open class func getUsersInfo(tenantId: String, ids: String, completion: @escaping (_ data: PageUsersInfoResponse?, _ error: Error?) -> Void) + open class func getUsersInfo(request: ApiGetUsersInfoRequest, completion: @escaping (_ data: PageUsersInfoResponse?, _ error: Error?) -> Void) ``` @@ -1806,7 +1806,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let ids = "ids_example" // String | Comma-delimited userIds. -PublicAPI.getUsersInfo(tenantId: tenantId, ids: ids) { (response, error) in +PublicAPI.getUsersInfo(request: PublicAPI.ApiGetUsersInfoRequest(tenantId: tenantId, ids: ids)) { (response, error) in guard error == nil else { print(error) return @@ -1842,7 +1842,7 @@ No authorization required # **getV1PageLikes** ```swift - open class func getV1PageLikes(tenantId: String, urlId: String, completion: @escaping (_ data: GetV1PageLikes?, _ error: Error?) -> Void) + open class func getV1PageLikes(request: ApiGetV1PageLikesRequest, completion: @escaping (_ data: GetV1PageLikes?, _ error: Error?) -> Void) ``` @@ -1855,7 +1855,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -PublicAPI.getV1PageLikes(tenantId: tenantId, urlId: urlId) { (response, error) in +PublicAPI.getV1PageLikes(request: PublicAPI.ApiGetV1PageLikesRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -1891,7 +1891,7 @@ No authorization required # **getV2PageReactUsers** ```swift - open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: GetV2PageReactUsersResponse?, _ error: Error?) -> Void) + open class func getV2PageReactUsers(request: ApiGetV2PageReactUsersRequest, completion: @escaping (_ data: GetV2PageReactUsersResponse?, _ error: Error?) -> Void) ``` @@ -1905,7 +1905,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let id = "id_example" // String | -PublicAPI.getV2PageReactUsers(tenantId: tenantId, urlId: urlId, id: id) { (response, error) in +PublicAPI.getV2PageReactUsers(request: PublicAPI.ApiGetV2PageReactUsersRequest(tenantId: tenantId, urlId: urlId, id: id)) { (response, error) in guard error == nil else { print(error) return @@ -1942,7 +1942,7 @@ No authorization required # **getV2PageReacts** ```swift - open class func getV2PageReacts(tenantId: String, urlId: String, completion: @escaping (_ data: GetV2PageReacts?, _ error: Error?) -> Void) + open class func getV2PageReacts(request: ApiGetV2PageReactsRequest, completion: @escaping (_ data: GetV2PageReacts?, _ error: Error?) -> Void) ``` @@ -1955,7 +1955,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -PublicAPI.getV2PageReacts(tenantId: tenantId, urlId: urlId) { (response, error) in +PublicAPI.getV2PageReacts(request: PublicAPI.ApiGetV2PageReactsRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -1991,7 +1991,7 @@ No authorization required # **lockComment** ```swift - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func lockComment(request: ApiLockCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2006,7 +2006,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.lockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.lockComment(request: PublicAPI.ApiLockCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2087,7 +2087,7 @@ No authorization required # **pinComment** ```swift - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func pinComment(request: ApiPinCommentRequest, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2102,7 +2102,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.pinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.pinComment(request: PublicAPI.ApiPinCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2140,7 +2140,7 @@ No authorization required # **reactFeedPostPublic** ```swift - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) + open class func reactFeedPostPublic(request: ApiReactFeedPostPublicRequest, completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2157,7 +2157,7 @@ let isUndo = true // Bool | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.reactFeedPostPublic(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.reactFeedPostPublic(request: PublicAPI.ApiReactFeedPostPublicRequest(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2197,7 +2197,7 @@ No authorization required # **resetUserNotificationCount** ```swift - open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotificationCount(request: ApiResetUserNotificationCountRequest, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2210,7 +2210,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.resetUserNotificationCount(tenantId: tenantId, sso: sso) { (response, error) in +PublicAPI.resetUserNotificationCount(request: PublicAPI.ApiResetUserNotificationCountRequest(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2246,7 +2246,7 @@ No authorization required # **resetUserNotifications** ```swift - open class func resetUserNotifications(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotifications(request: ApiResetUserNotificationsRequest, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2264,7 +2264,7 @@ let dmOnly = true // Bool | (optional) let noDm = true // Bool | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.resetUserNotifications(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso) { (response, error) in +PublicAPI.resetUserNotifications(request: PublicAPI.ApiResetUserNotificationsRequest(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2305,7 +2305,7 @@ No authorization required # **searchUsers** ```swift - open class func searchUsers(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil, completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) + open class func searchUsers(request: ApiSearchUsersRequest, completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) ``` @@ -2322,7 +2322,7 @@ let mentionGroupIds = ["inner_example"] // [String] | (optional) let sso = "sso_example" // String | (optional) let searchSection = "searchSection_example" // String | (optional) -PublicAPI.searchUsers(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection) { (response, error) in +PublicAPI.searchUsers(request: PublicAPI.ApiSearchUsersRequest(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection)) { (response, error) in guard error == nil else { print(error) return @@ -2362,7 +2362,7 @@ No authorization required # **setCommentText** ```swift - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil, completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) + open class func setCommentText(request: ApiSetCommentTextRequest, completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -2379,7 +2379,7 @@ let commentTextUpdateRequest = CommentTextUpdateRequest(comment: "comment_exampl let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.setCommentText(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso) { (response, error) in +PublicAPI.setCommentText(request: PublicAPI.ApiSetCommentTextRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2419,7 +2419,7 @@ No authorization required # **unBlockCommentPublic** ```swift - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockCommentPublic(request: ApiUnBlockCommentPublicRequest, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -2434,7 +2434,7 @@ let commentId = "commentId_example" // String | let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams | let sso = "sso_example" // String | (optional) -PublicAPI.unBlockCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso) { (response, error) in +PublicAPI.unBlockCommentPublic(request: PublicAPI.ApiUnBlockCommentPublicRequest(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2472,7 +2472,7 @@ No authorization required # **unLockComment** ```swift - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func unLockComment(request: ApiUnLockCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2487,7 +2487,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.unLockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.unLockComment(request: PublicAPI.ApiUnLockCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2525,7 +2525,7 @@ No authorization required # **unPinComment** ```swift - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func unPinComment(request: ApiUnPinCommentRequest, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2540,7 +2540,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.unPinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.unPinComment(request: PublicAPI.ApiUnPinCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2578,7 +2578,7 @@ No authorization required # **updateFeedPostPublic** ```swift - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func updateFeedPostPublic(request: ApiUpdateFeedPostPublicRequest, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2594,7 +2594,7 @@ let updateFeedPostParams = UpdateFeedPostParams(title: "title_example", contentH let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.updateFeedPostPublic(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso) { (response, error) in +PublicAPI.updateFeedPostPublic(request: PublicAPI.ApiUpdateFeedPostPublicRequest(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2633,7 +2633,7 @@ No authorization required # **updateUserNotificationCommentSubscriptionStatus** ```swift - open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil, completion: @escaping (_ data: UpdateUserNotificationCommentSubscriptionStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationCommentSubscriptionStatus(request: ApiUpdateUserNotificationCommentSubscriptionStatusRequest, completion: @escaping (_ data: UpdateUserNotificationCommentSubscriptionStatusResponse?, _ error: Error?) -> Void) ``` @@ -2651,7 +2651,7 @@ let optedInOrOut = "optedInOrOut_example" // String | let commentId = "commentId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationCommentSubscriptionStatus(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso) { (response, error) in +PublicAPI.updateUserNotificationCommentSubscriptionStatus(request: PublicAPI.ApiUpdateUserNotificationCommentSubscriptionStatusRequest(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2690,7 +2690,7 @@ No authorization required # **updateUserNotificationPageSubscriptionStatus** ```swift - open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil, completion: @escaping (_ data: UpdateUserNotificationPageSubscriptionStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationPageSubscriptionStatus(request: ApiUpdateUserNotificationPageSubscriptionStatusRequest, completion: @escaping (_ data: UpdateUserNotificationPageSubscriptionStatusResponse?, _ error: Error?) -> Void) ``` @@ -2709,7 +2709,7 @@ let pageTitle = "pageTitle_example" // String | let subscribedOrUnsubscribed = "subscribedOrUnsubscribed_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationPageSubscriptionStatus(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso) { (response, error) in +PublicAPI.updateUserNotificationPageSubscriptionStatus(request: PublicAPI.ApiUpdateUserNotificationPageSubscriptionStatusRequest(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2749,7 +2749,7 @@ No authorization required # **updateUserNotificationStatus** ```swift - open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil, completion: @escaping (_ data: UpdateUserNotificationStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationStatus(request: ApiUpdateUserNotificationStatusRequest, completion: @escaping (_ data: UpdateUserNotificationStatusResponse?, _ error: Error?) -> Void) ``` @@ -2764,7 +2764,7 @@ let notificationId = "notificationId_example" // String | let newStatus = "newStatus_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationStatus(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso) { (response, error) in +PublicAPI.updateUserNotificationStatus(request: PublicAPI.ApiUpdateUserNotificationStatusRequest(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2802,7 +2802,7 @@ No authorization required # **uploadImage** ```swift - open class func uploadImage(tenantId: String, file: URL, sizePreset: SizePreset? = nil, urlId: String? = nil, completion: @escaping (_ data: UploadImageResponse?, _ error: Error?) -> Void) + open class func uploadImage(request: ApiUploadImageRequest, completion: @escaping (_ data: UploadImageResponse?, _ error: Error?) -> Void) ``` @@ -2819,7 +2819,7 @@ let file = URL(string: "https://example.com")! // URL | let sizePreset = SizePreset() // SizePreset | Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices) (optional) let urlId = "urlId_example" // String | Page id that upload is happening from, to configure (optional) -PublicAPI.uploadImage(tenantId: tenantId, file: file, sizePreset: sizePreset, urlId: urlId) { (response, error) in +PublicAPI.uploadImage(request: PublicAPI.ApiUploadImageRequest(tenantId: tenantId, file: file, sizePreset: sizePreset, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -2857,7 +2857,7 @@ No authorization required # **voteComment** ```swift - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func voteComment(request: ApiVoteCommentRequest, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2875,7 +2875,7 @@ let voteBodyParams = VoteBodyParams(commenterEmail: "commenterEmail_example", co let sessionId = "sessionId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.voteComment(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso) { (response, error) in +PublicAPI.voteComment(request: PublicAPI.ApiVoteCommentRequest(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso)) { (response, error) in guard error == nil else { print(error) return From 2058aa6628e2ebf4efd5a5b81468e01019f9267d Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 23 Jun 2026 00:25:46 -0700 Subject: [PATCH 06/10] Regenerate: required params + body positional, optionals in one object API methods now take required params + body positionally, with optional params in a single ApiOptions struct. Updated SSO tests + README. --- README.md | 20 +- .../SSOIntegrationTests.swift | 60 +- .../FastCommentsSwift/APIs/DefaultAPI.swift | 2405 +++++------------ .../APIs/ModerationAPI.swift | 893 +++--- client/FastCommentsSwift/APIs/PublicAPI.swift | 1241 +++------ client/docs/DefaultAPI.md | 456 ++-- client/docs/ModerationAPI.md | 172 +- client/docs/PublicAPI.md | 204 +- 8 files changed, 1911 insertions(+), 3540 deletions(-) diff --git a/README.md b/README.md index 0ee4dc6..9d81f1b 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,8 @@ import FastCommentsSwift // Fetch comments for a page do { let response = try await PublicAPI.getCommentsPublic( - request: PublicAPI.ApiGetCommentsPublicRequest( - tenantId: "your-tenant-id", - urlId: "page-url-id" - ) + tenantId: "your-tenant-id", + urlId: "page-url-id" ) print("Found \(response.comments?.count ?? 0) comments") @@ -75,10 +73,8 @@ FastCommentsSwiftAPIConfiguration.shared.customHeaders["x-api-key"] = "your-api- // Fetch comments using authenticated API do { let response = try await DefaultAPI.getComments( - request: DefaultAPI.ApiGetCommentsRequest( - tenantId: "your-tenant-id", - urlId: "page-url-id" - ) + tenantId: "your-tenant-id", + options: .init(urlId: "page-url-id") ) print("Total comments: \(response.count ?? 0)") @@ -99,7 +95,7 @@ import FastCommentsSwift // (generate it with FastCommentsSSO, see the SSO section above). do { let response = try await ModerationAPI.getApiComments( - request: ModerationAPI.ApiGetApiCommentsRequest( + options: .init( page: 0, count: 30, sso: ssoToken @@ -210,10 +206,8 @@ The Swift SDK uses modern async/await syntax for all API calls: ```swift let response = try await PublicAPI.getCommentsPublic( - request: PublicAPI.ApiGetCommentsPublicRequest( - tenantId: "your-tenant-id", - urlId: "page-url-id" - ) + tenantId: "your-tenant-id", + urlId: "page-url-id" ) ``` diff --git a/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift b/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift index 77aae95..9991d01 100644 --- a/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift +++ b/Tests/FastCommentsSwiftTests/SSOIntegrationTests.swift @@ -50,13 +50,11 @@ final class SSOIntegrationTests: XCTestCase { ) let createResponse = try await PublicAPI.createCommentPublic( - request: PublicAPI.ApiCreateCommentPublicRequest( - tenantId: tenantId, - urlId: testUrlId, - broadcastId: "swift-test-\(timestamp)", - commentData: commentData, - sso: token - ) + tenantId: tenantId, + urlId: testUrlId, + broadcastId: "swift-test-\(timestamp)", + commentData: commentData, + options: .init(sso: token) ) XCTAssertEqual(createResponse.status, .success, "Create comment should succeed") @@ -71,11 +69,9 @@ final class SSOIntegrationTests: XCTestCase { // Fetch comments back with the same SSO token let getResponse = try await PublicAPI.getCommentsPublic( - request: PublicAPI.ApiGetCommentsPublicRequest( - tenantId: tenantId, - urlId: testUrlId, - sso: token - ) + tenantId: tenantId, + urlId: testUrlId, + options: .init(sso: token) ) XCTAssertEqual(getResponse.status, "success", "Get comments should succeed") @@ -124,13 +120,11 @@ final class SSOIntegrationTests: XCTestCase { ) let createResponse = try await PublicAPI.createCommentPublic( - request: PublicAPI.ApiCreateCommentPublicRequest( - tenantId: tenantId, - urlId: testUrlId, - broadcastId: "swift-opts-\(timestamp)", - commentData: commentData, - sso: token - ) + tenantId: tenantId, + urlId: testUrlId, + broadcastId: "swift-opts-\(timestamp)", + commentData: commentData, + options: .init(sso: token) ) XCTAssertEqual(createResponse.status, .success, "Create comment with optional SSO fields should succeed") @@ -144,11 +138,9 @@ final class SSOIntegrationTests: XCTestCase { // Fetch and verify the comment carries the display label let getResponse = try await PublicAPI.getCommentsPublic( - request: PublicAPI.ApiGetCommentsPublicRequest( - tenantId: tenantId, - urlId: testUrlId, - sso: token - ) + tenantId: tenantId, + urlId: testUrlId, + options: .init(sso: token) ) XCTAssertEqual(getResponse.status, "success") @@ -195,13 +187,11 @@ final class SSOIntegrationTests: XCTestCase { ) let createResponse = try await PublicAPI.createCommentPublic( - request: PublicAPI.ApiCreateCommentPublicRequest( - tenantId: tenantId, - urlId: testUrlId, - broadcastId: "swift-simple-\(timestamp)", - commentData: commentData, - sso: token - ) + tenantId: tenantId, + urlId: testUrlId, + broadcastId: "swift-simple-\(timestamp)", + commentData: commentData, + options: .init(sso: token) ) XCTAssertEqual(createResponse.status, .success, "Create comment with simple SSO should succeed") @@ -216,11 +206,9 @@ final class SSOIntegrationTests: XCTestCase { // Fetch comments back with the same simple SSO token let getResponse = try await PublicAPI.getCommentsPublic( - request: PublicAPI.ApiGetCommentsPublicRequest( - tenantId: tenantId, - urlId: testUrlId, - sso: token - ) + tenantId: tenantId, + urlId: testUrlId, + options: .init(sso: token) ) XCTAssertEqual(getResponse.status, "success", "Get comments with simple SSO should succeed") diff --git a/client/FastCommentsSwift/APIs/DefaultAPI.swift b/client/FastCommentsSwift/APIs/DefaultAPI.swift index 49263d8..2ce9e80 100644 --- a/client/FastCommentsSwift/APIs/DefaultAPI.swift +++ b/client/FastCommentsSwift/APIs/DefaultAPI.swift @@ -9,17 +9,6 @@ import Foundation open class DefaultAPI { - /** Request parameters for addDomainConfig. */ - public struct ApiAddDomainConfigRequest: Sendable { - public var tenantId: String - public var addDomainConfigParams: AddDomainConfigParams - - public init(tenantId: String, addDomainConfigParams: AddDomainConfigParams) { - self.tenantId = tenantId - self.addDomainConfigParams = addDomainConfigParams - } - } - /** - parameter tenantId: (query) @@ -27,8 +16,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AddDomainConfigResponse */ - open class func addDomainConfig(request: ApiAddDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddDomainConfigResponse { - return try await addDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func addDomainConfig(tenantId: String, addDomainConfigParams: AddDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddDomainConfigResponse { + return try await addDomainConfigWithRequestBuilder(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams, apiConfiguration: apiConfiguration).execute().body } /** @@ -41,9 +30,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addDomainConfigWithRequestBuilder(request: ApiAddDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let addDomainConfigParams = request.addDomainConfigParams + open class func addDomainConfigWithRequestBuilder(tenantId: String, addDomainConfigParams: AddDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/domain-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: addDomainConfigParams, codableHelper: apiConfiguration.codableHelper) @@ -64,14 +51,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for addHashTag. */ - public struct ApiAddHashTagRequest: Sendable { + /** Optional parameters for addHashTag. */ + public struct ApiAddHashTagOptions: Sendable { public var tenantId: String? - public var createHashTagBody: CreateHashTagBody? - public init(tenantId: String? = nil, createHashTagBody: CreateHashTagBody? = nil) { + public init(tenantId: String? = nil) { self.tenantId = tenantId - self.createHashTagBody = createHashTagBody } } @@ -82,8 +67,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateHashTagResponse */ - open class func addHashTag(request: ApiAddHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { - return try await addHashTagWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, options: ApiAddHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { + return try await addHashTagWithRequestBuilder(createHashTagBody: createHashTagBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -96,9 +81,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagWithRequestBuilder(request: ApiAddHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createHashTagBody = request.createHashTagBody + open class func addHashTagWithRequestBuilder(createHashTagBody: CreateHashTagBody? = nil, options: ApiAddHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createHashTagBody, codableHelper: apiConfiguration.codableHelper) @@ -119,14 +103,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for addHashTagsBulk. */ - public struct ApiAddHashTagsBulkRequest: Sendable { + /** Optional parameters for addHashTagsBulk. */ + public struct ApiAddHashTagsBulkOptions: Sendable { public var tenantId: String? - public var bulkCreateHashTagsBody: BulkCreateHashTagsBody? - public init(tenantId: String? = nil, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil) { + public init(tenantId: String? = nil) { self.tenantId = tenantId - self.bulkCreateHashTagsBody = bulkCreateHashTagsBody } } @@ -137,8 +119,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkCreateHashTagsResponse */ - open class func addHashTagsBulk(request: ApiAddHashTagsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { - return try await addHashTagsBulkWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, options: ApiAddHashTagsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { + return try await addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: bulkCreateHashTagsBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -151,9 +133,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagsBulkWithRequestBuilder(request: ApiAddHashTagsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let bulkCreateHashTagsBody = request.bulkCreateHashTagsBody + open class func addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, options: ApiAddHashTagsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId let localVariablePath = "/api/v1/hash-tags/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkCreateHashTagsBody, codableHelper: apiConfiguration.codableHelper) @@ -174,17 +155,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for addPage. */ - public struct ApiAddPageRequest: Sendable { - public var tenantId: String - public var createAPIPageData: CreateAPIPageData - - public init(tenantId: String, createAPIPageData: CreateAPIPageData) { - self.tenantId = tenantId - self.createAPIPageData = createAPIPageData - } - } - /** - parameter tenantId: (query) @@ -192,8 +162,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AddPageAPIResponse */ - open class func addPage(request: ApiAddPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddPageAPIResponse { - return try await addPageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func addPage(tenantId: String, createAPIPageData: CreateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddPageAPIResponse { + return try await addPageWithRequestBuilder(tenantId: tenantId, createAPIPageData: createAPIPageData, apiConfiguration: apiConfiguration).execute().body } /** @@ -206,9 +176,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addPageWithRequestBuilder(request: ApiAddPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createAPIPageData = request.createAPIPageData + open class func addPageWithRequestBuilder(tenantId: String, createAPIPageData: CreateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createAPIPageData, codableHelper: apiConfiguration.codableHelper) @@ -229,17 +197,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for addSSOUser. */ - public struct ApiAddSSOUserRequest: Sendable { - public var tenantId: String - public var createAPISSOUserData: CreateAPISSOUserData - - public init(tenantId: String, createAPISSOUserData: CreateAPISSOUserData) { - self.tenantId = tenantId - self.createAPISSOUserData = createAPISSOUserData - } - } - /** - parameter tenantId: (query) @@ -247,8 +204,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AddSSOUserAPIResponse */ - open class func addSSOUser(request: ApiAddSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddSSOUserAPIResponse { - return try await addSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func addSSOUser(tenantId: String, createAPISSOUserData: CreateAPISSOUserData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AddSSOUserAPIResponse { + return try await addSSOUserWithRequestBuilder(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData, apiConfiguration: apiConfiguration).execute().body } /** @@ -261,9 +218,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addSSOUserWithRequestBuilder(request: ApiAddSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createAPISSOUserData = request.createAPISSOUserData + open class func addSSOUserWithRequestBuilder(tenantId: String, createAPISSOUserData: CreateAPISSOUserData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/sso-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createAPISSOUserData, codableHelper: apiConfiguration.codableHelper) @@ -284,16 +239,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for aggregate. */ - public struct ApiAggregateRequest: Sendable { - public var tenantId: String - public var aggregationRequest: AggregationRequest + /** Optional parameters for aggregate. */ + public struct ApiAggregateOptions: Sendable { public var parentTenantId: String? public var includeStats: Bool? - public init(tenantId: String, aggregationRequest: AggregationRequest, parentTenantId: String? = nil, includeStats: Bool? = nil) { - self.tenantId = tenantId - self.aggregationRequest = aggregationRequest + public init(parentTenantId: String? = nil, includeStats: Bool? = nil) { self.parentTenantId = parentTenantId self.includeStats = includeStats } @@ -308,8 +259,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AggregateResponse */ - open class func aggregate(request: ApiAggregateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateResponse { - return try await aggregateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, options: ApiAggregateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateResponse { + return try await aggregateWithRequestBuilder(tenantId: tenantId, aggregationRequest: aggregationRequest, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -325,11 +276,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func aggregateWithRequestBuilder(request: ApiAggregateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let aggregationRequest = request.aggregationRequest - let parentTenantId = request.parentTenantId - let includeStats = request.includeStats + open class func aggregateWithRequestBuilder(tenantId: String, aggregationRequest: AggregationRequest, options: ApiAggregateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let parentTenantId = options.parentTenantId + let includeStats = options.includeStats let localVariablePath = "/api/v1/aggregate" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: aggregationRequest, codableHelper: apiConfiguration.codableHelper) @@ -352,9 +301,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for aggregateQuestionResults. */ - public struct ApiAggregateQuestionResultsRequest: Sendable { - public var tenantId: String + /** Optional parameters for aggregateQuestionResults. */ + public struct ApiAggregateQuestionResultsOptions: Sendable { public var questionId: String? public var questionIds: [String]? public var urlId: String? @@ -362,8 +310,7 @@ open class DefaultAPI { public var startDate: Date? public var forceRecalculate: Bool? - public init(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil) { - self.tenantId = tenantId + public init(questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, timeBucket: AggregateTimeBucket? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil) { self.questionId = questionId self.questionIds = questionIds self.urlId = urlId @@ -385,8 +332,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AggregateQuestionResultsResponse */ - open class func aggregateQuestionResults(request: ApiAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { - return try await aggregateQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func aggregateQuestionResults(tenantId: String, options: ApiAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { + return try await aggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -404,14 +351,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func aggregateQuestionResultsWithRequestBuilder(request: ApiAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let questionId = request.questionId - let questionIds = request.questionIds - let urlId = request.urlId - let timeBucket = request.timeBucket - let startDate = request.startDate - let forceRecalculate = request.forceRecalculate + open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, options: ApiAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let questionId = options.questionId + let questionIds = options.questionIds + let urlId = options.urlId + let timeBucket = options.timeBucket + let startDate = options.startDate + let forceRecalculate = options.forceRecalculate let localVariablePath = "/api/v1/question-results-aggregation" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -438,18 +384,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for blockUserFromComment. */ - public struct ApiBlockUserFromCommentRequest: Sendable { - public var tenantId: String - public var id: String - public var blockFromCommentParams: BlockFromCommentParams + /** Optional parameters for blockUserFromComment. */ + public struct ApiBlockUserFromCommentOptions: Sendable { public var userId: String? public var anonUserId: String? - public init(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil) { - self.tenantId = tenantId - self.id = id - self.blockFromCommentParams = blockFromCommentParams + public init(userId: String? = nil, anonUserId: String? = nil) { self.userId = userId self.anonUserId = anonUserId } @@ -465,8 +405,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BlockSuccess */ - open class func blockUserFromComment(request: ApiBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { - return try await blockUserFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + return try await blockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -482,12 +422,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func blockUserFromCommentWithRequestBuilder(request: ApiBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let blockFromCommentParams = request.blockFromCommentParams - let userId = request.userId - let anonUserId = request.anonUserId + open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -513,15 +450,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for bulkAggregateQuestionResults. */ - public struct ApiBulkAggregateQuestionResultsRequest: Sendable { - public var tenantId: String - public var bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest + /** Optional parameters for bulkAggregateQuestionResults. */ + public struct ApiBulkAggregateQuestionResultsOptions: Sendable { public var forceRecalculate: Bool? - public init(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil) { - self.tenantId = tenantId - self.bulkAggregateQuestionResultsRequest = bulkAggregateQuestionResultsRequest + public init(forceRecalculate: Bool? = nil) { self.forceRecalculate = forceRecalculate } } @@ -534,8 +467,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkAggregateQuestionResultsResponse */ - open class func bulkAggregateQuestionResults(request: ApiBulkAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { - return try await bulkAggregateQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { + return try await bulkAggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -549,10 +482,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func bulkAggregateQuestionResultsWithRequestBuilder(request: ApiBulkAggregateQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let bulkAggregateQuestionResultsRequest = request.bulkAggregateQuestionResultsRequest - let forceRecalculate = request.forceRecalculate + open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let forceRecalculate = options.forceRecalculate let localVariablePath = "/api/v1/question-results-aggregation/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkAggregateQuestionResultsRequest, codableHelper: apiConfiguration.codableHelper) @@ -574,21 +505,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for changeTicketState. */ - public struct ApiChangeTicketStateRequest: Sendable { - public var tenantId: String - public var userId: String - public var id: String - public var changeTicketStateBody: ChangeTicketStateBody - - public init(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody) { - self.tenantId = tenantId - self.userId = userId - self.id = id - self.changeTicketStateBody = changeTicketStateBody - } - } - /** - parameter tenantId: (query) @@ -598,8 +514,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeTicketStateResponse */ - open class func changeTicketState(request: ApiChangeTicketStateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse { - return try await changeTicketStateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeTicketStateResponse { + return try await changeTicketStateWithRequestBuilder(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -614,11 +530,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func changeTicketStateWithRequestBuilder(request: ApiChangeTicketStateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let id = request.id - let changeTicketStateBody = request.changeTicketStateBody + open class func changeTicketStateWithRequestBuilder(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tickets/{id}/state" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -643,9 +555,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for combineCommentsWithQuestionResults. */ - public struct ApiCombineCommentsWithQuestionResultsRequest: Sendable { - public var tenantId: String + /** Optional parameters for combineCommentsWithQuestionResults. */ + public struct ApiCombineCommentsWithQuestionResultsOptions: Sendable { public var questionId: String? public var questionIds: [String]? public var urlId: String? @@ -655,8 +566,7 @@ open class DefaultAPI { public var maxValue: Double? public var limit: Double? - public init(tenantId: String, questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil) { - self.tenantId = tenantId + public init(questionId: String? = nil, questionIds: [String]? = nil, urlId: String? = nil, startDate: Date? = nil, forceRecalculate: Bool? = nil, minValue: Double? = nil, maxValue: Double? = nil, limit: Double? = nil) { self.questionId = questionId self.questionIds = questionIds self.urlId = urlId @@ -682,8 +592,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CombineQuestionResultsWithCommentsResponse */ - open class func combineCommentsWithQuestionResults(request: ApiCombineCommentsWithQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { - return try await combineCommentsWithQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func combineCommentsWithQuestionResults(tenantId: String, options: ApiCombineCommentsWithQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { + return try await combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -703,16 +613,15 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func combineCommentsWithQuestionResultsWithRequestBuilder(request: ApiCombineCommentsWithQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let questionId = request.questionId - let questionIds = request.questionIds - let urlId = request.urlId - let startDate = request.startDate - let forceRecalculate = request.forceRecalculate - let minValue = request.minValue - let maxValue = request.maxValue - let limit = request.limit + open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, options: ApiCombineCommentsWithQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/api/v1/question-results-aggregation/combine/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -741,17 +650,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createEmailTemplate. */ - public struct ApiCreateEmailTemplateRequest: Sendable { - public var tenantId: String - public var createEmailTemplateBody: CreateEmailTemplateBody - - public init(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody) { - self.tenantId = tenantId - self.createEmailTemplateBody = createEmailTemplateBody - } - } - /** - parameter tenantId: (query) @@ -759,8 +657,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateEmailTemplateResponse */ - open class func createEmailTemplate(request: ApiCreateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse { - return try await createEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateEmailTemplateResponse { + return try await createEmailTemplateWithRequestBuilder(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -773,9 +671,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createEmailTemplateWithRequestBuilder(request: ApiCreateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createEmailTemplateBody = request.createEmailTemplateBody + open class func createEmailTemplateWithRequestBuilder(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -796,18 +692,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createFeedPost. */ - public struct ApiCreateFeedPostRequest: Sendable { - public var tenantId: String - public var createFeedPostParams: CreateFeedPostParams + /** Optional parameters for createFeedPost. */ + public struct ApiCreateFeedPostOptions: Sendable { public var broadcastId: String? public var isLive: Bool? public var doSpamCheck: Bool? public var skipDupCheck: Bool? - public init(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil) { - self.tenantId = tenantId - self.createFeedPostParams = createFeedPostParams + public init(broadcastId: String? = nil, isLive: Bool? = nil, doSpamCheck: Bool? = nil, skipDupCheck: Bool? = nil) { self.broadcastId = broadcastId self.isLive = isLive self.doSpamCheck = doSpamCheck @@ -826,8 +718,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostsResponse */ - open class func createFeedPost(request: ApiCreateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { - return try await createFeedPostWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { + return try await createFeedPostWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -844,13 +736,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createFeedPostWithRequestBuilder(request: ApiCreateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createFeedPostParams = request.createFeedPostParams - let broadcastId = request.broadcastId - let isLive = request.isLive - let doSpamCheck = request.doSpamCheck - let skipDupCheck = request.skipDupCheck + open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let broadcastId = options.broadcastId + let isLive = options.isLive + let doSpamCheck = options.doSpamCheck + let skipDupCheck = options.skipDupCheck let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createFeedPostParams, codableHelper: apiConfiguration.codableHelper) @@ -875,17 +765,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createModerator. */ - public struct ApiCreateModeratorRequest: Sendable { - public var tenantId: String - public var createModeratorBody: CreateModeratorBody - - public init(tenantId: String, createModeratorBody: CreateModeratorBody) { - self.tenantId = tenantId - self.createModeratorBody = createModeratorBody - } - } - /** - parameter tenantId: (query) @@ -893,8 +772,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateModeratorResponse */ - open class func createModerator(request: ApiCreateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse { - return try await createModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateModeratorResponse { + return try await createModeratorWithRequestBuilder(tenantId: tenantId, createModeratorBody: createModeratorBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -907,9 +786,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createModeratorWithRequestBuilder(request: ApiCreateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createModeratorBody = request.createModeratorBody + open class func createModeratorWithRequestBuilder(tenantId: String, createModeratorBody: CreateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createModeratorBody, codableHelper: apiConfiguration.codableHelper) @@ -930,17 +807,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createQuestionConfig. */ - public struct ApiCreateQuestionConfigRequest: Sendable { - public var tenantId: String - public var createQuestionConfigBody: CreateQuestionConfigBody - - public init(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody) { - self.tenantId = tenantId - self.createQuestionConfigBody = createQuestionConfigBody - } - } - /** - parameter tenantId: (query) @@ -948,8 +814,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateQuestionConfigResponse */ - open class func createQuestionConfig(request: ApiCreateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse { - return try await createQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionConfigResponse { + return try await createQuestionConfigWithRequestBuilder(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -962,9 +828,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createQuestionConfigWithRequestBuilder(request: ApiCreateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createQuestionConfigBody = request.createQuestionConfigBody + open class func createQuestionConfigWithRequestBuilder(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionConfigBody, codableHelper: apiConfiguration.codableHelper) @@ -985,17 +849,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createQuestionResult. */ - public struct ApiCreateQuestionResultRequest: Sendable { - public var tenantId: String - public var createQuestionResultBody: CreateQuestionResultBody - - public init(tenantId: String, createQuestionResultBody: CreateQuestionResultBody) { - self.tenantId = tenantId - self.createQuestionResultBody = createQuestionResultBody - } - } - /** - parameter tenantId: (query) @@ -1003,8 +856,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateQuestionResultResponse */ - open class func createQuestionResult(request: ApiCreateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse { - return try await createQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateQuestionResultResponse { + return try await createQuestionResultWithRequestBuilder(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -1017,9 +870,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createQuestionResultWithRequestBuilder(request: ApiCreateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createQuestionResultBody = request.createQuestionResultBody + open class func createQuestionResultWithRequestBuilder(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createQuestionResultBody, codableHelper: apiConfiguration.codableHelper) @@ -1040,17 +891,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createSubscription. */ - public struct ApiCreateSubscriptionRequest: Sendable { - public var tenantId: String - public var createAPIUserSubscriptionData: CreateAPIUserSubscriptionData - - public init(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData) { - self.tenantId = tenantId - self.createAPIUserSubscriptionData = createAPIUserSubscriptionData - } - } - /** - parameter tenantId: (query) @@ -1058,8 +898,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateSubscriptionAPIResponse */ - open class func createSubscription(request: ApiCreateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateSubscriptionAPIResponse { - return try await createSubscriptionWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createSubscription(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateSubscriptionAPIResponse { + return try await createSubscriptionWithRequestBuilder(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData, apiConfiguration: apiConfiguration).execute().body } /** @@ -1072,9 +912,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createSubscriptionWithRequestBuilder(request: ApiCreateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createAPIUserSubscriptionData = request.createAPIUserSubscriptionData + open class func createSubscriptionWithRequestBuilder(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/subscriptions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createAPIUserSubscriptionData, codableHelper: apiConfiguration.codableHelper) @@ -1095,17 +933,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createTenant. */ - public struct ApiCreateTenantRequest: Sendable { - public var tenantId: String - public var createTenantBody: CreateTenantBody - - public init(tenantId: String, createTenantBody: CreateTenantBody) { - self.tenantId = tenantId - self.createTenantBody = createTenantBody - } - } - /** - parameter tenantId: (query) @@ -1113,8 +940,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTenantResponse */ - open class func createTenant(request: ApiCreateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse { - return try await createTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantResponse { + return try await createTenantWithRequestBuilder(tenantId: tenantId, createTenantBody: createTenantBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -1127,9 +954,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTenantWithRequestBuilder(request: ApiCreateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createTenantBody = request.createTenantBody + open class func createTenantWithRequestBuilder(tenantId: String, createTenantBody: CreateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantBody, codableHelper: apiConfiguration.codableHelper) @@ -1150,17 +975,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createTenantPackage. */ - public struct ApiCreateTenantPackageRequest: Sendable { - public var tenantId: String - public var createTenantPackageBody: CreateTenantPackageBody - - public init(tenantId: String, createTenantPackageBody: CreateTenantPackageBody) { - self.tenantId = tenantId - self.createTenantPackageBody = createTenantPackageBody - } - } - /** - parameter tenantId: (query) @@ -1168,8 +982,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTenantPackageResponse */ - open class func createTenantPackage(request: ApiCreateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse { - return try await createTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantPackageResponse { + return try await createTenantPackageWithRequestBuilder(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -1182,9 +996,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTenantPackageWithRequestBuilder(request: ApiCreateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createTenantPackageBody = request.createTenantPackageBody + open class func createTenantPackageWithRequestBuilder(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantPackageBody, codableHelper: apiConfiguration.codableHelper) @@ -1205,17 +1017,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createTenantUser. */ - public struct ApiCreateTenantUserRequest: Sendable { - public var tenantId: String - public var createTenantUserBody: CreateTenantUserBody - - public init(tenantId: String, createTenantUserBody: CreateTenantUserBody) { - self.tenantId = tenantId - self.createTenantUserBody = createTenantUserBody - } - } - /** - parameter tenantId: (query) @@ -1223,8 +1024,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTenantUserResponse */ - open class func createTenantUser(request: ApiCreateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse { - return try await createTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTenantUserResponse { + return try await createTenantUserWithRequestBuilder(tenantId: tenantId, createTenantUserBody: createTenantUserBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -1237,9 +1038,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTenantUserWithRequestBuilder(request: ApiCreateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createTenantUserBody = request.createTenantUserBody + open class func createTenantUserWithRequestBuilder(tenantId: String, createTenantUserBody: CreateTenantUserBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTenantUserBody, codableHelper: apiConfiguration.codableHelper) @@ -1260,19 +1059,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createTicket. */ - public struct ApiCreateTicketRequest: Sendable { - public var tenantId: String - public var userId: String - public var createTicketBody: CreateTicketBody - - public init(tenantId: String, userId: String, createTicketBody: CreateTicketBody) { - self.tenantId = tenantId - self.userId = userId - self.createTicketBody = createTicketBody - } - } - /** - parameter tenantId: (query) @@ -1281,8 +1067,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateTicketResponse */ - open class func createTicket(request: ApiCreateTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse { - return try await createTicketWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateTicketResponse { + return try await createTicketWithRequestBuilder(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -1296,10 +1082,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createTicketWithRequestBuilder(request: ApiCreateTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let createTicketBody = request.createTicketBody + open class func createTicketWithRequestBuilder(tenantId: String, userId: String, createTicketBody: CreateTicketBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createTicketBody, codableHelper: apiConfiguration.codableHelper) @@ -1321,17 +1104,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for createUserBadge. */ - public struct ApiCreateUserBadgeRequest: Sendable { - public var tenantId: String - public var createUserBadgeParams: CreateUserBadgeParams - - public init(tenantId: String, createUserBadgeParams: CreateUserBadgeParams) { - self.tenantId = tenantId - self.createUserBadgeParams = createUserBadgeParams - } - } - /** - parameter tenantId: (query) @@ -1339,8 +1111,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APICreateUserBadgeResponse */ - open class func createUserBadge(request: ApiCreateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APICreateUserBadgeResponse { - return try await createUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APICreateUserBadgeResponse { + return try await createUserBadgeWithRequestBuilder(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams, apiConfiguration: apiConfiguration).execute().body } /** @@ -1353,9 +1125,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createUserBadgeWithRequestBuilder(request: ApiCreateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createUserBadgeParams = request.createUserBadgeParams + open class func createUserBadgeWithRequestBuilder(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createUserBadgeParams, codableHelper: apiConfiguration.codableHelper) @@ -1384,18 +1154,12 @@ open class DefaultAPI { case down = "down" } - /** Request parameters for createVote. */ - public struct ApiCreateVoteRequest: Sendable { - public var tenantId: String - public var commentId: String - public var direction: Direction_createVote + /** Optional parameters for createVote. */ + public struct ApiCreateVoteOptions: Sendable { public var userId: String? public var anonUserId: String? - public init(tenantId: String, commentId: String, direction: Direction_createVote, userId: String? = nil, anonUserId: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.direction = direction + public init(userId: String? = nil, anonUserId: String? = nil) { self.userId = userId self.anonUserId = anonUserId } @@ -1411,8 +1175,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func createVote(request: ApiCreateVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await createVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, options: ApiCreateVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await createVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, direction: direction, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1428,12 +1192,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createVoteWithRequestBuilder(request: ApiCreateVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let direction = request.direction - let userId = request.userId - let anonUserId = request.anonUserId + open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, options: ApiCreateVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let anonUserId = options.anonUserId let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1458,16 +1219,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteComment. */ - public struct ApiDeleteCommentRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteComment. */ + public struct ApiDeleteCommentOptions: Sendable { public var contextUserId: String? public var isLive: Bool? - public init(tenantId: String, id: String, contextUserId: String? = nil, isLive: Bool? = nil) { - self.tenantId = tenantId - self.id = id + public init(contextUserId: String? = nil, isLive: Bool? = nil) { self.contextUserId = contextUserId self.isLive = isLive } @@ -1482,8 +1239,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteCommentResult */ - open class func deleteComment(request: ApiDeleteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { - return try await deleteCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteComment(tenantId: String, id: String, options: ApiDeleteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { + return try await deleteCommentWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1498,11 +1255,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentWithRequestBuilder(request: ApiDeleteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let contextUserId = request.contextUserId - let isLive = request.isLive + open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let contextUserId = options.contextUserId + let isLive = options.isLive var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1528,17 +1283,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteDomainConfig. */ - public struct ApiDeleteDomainConfigRequest: Sendable { - public var tenantId: String - public var domain: String - - public init(tenantId: String, domain: String) { - self.tenantId = tenantId - self.domain = domain - } - } - /** - parameter tenantId: (query) @@ -1546,8 +1290,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteDomainConfigResponse */ - open class func deleteDomainConfig(request: ApiDeleteDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteDomainConfigResponse { - return try await deleteDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteDomainConfig(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteDomainConfigResponse { + return try await deleteDomainConfigWithRequestBuilder(tenantId: tenantId, domain: domain, apiConfiguration: apiConfiguration).execute().body } /** @@ -1560,9 +1304,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteDomainConfigWithRequestBuilder(request: ApiDeleteDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let domain = request.domain + open class func deleteDomainConfigWithRequestBuilder(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/domain-configs/{domain}" let domainPreEscape = "\(APIHelper.mapValueToPathItem(domain))" let domainPostEscape = domainPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1586,17 +1328,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteEmailTemplate. */ - public struct ApiDeleteEmailTemplateRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -1604,8 +1335,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteEmailTemplate(request: ApiDeleteEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -1618,9 +1349,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteEmailTemplateWithRequestBuilder(request: ApiDeleteEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deleteEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1644,19 +1373,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteEmailTemplateRenderError. */ - public struct ApiDeleteEmailTemplateRenderErrorRequest: Sendable { - public var tenantId: String - public var id: String - public var errorId: String - - public init(tenantId: String, id: String, errorId: String) { - self.tenantId = tenantId - self.id = id - self.errorId = errorId - } - } - /** - parameter tenantId: (query) @@ -1665,8 +1381,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteEmailTemplateRenderError(request: ApiDeleteEmailTemplateRenderErrorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteEmailTemplateRenderErrorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: tenantId, id: id, errorId: errorId, apiConfiguration: apiConfiguration).execute().body } /** @@ -1680,10 +1396,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteEmailTemplateRenderErrorWithRequestBuilder(request: ApiDeleteEmailTemplateRenderErrorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let errorId = request.errorId + open class func deleteEmailTemplateRenderErrorWithRequestBuilder(tenantId: String, id: String, errorId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}/render-errors/{errorId}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1710,16 +1423,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteHashTag. */ - public struct ApiDeleteHashTagRequest: Sendable { - public var tag: String + /** Optional parameters for deleteHashTag. */ + public struct ApiDeleteHashTagOptions: Sendable { public var tenantId: String? - public var deleteHashTagRequestBody: DeleteHashTagRequestBody? - public init(tag: String, tenantId: String? = nil, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil) { - self.tag = tag + public init(tenantId: String? = nil) { self.tenantId = tenantId - self.deleteHashTagRequestBody = deleteHashTagRequestBody } } @@ -1731,8 +1440,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteHashTag(request: ApiDeleteHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteHashTagWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, options: ApiDeleteHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteHashTagWithRequestBuilder(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1746,10 +1455,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteHashTagWithRequestBuilder(request: ApiDeleteHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tag = request.tag - let tenantId = request.tenantId - let deleteHashTagRequestBody = request.deleteHashTagRequestBody + open class func deleteHashTagWithRequestBuilder(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, options: ApiDeleteHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1773,15 +1480,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteModerator. */ - public struct ApiDeleteModeratorRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteModerator. */ + public struct ApiDeleteModeratorOptions: Sendable { public var sendEmail: String? - public init(tenantId: String, id: String, sendEmail: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(sendEmail: String? = nil) { self.sendEmail = sendEmail } } @@ -1794,8 +1497,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteModerator(request: ApiDeleteModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerator(tenantId: String, id: String, options: ApiDeleteModeratorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteModeratorWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1809,10 +1512,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteModeratorWithRequestBuilder(request: ApiDeleteModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let sendEmail = request.sendEmail + open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteModeratorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sendEmail = options.sendEmail var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1837,17 +1538,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteNotificationCount. */ - public struct ApiDeleteNotificationCountRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -1855,8 +1545,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteNotificationCount(request: ApiDeleteNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -1869,9 +1559,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteNotificationCountWithRequestBuilder(request: ApiDeleteNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deleteNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1895,17 +1583,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deletePage. */ - public struct ApiDeletePageRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -1913,8 +1590,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeletePageAPIResponse */ - open class func deletePage(request: ApiDeletePageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeletePageAPIResponse { - return try await deletePageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deletePage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeletePageAPIResponse { + return try await deletePageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -1927,9 +1604,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deletePageWithRequestBuilder(request: ApiDeletePageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deletePageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/pages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1953,17 +1628,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deletePendingWebhookEvent. */ - public struct ApiDeletePendingWebhookEventRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -1971,8 +1635,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deletePendingWebhookEvent(request: ApiDeletePendingWebhookEventRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deletePendingWebhookEventWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deletePendingWebhookEvent(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deletePendingWebhookEventWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -1985,9 +1649,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deletePendingWebhookEventWithRequestBuilder(request: ApiDeletePendingWebhookEventRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deletePendingWebhookEventWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/pending-webhook-events/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2011,17 +1673,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteQuestionConfig. */ - public struct ApiDeleteQuestionConfigRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -2029,8 +1680,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteQuestionConfig(request: ApiDeleteQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2043,9 +1694,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteQuestionConfigWithRequestBuilder(request: ApiDeleteQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deleteQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2069,17 +1718,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteQuestionResult. */ - public struct ApiDeleteQuestionResultRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -2087,8 +1725,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteQuestionResult(request: ApiDeleteQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2101,9 +1739,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteQuestionResultWithRequestBuilder(request: ApiDeleteQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deleteQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2127,16 +1763,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteSSOUser. */ - public struct ApiDeleteSSOUserRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteSSOUser. */ + public struct ApiDeleteSSOUserOptions: Sendable { public var deleteComments: Bool? public var commentDeleteMode: String? - public init(tenantId: String, id: String, deleteComments: Bool? = nil, commentDeleteMode: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(deleteComments: Bool? = nil, commentDeleteMode: String? = nil) { self.deleteComments = deleteComments self.commentDeleteMode = commentDeleteMode } @@ -2151,8 +1783,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteSSOUserAPIResponse */ - open class func deleteSSOUser(request: ApiDeleteSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSSOUserAPIResponse { - return try await deleteSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteSSOUser(tenantId: String, id: String, options: ApiDeleteSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSSOUserAPIResponse { + return try await deleteSSOUserWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2167,11 +1799,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteSSOUserWithRequestBuilder(request: ApiDeleteSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let deleteComments = request.deleteComments - let commentDeleteMode = request.commentDeleteMode + open class func deleteSSOUserWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let deleteComments = options.deleteComments + let commentDeleteMode = options.commentDeleteMode var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2197,15 +1827,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteSubscription. */ - public struct ApiDeleteSubscriptionRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteSubscription. */ + public struct ApiDeleteSubscriptionOptions: Sendable { public var userId: String? - public init(tenantId: String, id: String, userId: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(userId: String? = nil) { self.userId = userId } } @@ -2218,8 +1844,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteSubscriptionAPIResponse */ - open class func deleteSubscription(request: ApiDeleteSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSubscriptionAPIResponse { - return try await deleteSubscriptionWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteSubscription(tenantId: String, id: String, options: ApiDeleteSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSubscriptionAPIResponse { + return try await deleteSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2233,10 +1859,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteSubscriptionWithRequestBuilder(request: ApiDeleteSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let userId = request.userId + open class func deleteSubscriptionWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId var localVariablePath = "/api/v1/subscriptions/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2261,15 +1885,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteTenant. */ - public struct ApiDeleteTenantRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteTenant. */ + public struct ApiDeleteTenantOptions: Sendable { public var sure: String? - public init(tenantId: String, id: String, sure: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(sure: String? = nil) { self.sure = sure } } @@ -2282,8 +1902,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenant(request: ApiDeleteTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenant(tenantId: String, id: String, options: ApiDeleteTenantOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2297,10 +1917,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantWithRequestBuilder(request: ApiDeleteTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let sure = request.sure + open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteTenantOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sure = options.sure var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2325,17 +1943,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteTenantPackage. */ - public struct ApiDeleteTenantPackageRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -2343,8 +1950,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenantPackage(request: ApiDeleteTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2357,9 +1964,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantPackageWithRequestBuilder(request: ApiDeleteTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deleteTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2383,16 +1988,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteTenantUser. */ - public struct ApiDeleteTenantUserRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteTenantUser. */ + public struct ApiDeleteTenantUserOptions: Sendable { public var deleteComments: String? public var commentDeleteMode: String? - public init(tenantId: String, id: String, deleteComments: String? = nil, commentDeleteMode: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(deleteComments: String? = nil, commentDeleteMode: String? = nil) { self.deleteComments = deleteComments self.commentDeleteMode = commentDeleteMode } @@ -2407,8 +2008,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenantUser(request: ApiDeleteTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenantUser(tenantId: String, id: String, options: ApiDeleteTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantUserWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2423,11 +2024,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantUserWithRequestBuilder(request: ApiDeleteTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let deleteComments = request.deleteComments - let commentDeleteMode = request.commentDeleteMode + open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let deleteComments = options.deleteComments + let commentDeleteMode = options.commentDeleteMode var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2453,17 +2052,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteUserBadge. */ - public struct ApiDeleteUserBadgeRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -2471,8 +2059,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptySuccessResponse */ - open class func deleteUserBadge(request: ApiDeleteUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { - return try await deleteUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { + return try await deleteUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2485,9 +2073,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteUserBadgeWithRequestBuilder(request: ApiDeleteUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func deleteUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2511,15 +2097,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteVote. */ - public struct ApiDeleteVoteRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for deleteVote. */ + public struct ApiDeleteVoteOptions: Sendable { public var editKey: String? - public init(tenantId: String, id: String, editKey: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(editKey: String? = nil) { self.editKey = editKey } } @@ -2532,8 +2114,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteVote(request: ApiDeleteVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteVote(tenantId: String, id: String, options: ApiDeleteVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteVoteWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2547,10 +2129,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteVoteWithRequestBuilder(request: ApiDeleteVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let editKey = request.editKey + open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let editKey = options.editKey var localVariablePath = "/api/v1/votes/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2575,16 +2155,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for flagComment. */ - public struct ApiFlagCommentRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for flagComment. */ + public struct ApiFlagCommentOptions: Sendable { public var userId: String? public var anonUserId: String? - public init(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(userId: String? = nil, anonUserId: String? = nil) { self.userId = userId self.anonUserId = anonUserId } @@ -2599,8 +2175,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FlagCommentResponse */ - open class func flagComment(request: ApiFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { - return try await flagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func flagComment(tenantId: String, id: String, options: ApiFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + return try await flagCommentWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2615,11 +2191,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func flagCommentWithRequestBuilder(request: ApiFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let userId = request.userId - let anonUserId = request.anonUserId + open class func flagCommentWithRequestBuilder(tenantId: String, id: String, options: ApiFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2645,17 +2219,15 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getAuditLogs. */ - public struct ApiGetAuditLogsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getAuditLogs. */ + public struct ApiGetAuditLogsOptions: Sendable { public var limit: Double? public var skip: Double? public var order: SORTDIR? public var after: Double? public var before: Double? - public init(tenantId: String, limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil) { - self.tenantId = tenantId + public init(limit: Double? = nil, skip: Double? = nil, order: SORTDIR? = nil, after: Double? = nil, before: Double? = nil) { self.limit = limit self.skip = skip self.order = order @@ -2675,8 +2247,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetAuditLogsResponse */ - open class func getAuditLogs(request: ApiGetAuditLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { - return try await getAuditLogsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getAuditLogs(tenantId: String, options: ApiGetAuditLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { + return try await getAuditLogsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2693,13 +2265,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getAuditLogsWithRequestBuilder(request: ApiGetAuditLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let limit = request.limit - let skip = request.skip - let order = request.order - let after = request.after - let before = request.before + open class func getAuditLogsWithRequestBuilder(tenantId: String, options: ApiGetAuditLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let limit = options.limit + let skip = options.skip + let order = options.order + let after = options.after + let before = options.before let localVariablePath = "/api/v1/audit-logs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2725,17 +2296,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getCachedNotificationCount. */ - public struct ApiGetCachedNotificationCountRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -2743,8 +2303,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCachedNotificationCountResponse */ - open class func getCachedNotificationCount(request: ApiGetCachedNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse { - return try await getCachedNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCachedNotificationCount(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCachedNotificationCountResponse { + return try await getCachedNotificationCountWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2757,9 +2317,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCachedNotificationCountWithRequestBuilder(request: ApiGetCachedNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getCachedNotificationCountWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notification-count/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2783,17 +2341,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getComment. */ - public struct ApiGetCommentRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -2801,8 +2348,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetCommentResponse */ - open class func getComment(request: ApiGetCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentResponse { - return try await getCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getComment(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentResponse { + return try await getCommentWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2815,9 +2362,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentWithRequestBuilder(request: ApiGetCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getCommentWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2841,9 +2386,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getComments. */ - public struct ApiGetCommentsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getComments. */ + public struct ApiGetCommentsOptions: Sendable { public var page: Int? public var limit: Int? public var skip: Int? @@ -2861,8 +2405,7 @@ open class DefaultAPI { public var fromDate: Int64? public var toDate: Int64? - public init(tenantId: String, page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil) { - self.tenantId = tenantId + public init(page: Int? = nil, limit: Int? = nil, skip: Int? = nil, asTree: Bool? = nil, skipChildren: Int? = nil, limitChildren: Int? = nil, maxTreeDepth: Int? = nil, urlId: String? = nil, userId: String? = nil, anonUserId: String? = nil, contextUserId: String? = nil, hashTag: String? = nil, parentId: String? = nil, direction: SortDirections? = nil, fromDate: Int64? = nil, toDate: Int64? = nil) { self.page = page self.limit = limit self.skip = skip @@ -2904,8 +2447,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetCommentsResponse */ - open class func getComments(request: ApiGetCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { - return try await getCommentsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getComments(tenantId: String, options: ApiGetCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { + return try await getCommentsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2933,24 +2476,23 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsWithRequestBuilder(request: ApiGetCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let page = request.page - let limit = request.limit - let skip = request.skip - let asTree = request.asTree - let skipChildren = request.skipChildren - let limitChildren = request.limitChildren - let maxTreeDepth = request.maxTreeDepth - let urlId = request.urlId - let userId = request.userId - let anonUserId = request.anonUserId - let contextUserId = request.contextUserId - let hashTag = request.hashTag - let parentId = request.parentId - let direction = request.direction - let fromDate = request.fromDate - let toDate = request.toDate + open class func getCommentsWithRequestBuilder(tenantId: String, options: ApiGetCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2987,17 +2529,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getDomainConfig. */ - public struct ApiGetDomainConfigRequest: Sendable { - public var tenantId: String - public var domain: String - - public init(tenantId: String, domain: String) { - self.tenantId = tenantId - self.domain = domain - } - } - /** - parameter tenantId: (query) @@ -3005,8 +2536,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetDomainConfigResponse */ - open class func getDomainConfig(request: ApiGetDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigResponse { - return try await getDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getDomainConfig(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigResponse { + return try await getDomainConfigWithRequestBuilder(tenantId: tenantId, domain: domain, apiConfiguration: apiConfiguration).execute().body } /** @@ -3019,9 +2550,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getDomainConfigWithRequestBuilder(request: ApiGetDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let domain = request.domain + open class func getDomainConfigWithRequestBuilder(tenantId: String, domain: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/domain-configs/{domain}" let domainPreEscape = "\(APIHelper.mapValueToPathItem(domain))" let domainPostEscape = domainPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3045,23 +2574,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getDomainConfigs. */ - public struct ApiGetDomainConfigsRequest: Sendable { - public var tenantId: String - - public init(tenantId: String) { - self.tenantId = tenantId - } - } - /** - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - returns: GetDomainConfigsResponse */ - open class func getDomainConfigs(request: ApiGetDomainConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigsResponse { - return try await getDomainConfigsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getDomainConfigs(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetDomainConfigsResponse { + return try await getDomainConfigsWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -3073,8 +2593,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getDomainConfigsWithRequestBuilder(request: ApiGetDomainConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId + open class func getDomainConfigsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/domain-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3095,17 +2614,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getEmailTemplate. */ - public struct ApiGetEmailTemplateRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -3113,8 +2621,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateResponse */ - open class func getEmailTemplate(request: ApiGetEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse { - return try await getEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplate(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateResponse { + return try await getEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -3127,9 +2635,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateWithRequestBuilder(request: ApiGetEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getEmailTemplateWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3153,23 +2659,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getEmailTemplateDefinitions. */ - public struct ApiGetEmailTemplateDefinitionsRequest: Sendable { - public var tenantId: String - - public init(tenantId: String) { - self.tenantId = tenantId - } - } - /** - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateDefinitionsResponse */ - open class func getEmailTemplateDefinitions(request: ApiGetEmailTemplateDefinitionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse { - return try await getEmailTemplateDefinitionsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplateDefinitions(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateDefinitionsResponse { + return try await getEmailTemplateDefinitionsWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -3181,8 +2678,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateDefinitionsWithRequestBuilder(request: ApiGetEmailTemplateDefinitionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId + open class func getEmailTemplateDefinitionsWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates/definitions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3203,15 +2699,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getEmailTemplateRenderErrors. */ - public struct ApiGetEmailTemplateRenderErrorsRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for getEmailTemplateRenderErrors. */ + public struct ApiGetEmailTemplateRenderErrorsOptions: Sendable { public var skip: Double? - public init(tenantId: String, id: String, skip: Double? = nil) { - self.tenantId = tenantId - self.id = id + public init(skip: Double? = nil) { self.skip = skip } } @@ -3224,8 +2716,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateRenderErrorsResponse */ - open class func getEmailTemplateRenderErrors(request: ApiGetEmailTemplateRenderErrorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { - return try await getEmailTemplateRenderErrorsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, options: ApiGetEmailTemplateRenderErrorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { + return try await getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3239,10 +2731,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateRenderErrorsWithRequestBuilder(request: ApiGetEmailTemplateRenderErrorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let skip = request.skip + open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, options: ApiGetEmailTemplateRenderErrorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip var localVariablePath = "/api/v1/email-templates/{id}/render-errors" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3267,13 +2757,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getEmailTemplates. */ - public struct ApiGetEmailTemplatesRequest: Sendable { - public var tenantId: String + /** Optional parameters for getEmailTemplates. */ + public struct ApiGetEmailTemplatesOptions: Sendable { public var skip: Double? - public init(tenantId: String, skip: Double? = nil) { - self.tenantId = tenantId + public init(skip: Double? = nil) { self.skip = skip } } @@ -3285,8 +2773,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplatesResponse */ - open class func getEmailTemplates(request: ApiGetEmailTemplatesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { - return try await getEmailTemplatesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplates(tenantId: String, options: ApiGetEmailTemplatesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { + return try await getEmailTemplatesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3299,9 +2787,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplatesWithRequestBuilder(request: ApiGetEmailTemplatesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let skip = request.skip + open class func getEmailTemplatesWithRequestBuilder(tenantId: String, options: ApiGetEmailTemplatesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3323,15 +2810,13 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getFeedPosts. */ - public struct ApiGetFeedPostsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getFeedPosts. */ + public struct ApiGetFeedPostsOptions: Sendable { public var afterId: String? public var limit: Int? public var tags: [String]? - public init(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil) { - self.tenantId = tenantId + public init(afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil) { self.afterId = afterId self.limit = limit self.tags = tags @@ -3347,8 +2832,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetFeedPostsResponse */ - open class func getFeedPosts(request: ApiGetFeedPostsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { - return try await getFeedPostsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPosts(tenantId: String, options: ApiGetFeedPostsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { + return try await getFeedPostsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3364,11 +2849,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsWithRequestBuilder(request: ApiGetFeedPostsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let afterId = request.afterId - let limit = request.limit - let tags = request.tags + open class func getFeedPostsWithRequestBuilder(tenantId: String, options: ApiGetFeedPostsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let afterId = options.afterId + let limit = options.limit + let tags = options.tags let localVariablePath = "/api/v1/feed-posts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3392,13 +2876,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getHashTags. */ - public struct ApiGetHashTagsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getHashTags. */ + public struct ApiGetHashTagsOptions: Sendable { public var page: Double? - public init(tenantId: String, page: Double? = nil) { - self.tenantId = tenantId + public init(page: Double? = nil) { self.page = page } } @@ -3410,8 +2892,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetHashTagsResponse */ - open class func getHashTags(request: ApiGetHashTagsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { - return try await getHashTagsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getHashTags(tenantId: String, options: ApiGetHashTagsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { + return try await getHashTagsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3424,9 +2906,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getHashTagsWithRequestBuilder(request: ApiGetHashTagsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let page = request.page + open class func getHashTagsWithRequestBuilder(tenantId: String, options: ApiGetHashTagsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let page = options.page let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3448,17 +2929,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getModerator. */ - public struct ApiGetModeratorRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -3466,8 +2936,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetModeratorResponse */ - open class func getModerator(request: ApiGetModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse { - return try await getModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getModerator(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorResponse { + return try await getModeratorWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -3480,9 +2950,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModeratorWithRequestBuilder(request: ApiGetModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getModeratorWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3506,13 +2974,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getModerators. */ - public struct ApiGetModeratorsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getModerators. */ + public struct ApiGetModeratorsOptions: Sendable { public var skip: Double? - public init(tenantId: String, skip: Double? = nil) { - self.tenantId = tenantId + public init(skip: Double? = nil) { self.skip = skip } } @@ -3524,8 +2990,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetModeratorsResponse */ - open class func getModerators(request: ApiGetModeratorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { - return try await getModeratorsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getModerators(tenantId: String, options: ApiGetModeratorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { + return try await getModeratorsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3538,9 +3004,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModeratorsWithRequestBuilder(request: ApiGetModeratorsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let skip = request.skip + open class func getModeratorsWithRequestBuilder(tenantId: String, options: ApiGetModeratorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3562,17 +3027,15 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getNotificationCount. */ - public struct ApiGetNotificationCountRequest: Sendable { - public var tenantId: String + /** Optional parameters for getNotificationCount. */ + public struct ApiGetNotificationCountOptions: Sendable { public var userId: String? public var urlId: String? public var fromCommentId: String? public var viewed: Bool? public var type: String? - public init(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil) { - self.tenantId = tenantId + public init(userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil) { self.userId = userId self.urlId = urlId self.fromCommentId = fromCommentId @@ -3592,8 +3055,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetNotificationCountResponse */ - open class func getNotificationCount(request: ApiGetNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { - return try await getNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getNotificationCount(tenantId: String, options: ApiGetNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { + return try await getNotificationCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3610,13 +3073,12 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getNotificationCountWithRequestBuilder(request: ApiGetNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let urlId = request.urlId - let fromCommentId = request.fromCommentId - let viewed = request.viewed - let type = request.type + open class func getNotificationCountWithRequestBuilder(tenantId: String, options: ApiGetNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let urlId = options.urlId + let fromCommentId = options.fromCommentId + let viewed = options.viewed + let type = options.type let localVariablePath = "/api/v1/notifications/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3642,9 +3104,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getNotifications. */ - public struct ApiGetNotificationsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getNotifications. */ + public struct ApiGetNotificationsOptions: Sendable { public var userId: String? public var urlId: String? public var fromCommentId: String? @@ -3652,8 +3113,7 @@ open class DefaultAPI { public var type: String? public var skip: Double? - public init(tenantId: String, userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(userId: String? = nil, urlId: String? = nil, fromCommentId: String? = nil, viewed: Bool? = nil, type: String? = nil, skip: Double? = nil) { self.userId = userId self.urlId = urlId self.fromCommentId = fromCommentId @@ -3675,8 +3135,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetNotificationsResponse */ - open class func getNotifications(request: ApiGetNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { - return try await getNotificationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getNotifications(tenantId: String, options: ApiGetNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { + return try await getNotificationsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3694,14 +3154,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getNotificationsWithRequestBuilder(request: ApiGetNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let urlId = request.urlId - let fromCommentId = request.fromCommentId - let viewed = request.viewed - let type = request.type - let skip = request.skip + open class func getNotificationsWithRequestBuilder(tenantId: String, options: ApiGetNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let urlId = options.urlId + let fromCommentId = options.fromCommentId + let viewed = options.viewed + let type = options.type + let skip = options.skip let localVariablePath = "/api/v1/notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3728,17 +3187,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getPageByURLId. */ - public struct ApiGetPageByURLIdRequest: Sendable { - public var tenantId: String - public var urlId: String - - public init(tenantId: String, urlId: String) { - self.tenantId = tenantId - self.urlId = urlId - } - } - /** - parameter tenantId: (query) @@ -3746,8 +3194,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPageByURLIdAPIResponse */ - open class func getPageByURLId(request: ApiGetPageByURLIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPageByURLIdAPIResponse { - return try await getPageByURLIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getPageByURLId(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPageByURLIdAPIResponse { + return try await getPageByURLIdWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } /** @@ -3760,9 +3208,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPageByURLIdWithRequestBuilder(request: ApiGetPageByURLIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId + open class func getPageByURLIdWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pages/by-url-id" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3784,23 +3230,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getPages. */ - public struct ApiGetPagesRequest: Sendable { - public var tenantId: String - - public init(tenantId: String) { - self.tenantId = tenantId - } - } - /** - parameter tenantId: (query) - parameter apiConfiguration: The configuration for the http request. - returns: GetPagesAPIResponse */ - open class func getPages(request: ApiGetPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPagesAPIResponse { - return try await getPagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getPages(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPagesAPIResponse { + return try await getPagesWithRequestBuilder(tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -3812,8 +3249,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPagesWithRequestBuilder(request: ApiGetPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId + open class func getPagesWithRequestBuilder(tenantId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3834,9 +3270,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getPendingWebhookEventCount. */ - public struct ApiGetPendingWebhookEventCountRequest: Sendable { - public var tenantId: String + /** Optional parameters for getPendingWebhookEventCount. */ + public struct ApiGetPendingWebhookEventCountOptions: Sendable { public var commentId: String? public var externalId: String? public var eventType: String? @@ -3844,8 +3279,7 @@ open class DefaultAPI { public var domain: String? public var attemptCountGT: Double? - public init(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil) { - self.tenantId = tenantId + public init(commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil) { self.commentId = commentId self.externalId = externalId self.eventType = eventType @@ -3867,8 +3301,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPendingWebhookEventCountResponse */ - open class func getPendingWebhookEventCount(request: ApiGetPendingWebhookEventCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { - return try await getPendingWebhookEventCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getPendingWebhookEventCount(tenantId: String, options: ApiGetPendingWebhookEventCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { + return try await getPendingWebhookEventCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3886,14 +3320,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPendingWebhookEventCountWithRequestBuilder(request: ApiGetPendingWebhookEventCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let externalId = request.externalId - let eventType = request.eventType - let type = request.type - let domain = request.domain - let attemptCountGT = request.attemptCountGT + open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, options: ApiGetPendingWebhookEventCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 localVariablePath = "/api/v1/pending-webhook-events/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3920,9 +3353,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getPendingWebhookEvents. */ - public struct ApiGetPendingWebhookEventsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getPendingWebhookEvents. */ + public struct ApiGetPendingWebhookEventsOptions: Sendable { public var commentId: String? public var externalId: String? public var eventType: String? @@ -3931,8 +3363,7 @@ open class DefaultAPI { public var attemptCountGT: Double? public var skip: Double? - public init(tenantId: String, commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(commentId: String? = nil, externalId: String? = nil, eventType: String? = nil, type: String? = nil, domain: String? = nil, attemptCountGT: Double? = nil, skip: Double? = nil) { self.commentId = commentId self.externalId = externalId self.eventType = eventType @@ -3956,8 +3387,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPendingWebhookEventsResponse */ - open class func getPendingWebhookEvents(request: ApiGetPendingWebhookEventsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { - return try await getPendingWebhookEventsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getPendingWebhookEvents(tenantId: String, options: ApiGetPendingWebhookEventsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { + return try await getPendingWebhookEventsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3976,15 +3407,14 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPendingWebhookEventsWithRequestBuilder(request: ApiGetPendingWebhookEventsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let externalId = request.externalId - let eventType = request.eventType - let type = request.type - let domain = request.domain - let attemptCountGT = request.attemptCountGT - let skip = request.skip + open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, options: ApiGetPendingWebhookEventsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/api/v1/pending-webhook-events" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4012,17 +3442,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getQuestionConfig. */ - public struct ApiGetQuestionConfigRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -4030,8 +3449,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionConfigResponse */ - open class func getQuestionConfig(request: ApiGetQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse { - return try await getQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionConfig(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigResponse { + return try await getQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -4044,9 +3463,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionConfigWithRequestBuilder(request: ApiGetQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getQuestionConfigWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4070,13 +3487,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getQuestionConfigs. */ - public struct ApiGetQuestionConfigsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getQuestionConfigs. */ + public struct ApiGetQuestionConfigsOptions: Sendable { public var skip: Double? - public init(tenantId: String, skip: Double? = nil) { - self.tenantId = tenantId + public init(skip: Double? = nil) { self.skip = skip } } @@ -4088,8 +3503,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionConfigsResponse */ - open class func getQuestionConfigs(request: ApiGetQuestionConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { - return try await getQuestionConfigsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionConfigs(tenantId: String, options: ApiGetQuestionConfigsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { + return try await getQuestionConfigsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4102,9 +3517,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionConfigsWithRequestBuilder(request: ApiGetQuestionConfigsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let skip = request.skip + open class func getQuestionConfigsWithRequestBuilder(tenantId: String, options: ApiGetQuestionConfigsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4126,17 +3540,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getQuestionResult. */ - public struct ApiGetQuestionResultRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -4144,8 +3547,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionResultResponse */ - open class func getQuestionResult(request: ApiGetQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse { - return try await getQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionResult(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultResponse { + return try await getQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -4158,9 +3561,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionResultWithRequestBuilder(request: ApiGetQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getQuestionResultWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4184,9 +3585,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getQuestionResults. */ - public struct ApiGetQuestionResultsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getQuestionResults. */ + public struct ApiGetQuestionResultsOptions: Sendable { public var urlId: String? public var userId: String? public var startDate: String? @@ -4194,8 +3594,7 @@ open class DefaultAPI { public var questionIds: String? public var skip: Double? - public init(tenantId: String, urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(urlId: String? = nil, userId: String? = nil, startDate: String? = nil, questionId: String? = nil, questionIds: String? = nil, skip: Double? = nil) { self.urlId = urlId self.userId = userId self.startDate = startDate @@ -4217,8 +3616,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionResultsResponse */ - open class func getQuestionResults(request: ApiGetQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { - return try await getQuestionResultsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionResults(tenantId: String, options: ApiGetQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { + return try await getQuestionResultsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4236,14 +3635,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionResultsWithRequestBuilder(request: ApiGetQuestionResultsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let userId = request.userId - let startDate = request.startDate - let questionId = request.questionId - let questionIds = request.questionIds - let skip = request.skip + open class func getQuestionResultsWithRequestBuilder(tenantId: String, options: ApiGetQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let urlId = options.urlId + let userId = options.userId + let startDate = options.startDate + let questionId = options.questionId + let questionIds = options.questionIds + let skip = options.skip let localVariablePath = "/api/v1/question-results" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4270,17 +3668,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getSSOUserByEmail. */ - public struct ApiGetSSOUserByEmailRequest: Sendable { - public var tenantId: String - public var email: String - - public init(tenantId: String, email: String) { - self.tenantId = tenantId - self.email = email - } - } - /** - parameter tenantId: (query) @@ -4288,8 +3675,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUserByEmailAPIResponse */ - open class func getSSOUserByEmail(request: ApiGetSSOUserByEmailRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByEmailAPIResponse { - return try await getSSOUserByEmailWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUserByEmail(tenantId: String, email: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByEmailAPIResponse { + return try await getSSOUserByEmailWithRequestBuilder(tenantId: tenantId, email: email, apiConfiguration: apiConfiguration).execute().body } /** @@ -4302,9 +3689,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUserByEmailWithRequestBuilder(request: ApiGetSSOUserByEmailRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let email = request.email + open class func getSSOUserByEmailWithRequestBuilder(tenantId: String, email: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/sso-users/by-email/{email}" let emailPreEscape = "\(APIHelper.mapValueToPathItem(email))" let emailPostEscape = emailPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4328,17 +3713,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getSSOUserById. */ - public struct ApiGetSSOUserByIdRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -4346,8 +3720,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUserByIdAPIResponse */ - open class func getSSOUserById(request: ApiGetSSOUserByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByIdAPIResponse { - return try await getSSOUserByIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUserById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUserByIdAPIResponse { + return try await getSSOUserByIdWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -4360,9 +3734,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUserByIdWithRequestBuilder(request: ApiGetSSOUserByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getSSOUserByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/sso-users/by-id/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4386,13 +3758,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getSSOUsers. */ - public struct ApiGetSSOUsersRequest: Sendable { - public var tenantId: String + /** Optional parameters for getSSOUsers. */ + public struct ApiGetSSOUsersOptions: Sendable { public var skip: Int? - public init(tenantId: String, skip: Int? = nil) { - self.tenantId = tenantId + public init(skip: Int? = nil) { self.skip = skip } } @@ -4404,8 +3774,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUsersResponse */ - open class func getSSOUsers(request: ApiGetSSOUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUsersResponse { - return try await getSSOUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUsers(tenantId: String, options: ApiGetSSOUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUsersResponse { + return try await getSSOUsersWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4418,9 +3788,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUsersWithRequestBuilder(request: ApiGetSSOUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let skip = request.skip + open class func getSSOUsersWithRequestBuilder(tenantId: String, options: ApiGetSSOUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip let localVariablePath = "/api/v1/sso-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4442,13 +3811,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getSubscriptions. */ - public struct ApiGetSubscriptionsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getSubscriptions. */ + public struct ApiGetSubscriptionsOptions: Sendable { public var userId: String? - public init(tenantId: String, userId: String? = nil) { - self.tenantId = tenantId + public init(userId: String? = nil) { self.userId = userId } } @@ -4460,8 +3827,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSubscriptionsAPIResponse */ - open class func getSubscriptions(request: ApiGetSubscriptionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSubscriptionsAPIResponse { - return try await getSubscriptionsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSubscriptions(tenantId: String, options: ApiGetSubscriptionsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSubscriptionsAPIResponse { + return try await getSubscriptionsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4474,9 +3841,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSubscriptionsWithRequestBuilder(request: ApiGetSubscriptionsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId + open class func getSubscriptionsWithRequestBuilder(tenantId: String, options: ApiGetSubscriptionsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId let localVariablePath = "/api/v1/subscriptions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4498,17 +3864,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenant. */ - public struct ApiGetTenantRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -4516,8 +3871,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantResponse */ - open class func getTenant(request: ApiGetTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse { - return try await getTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenant(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantResponse { + return try await getTenantWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -4530,9 +3885,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantWithRequestBuilder(request: ApiGetTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getTenantWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4556,16 +3909,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenantDailyUsages. */ - public struct ApiGetTenantDailyUsagesRequest: Sendable { - public var tenantId: String + /** Optional parameters for getTenantDailyUsages. */ + public struct ApiGetTenantDailyUsagesOptions: Sendable { public var yearNumber: Double? public var monthNumber: Double? public var dayNumber: Double? public var skip: Double? - public init(tenantId: String, yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(yearNumber: Double? = nil, monthNumber: Double? = nil, dayNumber: Double? = nil, skip: Double? = nil) { self.yearNumber = yearNumber self.monthNumber = monthNumber self.dayNumber = dayNumber @@ -4583,8 +3934,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantDailyUsagesResponse */ - open class func getTenantDailyUsages(request: ApiGetTenantDailyUsagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { - return try await getTenantDailyUsagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenantDailyUsages(tenantId: String, options: ApiGetTenantDailyUsagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { + return try await getTenantDailyUsagesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4600,12 +3951,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantDailyUsagesWithRequestBuilder(request: ApiGetTenantDailyUsagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let yearNumber = request.yearNumber - let monthNumber = request.monthNumber - let dayNumber = request.dayNumber - let skip = request.skip + open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, options: ApiGetTenantDailyUsagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let yearNumber = options.yearNumber + let monthNumber = options.monthNumber + let dayNumber = options.dayNumber + let skip = options.skip let localVariablePath = "/api/v1/tenant-daily-usage" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4630,17 +3980,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenantPackage. */ - public struct ApiGetTenantPackageRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -4648,8 +3987,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantPackageResponse */ - open class func getTenantPackage(request: ApiGetTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse { - return try await getTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenantPackage(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackageResponse { + return try await getTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -4662,9 +4001,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantPackageWithRequestBuilder(request: ApiGetTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getTenantPackageWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4688,13 +4025,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenantPackages. */ - public struct ApiGetTenantPackagesRequest: Sendable { - public var tenantId: String + /** Optional parameters for getTenantPackages. */ + public struct ApiGetTenantPackagesOptions: Sendable { public var skip: Double? - public init(tenantId: String, skip: Double? = nil) { - self.tenantId = tenantId + public init(skip: Double? = nil) { self.skip = skip } } @@ -4706,8 +4041,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantPackagesResponse */ - open class func getTenantPackages(request: ApiGetTenantPackagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { - return try await getTenantPackagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenantPackages(tenantId: String, options: ApiGetTenantPackagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { + return try await getTenantPackagesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4720,9 +4055,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantPackagesWithRequestBuilder(request: ApiGetTenantPackagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let skip = request.skip + open class func getTenantPackagesWithRequestBuilder(tenantId: String, options: ApiGetTenantPackagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4744,17 +4078,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenantUser. */ - public struct ApiGetTenantUserRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -4762,8 +4085,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantUserResponse */ - open class func getTenantUser(request: ApiGetTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse { - return try await getTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenantUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUserResponse { + return try await getTenantUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -4776,9 +4099,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantUserWithRequestBuilder(request: ApiGetTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getTenantUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4802,13 +4123,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenantUsers. */ - public struct ApiGetTenantUsersRequest: Sendable { - public var tenantId: String + /** Optional parameters for getTenantUsers. */ + public struct ApiGetTenantUsersOptions: Sendable { public var skip: Double? - public init(tenantId: String, skip: Double? = nil) { - self.tenantId = tenantId + public init(skip: Double? = nil) { self.skip = skip } } @@ -4820,8 +4139,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantUsersResponse */ - open class func getTenantUsers(request: ApiGetTenantUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { - return try await getTenantUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenantUsers(tenantId: String, options: ApiGetTenantUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { + return try await getTenantUsersWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4834,9 +4153,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantUsersWithRequestBuilder(request: ApiGetTenantUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let skip = request.skip + open class func getTenantUsersWithRequestBuilder(tenantId: String, options: ApiGetTenantUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let skip = options.skip let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4858,14 +4176,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTenants. */ - public struct ApiGetTenantsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getTenants. */ + public struct ApiGetTenantsOptions: Sendable { public var meta: String? public var skip: Double? - public init(tenantId: String, meta: String? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(meta: String? = nil, skip: Double? = nil) { self.meta = meta self.skip = skip } @@ -4879,8 +4195,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantsResponse */ - open class func getTenants(request: ApiGetTenantsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { - return try await getTenantsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTenants(tenantId: String, options: ApiGetTenantsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { + return try await getTenantsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4894,10 +4210,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantsWithRequestBuilder(request: ApiGetTenantsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let meta = request.meta - let skip = request.skip + open class func getTenantsWithRequestBuilder(tenantId: String, options: ApiGetTenantsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let meta = options.meta + let skip = options.skip let localVariablePath = "/api/v1/tenants" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4920,15 +4235,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTicket. */ - public struct ApiGetTicketRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for getTicket. */ + public struct ApiGetTicketOptions: Sendable { public var userId: String? - public init(tenantId: String, id: String, userId: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(userId: String? = nil) { self.userId = userId } } @@ -4941,8 +4252,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTicketResponse */ - open class func getTicket(request: ApiGetTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { - return try await getTicketWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTicket(tenantId: String, id: String, options: ApiGetTicketOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { + return try await getTicketWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -4956,10 +4267,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTicketWithRequestBuilder(request: ApiGetTicketRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let userId = request.userId + open class func getTicketWithRequestBuilder(tenantId: String, id: String, options: ApiGetTicketOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId var localVariablePath = "/api/v1/tickets/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4984,16 +4293,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getTickets. */ - public struct ApiGetTicketsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getTickets. */ + public struct ApiGetTicketsOptions: Sendable { public var userId: String? public var state: Double? public var skip: Double? public var limit: Double? - public init(tenantId: String, userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil) { - self.tenantId = tenantId + public init(userId: String? = nil, state: Double? = nil, skip: Double? = nil, limit: Double? = nil) { self.userId = userId self.state = state self.skip = skip @@ -5011,8 +4318,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTicketsResponse */ - open class func getTickets(request: ApiGetTicketsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { - return try await getTicketsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTickets(tenantId: String, options: ApiGetTicketsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { + return try await getTicketsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5028,12 +4335,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTicketsWithRequestBuilder(request: ApiGetTicketsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let state = request.state - let skip = request.skip - let limit = request.limit + open class func getTicketsWithRequestBuilder(tenantId: String, options: ApiGetTicketsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let state = options.state + let skip = options.skip + let limit = options.limit let localVariablePath = "/api/v1/tickets" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -5058,17 +4364,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getUser. */ - public struct ApiGetUserRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -5076,8 +4371,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserResponse */ - open class func getUser(request: ApiGetUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse { - return try await getUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUser(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserResponse { + return try await getUserWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -5090,9 +4385,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserWithRequestBuilder(request: ApiGetUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getUserWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5116,17 +4409,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserBadge. */ - public struct ApiGetUserBadgeRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -5134,8 +4416,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeResponse */ - open class func getUserBadge(request: ApiGetUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeResponse { - return try await getUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadge(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeResponse { + return try await getUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -5148,9 +4430,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeWithRequestBuilder(request: ApiGetUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getUserBadgeWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5174,17 +4454,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserBadgeProgressById. */ - public struct ApiGetUserBadgeProgressByIdRequest: Sendable { - public var tenantId: String - public var id: String - - public init(tenantId: String, id: String) { - self.tenantId = tenantId - self.id = id - } - } - /** - parameter tenantId: (query) @@ -5192,8 +4461,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressResponse */ - open class func getUserBadgeProgressById(request: ApiGetUserBadgeProgressByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { - return try await getUserBadgeProgressByIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadgeProgressById(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { + return try await getUserBadgeProgressByIdWithRequestBuilder(tenantId: tenantId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -5206,9 +4475,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressByIdWithRequestBuilder(request: ApiGetUserBadgeProgressByIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id + open class func getUserBadgeProgressByIdWithRequestBuilder(tenantId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badge-progress/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5232,17 +4499,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserBadgeProgressByUserId. */ - public struct ApiGetUserBadgeProgressByUserIdRequest: Sendable { - public var tenantId: String - public var userId: String - - public init(tenantId: String, userId: String) { - self.tenantId = tenantId - self.userId = userId - } - } - /** - parameter tenantId: (query) @@ -5250,8 +4506,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressResponse */ - open class func getUserBadgeProgressByUserId(request: ApiGetUserBadgeProgressByUserIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { - return try await getUserBadgeProgressByUserIdWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressResponse { + return try await getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: tenantId, userId: userId, apiConfiguration: apiConfiguration).execute().body } /** @@ -5264,9 +4520,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressByUserIdWithRequestBuilder(request: ApiGetUserBadgeProgressByUserIdRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId + open class func getUserBadgeProgressByUserIdWithRequestBuilder(tenantId: String, userId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badge-progress/user/{userId}" let userIdPreEscape = "\(APIHelper.mapValueToPathItem(userId))" let userIdPostEscape = userIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5290,15 +4544,13 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserBadgeProgressList. */ - public struct ApiGetUserBadgeProgressListRequest: Sendable { - public var tenantId: String + /** Optional parameters for getUserBadgeProgressList. */ + public struct ApiGetUserBadgeProgressListOptions: Sendable { public var userId: String? public var limit: Double? public var skip: Double? - public init(tenantId: String, userId: String? = nil, limit: Double? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(userId: String? = nil, limit: Double? = nil, skip: Double? = nil) { self.userId = userId self.limit = limit self.skip = skip @@ -5314,8 +4566,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressListResponse */ - open class func getUserBadgeProgressList(request: ApiGetUserBadgeProgressListRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { - return try await getUserBadgeProgressListWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadgeProgressList(tenantId: String, options: ApiGetUserBadgeProgressListOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { + return try await getUserBadgeProgressListWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5330,11 +4582,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressListWithRequestBuilder(request: ApiGetUserBadgeProgressListRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let limit = request.limit - let skip = request.skip + open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, options: ApiGetUserBadgeProgressListOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let limit = options.limit + let skip = options.skip let localVariablePath = "/api/v1/user-badge-progress" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -5358,9 +4609,8 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserBadges. */ - public struct ApiGetUserBadgesRequest: Sendable { - public var tenantId: String + /** Optional parameters for getUserBadges. */ + public struct ApiGetUserBadgesOptions: Sendable { public var userId: String? public var badgeId: String? public var type: Double? @@ -5368,8 +4618,7 @@ open class DefaultAPI { public var limit: Double? public var skip: Double? - public init(tenantId: String, userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil) { - self.tenantId = tenantId + public init(userId: String? = nil, badgeId: String? = nil, type: Double? = nil, displayedOnComments: Bool? = nil, limit: Double? = nil, skip: Double? = nil) { self.userId = userId self.badgeId = badgeId self.type = type @@ -5391,8 +4640,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgesResponse */ - open class func getUserBadges(request: ApiGetUserBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { - return try await getUserBadgesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserBadges(tenantId: String, options: ApiGetUserBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { + return try await getUserBadgesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5410,14 +4659,13 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgesWithRequestBuilder(request: ApiGetUserBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let userId = request.userId - let badgeId = request.badgeId - let type = request.type - let displayedOnComments = request.displayedOnComments - let limit = request.limit - let skip = request.skip + open class func getUserBadgesWithRequestBuilder(tenantId: String, options: ApiGetUserBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let badgeId = options.badgeId + let type = options.type + let displayedOnComments = options.displayedOnComments + let limit = options.limit + let skip = options.skip let localVariablePath = "/api/v1/user-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -5444,17 +4692,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getVotes. */ - public struct ApiGetVotesRequest: Sendable { - public var tenantId: String - public var urlId: String - - public init(tenantId: String, urlId: String) { - self.tenantId = tenantId - self.urlId = urlId - } - } - /** - parameter tenantId: (query) @@ -5462,8 +4699,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetVotesResponse */ - open class func getVotes(request: ApiGetVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse { - return try await getVotesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getVotes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesResponse { + return try await getVotesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } /** @@ -5476,9 +4713,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getVotesWithRequestBuilder(request: ApiGetVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId + open class func getVotesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/votes" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -5500,16 +4735,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for getVotesForUser. */ - public struct ApiGetVotesForUserRequest: Sendable { - public var tenantId: String - public var urlId: String + /** Optional parameters for getVotesForUser. */ + public struct ApiGetVotesForUserOptions: Sendable { public var userId: String? public var anonUserId: String? - public init(tenantId: String, urlId: String, userId: String? = nil, anonUserId: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId + public init(userId: String? = nil, anonUserId: String? = nil) { self.userId = userId self.anonUserId = anonUserId } @@ -5524,8 +4755,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetVotesForUserResponse */ - open class func getVotesForUser(request: ApiGetVotesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { - return try await getVotesForUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getVotesForUser(tenantId: String, urlId: String, options: ApiGetVotesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { + return try await getVotesForUserWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5540,11 +4771,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getVotesForUserWithRequestBuilder(request: ApiGetVotesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let userId = request.userId - let anonUserId = request.anonUserId + open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetVotesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let anonUserId = options.anonUserId let localVariablePath = "/api/v1/votes/for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -5568,19 +4797,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for patchDomainConfig. */ - public struct ApiPatchDomainConfigRequest: Sendable { - public var tenantId: String - public var domainToUpdate: String - public var patchDomainConfigParams: PatchDomainConfigParams - - public init(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams) { - self.tenantId = tenantId - self.domainToUpdate = domainToUpdate - self.patchDomainConfigParams = patchDomainConfigParams - } - } - /** - parameter tenantId: (query) @@ -5589,8 +4805,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchDomainConfigResponse */ - open class func patchDomainConfig(request: ApiPatchDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchDomainConfigResponse { - return try await patchDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func patchDomainConfig(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchDomainConfigResponse { + return try await patchDomainConfigWithRequestBuilder(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams, apiConfiguration: apiConfiguration).execute().body } /** @@ -5604,10 +4820,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchDomainConfigWithRequestBuilder(request: ApiPatchDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let domainToUpdate = request.domainToUpdate - let patchDomainConfigParams = request.patchDomainConfigParams + open class func patchDomainConfigWithRequestBuilder(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/domain-configs/{domainToUpdate}" let domainToUpdatePreEscape = "\(APIHelper.mapValueToPathItem(domainToUpdate))" let domainToUpdatePostEscape = domainToUpdatePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5631,16 +4844,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for patchHashTag. */ - public struct ApiPatchHashTagRequest: Sendable { - public var tag: String + /** Optional parameters for patchHashTag. */ + public struct ApiPatchHashTagOptions: Sendable { public var tenantId: String? - public var updateHashTagBody: UpdateHashTagBody? - public init(tag: String, tenantId: String? = nil, updateHashTagBody: UpdateHashTagBody? = nil) { - self.tag = tag + public init(tenantId: String? = nil) { self.tenantId = tenantId - self.updateHashTagBody = updateHashTagBody } } @@ -5652,8 +4861,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateHashTagResponse */ - open class func patchHashTag(request: ApiPatchHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { - return try await patchHashTagWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, options: ApiPatchHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { + return try await patchHashTagWithRequestBuilder(tag: tag, updateHashTagBody: updateHashTagBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5667,10 +4876,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchHashTagWithRequestBuilder(request: ApiPatchHashTagRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tag = request.tag - let tenantId = request.tenantId - let updateHashTagBody = request.updateHashTagBody + open class func patchHashTagWithRequestBuilder(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, options: ApiPatchHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5694,19 +4901,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for patchPage. */ - public struct ApiPatchPageRequest: Sendable { - public var tenantId: String - public var id: String - public var updateAPIPageData: UpdateAPIPageData - - public init(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData) { - self.tenantId = tenantId - self.id = id - self.updateAPIPageData = updateAPIPageData - } - } - /** - parameter tenantId: (query) @@ -5715,8 +4909,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchPageAPIResponse */ - open class func patchPage(request: ApiPatchPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchPageAPIResponse { - return try await patchPageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func patchPage(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchPageAPIResponse { + return try await patchPageWithRequestBuilder(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData, apiConfiguration: apiConfiguration).execute().body } /** @@ -5730,10 +4924,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchPageWithRequestBuilder(request: ApiPatchPageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateAPIPageData = request.updateAPIPageData + open class func patchPageWithRequestBuilder(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/pages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5757,17 +4948,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for patchSSOUser. */ - public struct ApiPatchSSOUserRequest: Sendable { - public var tenantId: String - public var id: String - public var updateAPISSOUserData: UpdateAPISSOUserData + /** Optional parameters for patchSSOUser. */ + public struct ApiPatchSSOUserOptions: Sendable { public var updateComments: Bool? - public init(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil) { - self.tenantId = tenantId - self.id = id - self.updateAPISSOUserData = updateAPISSOUserData + public init(updateComments: Bool? = nil) { self.updateComments = updateComments } } @@ -5781,8 +4966,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchSSOUserAPIResponse */ - open class func patchSSOUser(request: ApiPatchSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchSSOUserAPIResponse { - return try await patchSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchSSOUserAPIResponse { + return try await patchSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5797,11 +4982,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchSSOUserWithRequestBuilder(request: ApiPatchSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateAPISSOUserData = request.updateAPISSOUserData - let updateComments = request.updateComments + open class func patchSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let updateComments = options.updateComments var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5826,19 +5008,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for putDomainConfig. */ - public struct ApiPutDomainConfigRequest: Sendable { - public var tenantId: String - public var domainToUpdate: String - public var updateDomainConfigParams: UpdateDomainConfigParams - - public init(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams) { - self.tenantId = tenantId - self.domainToUpdate = domainToUpdate - self.updateDomainConfigParams = updateDomainConfigParams - } - } - /** - parameter tenantId: (query) @@ -5847,8 +5016,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PutDomainConfigResponse */ - open class func putDomainConfig(request: ApiPutDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutDomainConfigResponse { - return try await putDomainConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func putDomainConfig(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutDomainConfigResponse { + return try await putDomainConfigWithRequestBuilder(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams, apiConfiguration: apiConfiguration).execute().body } /** @@ -5862,10 +5031,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putDomainConfigWithRequestBuilder(request: ApiPutDomainConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let domainToUpdate = request.domainToUpdate - let updateDomainConfigParams = request.updateDomainConfigParams + open class func putDomainConfigWithRequestBuilder(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/domain-configs/{domainToUpdate}" let domainToUpdatePreEscape = "\(APIHelper.mapValueToPathItem(domainToUpdate))" let domainToUpdatePostEscape = domainToUpdatePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5889,17 +5055,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for putSSOUser. */ - public struct ApiPutSSOUserRequest: Sendable { - public var tenantId: String - public var id: String - public var updateAPISSOUserData: UpdateAPISSOUserData + /** Optional parameters for putSSOUser. */ + public struct ApiPutSSOUserOptions: Sendable { public var updateComments: Bool? - public init(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil) { - self.tenantId = tenantId - self.id = id - self.updateAPISSOUserData = updateAPISSOUserData + public init(updateComments: Bool? = nil) { self.updateComments = updateComments } } @@ -5913,8 +5073,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PutSSOUserAPIResponse */ - open class func putSSOUser(request: ApiPutSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutSSOUserAPIResponse { - return try await putSSOUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutSSOUserAPIResponse { + return try await putSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5929,11 +5089,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putSSOUserWithRequestBuilder(request: ApiPutSSOUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateAPISSOUserData = request.updateAPISSOUserData - let updateComments = request.updateComments + open class func putSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let updateComments = options.updateComments var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5958,15 +5115,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for renderEmailTemplate. */ - public struct ApiRenderEmailTemplateRequest: Sendable { - public var tenantId: String - public var renderEmailTemplateBody: RenderEmailTemplateBody + /** Optional parameters for renderEmailTemplate. */ + public struct ApiRenderEmailTemplateOptions: Sendable { public var locale: String? - public init(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil) { - self.tenantId = tenantId - self.renderEmailTemplateBody = renderEmailTemplateBody + public init(locale: String? = nil) { self.locale = locale } } @@ -5979,8 +5132,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RenderEmailTemplateResponse */ - open class func renderEmailTemplate(request: ApiRenderEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { - return try await renderEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { + return try await renderEmailTemplateWithRequestBuilder(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -5994,10 +5147,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func renderEmailTemplateWithRequestBuilder(request: ApiRenderEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let renderEmailTemplateBody = request.renderEmailTemplateBody - let locale = request.locale + open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let locale = options.locale let localVariablePath = "/api/v1/email-templates/render" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: renderEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -6019,19 +5170,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for replaceTenantPackage. */ - public struct ApiReplaceTenantPackageRequest: Sendable { - public var tenantId: String - public var id: String - public var replaceTenantPackageBody: ReplaceTenantPackageBody - - public init(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody) { - self.tenantId = tenantId - self.id = id - self.replaceTenantPackageBody = replaceTenantPackageBody - } - } - /** - parameter tenantId: (query) @@ -6040,8 +5178,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func replaceTenantPackage(request: ApiReplaceTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await replaceTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await replaceTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -6055,10 +5193,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func replaceTenantPackageWithRequestBuilder(request: ApiReplaceTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let replaceTenantPackageBody = request.replaceTenantPackageBody + open class func replaceTenantPackageWithRequestBuilder(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6082,17 +5217,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for replaceTenantUser. */ - public struct ApiReplaceTenantUserRequest: Sendable { - public var tenantId: String - public var id: String - public var replaceTenantUserBody: ReplaceTenantUserBody + /** Optional parameters for replaceTenantUser. */ + public struct ApiReplaceTenantUserOptions: Sendable { public var updateComments: String? - public init(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil) { - self.tenantId = tenantId - self.id = id - self.replaceTenantUserBody = replaceTenantUserBody + public init(updateComments: String? = nil) { self.updateComments = updateComments } } @@ -6106,8 +5235,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func replaceTenantUser(request: ApiReplaceTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await replaceTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await replaceTenantUserWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6122,11 +5251,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func replaceTenantUserWithRequestBuilder(request: ApiReplaceTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let replaceTenantUserBody = request.replaceTenantUserBody - let updateComments = request.updateComments + open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let updateComments = options.updateComments var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6151,18 +5277,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for saveComment. */ - public struct ApiSaveCommentRequest: Sendable { - public var tenantId: String - public var createCommentParams: CreateCommentParams + /** Optional parameters for saveComment. */ + public struct ApiSaveCommentOptions: Sendable { public var isLive: Bool? public var doSpamCheck: Bool? public var sendEmails: Bool? public var populateNotifications: Bool? - public init(tenantId: String, createCommentParams: CreateCommentParams, isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil) { - self.tenantId = tenantId - self.createCommentParams = createCommentParams + public init(isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil) { self.isLive = isLive self.doSpamCheck = doSpamCheck self.sendEmails = sendEmails @@ -6181,8 +5303,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APISaveCommentResponse */ - open class func saveComment(request: ApiSaveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { - return try await saveCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { + return try await saveCommentWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6199,13 +5321,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func saveCommentWithRequestBuilder(request: ApiSaveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createCommentParams = request.createCommentParams - let isLive = request.isLive - let doSpamCheck = request.doSpamCheck - let sendEmails = request.sendEmails - let populateNotifications = request.populateNotifications + open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let isLive = options.isLive + let doSpamCheck = options.doSpamCheck + let sendEmails = options.sendEmails + let populateNotifications = options.populateNotifications let localVariablePath = "/api/v1/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createCommentParams, codableHelper: apiConfiguration.codableHelper) @@ -6230,18 +5350,14 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for saveCommentsBulk. */ - public struct ApiSaveCommentsBulkRequest: Sendable { - public var tenantId: String - public var createCommentParams: [CreateCommentParams] + /** Optional parameters for saveCommentsBulk. */ + public struct ApiSaveCommentsBulkOptions: Sendable { public var isLive: Bool? public var doSpamCheck: Bool? public var sendEmails: Bool? public var populateNotifications: Bool? - public init(tenantId: String, createCommentParams: [CreateCommentParams], isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil) { - self.tenantId = tenantId - self.createCommentParams = createCommentParams + public init(isLive: Bool? = nil, doSpamCheck: Bool? = nil, sendEmails: Bool? = nil, populateNotifications: Bool? = nil) { self.isLive = isLive self.doSpamCheck = doSpamCheck self.sendEmails = sendEmails @@ -6260,8 +5376,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: [SaveCommentsBulkResponse] */ - open class func saveCommentsBulk(request: ApiSaveCommentsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> [SaveCommentsBulkResponse] { - return try await saveCommentsBulkWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], options: ApiSaveCommentsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> [SaveCommentsBulkResponse] { + return try await saveCommentsBulkWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6278,13 +5394,11 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder<[SaveCommentsBulkResponse]> */ - open class func saveCommentsBulkWithRequestBuilder(request: ApiSaveCommentsBulkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder<[SaveCommentsBulkResponse]> { - let tenantId = request.tenantId - let createCommentParams = request.createCommentParams - let isLive = request.isLive - let doSpamCheck = request.doSpamCheck - let sendEmails = request.sendEmails - let populateNotifications = request.populateNotifications + open class func saveCommentsBulkWithRequestBuilder(tenantId: String, createCommentParams: [CreateCommentParams], options: ApiSaveCommentsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder<[SaveCommentsBulkResponse]> { + let isLive = options.isLive + let doSpamCheck = options.doSpamCheck + let sendEmails = options.sendEmails + let populateNotifications = options.populateNotifications let localVariablePath = "/api/v1/comments/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createCommentParams, codableHelper: apiConfiguration.codableHelper) @@ -6309,19 +5423,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for sendInvite. */ - public struct ApiSendInviteRequest: Sendable { - public var tenantId: String - public var id: String - public var fromName: String - - public init(tenantId: String, id: String, fromName: String) { - self.tenantId = tenantId - self.id = id - self.fromName = fromName - } - } - /** - parameter tenantId: (query) @@ -6330,8 +5431,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func sendInvite(request: ApiSendInviteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await sendInviteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func sendInvite(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await sendInviteWithRequestBuilder(tenantId: tenantId, id: id, fromName: fromName, apiConfiguration: apiConfiguration).execute().body } /** @@ -6345,10 +5446,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func sendInviteWithRequestBuilder(request: ApiSendInviteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let fromName = request.fromName + open class func sendInviteWithRequestBuilder(tenantId: String, id: String, fromName: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}/send-invite" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6373,15 +5471,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for sendLoginLink. */ - public struct ApiSendLoginLinkRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for sendLoginLink. */ + public struct ApiSendLoginLinkOptions: Sendable { public var redirectURL: String? - public init(tenantId: String, id: String, redirectURL: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(redirectURL: String? = nil) { self.redirectURL = redirectURL } } @@ -6394,8 +5488,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func sendLoginLink(request: ApiSendLoginLinkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await sendLoginLinkWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func sendLoginLink(tenantId: String, id: String, options: ApiSendLoginLinkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await sendLoginLinkWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6409,10 +5503,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func sendLoginLinkWithRequestBuilder(request: ApiSendLoginLinkRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let redirectURL = request.redirectURL + open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, options: ApiSendLoginLinkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let redirectURL = options.redirectURL var localVariablePath = "/api/v1/tenant-users/{id}/send-login-link" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6437,18 +5529,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for unBlockUserFromComment. */ - public struct ApiUnBlockUserFromCommentRequest: Sendable { - public var tenantId: String - public var id: String - public var unBlockFromCommentParams: UnBlockFromCommentParams + /** Optional parameters for unBlockUserFromComment. */ + public struct ApiUnBlockUserFromCommentOptions: Sendable { public var userId: String? public var anonUserId: String? - public init(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, userId: String? = nil, anonUserId: String? = nil) { - self.tenantId = tenantId - self.id = id - self.unBlockFromCommentParams = unBlockFromCommentParams + public init(userId: String? = nil, anonUserId: String? = nil) { self.userId = userId self.anonUserId = anonUserId } @@ -6464,8 +5550,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UnblockSuccess */ - open class func unBlockUserFromComment(request: ApiUnBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { - return try await unBlockUserFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + return try await unBlockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6481,12 +5567,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unBlockUserFromCommentWithRequestBuilder(request: ApiUnBlockUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let unBlockFromCommentParams = request.unBlockFromCommentParams - let userId = request.userId - let anonUserId = request.anonUserId + open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/un-block" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6512,16 +5595,12 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for unFlagComment. */ - public struct ApiUnFlagCommentRequest: Sendable { - public var tenantId: String - public var id: String + /** Optional parameters for unFlagComment. */ + public struct ApiUnFlagCommentOptions: Sendable { public var userId: String? public var anonUserId: String? - public init(tenantId: String, id: String, userId: String? = nil, anonUserId: String? = nil) { - self.tenantId = tenantId - self.id = id + public init(userId: String? = nil, anonUserId: String? = nil) { self.userId = userId self.anonUserId = anonUserId } @@ -6536,8 +5615,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FlagCommentResponse */ - open class func unFlagComment(request: ApiUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { - return try await unFlagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func unFlagComment(tenantId: String, id: String, options: ApiUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + return try await unFlagCommentWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6552,11 +5631,9 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unFlagCommentWithRequestBuilder(request: ApiUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let userId = request.userId - let anonUserId = request.anonUserId + open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, options: ApiUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/un-flag" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6582,19 +5659,13 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateComment. */ - public struct ApiUpdateCommentRequest: Sendable { - public var tenantId: String - public var id: String - public var updatableCommentParams: UpdatableCommentParams + /** Optional parameters for updateComment. */ + public struct ApiUpdateCommentOptions: Sendable { public var contextUserId: String? public var doSpamCheck: Bool? public var isLive: Bool? - public init(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil) { - self.tenantId = tenantId - self.id = id - self.updatableCommentParams = updatableCommentParams + public init(contextUserId: String? = nil, doSpamCheck: Bool? = nil, isLive: Bool? = nil) { self.contextUserId = contextUserId self.doSpamCheck = doSpamCheck self.isLive = isLive @@ -6612,8 +5683,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateComment(request: ApiUpdateCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateCommentWithRequestBuilder(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6630,13 +5701,10 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateCommentWithRequestBuilder(request: ApiUpdateCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updatableCommentParams = request.updatableCommentParams - let contextUserId = request.contextUserId - let doSpamCheck = request.doSpamCheck - let isLive = request.isLive + open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let contextUserId = options.contextUserId + let doSpamCheck = options.doSpamCheck + let isLive = options.isLive var localVariablePath = "/api/v1/comments/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6663,19 +5731,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateEmailTemplate. */ - public struct ApiUpdateEmailTemplateRequest: Sendable { - public var tenantId: String - public var id: String - public var updateEmailTemplateBody: UpdateEmailTemplateBody - - public init(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody) { - self.tenantId = tenantId - self.id = id - self.updateEmailTemplateBody = updateEmailTemplateBody - } - } - /** - parameter tenantId: (query) @@ -6684,8 +5739,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateEmailTemplate(request: ApiUpdateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateEmailTemplateWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateEmailTemplateWithRequestBuilder(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -6699,10 +5754,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateEmailTemplateWithRequestBuilder(request: ApiUpdateEmailTemplateRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateEmailTemplateBody = request.updateEmailTemplateBody + open class func updateEmailTemplateWithRequestBuilder(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6726,19 +5778,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateFeedPost. */ - public struct ApiUpdateFeedPostRequest: Sendable { - public var tenantId: String - public var id: String - public var feedPost: FeedPost - - public init(tenantId: String, id: String, feedPost: FeedPost) { - self.tenantId = tenantId - self.id = id - self.feedPost = feedPost - } - } - /** - parameter tenantId: (query) @@ -6747,8 +5786,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateFeedPost(request: ApiUpdateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateFeedPostWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateFeedPostWithRequestBuilder(tenantId: tenantId, id: id, feedPost: feedPost, apiConfiguration: apiConfiguration).execute().body } /** @@ -6762,10 +5801,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateFeedPostWithRequestBuilder(request: ApiUpdateFeedPostRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let feedPost = request.feedPost + open class func updateFeedPostWithRequestBuilder(tenantId: String, id: String, feedPost: FeedPost, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/feed-posts/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6789,19 +5825,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateModerator. */ - public struct ApiUpdateModeratorRequest: Sendable { - public var tenantId: String - public var id: String - public var updateModeratorBody: UpdateModeratorBody - - public init(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody) { - self.tenantId = tenantId - self.id = id - self.updateModeratorBody = updateModeratorBody - } - } - /** - parameter tenantId: (query) @@ -6810,8 +5833,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateModerator(request: ApiUpdateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateModeratorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateModeratorWithRequestBuilder(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -6825,10 +5848,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateModeratorWithRequestBuilder(request: ApiUpdateModeratorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateModeratorBody = request.updateModeratorBody + open class func updateModeratorWithRequestBuilder(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6852,17 +5872,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateNotification. */ - public struct ApiUpdateNotificationRequest: Sendable { - public var tenantId: String - public var id: String - public var updateNotificationBody: UpdateNotificationBody + /** Optional parameters for updateNotification. */ + public struct ApiUpdateNotificationOptions: Sendable { public var userId: String? - public init(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil) { - self.tenantId = tenantId - self.id = id - self.updateNotificationBody = updateNotificationBody + public init(userId: String? = nil) { self.userId = userId } } @@ -6876,8 +5890,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateNotification(request: ApiUpdateNotificationRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateNotificationWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateNotificationWithRequestBuilder(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -6892,11 +5906,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateNotificationWithRequestBuilder(request: ApiUpdateNotificationRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateNotificationBody = request.updateNotificationBody - let userId = request.userId + open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId var localVariablePath = "/api/v1/notifications/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6921,19 +5932,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateQuestionConfig. */ - public struct ApiUpdateQuestionConfigRequest: Sendable { - public var tenantId: String - public var id: String - public var updateQuestionConfigBody: UpdateQuestionConfigBody - - public init(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody) { - self.tenantId = tenantId - self.id = id - self.updateQuestionConfigBody = updateQuestionConfigBody - } - } - /** - parameter tenantId: (query) @@ -6942,8 +5940,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateQuestionConfig(request: ApiUpdateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateQuestionConfigWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateQuestionConfigWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -6957,10 +5955,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateQuestionConfigWithRequestBuilder(request: ApiUpdateQuestionConfigRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateQuestionConfigBody = request.updateQuestionConfigBody + open class func updateQuestionConfigWithRequestBuilder(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-configs/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6984,19 +5979,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateQuestionResult. */ - public struct ApiUpdateQuestionResultRequest: Sendable { - public var tenantId: String - public var id: String - public var updateQuestionResultBody: UpdateQuestionResultBody - - public init(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody) { - self.tenantId = tenantId - self.id = id - self.updateQuestionResultBody = updateQuestionResultBody - } - } - /** - parameter tenantId: (query) @@ -7005,8 +5987,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateQuestionResult(request: ApiUpdateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateQuestionResultWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateQuestionResultWithRequestBuilder(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -7020,10 +6002,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateQuestionResultWithRequestBuilder(request: ApiUpdateQuestionResultRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateQuestionResultBody = request.updateQuestionResultBody + open class func updateQuestionResultWithRequestBuilder(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/question-results/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7047,17 +6026,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateSubscription. */ - public struct ApiUpdateSubscriptionRequest: Sendable { - public var tenantId: String - public var id: String - public var updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData + /** Optional parameters for updateSubscription. */ + public struct ApiUpdateSubscriptionOptions: Sendable { public var userId: String? - public init(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil) { - self.tenantId = tenantId - self.id = id - self.updateAPIUserSubscriptionData = updateAPIUserSubscriptionData + public init(userId: String? = nil) { self.userId = userId } } @@ -7071,8 +6044,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateSubscriptionAPIResponse */ - open class func updateSubscription(request: ApiUpdateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateSubscriptionAPIResponse { - return try await updateSubscriptionWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateSubscriptionAPIResponse { + return try await updateSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -7087,11 +6060,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateSubscriptionWithRequestBuilder(request: ApiUpdateSubscriptionRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateAPIUserSubscriptionData = request.updateAPIUserSubscriptionData - let userId = request.userId + open class func updateSubscriptionWithRequestBuilder(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId var localVariablePath = "/api/v1/subscriptions/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7116,19 +6086,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateTenant. */ - public struct ApiUpdateTenantRequest: Sendable { - public var tenantId: String - public var id: String - public var updateTenantBody: UpdateTenantBody - - public init(tenantId: String, id: String, updateTenantBody: UpdateTenantBody) { - self.tenantId = tenantId - self.id = id - self.updateTenantBody = updateTenantBody - } - } - /** - parameter tenantId: (query) @@ -7137,8 +6094,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenant(request: ApiUpdateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantWithRequestBuilder(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -7152,10 +6109,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantWithRequestBuilder(request: ApiUpdateTenantRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateTenantBody = request.updateTenantBody + open class func updateTenantWithRequestBuilder(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7179,19 +6133,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateTenantPackage. */ - public struct ApiUpdateTenantPackageRequest: Sendable { - public var tenantId: String - public var id: String - public var updateTenantPackageBody: UpdateTenantPackageBody - - public init(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody) { - self.tenantId = tenantId - self.id = id - self.updateTenantPackageBody = updateTenantPackageBody - } - } - /** - parameter tenantId: (query) @@ -7200,8 +6141,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenantPackage(request: ApiUpdateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantPackageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantPackageWithRequestBuilder(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -7215,10 +6156,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantPackageWithRequestBuilder(request: ApiUpdateTenantPackageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateTenantPackageBody = request.updateTenantPackageBody + open class func updateTenantPackageWithRequestBuilder(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-packages/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7242,17 +6180,11 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateTenantUser. */ - public struct ApiUpdateTenantUserRequest: Sendable { - public var tenantId: String - public var id: String - public var updateTenantUserBody: UpdateTenantUserBody + /** Optional parameters for updateTenantUser. */ + public struct ApiUpdateTenantUserOptions: Sendable { public var updateComments: String? - public init(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil) { - self.tenantId = tenantId - self.id = id - self.updateTenantUserBody = updateTenantUserBody + public init(updateComments: String? = nil) { self.updateComments = updateComments } } @@ -7266,8 +6198,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenantUser(request: ApiUpdateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantUserWithRequestBuilder(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -7282,11 +6214,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantUserWithRequestBuilder(request: ApiUpdateTenantUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateTenantUserBody = request.updateTenantUserBody - let updateComments = request.updateComments + open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let updateComments = options.updateComments var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7311,19 +6240,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Request parameters for updateUserBadge. */ - public struct ApiUpdateUserBadgeRequest: Sendable { - public var tenantId: String - public var id: String - public var updateUserBadgeParams: UpdateUserBadgeParams - - public init(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams) { - self.tenantId = tenantId - self.id = id - self.updateUserBadgeParams = updateUserBadgeParams - } - } - /** - parameter tenantId: (query) @@ -7332,8 +6248,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptySuccessResponse */ - open class func updateUserBadge(request: ApiUpdateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { - return try await updateUserBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptySuccessResponse { + return try await updateUserBadgeWithRequestBuilder(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams, apiConfiguration: apiConfiguration).execute().body } /** @@ -7347,10 +6263,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserBadgeWithRequestBuilder(request: ApiUpdateUserBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let id = request.id - let updateUserBadgeParams = request.updateUserBadgeParams + open class func updateUserBadgeWithRequestBuilder(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/user-badges/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" diff --git a/client/FastCommentsSwift/APIs/ModerationAPI.swift b/client/FastCommentsSwift/APIs/ModerationAPI.swift index d7f0c59..8ff234b 100644 --- a/client/FastCommentsSwift/APIs/ModerationAPI.swift +++ b/client/FastCommentsSwift/APIs/ModerationAPI.swift @@ -9,17 +9,13 @@ import Foundation open class ModerationAPI { - /** Request parameters for deleteModerationVote. */ - public struct ApiDeleteModerationVoteRequest: Sendable { - public var commentId: String - public var voteId: String + /** Optional parameters for deleteModerationVote. */ + public struct ApiDeleteModerationVoteOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, voteId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId - self.voteId = voteId + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -36,8 +32,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteModerationVote(request: ApiDeleteModerationVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteModerationVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerationVote(commentId: String, voteId: String, options: ApiDeleteModerationVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteModerationVoteWithRequestBuilder(commentId: commentId, voteId: voteId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -50,12 +46,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteModerationVoteWithRequestBuilder(request: ApiDeleteModerationVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let voteId = request.voteId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, options: ApiDeleteModerationVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -84,8 +78,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getApiComments. */ - public struct ApiGetApiCommentsRequest: Sendable { + /** Optional parameters for getApiComments. */ + public struct ApiGetApiCommentsOptions: Sendable { public var page: Double? public var count: Double? public var textSearch: String? @@ -126,8 +120,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetCommentsResponse */ - open class func getApiComments(request: ApiGetApiCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { - return try await getApiCommentsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getApiComments(options: ApiGetApiCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { + return try await getApiCommentsWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -145,17 +139,17 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiCommentsWithRequestBuilder(request: ApiGetApiCommentsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let page = request.page - let count = request.count - let textSearch = request.textSearch - let byIPFromComment = request.byIPFromComment - let filters = request.filters - let searchFilters = request.searchFilters - let sorts = request.sorts - let demo = request.demo - let tenantId = request.tenantId - let sso = request.sso + open class func getApiCommentsWithRequestBuilder(options: ApiGetApiCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/auth/my-account/moderate-comments/api/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -185,8 +179,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getApiExportStatus. */ - public struct ApiGetApiExportStatusRequest: Sendable { + /** Optional parameters for getApiExportStatus. */ + public struct ApiGetApiExportStatusOptions: Sendable { public var batchJobId: String? public var tenantId: String? public var sso: String? @@ -206,8 +200,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationExportStatusResponse */ - open class func getApiExportStatus(request: ApiGetApiExportStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { - return try await getApiExportStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getApiExportStatus(options: ApiGetApiExportStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { + return try await getApiExportStatusWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -218,10 +212,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiExportStatusWithRequestBuilder(request: ApiGetApiExportStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let batchJobId = request.batchJobId - let tenantId = request.tenantId - let sso = request.sso + open class func getApiExportStatusWithRequestBuilder(options: ApiGetApiExportStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let batchJobId = options.batchJobId + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/api/export/status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -244,8 +238,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getApiIds. */ - public struct ApiGetApiIdsRequest: Sendable { + /** Optional parameters for getApiIds. */ + public struct ApiGetApiIdsOptions: Sendable { public var textSearch: String? public var byIPFromComment: String? public var filters: String? @@ -280,8 +274,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetCommentIdsResponse */ - open class func getApiIds(request: ApiGetApiIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { - return try await getApiIdsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getApiIds(options: ApiGetApiIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { + return try await getApiIdsWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -297,15 +291,15 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiIdsWithRequestBuilder(request: ApiGetApiIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let textSearch = request.textSearch - let byIPFromComment = request.byIPFromComment - let filters = request.filters - let searchFilters = request.searchFilters - let afterId = request.afterId - let demo = request.demo - let tenantId = request.tenantId - let sso = request.sso + open class func getApiIdsWithRequestBuilder(options: ApiGetApiIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/auth/my-account/moderate-comments/api/ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -333,14 +327,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getBanUsersFromComment. */ - public struct ApiGetBanUsersFromCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for getBanUsersFromComment. */ + public struct ApiGetBanUsersFromCommentOptions: Sendable { public var tenantId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -354,8 +346,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetBannedUsersFromCommentResponse */ - open class func getBanUsersFromComment(request: ApiGetBanUsersFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { - return try await getBanUsersFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getBanUsersFromComment(commentId: String, options: ApiGetBanUsersFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { + return try await getBanUsersFromCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -366,10 +358,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getBanUsersFromCommentWithRequestBuilder(request: ApiGetBanUsersFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, options: ApiGetBanUsersFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -394,14 +385,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCommentBanStatus. */ - public struct ApiGetCommentBanStatusRequest: Sendable { - public var commentId: String + /** Optional parameters for getCommentBanStatus. */ + public struct ApiGetCommentBanStatusOptions: Sendable { public var tenantId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -415,8 +404,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentBanStatusResponse */ - open class func getCommentBanStatus(request: ApiGetCommentBanStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { - return try await getCommentBanStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCommentBanStatus(commentId: String, options: ApiGetCommentBanStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { + return try await getCommentBanStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -427,10 +416,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentBanStatusWithRequestBuilder(request: ApiGetCommentBanStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getCommentBanStatusWithRequestBuilder(commentId: String, options: ApiGetCommentBanStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -455,14 +443,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCommentChildren. */ - public struct ApiGetCommentChildrenRequest: Sendable { - public var commentId: String + /** Optional parameters for getCommentChildren. */ + public struct ApiGetCommentChildrenOptions: Sendable { public var tenantId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -476,8 +462,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIChildCommentsResponse */ - open class func getCommentChildren(request: ApiGetCommentChildrenRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await getCommentChildrenWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCommentChildren(commentId: String, options: ApiGetCommentChildrenOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { + return try await getCommentChildrenWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -488,10 +474,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentChildrenWithRequestBuilder(request: ApiGetCommentChildrenRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getCommentChildrenWithRequestBuilder(commentId: String, options: ApiGetCommentChildrenOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/comment-children/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -516,8 +501,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCount. */ - public struct ApiGetCountRequest: Sendable { + /** Optional parameters for getCount. */ + public struct ApiGetCountOptions: Sendable { public var textSearch: String? public var byIPFromComment: String? public var filter: String? @@ -549,8 +534,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPICountCommentsResponse */ - open class func getCount(request: ApiGetCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { - return try await getCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCount(options: ApiGetCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { + return try await getCountWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -565,14 +550,14 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCountWithRequestBuilder(request: ApiGetCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let textSearch = request.textSearch - let byIPFromComment = request.byIPFromComment - let filter = request.filter - let searchFilters = request.searchFilters - let demo = request.demo - let tenantId = request.tenantId - let sso = request.sso + open class func getCountWithRequestBuilder(options: ApiGetCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/auth/my-account/moderate-comments/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -599,8 +584,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCounts. */ - public struct ApiGetCountsRequest: Sendable { + /** Optional parameters for getCounts. */ + public struct ApiGetCountsOptions: Sendable { public var tenantId: String? public var sso: String? @@ -617,8 +602,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetBannedUsersCountResponse */ - open class func getCounts(request: ApiGetCountsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { - return try await getCountsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCounts(options: ApiGetCountsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { + return try await getCountsWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -628,9 +613,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCountsWithRequestBuilder(request: ApiGetCountsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let sso = request.sso + open class func getCountsWithRequestBuilder(options: ApiGetCountsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/banned-users/counts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -652,14 +637,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getLogs. */ - public struct ApiGetLogsRequest: Sendable { - public var commentId: String + /** Optional parameters for getLogs. */ + public struct ApiGetLogsOptions: Sendable { public var tenantId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -673,8 +656,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetLogsResponse */ - open class func getLogs(request: ApiGetLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { - return try await getLogsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getLogs(commentId: String, options: ApiGetLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { + return try await getLogsWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -685,10 +668,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getLogsWithRequestBuilder(request: ApiGetLogsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getLogsWithRequestBuilder(commentId: String, options: ApiGetLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/logs/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -713,8 +695,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getManualBadges. */ - public struct ApiGetManualBadgesRequest: Sendable { + /** Optional parameters for getManualBadges. */ + public struct ApiGetManualBadgesOptions: Sendable { public var tenantId: String? public var sso: String? @@ -731,8 +713,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantManualBadgesResponse */ - open class func getManualBadges(request: ApiGetManualBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { - return try await getManualBadgesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadges(options: ApiGetManualBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { + return try await getManualBadgesWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -742,9 +724,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getManualBadgesWithRequestBuilder(request: ApiGetManualBadgesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let sso = request.sso + open class func getManualBadgesWithRequestBuilder(options: ApiGetManualBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -766,8 +748,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getManualBadgesForUser. */ - public struct ApiGetManualBadgesForUserRequest: Sendable { + /** Optional parameters for getManualBadgesForUser. */ + public struct ApiGetManualBadgesForUserOptions: Sendable { public var badgesUserId: String? public var commentId: String? public var tenantId: String? @@ -790,8 +772,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserManualBadgesResponse */ - open class func getManualBadgesForUser(request: ApiGetManualBadgesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { - return try await getManualBadgesForUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadgesForUser(options: ApiGetManualBadgesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { + return try await getManualBadgesForUserWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -803,11 +785,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getManualBadgesForUserWithRequestBuilder(request: ApiGetManualBadgesForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let badgesUserId = request.badgesUserId - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getManualBadgesForUserWithRequestBuilder(options: ApiGetManualBadgesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let badgesUserId = options.badgesUserId + let commentId = options.commentId + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -831,16 +813,14 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getModerationComment. */ - public struct ApiGetModerationCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for getModerationComment. */ + public struct ApiGetModerationCommentOptions: Sendable { public var includeEmail: Bool? public var includeIP: Bool? public var tenantId: String? public var sso: String? - public init(commentId: String, includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { self.includeEmail = includeEmail self.includeIP = includeIP self.tenantId = tenantId @@ -858,8 +838,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPICommentResponse */ - open class func getModerationComment(request: ApiGetModerationCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { - return try await getModerationCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getModerationComment(commentId: String, options: ApiGetModerationCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { + return try await getModerationCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -872,12 +852,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModerationCommentWithRequestBuilder(request: ApiGetModerationCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let includeEmail = request.includeEmail - let includeIP = request.includeIP - let tenantId = request.tenantId - let sso = request.sso + open class func getModerationCommentWithRequestBuilder(commentId: String, options: ApiGetModerationCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let includeEmail = options.includeEmail + let includeIP = options.includeIP + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -904,14 +883,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getModerationCommentText. */ - public struct ApiGetModerationCommentTextRequest: Sendable { - public var commentId: String + /** Optional parameters for getModerationCommentText. */ + public struct ApiGetModerationCommentTextOptions: Sendable { public var tenantId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -925,8 +902,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentTextResponse */ - open class func getModerationCommentText(request: ApiGetModerationCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { - return try await getModerationCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getModerationCommentText(commentId: String, options: ApiGetModerationCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { + return try await getModerationCommentTextWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -937,10 +914,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModerationCommentTextWithRequestBuilder(request: ApiGetModerationCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getModerationCommentTextWithRequestBuilder(commentId: String, options: ApiGetModerationCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/get-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -965,17 +941,15 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getPreBanSummary. */ - public struct ApiGetPreBanSummaryRequest: Sendable { - public var commentId: String + /** Optional parameters for getPreBanSummary. */ + public struct ApiGetPreBanSummaryOptions: Sendable { public var includeByUserIdAndEmail: Bool? public var includeByIP: Bool? public var includeByEmailDomain: Bool? public var tenantId: String? public var sso: String? - public init(commentId: String, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { self.includeByUserIdAndEmail = includeByUserIdAndEmail self.includeByIP = includeByIP self.includeByEmailDomain = includeByEmailDomain @@ -995,8 +969,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PreBanSummary */ - open class func getPreBanSummary(request: ApiGetPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { - return try await getPreBanSummaryWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getPreBanSummary(commentId: String, options: ApiGetPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { + return try await getPreBanSummaryWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1010,13 +984,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPreBanSummaryWithRequestBuilder(request: ApiGetPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let includeByUserIdAndEmail = request.includeByUserIdAndEmail - let includeByIP = request.includeByIP - let includeByEmailDomain = request.includeByEmailDomain - let tenantId = request.tenantId - let sso = request.sso + open class func getPreBanSummaryWithRequestBuilder(commentId: String, options: ApiGetPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let includeByUserIdAndEmail = options.includeByUserIdAndEmail + let includeByIP = options.includeByIP + let includeByEmailDomain = options.includeByEmailDomain + let tenantId = options.tenantId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1044,8 +1017,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getSearchCommentsSummary. */ - public struct ApiGetSearchCommentsSummaryRequest: Sendable { + /** Optional parameters for getSearchCommentsSummary. */ + public struct ApiGetSearchCommentsSummaryOptions: Sendable { public var value: String? public var filters: String? public var searchFilters: String? @@ -1071,8 +1044,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationCommentSearchResponse */ - open class func getSearchCommentsSummary(request: ApiGetSearchCommentsSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { - return try await getSearchCommentsSummaryWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSearchCommentsSummary(options: ApiGetSearchCommentsSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { + return try await getSearchCommentsSummaryWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1085,12 +1058,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchCommentsSummaryWithRequestBuilder(request: ApiGetSearchCommentsSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let value = request.value - let filters = request.filters - let searchFilters = request.searchFilters - let tenantId = request.tenantId - let sso = request.sso + open class func getSearchCommentsSummaryWithRequestBuilder(options: ApiGetSearchCommentsSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = options.value + let filters = options.filters + let searchFilters = options.searchFilters + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/search/comments/summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1115,8 +1088,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getSearchPages. */ - public struct ApiGetSearchPagesRequest: Sendable { + /** Optional parameters for getSearchPages. */ + public struct ApiGetSearchPagesOptions: Sendable { public var value: String? public var tenantId: String? public var sso: String? @@ -1136,8 +1109,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationPageSearchResponse */ - open class func getSearchPages(request: ApiGetSearchPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { - return try await getSearchPagesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSearchPages(options: ApiGetSearchPagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { + return try await getSearchPagesWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1148,10 +1121,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchPagesWithRequestBuilder(request: ApiGetSearchPagesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let value = request.value - let tenantId = request.tenantId - let sso = request.sso + open class func getSearchPagesWithRequestBuilder(options: ApiGetSearchPagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = options.value + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/search/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1174,8 +1147,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getSearchSites. */ - public struct ApiGetSearchSitesRequest: Sendable { + /** Optional parameters for getSearchSites. */ + public struct ApiGetSearchSitesOptions: Sendable { public var value: String? public var tenantId: String? public var sso: String? @@ -1195,8 +1168,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationSiteSearchResponse */ - open class func getSearchSites(request: ApiGetSearchSitesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { - return try await getSearchSitesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSites(options: ApiGetSearchSitesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { + return try await getSearchSitesWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1207,10 +1180,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchSitesWithRequestBuilder(request: ApiGetSearchSitesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let value = request.value - let tenantId = request.tenantId - let sso = request.sso + open class func getSearchSitesWithRequestBuilder(options: ApiGetSearchSitesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = options.value + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/search/sites" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1233,8 +1206,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getSearchSuggest. */ - public struct ApiGetSearchSuggestRequest: Sendable { + /** Optional parameters for getSearchSuggest. */ + public struct ApiGetSearchSuggestOptions: Sendable { public var textSearch: String? public var tenantId: String? public var sso: String? @@ -1254,8 +1227,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationSuggestResponse */ - open class func getSearchSuggest(request: ApiGetSearchSuggestRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { - return try await getSearchSuggestWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSuggest(options: ApiGetSearchSuggestOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { + return try await getSearchSuggestWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1266,10 +1239,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchSuggestWithRequestBuilder(request: ApiGetSearchSuggestRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let textSearch = request.textSearch - let tenantId = request.tenantId - let sso = request.sso + open class func getSearchSuggestWithRequestBuilder(options: ApiGetSearchSuggestOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let textSearch = options.textSearch + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/search/suggest" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1292,8 +1265,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getSearchUsers. */ - public struct ApiGetSearchUsersRequest: Sendable { + /** Optional parameters for getSearchUsers. */ + public struct ApiGetSearchUsersOptions: Sendable { public var value: String? public var tenantId: String? public var sso: String? @@ -1313,8 +1286,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationUserSearchResponse */ - open class func getSearchUsers(request: ApiGetSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { - return try await getSearchUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getSearchUsers(options: ApiGetSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { + return try await getSearchUsersWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1325,10 +1298,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchUsersWithRequestBuilder(request: ApiGetSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let value = request.value - let tenantId = request.tenantId - let sso = request.sso + open class func getSearchUsersWithRequestBuilder(options: ApiGetSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let value = options.value + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/search/users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1351,8 +1324,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getTrustFactor. */ - public struct ApiGetTrustFactorRequest: Sendable { + /** Optional parameters for getTrustFactor. */ + public struct ApiGetTrustFactorOptions: Sendable { public var userId: String? public var tenantId: String? public var sso: String? @@ -1372,8 +1345,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserTrustFactorResponse */ - open class func getTrustFactor(request: ApiGetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { - return try await getTrustFactorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTrustFactor(options: ApiGetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { + return try await getTrustFactorWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1384,10 +1357,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTrustFactorWithRequestBuilder(request: ApiGetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = request.userId - let tenantId = request.tenantId - let sso = request.sso + open class func getTrustFactorWithRequestBuilder(options: ApiGetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/get-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1410,8 +1383,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserBanPreference. */ - public struct ApiGetUserBanPreferenceRequest: Sendable { + /** Optional parameters for getUserBanPreference. */ + public struct ApiGetUserBanPreferenceOptions: Sendable { public var tenantId: String? public var sso: String? @@ -1428,8 +1401,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIModerateGetUserBanPreferencesResponse */ - open class func getUserBanPreference(request: ApiGetUserBanPreferenceRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { - return try await getUserBanPreferenceWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserBanPreference(options: ApiGetUserBanPreferenceOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { + return try await getUserBanPreferenceWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1439,9 +1412,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBanPreferenceWithRequestBuilder(request: ApiGetUserBanPreferenceRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let sso = request.sso + open class func getUserBanPreferenceWithRequestBuilder(options: ApiGetUserBanPreferenceOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/user-ban-preference" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1463,8 +1436,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserInternalProfile. */ - public struct ApiGetUserInternalProfileRequest: Sendable { + /** Optional parameters for getUserInternalProfile. */ + public struct ApiGetUserInternalProfileOptions: Sendable { public var commentId: String? public var tenantId: String? public var sso: String? @@ -1484,8 +1457,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserInternalProfileResponse */ - open class func getUserInternalProfile(request: ApiGetUserInternalProfileRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { - return try await getUserInternalProfileWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserInternalProfile(options: ApiGetUserInternalProfileOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { + return try await getUserInternalProfileWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1496,10 +1469,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserInternalProfileWithRequestBuilder(request: ApiGetUserInternalProfileRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let sso = request.sso + open class func getUserInternalProfileWithRequestBuilder(options: ApiGetUserInternalProfileOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let commentId = options.commentId + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/get-user-internal-profile" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1522,17 +1495,13 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postAdjustCommentVotes. */ - public struct ApiPostAdjustCommentVotesRequest: Sendable { - public var commentId: String - public var adjustCommentVotesParams: AdjustCommentVotesParams + /** Optional parameters for postAdjustCommentVotes. */ + public struct ApiPostAdjustCommentVotesOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId - self.adjustCommentVotesParams = adjustCommentVotesParams + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -1549,8 +1518,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AdjustVotesResponse */ - open class func postAdjustCommentVotes(request: ApiPostAdjustCommentVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { - return try await postAdjustCommentVotesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { + return try await postAdjustCommentVotesWithRequestBuilder(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1563,12 +1532,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postAdjustCommentVotesWithRequestBuilder(request: ApiPostAdjustCommentVotesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let adjustCommentVotesParams = request.adjustCommentVotesParams - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1594,8 +1561,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postApiExport. */ - public struct ApiPostApiExportRequest: Sendable { + /** Optional parameters for postApiExport. */ + public struct ApiPostApiExportOptions: Sendable { public var textSearch: String? public var byIPFromComment: String? public var filters: String? @@ -1627,8 +1594,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationExportResponse */ - open class func postApiExport(request: ApiPostApiExportRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { - return try await postApiExportWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postApiExport(options: ApiPostApiExportOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { + return try await postApiExportWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1643,14 +1610,14 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postApiExportWithRequestBuilder(request: ApiPostApiExportRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let textSearch = request.textSearch - let byIPFromComment = request.byIPFromComment - let filters = request.filters - let searchFilters = request.searchFilters - let sorts = request.sorts - let tenantId = request.tenantId - let sso = request.sso + open class func postApiExportWithRequestBuilder(options: ApiPostApiExportOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/auth/my-account/moderate-comments/api/export" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1677,9 +1644,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postBanUserFromComment. */ - public struct ApiPostBanUserFromCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for postBanUserFromComment. */ + public struct ApiPostBanUserFromCommentOptions: Sendable { public var banEmail: Bool? public var banEmailDomain: Bool? public var banIP: Bool? @@ -1691,8 +1657,7 @@ open class ModerationAPI { public var tenantId: String? public var sso: String? - public init(commentId: String, banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil) { self.banEmail = banEmail self.banEmailDomain = banEmailDomain self.banIP = banIP @@ -1722,8 +1687,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BanUserFromCommentResult */ - open class func postBanUserFromComment(request: ApiPostBanUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { - return try await postBanUserFromCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserFromComment(commentId: String, options: ApiPostBanUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { + return try await postBanUserFromCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1742,18 +1707,17 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBanUserFromCommentWithRequestBuilder(request: ApiPostBanUserFromCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let banEmail = request.banEmail - let banEmailDomain = request.banEmailDomain - let banIP = request.banIP - let deleteAllUsersComments = request.deleteAllUsersComments - let bannedUntil = request.bannedUntil - let isShadowBan = request.isShadowBan - let updateId = request.updateId - let banReason = request.banReason - let tenantId = request.tenantId - let sso = request.sso + open class func postBanUserFromCommentWithRequestBuilder(commentId: String, options: ApiPostBanUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 localVariablePath = "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1786,14 +1750,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postBanUserUndo. */ - public struct ApiPostBanUserUndoRequest: Sendable { - public var banUserUndoParams: BanUserUndoParams + /** Optional parameters for postBanUserUndo. */ + public struct ApiPostBanUserUndoOptions: Sendable { public var tenantId: String? public var sso: String? - public init(banUserUndoParams: BanUserUndoParams, tenantId: String? = nil, sso: String? = nil) { - self.banUserUndoParams = banUserUndoParams + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -1807,8 +1769,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postBanUserUndo(request: ApiPostBanUserUndoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postBanUserUndoWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postBanUserUndoWithRequestBuilder(banUserUndoParams: banUserUndoParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1819,10 +1781,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBanUserUndoWithRequestBuilder(request: ApiPostBanUserUndoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let banUserUndoParams = request.banUserUndoParams - let tenantId = request.tenantId - let sso = request.sso + open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/ban-user/undo" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: banUserUndoParams, codableHelper: apiConfiguration.codableHelper) @@ -1844,17 +1805,15 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postBulkPreBanSummary. */ - public struct ApiPostBulkPreBanSummaryRequest: Sendable { - public var bulkPreBanParams: BulkPreBanParams + /** Optional parameters for postBulkPreBanSummary. */ + public struct ApiPostBulkPreBanSummaryOptions: Sendable { public var includeByUserIdAndEmail: Bool? public var includeByIP: Bool? public var includeByEmailDomain: Bool? public var tenantId: String? public var sso: String? - public init(bulkPreBanParams: BulkPreBanParams, includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { - self.bulkPreBanParams = bulkPreBanParams + public init(includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { self.includeByUserIdAndEmail = includeByUserIdAndEmail self.includeByIP = includeByIP self.includeByEmailDomain = includeByEmailDomain @@ -1874,8 +1833,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkPreBanSummary */ - open class func postBulkPreBanSummary(request: ApiPostBulkPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { - return try await postBulkPreBanSummaryWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { + return try await postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: bulkPreBanParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1889,13 +1848,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBulkPreBanSummaryWithRequestBuilder(request: ApiPostBulkPreBanSummaryRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let bulkPreBanParams = request.bulkPreBanParams - let includeByUserIdAndEmail = request.includeByUserIdAndEmail - let includeByIP = request.includeByIP - let includeByEmailDomain = request.includeByEmailDomain - let tenantId = request.tenantId - let sso = request.sso + open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let includeByUserIdAndEmail = options.includeByUserIdAndEmail + let includeByIP = options.includeByIP + let includeByEmailDomain = options.includeByEmailDomain + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/bulk-pre-ban-summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkPreBanParams, codableHelper: apiConfiguration.codableHelper) @@ -1920,14 +1878,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postCommentsByIds. */ - public struct ApiPostCommentsByIdsRequest: Sendable { - public var commentsByIdsParams: CommentsByIdsParams + /** Optional parameters for postCommentsByIds. */ + public struct ApiPostCommentsByIdsOptions: Sendable { public var tenantId: String? public var sso: String? - public init(commentsByIdsParams: CommentsByIdsParams, tenantId: String? = nil, sso: String? = nil) { - self.commentsByIdsParams = commentsByIdsParams + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -1941,8 +1897,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIChildCommentsResponse */ - open class func postCommentsByIds(request: ApiPostCommentsByIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await postCommentsByIdsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { + return try await postCommentsByIdsWithRequestBuilder(commentsByIdsParams: commentsByIdsParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1953,10 +1909,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postCommentsByIdsWithRequestBuilder(request: ApiPostCommentsByIdsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentsByIdsParams = request.commentsByIdsParams - let tenantId = request.tenantId - let sso = request.sso + open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/comments-by-ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: commentsByIdsParams, codableHelper: apiConfiguration.codableHelper) @@ -1978,15 +1933,13 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postFlagComment. */ - public struct ApiPostFlagCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for postFlagComment. */ + public struct ApiPostFlagCommentOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -2002,8 +1955,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postFlagComment(request: ApiPostFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postFlagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postFlagComment(commentId: String, options: ApiPostFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postFlagCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2015,11 +1968,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postFlagCommentWithRequestBuilder(request: ApiPostFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postFlagCommentWithRequestBuilder(commentId: String, options: ApiPostFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2045,15 +1997,13 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postRemoveComment. */ - public struct ApiPostRemoveCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for postRemoveComment. */ + public struct ApiPostRemoveCommentOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -2069,8 +2019,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PostRemoveCommentResponse */ - open class func postRemoveComment(request: ApiPostRemoveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { - return try await postRemoveCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postRemoveComment(commentId: String, options: ApiPostRemoveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { + return try await postRemoveCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2082,11 +2032,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postRemoveCommentWithRequestBuilder(request: ApiPostRemoveCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postRemoveCommentWithRequestBuilder(commentId: String, options: ApiPostRemoveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/remove-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2112,15 +2061,13 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postRestoreDeletedComment. */ - public struct ApiPostRestoreDeletedCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for postRestoreDeletedComment. */ + public struct ApiPostRestoreDeletedCommentOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -2136,8 +2083,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postRestoreDeletedComment(request: ApiPostRestoreDeletedCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postRestoreDeletedCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postRestoreDeletedComment(commentId: String, options: ApiPostRestoreDeletedCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postRestoreDeletedCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2149,11 +2096,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postRestoreDeletedCommentWithRequestBuilder(request: ApiPostRestoreDeletedCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, options: ApiPostRestoreDeletedCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2179,16 +2125,14 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postSetCommentApprovalStatus. */ - public struct ApiPostSetCommentApprovalStatusRequest: Sendable { - public var commentId: String + /** Optional parameters for postSetCommentApprovalStatus. */ + public struct ApiPostSetCommentApprovalStatusOptions: Sendable { public var approved: Bool? public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, approved: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(approved: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.approved = approved self.tenantId = tenantId self.broadcastId = broadcastId @@ -2206,8 +2150,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SetCommentApprovedResponse */ - open class func postSetCommentApprovalStatus(request: ApiPostSetCommentApprovalStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { - return try await postSetCommentApprovalStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentApprovalStatus(commentId: String, options: ApiPostSetCommentApprovalStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { + return try await postSetCommentApprovalStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2220,12 +2164,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentApprovalStatusWithRequestBuilder(request: ApiPostSetCommentApprovalStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let approved = request.approved - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, options: ApiPostSetCommentApprovalStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let approved = options.approved + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2252,16 +2195,14 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postSetCommentReviewStatus. */ - public struct ApiPostSetCommentReviewStatusRequest: Sendable { - public var commentId: String + /** Optional parameters for postSetCommentReviewStatus. */ + public struct ApiPostSetCommentReviewStatusOptions: Sendable { public var reviewed: Bool? public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, reviewed: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(reviewed: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.reviewed = reviewed self.tenantId = tenantId self.broadcastId = broadcastId @@ -2279,8 +2220,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postSetCommentReviewStatus(request: ApiPostSetCommentReviewStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentReviewStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentReviewStatus(commentId: String, options: ApiPostSetCommentReviewStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postSetCommentReviewStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2293,12 +2234,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentReviewStatusWithRequestBuilder(request: ApiPostSetCommentReviewStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let reviewed = request.reviewed - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, options: ApiPostSetCommentReviewStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let reviewed = options.reviewed + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2325,17 +2265,15 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postSetCommentSpamStatus. */ - public struct ApiPostSetCommentSpamStatusRequest: Sendable { - public var commentId: String + /** Optional parameters for postSetCommentSpamStatus. */ + public struct ApiPostSetCommentSpamStatusOptions: Sendable { public var spam: Bool? public var permNotSpam: Bool? public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, spam: Bool? = nil, permNotSpam: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(spam: Bool? = nil, permNotSpam: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.spam = spam self.permNotSpam = permNotSpam self.tenantId = tenantId @@ -2355,8 +2293,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postSetCommentSpamStatus(request: ApiPostSetCommentSpamStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentSpamStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentSpamStatus(commentId: String, options: ApiPostSetCommentSpamStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postSetCommentSpamStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2370,13 +2308,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentSpamStatusWithRequestBuilder(request: ApiPostSetCommentSpamStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let spam = request.spam - let permNotSpam = request.permNotSpam - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, options: ApiPostSetCommentSpamStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let spam = options.spam + let permNotSpam = options.permNotSpam + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2404,17 +2341,13 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postSetCommentText. */ - public struct ApiPostSetCommentTextRequest: Sendable { - public var commentId: String - public var setCommentTextParams: SetCommentTextParams + /** Optional parameters for postSetCommentText. */ + public struct ApiPostSetCommentTextOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, setCommentTextParams: SetCommentTextParams, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId - self.setCommentTextParams = setCommentTextParams + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -2431,8 +2364,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SetCommentTextResponse */ - open class func postSetCommentText(request: ApiPostSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { - return try await postSetCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { + return try await postSetCommentTextWithRequestBuilder(commentId: commentId, setCommentTextParams: setCommentTextParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2445,12 +2378,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentTextWithRequestBuilder(request: ApiPostSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let setCommentTextParams = request.setCommentTextParams - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/set-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2476,15 +2407,13 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postUnFlagComment. */ - public struct ApiPostUnFlagCommentRequest: Sendable { - public var commentId: String + /** Optional parameters for postUnFlagComment. */ + public struct ApiPostUnFlagCommentOptions: Sendable { public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso @@ -2500,8 +2429,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postUnFlagComment(request: ApiPostUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postUnFlagCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postUnFlagComment(commentId: String, options: ApiPostUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postUnFlagCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2513,11 +2442,10 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postUnFlagCommentWithRequestBuilder(request: ApiPostUnFlagCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postUnFlagCommentWithRequestBuilder(commentId: String, options: ApiPostUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/un-flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2543,16 +2471,14 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for postVote. */ - public struct ApiPostVoteRequest: Sendable { - public var commentId: String + /** Optional parameters for postVote. */ + public struct ApiPostVoteOptions: Sendable { public var direction: String? public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(commentId: String, direction: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.commentId = commentId + public init(direction: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.direction = direction self.tenantId = tenantId self.broadcastId = broadcastId @@ -2570,8 +2496,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func postVote(request: ApiPostVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await postVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func postVote(commentId: String, options: ApiPostVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await postVoteWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2584,12 +2510,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postVoteWithRequestBuilder(request: ApiPostVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let commentId = request.commentId - let direction = request.direction - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func postVoteWithRequestBuilder(commentId: String, options: ApiPostVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let direction = options.direction + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2616,17 +2541,15 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for putAwardBadge. */ - public struct ApiPutAwardBadgeRequest: Sendable { - public var badgeId: String + /** Optional parameters for putAwardBadge. */ + public struct ApiPutAwardBadgeOptions: Sendable { public var userId: String? public var commentId: String? public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.badgeId = badgeId + public init(userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.userId = userId self.commentId = commentId self.tenantId = tenantId @@ -2646,8 +2569,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AwardUserBadgeResponse */ - open class func putAwardBadge(request: ApiPutAwardBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { - return try await putAwardBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func putAwardBadge(badgeId: String, options: ApiPutAwardBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { + return try await putAwardBadgeWithRequestBuilder(badgeId: badgeId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2661,13 +2584,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putAwardBadgeWithRequestBuilder(request: ApiPutAwardBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let badgeId = request.badgeId - let userId = request.userId - let commentId = request.commentId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func putAwardBadgeWithRequestBuilder(badgeId: String, options: ApiPutAwardBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let commentId = options.commentId + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/award-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2693,14 +2615,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for putCloseThread. */ - public struct ApiPutCloseThreadRequest: Sendable { - public var urlId: String + /** Optional parameters for putCloseThread. */ + public struct ApiPutCloseThreadOptions: Sendable { public var tenantId: String? public var sso: String? - public init(urlId: String, tenantId: String? = nil, sso: String? = nil) { - self.urlId = urlId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -2714,8 +2634,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func putCloseThread(request: ApiPutCloseThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putCloseThreadWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func putCloseThread(urlId: String, options: ApiPutCloseThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await putCloseThreadWithRequestBuilder(urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2726,10 +2646,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putCloseThreadWithRequestBuilder(request: ApiPutCloseThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let urlId = request.urlId - let tenantId = request.tenantId - let sso = request.sso + open class func putCloseThreadWithRequestBuilder(urlId: String, options: ApiPutCloseThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/close-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2752,17 +2671,15 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for putRemoveBadge. */ - public struct ApiPutRemoveBadgeRequest: Sendable { - public var badgeId: String + /** Optional parameters for putRemoveBadge. */ + public struct ApiPutRemoveBadgeOptions: Sendable { public var userId: String? public var commentId: String? public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(badgeId: String, userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.badgeId = badgeId + public init(userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.userId = userId self.commentId = commentId self.tenantId = tenantId @@ -2782,8 +2699,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RemoveUserBadgeResponse */ - open class func putRemoveBadge(request: ApiPutRemoveBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { - return try await putRemoveBadgeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func putRemoveBadge(badgeId: String, options: ApiPutRemoveBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { + return try await putRemoveBadgeWithRequestBuilder(badgeId: badgeId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2797,13 +2714,12 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putRemoveBadgeWithRequestBuilder(request: ApiPutRemoveBadgeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let badgeId = request.badgeId - let userId = request.userId - let commentId = request.commentId - let tenantId = request.tenantId - let broadcastId = request.broadcastId - let sso = request.sso + open class func putRemoveBadgeWithRequestBuilder(badgeId: String, options: ApiPutRemoveBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let commentId = options.commentId + let tenantId = options.tenantId + let broadcastId = options.broadcastId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/remove-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2829,14 +2745,12 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for putReopenThread. */ - public struct ApiPutReopenThreadRequest: Sendable { - public var urlId: String + /** Optional parameters for putReopenThread. */ + public struct ApiPutReopenThreadOptions: Sendable { public var tenantId: String? public var sso: String? - public init(urlId: String, tenantId: String? = nil, sso: String? = nil) { - self.urlId = urlId + public init(tenantId: String? = nil, sso: String? = nil) { self.tenantId = tenantId self.sso = sso } @@ -2850,8 +2764,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func putReopenThread(request: ApiPutReopenThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putReopenThreadWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func putReopenThread(urlId: String, options: ApiPutReopenThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await putReopenThreadWithRequestBuilder(urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2862,10 +2776,9 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putReopenThreadWithRequestBuilder(request: ApiPutReopenThreadRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let urlId = request.urlId - let tenantId = request.tenantId - let sso = request.sso + open class func putReopenThreadWithRequestBuilder(urlId: String, options: ApiPutReopenThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/reopen-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2888,8 +2801,8 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for setTrustFactor. */ - public struct ApiSetTrustFactorRequest: Sendable { + /** Optional parameters for setTrustFactor. */ + public struct ApiSetTrustFactorOptions: Sendable { public var userId: String? public var trustFactor: String? public var tenantId: String? @@ -2912,8 +2825,8 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SetUserTrustFactorResponse */ - open class func setTrustFactor(request: ApiSetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { - return try await setTrustFactorWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func setTrustFactor(options: ApiSetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { + return try await setTrustFactorWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2925,11 +2838,11 @@ open class ModerationAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func setTrustFactorWithRequestBuilder(request: ApiSetTrustFactorRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = request.userId - let trustFactor = request.trustFactor - let tenantId = request.tenantId - let sso = request.sso + open class func setTrustFactorWithRequestBuilder(options: ApiSetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let userId = options.userId + let trustFactor = options.trustFactor + let tenantId = options.tenantId + let sso = options.sso let localVariablePath = "/auth/my-account/moderate-comments/set-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil diff --git a/client/FastCommentsSwift/APIs/PublicAPI.swift b/client/FastCommentsSwift/APIs/PublicAPI.swift index 283f1c6..66f9188 100644 --- a/client/FastCommentsSwift/APIs/PublicAPI.swift +++ b/client/FastCommentsSwift/APIs/PublicAPI.swift @@ -9,17 +9,11 @@ import Foundation open class PublicAPI { - /** Request parameters for blockFromCommentPublic. */ - public struct ApiBlockFromCommentPublicRequest: Sendable { - public var tenantId: String - public var commentId: String - public var publicBlockFromCommentParams: PublicBlockFromCommentParams + /** Optional parameters for blockFromCommentPublic. */ + public struct ApiBlockFromCommentPublicOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.publicBlockFromCommentParams = publicBlockFromCommentParams + public init(sso: String? = nil) { self.sso = sso } } @@ -33,8 +27,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BlockSuccess */ - open class func blockFromCommentPublic(request: ApiBlockFromCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { - return try await blockFromCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + return try await blockFromCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -46,11 +40,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func blockFromCommentPublicWithRequestBuilder(request: ApiBlockFromCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let publicBlockFromCommentParams = request.publicBlockFromCommentParams - let sso = request.sso + open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -75,15 +66,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for checkedCommentsForBlocked. */ - public struct ApiCheckedCommentsForBlockedRequest: Sendable { - public var tenantId: String - public var commentIds: String + /** Optional parameters for checkedCommentsForBlocked. */ + public struct ApiCheckedCommentsForBlockedOptions: Sendable { public var sso: String? - public init(tenantId: String, commentIds: String, sso: String? = nil) { - self.tenantId = tenantId - self.commentIds = commentIds + public init(sso: String? = nil) { self.sso = sso } } @@ -96,8 +83,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CheckBlockedCommentsResponse */ - open class func checkedCommentsForBlocked(request: ApiCheckedCommentsForBlockedRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { - return try await checkedCommentsForBlockedWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, options: ApiCheckedCommentsForBlockedOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { + return try await checkedCommentsForBlockedWithRequestBuilder(tenantId: tenantId, commentIds: commentIds, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -108,10 +95,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func checkedCommentsForBlockedWithRequestBuilder(request: ApiCheckedCommentsForBlockedRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentIds = request.commentIds - let sso = request.sso + open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, options: ApiCheckedCommentsForBlockedOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso let localVariablePath = "/check-blocked-comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -134,20 +119,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for createCommentPublic. */ - public struct ApiCreateCommentPublicRequest: Sendable { - public var tenantId: String - public var urlId: String - public var broadcastId: String - public var commentData: CommentData + /** Optional parameters for createCommentPublic. */ + public struct ApiCreateCommentPublicOptions: Sendable { public var sessionId: String? public var sso: String? - public init(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, sessionId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId - self.broadcastId = broadcastId - self.commentData = commentData + public init(sessionId: String? = nil, sso: String? = nil) { self.sessionId = sessionId self.sso = sso } @@ -164,8 +141,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SaveCommentsResponseWithPresence */ - open class func createCommentPublic(request: ApiCreateCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { - return try await createCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: ApiCreateCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { + return try await createCommentPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -179,13 +156,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createCommentPublicWithRequestBuilder(request: ApiCreateCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let broadcastId = request.broadcastId - let commentData = request.commentData - let sessionId = request.sessionId - let sso = request.sso + open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: ApiCreateCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sessionId = options.sessionId + let sso = options.sso var localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -212,16 +185,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for createFeedPostPublic. */ - public struct ApiCreateFeedPostPublicRequest: Sendable { - public var tenantId: String - public var createFeedPostParams: CreateFeedPostParams + /** Optional parameters for createFeedPostPublic. */ + public struct ApiCreateFeedPostPublicOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String, createFeedPostParams: CreateFeedPostParams, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.createFeedPostParams = createFeedPostParams + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -236,8 +205,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostResponse */ - open class func createFeedPostPublic(request: ApiCreateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { - return try await createFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + return try await createFeedPostPublicWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -249,11 +218,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createFeedPostPublicWithRequestBuilder(request: ApiCreateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let createFeedPostParams = request.createFeedPostParams - let broadcastId = request.broadcastId - let sso = request.sso + open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -278,15 +245,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for createV1PageReact. */ - public struct ApiCreateV1PageReactRequest: Sendable { - public var tenantId: String - public var urlId: String + /** Optional parameters for createV1PageReact. */ + public struct ApiCreateV1PageReactOptions: Sendable { public var title: String? - public init(tenantId: String, urlId: String, title: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId + public init(title: String? = nil) { self.title = title } } @@ -299,8 +262,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func createV1PageReact(request: ApiCreateV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await createV1PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createV1PageReact(tenantId: String, urlId: String, options: ApiCreateV1PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await createV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -311,10 +274,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createV1PageReactWithRequestBuilder(request: ApiCreateV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let title = request.title + open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, options: ApiCreateV1PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let title = options.title var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -339,17 +300,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for createV2PageReact. */ - public struct ApiCreateV2PageReactRequest: Sendable { - public var tenantId: String - public var urlId: String - public var id: String + /** Optional parameters for createV2PageReact. */ + public struct ApiCreateV2PageReactOptions: Sendable { public var title: String? - public init(tenantId: String, urlId: String, id: String, title: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId - self.id = id + public init(title: String? = nil) { self.title = title } } @@ -363,8 +318,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func createV2PageReact(request: ApiCreateV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await createV2PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func createV2PageReact(tenantId: String, urlId: String, id: String, options: ApiCreateV2PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await createV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -376,11 +331,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createV2PageReactWithRequestBuilder(request: ApiCreateV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let id = request.id - let title = request.title + open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, options: ApiCreateV2PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let title = options.title var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -406,18 +358,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteCommentPublic. */ - public struct ApiDeleteCommentPublicRequest: Sendable { - public var tenantId: String - public var commentId: String - public var broadcastId: String + /** Optional parameters for deleteCommentPublic. */ + public struct ApiDeleteCommentPublicOptions: Sendable { public var editKey: String? public var sso: String? - public init(tenantId: String, commentId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.broadcastId = broadcastId + public init(editKey: String? = nil, sso: String? = nil) { self.editKey = editKey self.sso = sso } @@ -433,8 +379,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPIDeleteCommentResponse */ - open class func deleteCommentPublic(request: ApiDeleteCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { - return try await deleteCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, options: ApiDeleteCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { + return try await deleteCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -447,12 +393,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentPublicWithRequestBuilder(request: ApiDeleteCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let broadcastId = request.broadcastId - let editKey = request.editKey - let sso = request.sso + open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiDeleteCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let editKey = options.editKey + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -481,22 +424,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteCommentVote. */ - public struct ApiDeleteCommentVoteRequest: Sendable { - public var tenantId: String - public var commentId: String - public var voteId: String - public var urlId: String - public var broadcastId: String + /** Optional parameters for deleteCommentVote. */ + public struct ApiDeleteCommentVoteOptions: Sendable { public var editKey: String? public var sso: String? - public init(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, editKey: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.voteId = voteId - self.urlId = urlId - self.broadcastId = broadcastId + public init(editKey: String? = nil, sso: String? = nil) { self.editKey = editKey self.sso = sso } @@ -514,8 +447,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteCommentVote(request: ApiDeleteCommentVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteCommentVoteWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: ApiDeleteCommentVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteCommentVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -530,14 +463,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentVoteWithRequestBuilder(request: ApiDeleteCommentVoteRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let voteId = request.voteId - let urlId = request.urlId - let broadcastId = request.broadcastId - let editKey = request.editKey - let sso = request.sso + open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: ApiDeleteCommentVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let editKey = options.editKey + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/vote/{voteId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -570,16 +498,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteFeedPostPublic. */ - public struct ApiDeleteFeedPostPublicRequest: Sendable { - public var tenantId: String - public var postId: String + /** Optional parameters for deleteFeedPostPublic. */ + public struct ApiDeleteFeedPostPublicOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String, postId: String, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.postId = postId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -594,8 +518,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteFeedPostPublicResponse */ - open class func deleteFeedPostPublic(request: ApiDeleteFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteFeedPostPublicResponse { - return try await deleteFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteFeedPostPublic(tenantId: String, postId: String, options: ApiDeleteFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteFeedPostPublicResponse { + return try await deleteFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -607,11 +531,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteFeedPostPublicWithRequestBuilder(request: ApiDeleteFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let postId = request.postId - let broadcastId = request.broadcastId - let sso = request.sso + open class func deleteFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, options: ApiDeleteFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -639,17 +561,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteV1PageReact. */ - public struct ApiDeleteV1PageReactRequest: Sendable { - public var tenantId: String - public var urlId: String - - public init(tenantId: String, urlId: String) { - self.tenantId = tenantId - self.urlId = urlId - } - } - /** - parameter tenantId: (path) @@ -657,8 +568,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func deleteV1PageReact(request: ApiDeleteV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await deleteV1PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteV1PageReact(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await deleteV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } /** @@ -668,9 +579,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteV1PageReactWithRequestBuilder(request: ApiDeleteV1PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId + open class func deleteV1PageReactWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -694,19 +603,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for deleteV2PageReact. */ - public struct ApiDeleteV2PageReactRequest: Sendable { - public var tenantId: String - public var urlId: String - public var id: String - - public init(tenantId: String, urlId: String, id: String) { - self.tenantId = tenantId - self.urlId = urlId - self.id = id - } - } - /** - parameter tenantId: (path) @@ -715,8 +611,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func deleteV2PageReact(request: ApiDeleteV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await deleteV2PageReactWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await deleteV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -727,10 +623,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteV2PageReactWithRequestBuilder(request: ApiDeleteV2PageReactRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let id = request.id + open class func deleteV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -755,17 +648,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for flagCommentPublic. */ - public struct ApiFlagCommentPublicRequest: Sendable { - public var tenantId: String - public var commentId: String - public var isFlagged: Bool + /** Optional parameters for flagCommentPublic. */ + public struct ApiFlagCommentPublicOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.isFlagged = isFlagged + public init(sso: String? = nil) { self.sso = sso } } @@ -779,8 +666,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func flagCommentPublic(request: ApiFlagCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await flagCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, options: ApiFlagCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await flagCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -792,11 +679,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func flagCommentPublicWithRequestBuilder(request: ApiFlagCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let isFlagged = request.isFlagged - let sso = request.sso + open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, options: ApiFlagCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -822,16 +706,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCommentText. */ - public struct ApiGetCommentTextRequest: Sendable { - public var tenantId: String - public var commentId: String + /** Optional parameters for getCommentText. */ + public struct ApiGetCommentTextOptions: Sendable { public var editKey: String? public var sso: String? - public init(tenantId: String, commentId: String, editKey: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId + public init(editKey: String? = nil, sso: String? = nil) { self.editKey = editKey self.sso = sso } @@ -846,8 +726,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPIGetCommentTextResponse */ - open class func getCommentText(request: ApiGetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { - return try await getCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCommentText(tenantId: String, commentId: String, options: ApiGetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { + return try await getCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -859,11 +739,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentTextWithRequestBuilder(request: ApiGetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let editKey = request.editKey - let sso = request.sso + open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, options: ApiGetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let editKey = options.editKey + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -891,17 +769,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCommentVoteUserNames. */ - public struct ApiGetCommentVoteUserNamesRequest: Sendable { - public var tenantId: String - public var commentId: String - public var dir: Int + /** Optional parameters for getCommentVoteUserNames. */ + public struct ApiGetCommentVoteUserNamesOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, dir: Int, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.dir = dir + public init(sso: String? = nil) { self.sso = sso } } @@ -915,8 +787,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentVoteUserNamesSuccessResponse */ - open class func getCommentVoteUserNames(request: ApiGetCommentVoteUserNamesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { - return try await getCommentVoteUserNamesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, options: ApiGetCommentVoteUserNamesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { + return try await getCommentVoteUserNamesWithRequestBuilder(tenantId: tenantId, commentId: commentId, dir: dir, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -928,11 +800,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentVoteUserNamesWithRequestBuilder(request: ApiGetCommentVoteUserNamesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let dir = request.dir - let sso = request.sso + open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, options: ApiGetCommentVoteUserNamesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/votes" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -960,8 +829,8 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCommentsForUser. */ - public struct ApiGetCommentsForUserRequest: Sendable { + /** Optional parameters for getCommentsForUser. */ + public struct ApiGetCommentsForUserOptions: Sendable { public var userId: String? public var direction: SortDirections? public var repliesToUserId: String? @@ -993,8 +862,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentsForUserResponse */ - open class func getCommentsForUser(request: ApiGetCommentsForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { - return try await getCommentsForUserWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCommentsForUser(options: ApiGetCommentsForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { + return try await getCommentsForUserWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1009,14 +878,14 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsForUserWithRequestBuilder(request: ApiGetCommentsForUserRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = request.userId - let direction = request.direction - let repliesToUserId = request.repliesToUserId - let page = request.page - let includei10n = request.includei10n - let locale = request.locale - let isCrawler = request.isCrawler + open class func getCommentsForUserWithRequestBuilder(options: ApiGetCommentsForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/comments-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -1043,10 +912,8 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getCommentsPublic. */ - public struct ApiGetCommentsPublicRequest: Sendable { - public var tenantId: String - public var urlId: String + /** Optional parameters for getCommentsPublic. */ + public struct ApiGetCommentsPublicOptions: Sendable { public var page: Int? public var direction: SortDirections? public var sso: String? @@ -1074,9 +941,7 @@ open class PublicAPI { public var afterCommentId: String? public var beforeCommentId: String? - public init(tenantId: String, urlId: String, page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId + public init(page: Int? = nil, direction: SortDirections? = nil, sso: String? = nil, skip: Int? = nil, skipChildren: Int? = nil, limit: Int? = nil, limitChildren: Int? = nil, countChildren: Bool? = nil, fetchPageForCommentId: String? = nil, includeConfig: Bool? = nil, countAll: Bool? = nil, includei10n: Bool? = nil, locale: String? = nil, modules: String? = nil, isCrawler: Bool? = nil, includeNotificationCount: Bool? = nil, asTree: Bool? = nil, maxTreeDepth: Int? = nil, useFullTranslationIds: Bool? = nil, parentId: String? = nil, searchText: String? = nil, hashTags: [String]? = nil, userId: String? = nil, customConfigStr: String? = nil, afterCommentId: String? = nil, beforeCommentId: String? = nil) { self.page = page self.direction = direction self.sso = sso @@ -1139,8 +1004,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentsResponseWithPresencePublicComment */ - open class func getCommentsPublic(request: ApiGetCommentsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { - return try await getCommentsPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getCommentsPublic(tenantId: String, urlId: String, options: ApiGetCommentsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { + return try await getCommentsPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1177,35 +1042,33 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsPublicWithRequestBuilder(request: ApiGetCommentsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let page = request.page - let direction = request.direction - let sso = request.sso - let skip = request.skip - let skipChildren = request.skipChildren - let limit = request.limit - let limitChildren = request.limitChildren - let countChildren = request.countChildren - let fetchPageForCommentId = request.fetchPageForCommentId - let includeConfig = request.includeConfig - let countAll = request.countAll - let includei10n = request.includei10n - let locale = request.locale - let modules = request.modules - let isCrawler = request.isCrawler - let includeNotificationCount = request.includeNotificationCount - let asTree = request.asTree - let maxTreeDepth = request.maxTreeDepth - let useFullTranslationIds = request.useFullTranslationIds - let parentId = request.parentId - let searchText = request.searchText - let hashTags = request.hashTags - let userId = request.userId - let customConfigStr = request.customConfigStr - let afterCommentId = request.afterCommentId - let beforeCommentId = request.beforeCommentId + open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetCommentsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 localVariablePath = "/comments/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1255,19 +1118,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getEventLog. */ - public struct ApiGetEventLogRequest: Sendable { - public var tenantId: String - public var urlId: String - public var userIdWS: String - public var startTime: Int64 + /** Optional parameters for getEventLog. */ + public struct ApiGetEventLogOptions: Sendable { public var endTime: Int64? - public init(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil) { - self.tenantId = tenantId - self.urlId = urlId - self.userIdWS = userIdWS - self.startTime = startTime + public init(endTime: Int64? = nil) { self.endTime = endTime } } @@ -1282,8 +1137,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEventLogResponse */ - open class func getEventLog(request: ApiGetEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { - return try await getEventLogWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + return try await getEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1297,12 +1152,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEventLogWithRequestBuilder(request: ApiGetEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let userIdWS = request.userIdWS - let startTime = request.startTime - let endTime = request.endTime + open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let endTime = options.endTime var localVariablePath = "/event-log/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1329,9 +1180,8 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getFeedPostsPublic. */ - public struct ApiGetFeedPostsPublicRequest: Sendable { - public var tenantId: String + /** Optional parameters for getFeedPostsPublic. */ + public struct ApiGetFeedPostsPublicOptions: Sendable { public var afterId: String? public var limit: Int? public var tags: [String]? @@ -1339,8 +1189,7 @@ open class PublicAPI { public var isCrawler: Bool? public var includeUserInfo: Bool? - public init(tenantId: String, afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil) { - self.tenantId = tenantId + public init(afterId: String? = nil, limit: Int? = nil, tags: [String]? = nil, sso: String? = nil, isCrawler: Bool? = nil, includeUserInfo: Bool? = nil) { self.afterId = afterId self.limit = limit self.tags = tags @@ -1362,8 +1211,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicFeedPostsResponse */ - open class func getFeedPostsPublic(request: ApiGetFeedPostsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { - return try await getFeedPostsPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPostsPublic(tenantId: String, options: ApiGetFeedPostsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { + return try await getFeedPostsPublicWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1379,14 +1228,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsPublicWithRequestBuilder(request: ApiGetFeedPostsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let afterId = request.afterId - let limit = request.limit - let tags = request.tags - let sso = request.sso - let isCrawler = request.isCrawler - let includeUserInfo = request.includeUserInfo + open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, options: ApiGetFeedPostsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 localVariablePath = "/feed-posts/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1415,15 +1263,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getFeedPostsStats. */ - public struct ApiGetFeedPostsStatsRequest: Sendable { - public var tenantId: String - public var postIds: [String] + /** Optional parameters for getFeedPostsStats. */ + public struct ApiGetFeedPostsStatsOptions: Sendable { public var sso: String? - public init(tenantId: String, postIds: [String], sso: String? = nil) { - self.tenantId = tenantId - self.postIds = postIds + public init(sso: String? = nil) { self.sso = sso } } @@ -1436,8 +1280,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FeedPostsStatsResponse */ - open class func getFeedPostsStats(request: ApiGetFeedPostsStatsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { - return try await getFeedPostsStatsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPostsStats(tenantId: String, postIds: [String], options: ApiGetFeedPostsStatsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { + return try await getFeedPostsStatsWithRequestBuilder(tenantId: tenantId, postIds: postIds, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1448,10 +1292,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsStatsWithRequestBuilder(request: ApiGetFeedPostsStatsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let postIds = request.postIds - let sso = request.sso + open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], options: ApiGetFeedPostsStatsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/stats" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1476,17 +1318,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getGifLarge. */ - public struct ApiGetGifLargeRequest: Sendable { - public var tenantId: String - public var largeInternalURLSanitized: String - - public init(tenantId: String, largeInternalURLSanitized: String) { - self.tenantId = tenantId - self.largeInternalURLSanitized = largeInternalURLSanitized - } - } - /** - parameter tenantId: (path) @@ -1494,8 +1325,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GifGetLargeResponse */ - open class func getGifLarge(request: ApiGetGifLargeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GifGetLargeResponse { - return try await getGifLargeWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GifGetLargeResponse { + return try await getGifLargeWithRequestBuilder(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized, apiConfiguration: apiConfiguration).execute().body } /** @@ -1505,9 +1336,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifLargeWithRequestBuilder(request: ApiGetGifLargeRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let largeInternalURLSanitized = request.largeInternalURLSanitized + open class func getGifLargeWithRequestBuilder(tenantId: String, largeInternalURLSanitized: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/gifs/get-large/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1531,17 +1360,13 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getGifsSearch. */ - public struct ApiGetGifsSearchRequest: Sendable { - public var tenantId: String - public var search: String + /** Optional parameters for getGifsSearch. */ + public struct ApiGetGifsSearchOptions: Sendable { public var locale: String? public var rating: String? public var page: Double? - public init(tenantId: String, search: String, locale: String? = nil, rating: String? = nil, page: Double? = nil) { - self.tenantId = tenantId - self.search = search + public init(locale: String? = nil, rating: String? = nil, page: Double? = nil) { self.locale = locale self.rating = rating self.page = page @@ -1558,8 +1383,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetGifsSearchResponse */ - open class func getGifsSearch(request: ApiGetGifsSearchRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsSearchResponse { - return try await getGifsSearchWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getGifsSearch(tenantId: String, search: String, options: ApiGetGifsSearchOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsSearchResponse { + return try await getGifsSearchWithRequestBuilder(tenantId: tenantId, search: search, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1572,12 +1397,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifsSearchWithRequestBuilder(request: ApiGetGifsSearchRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let search = request.search - let locale = request.locale - let rating = request.rating - let page = request.page + open class func getGifsSearchWithRequestBuilder(tenantId: String, search: String, options: ApiGetGifsSearchOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let locale = options.locale + let rating = options.rating + let page = options.page var localVariablePath = "/gifs/search/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1604,15 +1427,13 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getGifsTrending. */ - public struct ApiGetGifsTrendingRequest: Sendable { - public var tenantId: String + /** Optional parameters for getGifsTrending. */ + public struct ApiGetGifsTrendingOptions: Sendable { public var locale: String? public var rating: String? public var page: Double? - public init(tenantId: String, locale: String? = nil, rating: String? = nil, page: Double? = nil) { - self.tenantId = tenantId + public init(locale: String? = nil, rating: String? = nil, page: Double? = nil) { self.locale = locale self.rating = rating self.page = page @@ -1628,8 +1449,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetGifsTrendingResponse */ - open class func getGifsTrending(request: ApiGetGifsTrendingRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsTrendingResponse { - return try await getGifsTrendingWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getGifsTrending(tenantId: String, options: ApiGetGifsTrendingOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsTrendingResponse { + return try await getGifsTrendingWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1641,11 +1462,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifsTrendingWithRequestBuilder(request: ApiGetGifsTrendingRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let locale = request.locale - let rating = request.rating - let page = request.page + open class func getGifsTrendingWithRequestBuilder(tenantId: String, options: ApiGetGifsTrendingOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let locale = options.locale + let rating = options.rating + let page = options.page var localVariablePath = "/gifs/trending/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1671,19 +1491,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getGlobalEventLog. */ - public struct ApiGetGlobalEventLogRequest: Sendable { - public var tenantId: String - public var urlId: String - public var userIdWS: String - public var startTime: Int64 + /** Optional parameters for getGlobalEventLog. */ + public struct ApiGetGlobalEventLogOptions: Sendable { public var endTime: Int64? - public init(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil) { - self.tenantId = tenantId - self.urlId = urlId - self.userIdWS = userIdWS - self.startTime = startTime + public init(endTime: Int64? = nil) { self.endTime = endTime } } @@ -1698,8 +1510,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEventLogResponse */ - open class func getGlobalEventLog(request: ApiGetGlobalEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { - return try await getGlobalEventLogWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetGlobalEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + return try await getGlobalEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1713,12 +1525,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGlobalEventLogWithRequestBuilder(request: ApiGetGlobalEventLogRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let userIdWS = request.userIdWS - let startTime = request.startTime - let endTime = request.endTime + open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetGlobalEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let endTime = options.endTime var localVariablePath = "/event-log/global/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1745,16 +1553,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getOfflineUsers. */ - public struct ApiGetOfflineUsersRequest: Sendable { - public var tenantId: String - public var urlId: String + /** Optional parameters for getOfflineUsers. */ + public struct ApiGetOfflineUsersOptions: Sendable { public var afterName: String? public var afterUserId: String? - public init(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId + public init(afterName: String? = nil, afterUserId: String? = nil) { self.afterName = afterName self.afterUserId = afterUserId } @@ -1769,8 +1573,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersOfflineResponse */ - open class func getOfflineUsers(request: ApiGetOfflineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { - return try await getOfflineUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getOfflineUsers(tenantId: String, urlId: String, options: ApiGetOfflineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { + return try await getOfflineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1783,11 +1587,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getOfflineUsersWithRequestBuilder(request: ApiGetOfflineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let afterName = request.afterName - let afterUserId = request.afterUserId + open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetOfflineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let afterName = options.afterName + let afterUserId = options.afterUserId var localVariablePath = "/pages/{tenantId}/users/offline" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1813,16 +1615,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getOnlineUsers. */ - public struct ApiGetOnlineUsersRequest: Sendable { - public var tenantId: String - public var urlId: String + /** Optional parameters for getOnlineUsers. */ + public struct ApiGetOnlineUsersOptions: Sendable { public var afterName: String? public var afterUserId: String? - public init(tenantId: String, urlId: String, afterName: String? = nil, afterUserId: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId + public init(afterName: String? = nil, afterUserId: String? = nil) { self.afterName = afterName self.afterUserId = afterUserId } @@ -1837,8 +1635,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersOnlineResponse */ - open class func getOnlineUsers(request: ApiGetOnlineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { - return try await getOnlineUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getOnlineUsers(tenantId: String, urlId: String, options: ApiGetOnlineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { + return try await getOnlineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1851,11 +1649,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getOnlineUsersWithRequestBuilder(request: ApiGetOnlineUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let afterName = request.afterName - let afterUserId = request.afterUserId + open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetOnlineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let afterName = options.afterName + let afterUserId = options.afterUserId var localVariablePath = "/pages/{tenantId}/users/online" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1881,17 +1677,15 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getPagesPublic. */ - public struct ApiGetPagesPublicRequest: Sendable { - public var tenantId: String + /** Optional parameters for getPagesPublic. */ + public struct ApiGetPagesPublicOptions: Sendable { public var cursor: String? public var limit: Int? public var q: String? public var sortBy: PagesSortBy? public var hasComments: Bool? - public init(tenantId: String, cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil) { - self.tenantId = tenantId + public init(cursor: String? = nil, limit: Int? = nil, q: String? = nil, sortBy: PagesSortBy? = nil, hasComments: Bool? = nil) { self.cursor = cursor self.limit = limit self.q = q @@ -1911,8 +1705,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPublicPagesResponse */ - open class func getPagesPublic(request: ApiGetPagesPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { - return try await getPagesPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getPagesPublic(tenantId: String, options: ApiGetPagesPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { + return try await getPagesPublicWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1927,13 +1721,12 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPagesPublicWithRequestBuilder(request: ApiGetPagesPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let cursor = request.cursor - let limit = request.limit - let q = request.q - let sortBy = request.sortBy - let hasComments = request.hasComments + open class func getPagesPublicWithRequestBuilder(tenantId: String, options: ApiGetPagesPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let cursor = options.cursor + let limit = options.limit + let q = options.q + let sortBy = options.sortBy + let hasComments = options.hasComments var localVariablePath = "/pages/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1961,16 +1754,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getTranslations. */ - public struct ApiGetTranslationsRequest: Sendable { - public var namespace: String - public var component: String + /** Optional parameters for getTranslations. */ + public struct ApiGetTranslationsOptions: Sendable { public var locale: String? public var useFullTranslationIds: Bool? - public init(namespace: String, component: String, locale: String? = nil, useFullTranslationIds: Bool? = nil) { - self.namespace = namespace - self.component = component + public init(locale: String? = nil, useFullTranslationIds: Bool? = nil) { self.locale = locale self.useFullTranslationIds = useFullTranslationIds } @@ -1985,8 +1774,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTranslationsResponse */ - open class func getTranslations(request: ApiGetTranslationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { - return try await getTranslationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getTranslations(namespace: String, component: String, options: ApiGetTranslationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { + return try await getTranslationsWithRequestBuilder(namespace: namespace, component: component, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -1998,11 +1787,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTranslationsWithRequestBuilder(request: ApiGetTranslationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let namespace = request.namespace - let component = request.component - let locale = request.locale - let useFullTranslationIds = request.useFullTranslationIds + open class func getTranslationsWithRequestBuilder(namespace: String, component: String, options: ApiGetTranslationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let locale = options.locale + let useFullTranslationIds = options.useFullTranslationIds var localVariablePath = "/translations/{namespace}/{component}" let namespacePreEscape = "\(APIHelper.mapValueToPathItem(namespace))" let namespacePostEscape = namespacePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2030,13 +1817,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserNotificationCount. */ - public struct ApiGetUserNotificationCountRequest: Sendable { - public var tenantId: String + /** Optional parameters for getUserNotificationCount. */ + public struct ApiGetUserNotificationCountOptions: Sendable { public var sso: String? - public init(tenantId: String, sso: String? = nil) { - self.tenantId = tenantId + public init(sso: String? = nil) { self.sso = sso } } @@ -2048,8 +1833,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserNotificationCountResponse */ - open class func getUserNotificationCount(request: ApiGetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { - return try await getUserNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserNotificationCount(tenantId: String, options: ApiGetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { + return try await getUserNotificationCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2059,9 +1844,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserNotificationCountWithRequestBuilder(request: ApiGetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let sso = request.sso + open class func getUserNotificationCountWithRequestBuilder(tenantId: String, options: ApiGetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso let localVariablePath = "/user-notifications/get-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2083,9 +1867,8 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserNotifications. */ - public struct ApiGetUserNotificationsRequest: Sendable { - public var tenantId: String + /** Optional parameters for getUserNotifications. */ + public struct ApiGetUserNotificationsOptions: Sendable { public var urlId: String? public var pageSize: Int? public var afterId: String? @@ -2098,8 +1881,7 @@ open class PublicAPI { public var includeTenantNotifications: Bool? public var sso: String? - public init(tenantId: String, urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(urlId: String? = nil, pageSize: Int? = nil, afterId: String? = nil, includeContext: Bool? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, includeTranslations: Bool? = nil, includeTenantNotifications: Bool? = nil, sso: String? = nil) { self.urlId = urlId self.pageSize = pageSize self.afterId = afterId @@ -2131,8 +1913,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetMyNotificationsResponse */ - open class func getUserNotifications(request: ApiGetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { - return try await getUserNotificationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserNotifications(tenantId: String, options: ApiGetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { + return try await getUserNotificationsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2152,19 +1934,18 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserNotificationsWithRequestBuilder(request: ApiGetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let pageSize = request.pageSize - let afterId = request.afterId - let includeContext = request.includeContext - let afterCreatedAt = request.afterCreatedAt - let unreadOnly = request.unreadOnly - let dmOnly = request.dmOnly - let noDm = request.noDm - let includeTranslations = request.includeTranslations - let includeTenantNotifications = request.includeTenantNotifications - let sso = request.sso + open class func getUserNotificationsWithRequestBuilder(tenantId: String, options: ApiGetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + 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 let localVariablePath = "/user-notifications" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2196,19 +1977,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserPresenceStatuses. */ - public struct ApiGetUserPresenceStatusesRequest: Sendable { - public var tenantId: String - public var urlIdWS: String - public var userIds: String - - public init(tenantId: String, urlIdWS: String, userIds: String) { - self.tenantId = tenantId - self.urlIdWS = urlIdWS - self.userIds = userIds - } - } - /** - parameter tenantId: (query) @@ -2217,8 +1985,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserPresenceStatusesResponse */ - open class func getUserPresenceStatuses(request: ApiGetUserPresenceStatusesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse { - return try await getUserPresenceStatusesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserPresenceStatusesResponse { + return try await getUserPresenceStatusesWithRequestBuilder(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds, apiConfiguration: apiConfiguration).execute().body } /** @@ -2229,10 +1997,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserPresenceStatusesWithRequestBuilder(request: ApiGetUserPresenceStatusesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlIdWS = request.urlIdWS - let userIds = request.userIds + open class func getUserPresenceStatusesWithRequestBuilder(tenantId: String, urlIdWS: String, userIds: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-presence-status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2255,14 +2020,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUserReactsPublic. */ - public struct ApiGetUserReactsPublicRequest: Sendable { - public var tenantId: String + /** Optional parameters for getUserReactsPublic. */ + public struct ApiGetUserReactsPublicOptions: Sendable { public var postIds: [String]? public var sso: String? - public init(tenantId: String, postIds: [String]? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(postIds: [String]? = nil, sso: String? = nil) { self.postIds = postIds self.sso = sso } @@ -2276,8 +2039,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UserReactsResponse */ - open class func getUserReactsPublic(request: ApiGetUserReactsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { - return try await getUserReactsPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUserReactsPublic(tenantId: String, options: ApiGetUserReactsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { + return try await getUserReactsPublicWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2288,10 +2051,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserReactsPublicWithRequestBuilder(request: ApiGetUserReactsPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let postIds = request.postIds - let sso = request.sso + open class func getUserReactsPublicWithRequestBuilder(tenantId: String, options: ApiGetUserReactsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let postIds = options.postIds + let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/user-reacts" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2316,17 +2078,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getUsersInfo. */ - public struct ApiGetUsersInfoRequest: Sendable { - public var tenantId: String - public var ids: String - - public init(tenantId: String, ids: String) { - self.tenantId = tenantId - self.ids = ids - } - } - /** - parameter tenantId: (path) @@ -2334,8 +2085,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersInfoResponse */ - open class func getUsersInfo(request: ApiGetUsersInfoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersInfoResponse { - return try await getUsersInfoWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getUsersInfo(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersInfoResponse { + return try await getUsersInfoWithRequestBuilder(tenantId: tenantId, ids: ids, apiConfiguration: apiConfiguration).execute().body } /** @@ -2346,9 +2097,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUsersInfoWithRequestBuilder(request: ApiGetUsersInfoRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let ids = request.ids + open class func getUsersInfoWithRequestBuilder(tenantId: String, ids: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/pages/{tenantId}/users/info" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2372,17 +2121,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getV1PageLikes. */ - public struct ApiGetV1PageLikesRequest: Sendable { - public var tenantId: String - public var urlId: String - - public init(tenantId: String, urlId: String) { - self.tenantId = tenantId - self.urlId = urlId - } - } - /** - parameter tenantId: (path) @@ -2390,8 +2128,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetV1PageLikes */ - open class func getV1PageLikes(request: ApiGetV1PageLikesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikes { - return try await getV1PageLikesWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getV1PageLikes(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV1PageLikes { + return try await getV1PageLikesWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } /** @@ -2401,9 +2139,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getV1PageLikesWithRequestBuilder(request: ApiGetV1PageLikesRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId + open class func getV1PageLikesWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2427,19 +2163,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getV2PageReactUsers. */ - public struct ApiGetV2PageReactUsersRequest: Sendable { - public var tenantId: String - public var urlId: String - public var id: String - - public init(tenantId: String, urlId: String, id: String) { - self.tenantId = tenantId - self.urlId = urlId - self.id = id - } - } - /** - parameter tenantId: (path) @@ -2448,8 +2171,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetV2PageReactUsersResponse */ - open class func getV2PageReactUsers(request: ApiGetV2PageReactUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse { - return try await getV2PageReactUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReactUsersResponse { + return try await getV2PageReactUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, apiConfiguration: apiConfiguration).execute().body } /** @@ -2460,10 +2183,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getV2PageReactUsersWithRequestBuilder(request: ApiGetV2PageReactUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let id = request.id + open class func getV2PageReactUsersWithRequestBuilder(tenantId: String, urlId: String, id: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}/list" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2488,17 +2208,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for getV2PageReacts. */ - public struct ApiGetV2PageReactsRequest: Sendable { - public var tenantId: String - public var urlId: String - - public init(tenantId: String, urlId: String) { - self.tenantId = tenantId - self.urlId = urlId - } - } - /** - parameter tenantId: (path) @@ -2506,8 +2215,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetV2PageReacts */ - open class func getV2PageReacts(request: ApiGetV2PageReactsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReacts { - return try await getV2PageReactsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func getV2PageReacts(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetV2PageReacts { + return try await getV2PageReactsWithRequestBuilder(tenantId: tenantId, urlId: urlId, apiConfiguration: apiConfiguration).execute().body } /** @@ -2517,9 +2226,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getV2PageReactsWithRequestBuilder(request: ApiGetV2PageReactsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId + open class func getV2PageReactsWithRequestBuilder(tenantId: String, urlId: String, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2543,17 +2250,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for lockComment. */ - public struct ApiLockCommentRequest: Sendable { - public var tenantId: String - public var commentId: String - public var broadcastId: String + /** Optional parameters for lockComment. */ + public struct ApiLockCommentOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.broadcastId = broadcastId + public init(sso: String? = nil) { self.sso = sso } } @@ -2567,8 +2268,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func lockComment(request: ApiLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await lockCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await lockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2580,11 +2281,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func lockCommentWithRequestBuilder(request: ApiLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let broadcastId = request.broadcastId - let sso = request.sso + open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/lock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2644,17 +2342,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for pinComment. */ - public struct ApiPinCommentRequest: Sendable { - public var tenantId: String - public var commentId: String - public var broadcastId: String + /** Optional parameters for pinComment. */ + public struct ApiPinCommentOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.broadcastId = broadcastId + public init(sso: String? = nil) { self.sso = sso } } @@ -2668,8 +2360,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeCommentPinStatusResponse */ - open class func pinComment(request: ApiPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { - return try await pinCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + return try await pinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2681,11 +2373,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func pinCommentWithRequestBuilder(request: ApiPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let broadcastId = request.broadcastId - let sso = request.sso + open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/pin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2713,19 +2402,13 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for reactFeedPostPublic. */ - public struct ApiReactFeedPostPublicRequest: Sendable { - public var tenantId: String - public var postId: String - public var reactBodyParams: ReactBodyParams + /** Optional parameters for reactFeedPostPublic. */ + public struct ApiReactFeedPostPublicOptions: Sendable { public var isUndo: Bool? public var broadcastId: String? public var sso: String? - public init(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.postId = postId - self.reactBodyParams = reactBodyParams + public init(isUndo: Bool? = nil, broadcastId: String? = nil, sso: String? = nil) { self.isUndo = isUndo self.broadcastId = broadcastId self.sso = sso @@ -2743,8 +2426,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ReactFeedPostResponse */ - open class func reactFeedPostPublic(request: ApiReactFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { - return try await reactFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { + return try await reactFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2758,13 +2441,10 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func reactFeedPostPublicWithRequestBuilder(request: ApiReactFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let postId = request.postId - let reactBodyParams = request.reactBodyParams - let isUndo = request.isUndo - let broadcastId = request.broadcastId - let sso = request.sso + open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let isUndo = options.isUndo + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/react/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2793,13 +2473,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for resetUserNotificationCount. */ - public struct ApiResetUserNotificationCountRequest: Sendable { - public var tenantId: String + /** Optional parameters for resetUserNotificationCount. */ + public struct ApiResetUserNotificationCountOptions: Sendable { public var sso: String? - public init(tenantId: String, sso: String? = nil) { - self.tenantId = tenantId + public init(sso: String? = nil) { self.sso = sso } } @@ -2811,8 +2489,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ResetUserNotificationsResponse */ - open class func resetUserNotificationCount(request: ApiResetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { - return try await resetUserNotificationCountWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func resetUserNotificationCount(tenantId: String, options: ApiResetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + return try await resetUserNotificationCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2822,9 +2500,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func resetUserNotificationCountWithRequestBuilder(request: ApiResetUserNotificationCountRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let sso = request.sso + open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, options: ApiResetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso let localVariablePath = "/user-notifications/reset-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2846,9 +2523,8 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for resetUserNotifications. */ - public struct ApiResetUserNotificationsRequest: Sendable { - public var tenantId: String + /** Optional parameters for resetUserNotifications. */ + public struct ApiResetUserNotificationsOptions: Sendable { public var afterId: String? public var afterCreatedAt: Int64? public var unreadOnly: Bool? @@ -2856,8 +2532,7 @@ open class PublicAPI { public var noDm: Bool? public var sso: String? - public init(tenantId: String, afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(afterId: String? = nil, afterCreatedAt: Int64? = nil, unreadOnly: Bool? = nil, dmOnly: Bool? = nil, noDm: Bool? = nil, sso: String? = nil) { self.afterId = afterId self.afterCreatedAt = afterCreatedAt self.unreadOnly = unreadOnly @@ -2879,8 +2554,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ResetUserNotificationsResponse */ - open class func resetUserNotifications(request: ApiResetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { - return try await resetUserNotificationsWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func resetUserNotifications(tenantId: String, options: ApiResetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + return try await resetUserNotificationsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2895,14 +2570,13 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func resetUserNotificationsWithRequestBuilder(request: ApiResetUserNotificationsRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let afterId = request.afterId - let afterCreatedAt = request.afterCreatedAt - let unreadOnly = request.unreadOnly - let dmOnly = request.dmOnly - let noDm = request.noDm - let sso = request.sso + open class func resetUserNotificationsWithRequestBuilder(tenantId: String, options: ApiResetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let afterId = options.afterId + let afterCreatedAt = options.afterCreatedAt + let unreadOnly = options.unreadOnly + let dmOnly = options.dmOnly + let noDm = options.noDm + let sso = options.sso let localVariablePath = "/user-notifications/reset" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2937,18 +2611,14 @@ open class PublicAPI { case site = "site" } - /** Request parameters for searchUsers. */ - public struct ApiSearchUsersRequest: Sendable { - public var tenantId: String - public var urlId: String + /** Optional parameters for searchUsers. */ + public struct ApiSearchUsersOptions: Sendable { public var usernameStartsWith: String? public var mentionGroupIds: [String]? public var sso: String? public var searchSection: SearchSection_searchUsers? - public init(tenantId: String, urlId: String, usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil) { - self.tenantId = tenantId - self.urlId = urlId + public init(usernameStartsWith: String? = nil, mentionGroupIds: [String]? = nil, sso: String? = nil, searchSection: SearchSection_searchUsers? = nil) { self.usernameStartsWith = usernameStartsWith self.mentionGroupIds = mentionGroupIds self.sso = sso @@ -2967,8 +2637,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SearchUsersResult */ - open class func searchUsers(request: ApiSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { - return try await searchUsersWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func searchUsers(tenantId: String, urlId: String, options: ApiSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { + return try await searchUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -2982,13 +2652,11 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func searchUsersWithRequestBuilder(request: ApiSearchUsersRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let usernameStartsWith = request.usernameStartsWith - let mentionGroupIds = request.mentionGroupIds - let sso = request.sso - let searchSection = request.searchSection + open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, options: ApiSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let usernameStartsWith = options.usernameStartsWith + let mentionGroupIds = options.mentionGroupIds + let sso = options.sso + let searchSection = options.searchSection var localVariablePath = "/user-search/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3016,20 +2684,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for setCommentText. */ - public struct ApiSetCommentTextRequest: Sendable { - public var tenantId: String - public var commentId: String - public var broadcastId: String - public var commentTextUpdateRequest: CommentTextUpdateRequest + /** Optional parameters for setCommentText. */ + public struct ApiSetCommentTextOptions: Sendable { public var editKey: String? public var sso: String? - public init(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, editKey: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.broadcastId = broadcastId - self.commentTextUpdateRequest = commentTextUpdateRequest + public init(editKey: String? = nil, sso: String? = nil) { self.editKey = editKey self.sso = sso } @@ -3046,8 +2706,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPISetCommentTextResponse */ - open class func setCommentText(request: ApiSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { - return try await setCommentTextWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { + return try await setCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3061,13 +2721,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func setCommentTextWithRequestBuilder(request: ApiSetCommentTextRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let broadcastId = request.broadcastId - let commentTextUpdateRequest = request.commentTextUpdateRequest - let editKey = request.editKey - let sso = request.sso + open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let editKey = options.editKey + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/update-text" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3096,17 +2752,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for unBlockCommentPublic. */ - public struct ApiUnBlockCommentPublicRequest: Sendable { - public var tenantId: String - public var commentId: String - public var publicBlockFromCommentParams: PublicBlockFromCommentParams + /** Optional parameters for unBlockCommentPublic. */ + public struct ApiUnBlockCommentPublicOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.publicBlockFromCommentParams = publicBlockFromCommentParams + public init(sso: String? = nil) { self.sso = sso } } @@ -3120,8 +2770,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UnblockSuccess */ - open class func unBlockCommentPublic(request: ApiUnBlockCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { - return try await unBlockCommentPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + return try await unBlockCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3133,11 +2783,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unBlockCommentPublicWithRequestBuilder(request: ApiUnBlockCommentPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let publicBlockFromCommentParams = request.publicBlockFromCommentParams - let sso = request.sso + open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3162,17 +2809,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for unLockComment. */ - public struct ApiUnLockCommentRequest: Sendable { - public var tenantId: String - public var commentId: String - public var broadcastId: String + /** Optional parameters for unLockComment. */ + public struct ApiUnLockCommentOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.broadcastId = broadcastId + public init(sso: String? = nil) { self.sso = sso } } @@ -3186,8 +2827,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func unLockComment(request: ApiUnLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await unLockCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await unLockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3199,11 +2840,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unLockCommentWithRequestBuilder(request: ApiUnLockCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let broadcastId = request.broadcastId - let sso = request.sso + open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiUnLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/unlock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3231,17 +2869,11 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for unPinComment. */ - public struct ApiUnPinCommentRequest: Sendable { - public var tenantId: String - public var commentId: String - public var broadcastId: String + /** Optional parameters for unPinComment. */ + public struct ApiUnPinCommentOptions: Sendable { public var sso: String? - public init(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.broadcastId = broadcastId + public init(sso: String? = nil) { self.sso = sso } } @@ -3255,8 +2887,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeCommentPinStatusResponse */ - open class func unPinComment(request: ApiUnPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { - return try await unPinCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + return try await unPinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3268,11 +2900,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unPinCommentWithRequestBuilder(request: ApiUnPinCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let broadcastId = request.broadcastId - let sso = request.sso + open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiUnPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/unpin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3300,18 +2929,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for updateFeedPostPublic. */ - public struct ApiUpdateFeedPostPublicRequest: Sendable { - public var tenantId: String - public var postId: String - public var updateFeedPostParams: UpdateFeedPostParams + /** Optional parameters for updateFeedPostPublic. */ + public struct ApiUpdateFeedPostPublicOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.postId = postId - self.updateFeedPostParams = updateFeedPostParams + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -3327,8 +2950,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostResponse */ - open class func updateFeedPostPublic(request: ApiUpdateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { - return try await updateFeedPostPublicWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + return try await updateFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3341,12 +2964,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateFeedPostPublicWithRequestBuilder(request: ApiUpdateFeedPostPublicRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let postId = request.postId - let updateFeedPostParams = request.updateFeedPostParams - let broadcastId = request.broadcastId - let sso = request.sso + open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let broadcastId = options.broadcastId + let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/{postId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3382,19 +3002,11 @@ open class PublicAPI { case out = "out" } - /** Request parameters for updateUserNotificationCommentSubscriptionStatus. */ - public struct ApiUpdateUserNotificationCommentSubscriptionStatusRequest: Sendable { - public var tenantId: String - public var notificationId: String - public var optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus - public var commentId: String + /** Optional parameters for updateUserNotificationCommentSubscriptionStatus. */ + public struct ApiUpdateUserNotificationCommentSubscriptionStatusOptions: Sendable { public var sso: String? - public init(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil) { - self.tenantId = tenantId - self.notificationId = notificationId - self.optedInOrOut = optedInOrOut - self.commentId = commentId + public init(sso: String? = nil) { self.sso = sso } } @@ -3409,8 +3021,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationCommentSubscriptionStatusResponse */ - open class func updateUserNotificationCommentSubscriptionStatus(request: ApiUpdateUserNotificationCommentSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationCommentSubscriptionStatusResponse { - return try await updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationCommentSubscriptionStatusResponse { + return try await updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3424,12 +3036,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(request: ApiUpdateUserNotificationCommentSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let notificationId = request.notificationId - let optedInOrOut = request.optedInOrOut - let commentId = request.commentId - let sso = request.sso + open class func updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/user-notifications/{notificationId}/mark-opted/{optedInOrOut}" let notificationIdPreEscape = "\(APIHelper.mapValueToPathItem(notificationId))" let notificationIdPostEscape = notificationIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3466,21 +3074,11 @@ open class PublicAPI { case unsubscribe = "unsubscribe" } - /** Request parameters for updateUserNotificationPageSubscriptionStatus. */ - public struct ApiUpdateUserNotificationPageSubscriptionStatusRequest: Sendable { - public var tenantId: String - public var urlId: String - public var url: String - public var pageTitle: String - public var subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus + /** Optional parameters for updateUserNotificationPageSubscriptionStatus. */ + public struct ApiUpdateUserNotificationPageSubscriptionStatusOptions: Sendable { public var sso: String? - public init(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil) { - self.tenantId = tenantId - self.urlId = urlId - self.url = url - self.pageTitle = pageTitle - self.subscribedOrUnsubscribed = subscribedOrUnsubscribed + public init(sso: String? = nil) { self.sso = sso } } @@ -3496,8 +3094,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationPageSubscriptionStatusResponse */ - open class func updateUserNotificationPageSubscriptionStatus(request: ApiUpdateUserNotificationPageSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationPageSubscriptionStatusResponse { - return try await updateUserNotificationPageSubscriptionStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationPageSubscriptionStatusResponse { + return try await updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3512,13 +3110,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationPageSubscriptionStatusWithRequestBuilder(request: ApiUpdateUserNotificationPageSubscriptionStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let urlId = request.urlId - let url = request.url - let pageTitle = request.pageTitle - let subscribedOrUnsubscribed = request.subscribedOrUnsubscribed - let sso = request.sso + open class func updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/user-notifications/set-subscription-state/{subscribedOrUnsubscribed}" let subscribedOrUnsubscribedPreEscape = "\(subscribedOrUnsubscribed.rawValue)" let subscribedOrUnsubscribedPostEscape = subscribedOrUnsubscribedPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3554,17 +3147,11 @@ open class PublicAPI { case unread = "unread" } - /** Request parameters for updateUserNotificationStatus. */ - public struct ApiUpdateUserNotificationStatusRequest: Sendable { - public var tenantId: String - public var notificationId: String - public var newStatus: NewStatus_updateUserNotificationStatus + /** Optional parameters for updateUserNotificationStatus. */ + public struct ApiUpdateUserNotificationStatusOptions: Sendable { public var sso: String? - public init(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil) { - self.tenantId = tenantId - self.notificationId = notificationId - self.newStatus = newStatus + public init(sso: String? = nil) { self.sso = sso } } @@ -3578,8 +3165,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationStatusResponse */ - open class func updateUserNotificationStatus(request: ApiUpdateUserNotificationStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationStatusResponse { - return try await updateUserNotificationStatusWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, options: ApiUpdateUserNotificationStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationStatusResponse { + return try await updateUserNotificationStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3591,11 +3178,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationStatusWithRequestBuilder(request: ApiUpdateUserNotificationStatusRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let notificationId = request.notificationId - let newStatus = request.newStatus - let sso = request.sso + open class func updateUserNotificationStatusWithRequestBuilder(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, options: ApiUpdateUserNotificationStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sso = options.sso var localVariablePath = "/user-notifications/{notificationId}/mark/{newStatus}" let notificationIdPreEscape = "\(APIHelper.mapValueToPathItem(notificationId))" let notificationIdPostEscape = notificationIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3623,16 +3207,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for uploadImage. */ - public struct ApiUploadImageRequest: Sendable { - public var tenantId: String - public var file: URL + /** Optional parameters for uploadImage. */ + public struct ApiUploadImageOptions: Sendable { public var sizePreset: SizePreset? public var urlId: String? - public init(tenantId: String, file: URL, sizePreset: SizePreset? = nil, urlId: String? = nil) { - self.tenantId = tenantId - self.file = file + public init(sizePreset: SizePreset? = nil, urlId: String? = nil) { self.sizePreset = sizePreset self.urlId = urlId } @@ -3647,8 +3227,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UploadImageResponse */ - open class func uploadImage(request: ApiUploadImageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UploadImageResponse { - return try await uploadImageWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func uploadImage(tenantId: String, file: URL, options: ApiUploadImageOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UploadImageResponse { + return try await uploadImageWithRequestBuilder(tenantId: tenantId, file: file, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3661,11 +3241,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func uploadImageWithRequestBuilder(request: ApiUploadImageRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let file = request.file - let sizePreset = request.sizePreset - let urlId = request.urlId + open class func uploadImageWithRequestBuilder(tenantId: String, file: URL, options: ApiUploadImageOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sizePreset = options.sizePreset + let urlId = options.urlId var localVariablePath = "/upload-image/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3695,22 +3273,12 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Request parameters for voteComment. */ - public struct ApiVoteCommentRequest: Sendable { - public var tenantId: String - public var commentId: String - public var urlId: String - public var broadcastId: String - public var voteBodyParams: VoteBodyParams + /** Optional parameters for voteComment. */ + public struct ApiVoteCommentOptions: Sendable { public var sessionId: String? public var sso: String? - public init(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, sessionId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.commentId = commentId - self.urlId = urlId - self.broadcastId = broadcastId - self.voteBodyParams = voteBodyParams + public init(sessionId: String? = nil, sso: String? = nil) { self.sessionId = sessionId self.sso = sso } @@ -3728,8 +3296,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func voteComment(request: ApiVoteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await voteCommentWithRequestBuilder(request: request, apiConfiguration: apiConfiguration).execute().body + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await voteCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** @@ -3744,14 +3312,9 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func voteCommentWithRequestBuilder(request: ApiVoteCommentRequest, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = request.tenantId - let commentId = request.commentId - let urlId = request.urlId - let broadcastId = request.broadcastId - let voteBodyParams = request.voteBodyParams - let sessionId = request.sessionId - let sso = request.sso + open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let sessionId = options.sessionId + let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/vote" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index bffd556..b581233 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -122,7 +122,7 @@ Method | HTTP request | Description # **addDomainConfig** ```swift - open class func addDomainConfig(request: ApiAddDomainConfigRequest, completion: @escaping (_ data: AddDomainConfigResponse?, _ error: Error?) -> Void) + open class func addDomainConfig(tenantId: String, addDomainConfigParams: AddDomainConfigParams, completion: @escaping (_ data: AddDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -135,7 +135,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let addDomainConfigParams = AddDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // AddDomainConfigParams | -DefaultAPI.addDomainConfig(request: DefaultAPI.ApiAddDomainConfigRequest(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams)) { (response, error) in +DefaultAPI.addDomainConfig(tenantId: tenantId, addDomainConfigParams: addDomainConfigParams) { (response, error) in guard error == nil else { print(error) return @@ -171,7 +171,7 @@ Name | Type | Description | Notes # **addHashTag** ```swift - open class func addHashTag(request: ApiAddHashTagRequest, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) + open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, options: ApiAddHashTagOptions = .init(), completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -184,7 +184,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let createHashTagBody = CreateHashTagBody(tenantId: "tenantId_example", tag: "tag_example", url: "url_example") // CreateHashTagBody | (optional) -DefaultAPI.addHashTag(request: DefaultAPI.ApiAddHashTagRequest(tenantId: tenantId, createHashTagBody: createHashTagBody)) { (response, error) in +DefaultAPI.addHashTag(createHashTagBody: createHashTagBody, options: DefaultAPI.ApiAddHashTagOptions(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -220,7 +220,7 @@ Name | Type | Description | Notes # **addHashTagsBulk** ```swift - open class func addHashTagsBulk(request: ApiAddHashTagsBulkRequest, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) + open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, options: ApiAddHashTagsBulkOptions = .init(), completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -233,7 +233,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let bulkCreateHashTagsBody = BulkCreateHashTagsBody(tenantId: "tenantId_example", tags: [BulkCreateHashTagsBody_tags_inner(url: "url_example", tag: "tag_example")]) // BulkCreateHashTagsBody | (optional) -DefaultAPI.addHashTagsBulk(request: DefaultAPI.ApiAddHashTagsBulkRequest(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody)) { (response, error) in +DefaultAPI.addHashTagsBulk(bulkCreateHashTagsBody: bulkCreateHashTagsBody, options: DefaultAPI.ApiAddHashTagsBulkOptions(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -269,7 +269,7 @@ Name | Type | Description | Notes # **addPage** ```swift - open class func addPage(request: ApiAddPageRequest, completion: @escaping (_ data: AddPageAPIResponse?, _ error: Error?) -> Void) + open class func addPage(tenantId: String, createAPIPageData: CreateAPIPageData, completion: @escaping (_ data: AddPageAPIResponse?, _ error: Error?) -> Void) ``` @@ -282,7 +282,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createAPIPageData = CreateAPIPageData(accessibleByGroupIds: ["accessibleByGroupIds_example"], rootCommentCount: 123, commentCount: 123, title: "title_example", url: "url_example", urlId: "urlId_example") // CreateAPIPageData | -DefaultAPI.addPage(request: DefaultAPI.ApiAddPageRequest(tenantId: tenantId, createAPIPageData: createAPIPageData)) { (response, error) in +DefaultAPI.addPage(tenantId: tenantId, createAPIPageData: createAPIPageData) { (response, error) in guard error == nil else { print(error) return @@ -318,7 +318,7 @@ Name | Type | Description | Notes # **addSSOUser** ```swift - open class func addSSOUser(request: ApiAddSSOUserRequest, completion: @escaping (_ data: AddSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func addSSOUser(tenantId: String, createAPISSOUserData: CreateAPISSOUserData, completion: @escaping (_ data: AddSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -331,7 +331,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createAPISSOUserData = CreateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // CreateAPISSOUserData | -DefaultAPI.addSSOUser(request: DefaultAPI.ApiAddSSOUserRequest(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData)) { (response, error) in +DefaultAPI.addSSOUser(tenantId: tenantId, createAPISSOUserData: createAPISSOUserData) { (response, error) in guard error == nil else { print(error) return @@ -367,7 +367,7 @@ Name | Type | Description | Notes # **aggregate** ```swift - open class func aggregate(request: ApiAggregateRequest, completion: @escaping (_ data: AggregateResponse?, _ error: Error?) -> Void) + open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, options: ApiAggregateOptions = .init(), completion: @escaping (_ data: AggregateResponse?, _ error: Error?) -> Void) ``` @@ -384,7 +384,7 @@ let aggregationRequest = AggregationRequest(query: [QueryPredicate(key: "key_exa let parentTenantId = "parentTenantId_example" // String | (optional) let includeStats = true // Bool | (optional) -DefaultAPI.aggregate(request: DefaultAPI.ApiAggregateRequest(tenantId: tenantId, aggregationRequest: aggregationRequest, parentTenantId: parentTenantId, includeStats: includeStats)) { (response, error) in +DefaultAPI.aggregate(tenantId: tenantId, aggregationRequest: aggregationRequest, options: DefaultAPI.ApiAggregateOptions(parentTenantId: parentTenantId, includeStats: includeStats)) { (response, error) in guard error == nil else { print(error) return @@ -422,7 +422,7 @@ Name | Type | Description | Notes # **aggregateQuestionResults** ```swift - open class func aggregateQuestionResults(request: ApiAggregateQuestionResultsRequest, completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func aggregateQuestionResults(tenantId: String, options: ApiAggregateQuestionResultsOptions = .init(), completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -440,7 +440,7 @@ let timeBucket = AggregateTimeBucket() // AggregateTimeBucket | (optional) let startDate = Date() // Date | (optional) let forceRecalculate = true // Bool | (optional) -DefaultAPI.aggregateQuestionResults(request: DefaultAPI.ApiAggregateQuestionResultsRequest(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate)) { (response, error) in +DefaultAPI.aggregateQuestionResults(tenantId: tenantId, options: DefaultAPI.ApiAggregateQuestionResultsOptions(questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate)) { (response, error) in guard error == nil else { print(error) return @@ -481,7 +481,7 @@ Name | Type | Description | Notes # **blockUserFromComment** ```swift - open class func blockUserFromComment(request: ApiBlockUserFromCommentRequest, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions = .init(), completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -497,7 +497,7 @@ let blockFromCommentParams = BlockFromCommentParams(commentIdsToCheck: ["comment let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.blockUserFromComment(request: DefaultAPI.ApiBlockUserFromCommentRequest(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.blockUserFromComment(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, options: DefaultAPI.ApiBlockUserFromCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -536,7 +536,7 @@ Name | Type | Description | Notes # **bulkAggregateQuestionResults** ```swift - open class func bulkAggregateQuestionResults(request: ApiBulkAggregateQuestionResultsRequest, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions = .init(), completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -550,7 +550,7 @@ let tenantId = "tenantId_example" // String | let bulkAggregateQuestionResultsRequest = BulkAggregateQuestionResultsRequest(aggregations: [BulkAggregateQuestionItem(aggId: "aggId_example", questionId: "questionId_example", questionIds: ["questionIds_example"], urlId: "urlId_example", timeBucket: AggregateTimeBucket(), startDate: Date())]) // BulkAggregateQuestionResultsRequest | let forceRecalculate = true // Bool | (optional) -DefaultAPI.bulkAggregateQuestionResults(request: DefaultAPI.ApiBulkAggregateQuestionResultsRequest(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate)) { (response, error) in +DefaultAPI.bulkAggregateQuestionResults(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, options: DefaultAPI.ApiBulkAggregateQuestionResultsOptions(forceRecalculate: forceRecalculate)) { (response, error) in guard error == nil else { print(error) return @@ -587,7 +587,7 @@ Name | Type | Description | Notes # **changeTicketState** ```swift - open class func changeTicketState(request: ApiChangeTicketStateRequest, completion: @escaping (_ data: ChangeTicketStateResponse?, _ error: Error?) -> Void) + open class func changeTicketState(tenantId: String, userId: String, id: String, changeTicketStateBody: ChangeTicketStateBody, completion: @escaping (_ data: ChangeTicketStateResponse?, _ error: Error?) -> Void) ``` @@ -602,7 +602,7 @@ let userId = "userId_example" // String | let id = "id_example" // String | let changeTicketStateBody = ChangeTicketStateBody(state: 123) // ChangeTicketStateBody | -DefaultAPI.changeTicketState(request: DefaultAPI.ApiChangeTicketStateRequest(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody)) { (response, error) in +DefaultAPI.changeTicketState(tenantId: tenantId, userId: userId, id: id, changeTicketStateBody: changeTicketStateBody) { (response, error) in guard error == nil else { print(error) return @@ -640,7 +640,7 @@ Name | Type | Description | Notes # **combineCommentsWithQuestionResults** ```swift - open class func combineCommentsWithQuestionResults(request: ApiCombineCommentsWithQuestionResultsRequest, completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) + open class func combineCommentsWithQuestionResults(tenantId: String, options: ApiCombineCommentsWithQuestionResultsOptions = .init(), completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) ``` @@ -660,7 +660,7 @@ let minValue = 987 // Double | (optional) let maxValue = 987 // Double | (optional) let limit = 987 // Double | (optional) -DefaultAPI.combineCommentsWithQuestionResults(request: DefaultAPI.ApiCombineCommentsWithQuestionResultsRequest(tenantId: tenantId, questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit)) { (response, error) in +DefaultAPI.combineCommentsWithQuestionResults(tenantId: tenantId, options: DefaultAPI.ApiCombineCommentsWithQuestionResultsOptions(questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit)) { (response, error) in guard error == nil else { print(error) return @@ -703,7 +703,7 @@ Name | Type | Description | Notes # **createEmailTemplate** ```swift - open class func createEmailTemplate(request: ApiCreateEmailTemplateRequest, completion: @escaping (_ data: CreateEmailTemplateResponse?, _ error: Error?) -> Void) + open class func createEmailTemplate(tenantId: String, createEmailTemplateBody: CreateEmailTemplateBody, completion: @escaping (_ data: CreateEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -716,7 +716,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createEmailTemplateBody = CreateEmailTemplateBody(emailTemplateId: "emailTemplateId_example", displayName: "displayName_example", ejs: "ejs_example", domain: "domain_example", translationOverridesByLocale: "TODO", testData: "TODO") // CreateEmailTemplateBody | -DefaultAPI.createEmailTemplate(request: DefaultAPI.ApiCreateEmailTemplateRequest(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody)) { (response, error) in +DefaultAPI.createEmailTemplate(tenantId: tenantId, createEmailTemplateBody: createEmailTemplateBody) { (response, error) in guard error == nil else { print(error) return @@ -752,7 +752,7 @@ Name | Type | Description | Notes # **createFeedPost** ```swift - open class func createFeedPost(request: ApiCreateFeedPostRequest, completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions = .init(), completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -769,7 +769,7 @@ let isLive = true // Bool | (optional) let doSpamCheck = true // Bool | (optional) let skipDupCheck = true // Bool | (optional) -DefaultAPI.createFeedPost(request: DefaultAPI.ApiCreateFeedPostRequest(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck)) { (response, error) in +DefaultAPI.createFeedPost(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: DefaultAPI.ApiCreateFeedPostOptions(broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck)) { (response, error) in guard error == nil else { print(error) return @@ -809,7 +809,7 @@ Name | Type | Description | Notes # **createModerator** ```swift - open class func createModerator(request: ApiCreateModeratorRequest, completion: @escaping (_ data: CreateModeratorResponse?, _ error: Error?) -> Void) + open class func createModerator(tenantId: String, createModeratorBody: CreateModeratorBody, completion: @escaping (_ data: CreateModeratorResponse?, _ error: Error?) -> Void) ``` @@ -822,7 +822,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createModeratorBody = CreateModeratorBody(name: "name_example", email: "email_example", userId: "userId_example", moderationGroupIds: ["moderationGroupIds_example"]) // CreateModeratorBody | -DefaultAPI.createModerator(request: DefaultAPI.ApiCreateModeratorRequest(tenantId: tenantId, createModeratorBody: createModeratorBody)) { (response, error) in +DefaultAPI.createModerator(tenantId: tenantId, createModeratorBody: createModeratorBody) { (response, error) in guard error == nil else { print(error) return @@ -858,7 +858,7 @@ Name | Type | Description | Notes # **createQuestionConfig** ```swift - open class func createQuestionConfig(request: ApiCreateQuestionConfigRequest, completion: @escaping (_ data: CreateQuestionConfigResponse?, _ error: Error?) -> Void) + open class func createQuestionConfig(tenantId: String, createQuestionConfigBody: CreateQuestionConfigBody, completion: @escaping (_ data: CreateQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -871,7 +871,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createQuestionConfigBody = CreateQuestionConfigBody(name: "name_example", question: "question_example", helpText: "helpText_example", type: "type_example", numStars: 123, min: 123, max: 123, defaultValue: 123, labelNegative: "labelNegative_example", labelPositive: "labelPositive_example", customOptions: [QuestionConfig_customOptions_inner(imageSrc: "imageSrc_example", name: "name_example")], subQuestionIds: ["subQuestionIds_example"], alwaysShowSubQuestions: false, reportingOrder: 123) // CreateQuestionConfigBody | -DefaultAPI.createQuestionConfig(request: DefaultAPI.ApiCreateQuestionConfigRequest(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody)) { (response, error) in +DefaultAPI.createQuestionConfig(tenantId: tenantId, createQuestionConfigBody: createQuestionConfigBody) { (response, error) in guard error == nil else { print(error) return @@ -907,7 +907,7 @@ Name | Type | Description | Notes # **createQuestionResult** ```swift - open class func createQuestionResult(request: ApiCreateQuestionResultRequest, completion: @escaping (_ data: CreateQuestionResultResponse?, _ error: Error?) -> Void) + open class func createQuestionResult(tenantId: String, createQuestionResultBody: CreateQuestionResultBody, completion: @escaping (_ data: CreateQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -920,7 +920,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createQuestionResultBody = CreateQuestionResultBody(urlId: "urlId_example", value: 123, questionId: "questionId_example", anonUserId: "anonUserId_example", userId: "userId_example", commentId: "commentId_example", meta: [MetaItem(name: "name_example", values: ["values_example"])]) // CreateQuestionResultBody | -DefaultAPI.createQuestionResult(request: DefaultAPI.ApiCreateQuestionResultRequest(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody)) { (response, error) in +DefaultAPI.createQuestionResult(tenantId: tenantId, createQuestionResultBody: createQuestionResultBody) { (response, error) in guard error == nil else { print(error) return @@ -956,7 +956,7 @@ Name | Type | Description | Notes # **createSubscription** ```swift - open class func createSubscription(request: ApiCreateSubscriptionRequest, completion: @escaping (_ data: CreateSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func createSubscription(tenantId: String, createAPIUserSubscriptionData: CreateAPIUserSubscriptionData, completion: @escaping (_ data: CreateSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -969,7 +969,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createAPIUserSubscriptionData = CreateAPIUserSubscriptionData(notificationFrequency: 123, pageTitle: "pageTitle_example", url: "url_example", urlId: "urlId_example", anonUserId: "anonUserId_example", userId: "userId_example") // CreateAPIUserSubscriptionData | -DefaultAPI.createSubscription(request: DefaultAPI.ApiCreateSubscriptionRequest(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData)) { (response, error) in +DefaultAPI.createSubscription(tenantId: tenantId, createAPIUserSubscriptionData: createAPIUserSubscriptionData) { (response, error) in guard error == nil else { print(error) return @@ -1005,7 +1005,7 @@ Name | Type | Description | Notes # **createTenant** ```swift - open class func createTenant(request: ApiCreateTenantRequest, completion: @escaping (_ data: CreateTenantResponse?, _ error: Error?) -> Void) + open class func createTenant(tenantId: String, createTenantBody: CreateTenantBody, completion: @escaping (_ data: CreateTenantResponse?, _ error: Error?) -> Void) ``` @@ -1018,7 +1018,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createTenantBody = CreateTenantBody(name: "name_example", domainConfiguration: [APIDomainConfiguration(id: "id_example", domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", emailHeaders: "TODO", wpSyncToken: "wpSyncToken_example", wpSynced: false, wpURL: "wpURL_example", createdAt: Date(), autoAddedDate: Date(), siteType: ImportedSiteType(), logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", disableUnsubscribeLinks: false)], email: "email_example", signUpDate: 123, packageId: "packageId_example", paymentFrequency: 123, billingInfoValid: false, billingHandledExternally: false, createdBy: "createdBy_example", isSetup: false, billingInfo: BillingInfo(name: "name_example", address: "address_example", city: "city_example", state: "state_example", zip: "zip_example", country: "country_example", currency: "currency_example", email: "email_example"), stripeCustomerId: "stripeCustomerId_example", stripeSubscriptionId: "stripeSubscriptionId_example", stripePlanId: "stripePlanId_example", enableProfanityFilter: false, enableSpamFilter: false, removeUnverifiedComments: false, unverifiedCommentsTTLms: 123, commentsRequireApproval: false, autoApproveCommentOnVerification: false, sendProfaneToSpam: false, deAnonIpAddr: 123, meta: "TODO") // CreateTenantBody | -DefaultAPI.createTenant(request: DefaultAPI.ApiCreateTenantRequest(tenantId: tenantId, createTenantBody: createTenantBody)) { (response, error) in +DefaultAPI.createTenant(tenantId: tenantId, createTenantBody: createTenantBody) { (response, error) in guard error == nil else { print(error) return @@ -1054,7 +1054,7 @@ Name | Type | Description | Notes # **createTenantPackage** ```swift - open class func createTenantPackage(request: ApiCreateTenantPackageRequest, completion: @escaping (_ data: CreateTenantPackageResponse?, _ error: Error?) -> Void) + open class func createTenantPackage(tenantId: String, createTenantPackageBody: CreateTenantPackageBody, completion: @escaping (_ data: CreateTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -1067,7 +1067,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createTenantPackageBody = CreateTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, monthlyStripePlanId: "monthlyStripePlanId_example", yearlyStripePlanId: "yearlyStripePlanId_example", maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlySmallWidgetsCredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxWhiteLabeledTenants: 123, maxMonthlyEventLogRequests: 123, maxCustomCollectionSize: 123, hasWhiteLabeling: false, hasDebranding: false, hasLLMSpamDetection: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasAuditing: false, hasFlexPricing: false, enableSAML: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexSmallWidgetsCreditCostCents: 123, flexSmallWidgetsCreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexLLMCostCents: 123, flexLLMUnit: 123, flexMinimumCostCents: 123, flexManagedTenantCostCents: 123, flexSSOAdminCostCents: 123, flexSSOAdminUnit: 123, flexSSOModeratorCostCents: 123, flexSSOModeratorUnit: 123) // CreateTenantPackageBody | -DefaultAPI.createTenantPackage(request: DefaultAPI.ApiCreateTenantPackageRequest(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody)) { (response, error) in +DefaultAPI.createTenantPackage(tenantId: tenantId, createTenantPackageBody: createTenantPackageBody) { (response, error) in guard error == nil else { print(error) return @@ -1103,7 +1103,7 @@ Name | Type | Description | Notes # **createTenantUser** ```swift - open class func createTenantUser(request: ApiCreateTenantUserRequest, completion: @escaping (_ data: CreateTenantUserResponse?, _ error: Error?) -> Void) + open class func createTenantUser(tenantId: String, createTenantUserBody: CreateTenantUserBody, completion: @escaping (_ data: CreateTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -1116,7 +1116,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createTenantUserBody = CreateTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example") // CreateTenantUserBody | -DefaultAPI.createTenantUser(request: DefaultAPI.ApiCreateTenantUserRequest(tenantId: tenantId, createTenantUserBody: createTenantUserBody)) { (response, error) in +DefaultAPI.createTenantUser(tenantId: tenantId, createTenantUserBody: createTenantUserBody) { (response, error) in guard error == nil else { print(error) return @@ -1152,7 +1152,7 @@ Name | Type | Description | Notes # **createTicket** ```swift - open class func createTicket(request: ApiCreateTicketRequest, completion: @escaping (_ data: CreateTicketResponse?, _ error: Error?) -> Void) + open class func createTicket(tenantId: String, userId: String, createTicketBody: CreateTicketBody, completion: @escaping (_ data: CreateTicketResponse?, _ error: Error?) -> Void) ``` @@ -1166,7 +1166,7 @@ let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | let createTicketBody = CreateTicketBody(subject: "subject_example") // CreateTicketBody | -DefaultAPI.createTicket(request: DefaultAPI.ApiCreateTicketRequest(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody)) { (response, error) in +DefaultAPI.createTicket(tenantId: tenantId, userId: userId, createTicketBody: createTicketBody) { (response, error) in guard error == nil else { print(error) return @@ -1203,7 +1203,7 @@ Name | Type | Description | Notes # **createUserBadge** ```swift - open class func createUserBadge(request: ApiCreateUserBadgeRequest, completion: @escaping (_ data: APICreateUserBadgeResponse?, _ error: Error?) -> Void) + open class func createUserBadge(tenantId: String, createUserBadgeParams: CreateUserBadgeParams, completion: @escaping (_ data: APICreateUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -1216,7 +1216,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let createUserBadgeParams = CreateUserBadgeParams(userId: "userId_example", badgeId: "badgeId_example", displayedOnComments: false) // CreateUserBadgeParams | -DefaultAPI.createUserBadge(request: DefaultAPI.ApiCreateUserBadgeRequest(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams)) { (response, error) in +DefaultAPI.createUserBadge(tenantId: tenantId, createUserBadgeParams: createUserBadgeParams) { (response, error) in guard error == nil else { print(error) return @@ -1252,7 +1252,7 @@ Name | Type | Description | Notes # **createVote** ```swift - open class func createVote(request: ApiCreateVoteRequest, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, options: ApiCreateVoteOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -1268,7 +1268,7 @@ let direction = "direction_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.createVote(request: DefaultAPI.ApiCreateVoteRequest(tenantId: tenantId, commentId: commentId, direction: direction, userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.createVote(tenantId: tenantId, commentId: commentId, direction: direction, options: DefaultAPI.ApiCreateVoteOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1307,7 +1307,7 @@ Name | Type | Description | Notes # **deleteComment** ```swift - open class func deleteComment(request: ApiDeleteCommentRequest, completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) + open class func deleteComment(tenantId: String, id: String, options: ApiDeleteCommentOptions = .init(), completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) ``` @@ -1322,7 +1322,7 @@ let id = "id_example" // String | let contextUserId = "contextUserId_example" // String | (optional) let isLive = true // Bool | (optional) -DefaultAPI.deleteComment(request: DefaultAPI.ApiDeleteCommentRequest(tenantId: tenantId, id: id, contextUserId: contextUserId, isLive: isLive)) { (response, error) in +DefaultAPI.deleteComment(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteCommentOptions(contextUserId: contextUserId, isLive: isLive)) { (response, error) in guard error == nil else { print(error) return @@ -1360,7 +1360,7 @@ Name | Type | Description | Notes # **deleteDomainConfig** ```swift - open class func deleteDomainConfig(request: ApiDeleteDomainConfigRequest, completion: @escaping (_ data: DeleteDomainConfigResponse?, _ error: Error?) -> Void) + open class func deleteDomainConfig(tenantId: String, domain: String, completion: @escaping (_ data: DeleteDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -1373,7 +1373,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let domain = "domain_example" // String | -DefaultAPI.deleteDomainConfig(request: DefaultAPI.ApiDeleteDomainConfigRequest(tenantId: tenantId, domain: domain)) { (response, error) in +DefaultAPI.deleteDomainConfig(tenantId: tenantId, domain: domain) { (response, error) in guard error == nil else { print(error) return @@ -1409,7 +1409,7 @@ Name | Type | Description | Notes # **deleteEmailTemplate** ```swift - open class func deleteEmailTemplate(request: ApiDeleteEmailTemplateRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1422,7 +1422,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteEmailTemplate(request: DefaultAPI.ApiDeleteEmailTemplateRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deleteEmailTemplate(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1458,7 +1458,7 @@ Name | Type | Description | Notes # **deleteEmailTemplateRenderError** ```swift - open class func deleteEmailTemplateRenderError(request: ApiDeleteEmailTemplateRenderErrorRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteEmailTemplateRenderError(tenantId: String, id: String, errorId: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1472,7 +1472,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let errorId = "errorId_example" // String | -DefaultAPI.deleteEmailTemplateRenderError(request: DefaultAPI.ApiDeleteEmailTemplateRenderErrorRequest(tenantId: tenantId, id: id, errorId: errorId)) { (response, error) in +DefaultAPI.deleteEmailTemplateRenderError(tenantId: tenantId, id: id, errorId: errorId) { (response, error) in guard error == nil else { print(error) return @@ -1509,7 +1509,7 @@ Name | Type | Description | Notes # **deleteHashTag** ```swift - open class func deleteHashTag(request: ApiDeleteHashTagRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, options: ApiDeleteHashTagOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1523,7 +1523,7 @@ let tag = "tag_example" // String | let tenantId = "tenantId_example" // String | (optional) let deleteHashTagRequestBody = DeleteHashTagRequestBody(tenantId: "tenantId_example") // DeleteHashTagRequestBody | (optional) -DefaultAPI.deleteHashTag(request: DefaultAPI.ApiDeleteHashTagRequest(tag: tag, tenantId: tenantId, deleteHashTagRequestBody: deleteHashTagRequestBody)) { (response, error) in +DefaultAPI.deleteHashTag(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, options: DefaultAPI.ApiDeleteHashTagOptions(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -1560,7 +1560,7 @@ Name | Type | Description | Notes # **deleteModerator** ```swift - open class func deleteModerator(request: ApiDeleteModeratorRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteModerator(tenantId: String, id: String, options: ApiDeleteModeratorOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1574,7 +1574,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let sendEmail = "sendEmail_example" // String | (optional) -DefaultAPI.deleteModerator(request: DefaultAPI.ApiDeleteModeratorRequest(tenantId: tenantId, id: id, sendEmail: sendEmail)) { (response, error) in +DefaultAPI.deleteModerator(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteModeratorOptions(sendEmail: sendEmail)) { (response, error) in guard error == nil else { print(error) return @@ -1611,7 +1611,7 @@ Name | Type | Description | Notes # **deleteNotificationCount** ```swift - open class func deleteNotificationCount(request: ApiDeleteNotificationCountRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1624,7 +1624,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteNotificationCount(request: DefaultAPI.ApiDeleteNotificationCountRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deleteNotificationCount(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1660,7 +1660,7 @@ Name | Type | Description | Notes # **deletePage** ```swift - open class func deletePage(request: ApiDeletePageRequest, completion: @escaping (_ data: DeletePageAPIResponse?, _ error: Error?) -> Void) + open class func deletePage(tenantId: String, id: String, completion: @escaping (_ data: DeletePageAPIResponse?, _ error: Error?) -> Void) ``` @@ -1673,7 +1673,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deletePage(request: DefaultAPI.ApiDeletePageRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deletePage(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1709,7 +1709,7 @@ Name | Type | Description | Notes # **deletePendingWebhookEvent** ```swift - open class func deletePendingWebhookEvent(request: ApiDeletePendingWebhookEventRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deletePendingWebhookEvent(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1722,7 +1722,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deletePendingWebhookEvent(request: DefaultAPI.ApiDeletePendingWebhookEventRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deletePendingWebhookEvent(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1758,7 +1758,7 @@ Name | Type | Description | Notes # **deleteQuestionConfig** ```swift - open class func deleteQuestionConfig(request: ApiDeleteQuestionConfigRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1771,7 +1771,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteQuestionConfig(request: DefaultAPI.ApiDeleteQuestionConfigRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deleteQuestionConfig(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1807,7 +1807,7 @@ Name | Type | Description | Notes # **deleteQuestionResult** ```swift - open class func deleteQuestionResult(request: ApiDeleteQuestionResultRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1820,7 +1820,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteQuestionResult(request: DefaultAPI.ApiDeleteQuestionResultRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deleteQuestionResult(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1856,7 +1856,7 @@ Name | Type | Description | Notes # **deleteSSOUser** ```swift - open class func deleteSSOUser(request: ApiDeleteSSOUserRequest, completion: @escaping (_ data: DeleteSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func deleteSSOUser(tenantId: String, id: String, options: ApiDeleteSSOUserOptions = .init(), completion: @escaping (_ data: DeleteSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -1871,7 +1871,7 @@ let id = "id_example" // String | let deleteComments = true // Bool | (optional) let commentDeleteMode = "commentDeleteMode_example" // String | (optional) -DefaultAPI.deleteSSOUser(request: DefaultAPI.ApiDeleteSSOUserRequest(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in +DefaultAPI.deleteSSOUser(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteSSOUserOptions(deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in guard error == nil else { print(error) return @@ -1909,7 +1909,7 @@ Name | Type | Description | Notes # **deleteSubscription** ```swift - open class func deleteSubscription(request: ApiDeleteSubscriptionRequest, completion: @escaping (_ data: DeleteSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func deleteSubscription(tenantId: String, id: String, options: ApiDeleteSubscriptionOptions = .init(), completion: @escaping (_ data: DeleteSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -1923,7 +1923,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.deleteSubscription(request: DefaultAPI.ApiDeleteSubscriptionRequest(tenantId: tenantId, id: id, userId: userId)) { (response, error) in +DefaultAPI.deleteSubscription(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteSubscriptionOptions(userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -1960,7 +1960,7 @@ Name | Type | Description | Notes # **deleteTenant** ```swift - open class func deleteTenant(request: ApiDeleteTenantRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenant(tenantId: String, id: String, options: ApiDeleteTenantOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1974,7 +1974,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let sure = "sure_example" // String | (optional) -DefaultAPI.deleteTenant(request: DefaultAPI.ApiDeleteTenantRequest(tenantId: tenantId, id: id, sure: sure)) { (response, error) in +DefaultAPI.deleteTenant(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteTenantOptions(sure: sure)) { (response, error) in guard error == nil else { print(error) return @@ -2011,7 +2011,7 @@ Name | Type | Description | Notes # **deleteTenantPackage** ```swift - open class func deleteTenantPackage(request: ApiDeleteTenantPackageRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2024,7 +2024,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteTenantPackage(request: DefaultAPI.ApiDeleteTenantPackageRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deleteTenantPackage(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -2060,7 +2060,7 @@ Name | Type | Description | Notes # **deleteTenantUser** ```swift - open class func deleteTenantUser(request: ApiDeleteTenantUserRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantUser(tenantId: String, id: String, options: ApiDeleteTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2075,7 +2075,7 @@ let id = "id_example" // String | let deleteComments = "deleteComments_example" // String | (optional) let commentDeleteMode = "commentDeleteMode_example" // String | (optional) -DefaultAPI.deleteTenantUser(request: DefaultAPI.ApiDeleteTenantUserRequest(tenantId: tenantId, id: id, deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in +DefaultAPI.deleteTenantUser(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteTenantUserOptions(deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in guard error == nil else { print(error) return @@ -2113,7 +2113,7 @@ Name | Type | Description | Notes # **deleteUserBadge** ```swift - open class func deleteUserBadge(request: ApiDeleteUserBadgeRequest, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) + open class func deleteUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) ``` @@ -2126,7 +2126,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.deleteUserBadge(request: DefaultAPI.ApiDeleteUserBadgeRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.deleteUserBadge(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -2162,7 +2162,7 @@ Name | Type | Description | Notes # **deleteVote** ```swift - open class func deleteVote(request: ApiDeleteVoteRequest, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteVote(tenantId: String, id: String, options: ApiDeleteVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -2176,7 +2176,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let editKey = "editKey_example" // String | (optional) -DefaultAPI.deleteVote(request: DefaultAPI.ApiDeleteVoteRequest(tenantId: tenantId, id: id, editKey: editKey)) { (response, error) in +DefaultAPI.deleteVote(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteVoteOptions(editKey: editKey)) { (response, error) in guard error == nil else { print(error) return @@ -2213,7 +2213,7 @@ Name | Type | Description | Notes # **flagComment** ```swift - open class func flagComment(request: ApiFlagCommentRequest, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func flagComment(tenantId: String, id: String, options: ApiFlagCommentOptions = .init(), completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -2228,7 +2228,7 @@ let id = "id_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.flagComment(request: DefaultAPI.ApiFlagCommentRequest(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.flagComment(tenantId: tenantId, id: id, options: DefaultAPI.ApiFlagCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -2266,7 +2266,7 @@ Name | Type | Description | Notes # **getAuditLogs** ```swift - open class func getAuditLogs(request: ApiGetAuditLogsRequest, completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) + open class func getAuditLogs(tenantId: String, options: ApiGetAuditLogsOptions = .init(), completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) ``` @@ -2283,7 +2283,7 @@ let order = SORT_DIR() // SORTDIR | (optional) let after = 987 // Double | (optional) let before = 987 // Double | (optional) -DefaultAPI.getAuditLogs(request: DefaultAPI.ApiGetAuditLogsRequest(tenantId: tenantId, limit: limit, skip: skip, order: order, after: after, before: before)) { (response, error) in +DefaultAPI.getAuditLogs(tenantId: tenantId, options: DefaultAPI.ApiGetAuditLogsOptions(limit: limit, skip: skip, order: order, after: after, before: before)) { (response, error) in guard error == nil else { print(error) return @@ -2323,7 +2323,7 @@ Name | Type | Description | Notes # **getCachedNotificationCount** ```swift - open class func getCachedNotificationCount(request: ApiGetCachedNotificationCountRequest, completion: @escaping (_ data: GetCachedNotificationCountResponse?, _ error: Error?) -> Void) + open class func getCachedNotificationCount(tenantId: String, id: String, completion: @escaping (_ data: GetCachedNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -2336,7 +2336,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getCachedNotificationCount(request: DefaultAPI.ApiGetCachedNotificationCountRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getCachedNotificationCount(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -2372,7 +2372,7 @@ Name | Type | Description | Notes # **getComment** ```swift - open class func getComment(request: ApiGetCommentRequest, completion: @escaping (_ data: APIGetCommentResponse?, _ error: Error?) -> Void) + open class func getComment(tenantId: String, id: String, completion: @escaping (_ data: APIGetCommentResponse?, _ error: Error?) -> Void) ``` @@ -2385,7 +2385,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getComment(request: DefaultAPI.ApiGetCommentRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getComment(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes # **getComments** ```swift - open class func getComments(request: ApiGetCommentsRequest, completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getComments(tenantId: String, options: ApiGetCommentsOptions = .init(), completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -2449,7 +2449,7 @@ let direction = SortDirections() // SortDirections | (optional) let fromDate = 987 // Int64 | (optional) let toDate = 987 // Int64 | (optional) -DefaultAPI.getComments(request: DefaultAPI.ApiGetCommentsRequest(tenantId: tenantId, page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate)) { (response, error) in +DefaultAPI.getComments(tenantId: tenantId, options: DefaultAPI.ApiGetCommentsOptions(page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate)) { (response, error) in guard error == nil else { print(error) return @@ -2500,7 +2500,7 @@ Name | Type | Description | Notes # **getDomainConfig** ```swift - open class func getDomainConfig(request: ApiGetDomainConfigRequest, completion: @escaping (_ data: GetDomainConfigResponse?, _ error: Error?) -> Void) + open class func getDomainConfig(tenantId: String, domain: String, completion: @escaping (_ data: GetDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -2513,7 +2513,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let domain = "domain_example" // String | -DefaultAPI.getDomainConfig(request: DefaultAPI.ApiGetDomainConfigRequest(tenantId: tenantId, domain: domain)) { (response, error) in +DefaultAPI.getDomainConfig(tenantId: tenantId, domain: domain) { (response, error) in guard error == nil else { print(error) return @@ -2549,7 +2549,7 @@ Name | Type | Description | Notes # **getDomainConfigs** ```swift - open class func getDomainConfigs(request: ApiGetDomainConfigsRequest, completion: @escaping (_ data: GetDomainConfigsResponse?, _ error: Error?) -> Void) + open class func getDomainConfigs(tenantId: String, completion: @escaping (_ data: GetDomainConfigsResponse?, _ error: Error?) -> Void) ``` @@ -2561,7 +2561,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | -DefaultAPI.getDomainConfigs(request: DefaultAPI.ApiGetDomainConfigsRequest(tenantId: tenantId)) { (response, error) in +DefaultAPI.getDomainConfigs(tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -2596,7 +2596,7 @@ Name | Type | Description | Notes # **getEmailTemplate** ```swift - open class func getEmailTemplate(request: ApiGetEmailTemplateRequest, completion: @escaping (_ data: GetEmailTemplateResponse?, _ error: Error?) -> Void) + open class func getEmailTemplate(tenantId: String, id: String, completion: @escaping (_ data: GetEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -2609,7 +2609,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getEmailTemplate(request: DefaultAPI.ApiGetEmailTemplateRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getEmailTemplate(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -2645,7 +2645,7 @@ Name | Type | Description | Notes # **getEmailTemplateDefinitions** ```swift - open class func getEmailTemplateDefinitions(request: ApiGetEmailTemplateDefinitionsRequest, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateDefinitions(tenantId: String, completion: @escaping (_ data: GetEmailTemplateDefinitionsResponse?, _ error: Error?) -> Void) ``` @@ -2657,7 +2657,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | -DefaultAPI.getEmailTemplateDefinitions(request: DefaultAPI.ApiGetEmailTemplateDefinitionsRequest(tenantId: tenantId)) { (response, error) in +DefaultAPI.getEmailTemplateDefinitions(tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -2692,7 +2692,7 @@ Name | Type | Description | Notes # **getEmailTemplateRenderErrors** ```swift - open class func getEmailTemplateRenderErrors(request: ApiGetEmailTemplateRenderErrorsRequest, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, options: ApiGetEmailTemplateRenderErrorsOptions = .init(), completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) ``` @@ -2706,7 +2706,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getEmailTemplateRenderErrors(request: DefaultAPI.ApiGetEmailTemplateRenderErrorsRequest(tenantId: tenantId, id: id, skip: skip)) { (response, error) in +DefaultAPI.getEmailTemplateRenderErrors(tenantId: tenantId, id: id, options: DefaultAPI.ApiGetEmailTemplateRenderErrorsOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -2743,7 +2743,7 @@ Name | Type | Description | Notes # **getEmailTemplates** ```swift - open class func getEmailTemplates(request: ApiGetEmailTemplatesRequest, completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) + open class func getEmailTemplates(tenantId: String, options: ApiGetEmailTemplatesOptions = .init(), completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) ``` @@ -2756,7 +2756,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getEmailTemplates(request: DefaultAPI.ApiGetEmailTemplatesRequest(tenantId: tenantId, skip: skip)) { (response, error) in +DefaultAPI.getEmailTemplates(tenantId: tenantId, options: DefaultAPI.ApiGetEmailTemplatesOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -2792,7 +2792,7 @@ Name | Type | Description | Notes # **getFeedPosts** ```swift - open class func getFeedPosts(request: ApiGetFeedPostsRequest, completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPosts(tenantId: String, options: ApiGetFeedPostsOptions = .init(), completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -2809,7 +2809,7 @@ let afterId = "afterId_example" // String | (optional) let limit = 987 // Int | (optional) let tags = ["inner_example"] // [String] | (optional) -DefaultAPI.getFeedPosts(request: DefaultAPI.ApiGetFeedPostsRequest(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags)) { (response, error) in +DefaultAPI.getFeedPosts(tenantId: tenantId, options: DefaultAPI.ApiGetFeedPostsOptions(afterId: afterId, limit: limit, tags: tags)) { (response, error) in guard error == nil else { print(error) return @@ -2847,7 +2847,7 @@ Name | Type | Description | Notes # **getHashTags** ```swift - open class func getHashTags(request: ApiGetHashTagsRequest, completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) + open class func getHashTags(tenantId: String, options: ApiGetHashTagsOptions = .init(), completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -2860,7 +2860,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let page = 987 // Double | (optional) -DefaultAPI.getHashTags(request: DefaultAPI.ApiGetHashTagsRequest(tenantId: tenantId, page: page)) { (response, error) in +DefaultAPI.getHashTags(tenantId: tenantId, options: DefaultAPI.ApiGetHashTagsOptions(page: page)) { (response, error) in guard error == nil else { print(error) return @@ -2896,7 +2896,7 @@ Name | Type | Description | Notes # **getModerator** ```swift - open class func getModerator(request: ApiGetModeratorRequest, completion: @escaping (_ data: GetModeratorResponse?, _ error: Error?) -> Void) + open class func getModerator(tenantId: String, id: String, completion: @escaping (_ data: GetModeratorResponse?, _ error: Error?) -> Void) ``` @@ -2909,7 +2909,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getModerator(request: DefaultAPI.ApiGetModeratorRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getModerator(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -2945,7 +2945,7 @@ Name | Type | Description | Notes # **getModerators** ```swift - open class func getModerators(request: ApiGetModeratorsRequest, completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) + open class func getModerators(tenantId: String, options: ApiGetModeratorsOptions = .init(), completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) ``` @@ -2958,7 +2958,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getModerators(request: DefaultAPI.ApiGetModeratorsRequest(tenantId: tenantId, skip: skip)) { (response, error) in +DefaultAPI.getModerators(tenantId: tenantId, options: DefaultAPI.ApiGetModeratorsOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -2994,7 +2994,7 @@ Name | Type | Description | Notes # **getNotificationCount** ```swift - open class func getNotificationCount(request: ApiGetNotificationCountRequest, completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) + open class func getNotificationCount(tenantId: String, options: ApiGetNotificationCountOptions = .init(), completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -3011,7 +3011,7 @@ let fromCommentId = "fromCommentId_example" // String | (optional) let viewed = true // Bool | (optional) let type = "type_example" // String | (optional) -DefaultAPI.getNotificationCount(request: DefaultAPI.ApiGetNotificationCountRequest(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type)) { (response, error) in +DefaultAPI.getNotificationCount(tenantId: tenantId, options: DefaultAPI.ApiGetNotificationCountOptions(userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type)) { (response, error) in guard error == nil else { print(error) return @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes # **getNotifications** ```swift - open class func getNotifications(request: ApiGetNotificationsRequest, completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) + open class func getNotifications(tenantId: String, options: ApiGetNotificationsOptions = .init(), completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -3069,7 +3069,7 @@ let viewed = true // Bool | (optional) let type = "type_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getNotifications(request: DefaultAPI.ApiGetNotificationsRequest(tenantId: tenantId, userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip)) { (response, error) in +DefaultAPI.getNotifications(tenantId: tenantId, options: DefaultAPI.ApiGetNotificationsOptions(userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3110,7 +3110,7 @@ Name | Type | Description | Notes # **getPageByURLId** ```swift - open class func getPageByURLId(request: ApiGetPageByURLIdRequest, completion: @escaping (_ data: GetPageByURLIdAPIResponse?, _ error: Error?) -> Void) + open class func getPageByURLId(tenantId: String, urlId: String, completion: @escaping (_ data: GetPageByURLIdAPIResponse?, _ error: Error?) -> Void) ``` @@ -3123,7 +3123,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -DefaultAPI.getPageByURLId(request: DefaultAPI.ApiGetPageByURLIdRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in +DefaultAPI.getPageByURLId(tenantId: tenantId, urlId: urlId) { (response, error) in guard error == nil else { print(error) return @@ -3159,7 +3159,7 @@ Name | Type | Description | Notes # **getPages** ```swift - open class func getPages(request: ApiGetPagesRequest, completion: @escaping (_ data: GetPagesAPIResponse?, _ error: Error?) -> Void) + open class func getPages(tenantId: String, completion: @escaping (_ data: GetPagesAPIResponse?, _ error: Error?) -> Void) ``` @@ -3171,7 +3171,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | -DefaultAPI.getPages(request: DefaultAPI.ApiGetPagesRequest(tenantId: tenantId)) { (response, error) in +DefaultAPI.getPages(tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -3206,7 +3206,7 @@ Name | Type | Description | Notes # **getPendingWebhookEventCount** ```swift - open class func getPendingWebhookEventCount(request: ApiGetPendingWebhookEventCountRequest, completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEventCount(tenantId: String, options: ApiGetPendingWebhookEventCountOptions = .init(), completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) ``` @@ -3224,7 +3224,7 @@ let type = "type_example" // String | (optional) let domain = "domain_example" // String | (optional) let attemptCountGT = 987 // Double | (optional) -DefaultAPI.getPendingWebhookEventCount(request: DefaultAPI.ApiGetPendingWebhookEventCountRequest(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT)) { (response, error) in +DefaultAPI.getPendingWebhookEventCount(tenantId: tenantId, options: DefaultAPI.ApiGetPendingWebhookEventCountOptions(commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT)) { (response, error) in guard error == nil else { print(error) return @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes # **getPendingWebhookEvents** ```swift - open class func getPendingWebhookEvents(request: ApiGetPendingWebhookEventsRequest, completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEvents(tenantId: String, options: ApiGetPendingWebhookEventsOptions = .init(), completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) ``` @@ -3284,7 +3284,7 @@ let domain = "domain_example" // String | (optional) let attemptCountGT = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getPendingWebhookEvents(request: DefaultAPI.ApiGetPendingWebhookEventsRequest(tenantId: tenantId, commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip)) { (response, error) in +DefaultAPI.getPendingWebhookEvents(tenantId: tenantId, options: DefaultAPI.ApiGetPendingWebhookEventsOptions(commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3326,7 +3326,7 @@ Name | Type | Description | Notes # **getQuestionConfig** ```swift - open class func getQuestionConfig(request: ApiGetQuestionConfigRequest, completion: @escaping (_ data: GetQuestionConfigResponse?, _ error: Error?) -> Void) + open class func getQuestionConfig(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionConfigResponse?, _ error: Error?) -> Void) ``` @@ -3339,7 +3339,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getQuestionConfig(request: DefaultAPI.ApiGetQuestionConfigRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getQuestionConfig(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -3375,7 +3375,7 @@ Name | Type | Description | Notes # **getQuestionConfigs** ```swift - open class func getQuestionConfigs(request: ApiGetQuestionConfigsRequest, completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) + open class func getQuestionConfigs(tenantId: String, options: ApiGetQuestionConfigsOptions = .init(), completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) ``` @@ -3388,7 +3388,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getQuestionConfigs(request: DefaultAPI.ApiGetQuestionConfigsRequest(tenantId: tenantId, skip: skip)) { (response, error) in +DefaultAPI.getQuestionConfigs(tenantId: tenantId, options: DefaultAPI.ApiGetQuestionConfigsOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3424,7 +3424,7 @@ Name | Type | Description | Notes # **getQuestionResult** ```swift - open class func getQuestionResult(request: ApiGetQuestionResultRequest, completion: @escaping (_ data: GetQuestionResultResponse?, _ error: Error?) -> Void) + open class func getQuestionResult(tenantId: String, id: String, completion: @escaping (_ data: GetQuestionResultResponse?, _ error: Error?) -> Void) ``` @@ -3437,7 +3437,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getQuestionResult(request: DefaultAPI.ApiGetQuestionResultRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getQuestionResult(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -3473,7 +3473,7 @@ Name | Type | Description | Notes # **getQuestionResults** ```swift - open class func getQuestionResults(request: ApiGetQuestionResultsRequest, completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) + open class func getQuestionResults(tenantId: String, options: ApiGetQuestionResultsOptions = .init(), completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -3491,7 +3491,7 @@ let questionId = "questionId_example" // String | (optional) let questionIds = "questionIds_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getQuestionResults(request: DefaultAPI.ApiGetQuestionResultsRequest(tenantId: tenantId, urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip)) { (response, error) in +DefaultAPI.getQuestionResults(tenantId: tenantId, options: DefaultAPI.ApiGetQuestionResultsOptions(urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3532,7 +3532,7 @@ Name | Type | Description | Notes # **getSSOUserByEmail** ```swift - open class func getSSOUserByEmail(request: ApiGetSSOUserByEmailRequest, completion: @escaping (_ data: GetSSOUserByEmailAPIResponse?, _ error: Error?) -> Void) + open class func getSSOUserByEmail(tenantId: String, email: String, completion: @escaping (_ data: GetSSOUserByEmailAPIResponse?, _ error: Error?) -> Void) ``` @@ -3545,7 +3545,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let email = "email_example" // String | -DefaultAPI.getSSOUserByEmail(request: DefaultAPI.ApiGetSSOUserByEmailRequest(tenantId: tenantId, email: email)) { (response, error) in +DefaultAPI.getSSOUserByEmail(tenantId: tenantId, email: email) { (response, error) in guard error == nil else { print(error) return @@ -3581,7 +3581,7 @@ Name | Type | Description | Notes # **getSSOUserById** ```swift - open class func getSSOUserById(request: ApiGetSSOUserByIdRequest, completion: @escaping (_ data: GetSSOUserByIdAPIResponse?, _ error: Error?) -> Void) + open class func getSSOUserById(tenantId: String, id: String, completion: @escaping (_ data: GetSSOUserByIdAPIResponse?, _ error: Error?) -> Void) ``` @@ -3594,7 +3594,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getSSOUserById(request: DefaultAPI.ApiGetSSOUserByIdRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getSSOUserById(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -3630,7 +3630,7 @@ Name | Type | Description | Notes # **getSSOUsers** ```swift - open class func getSSOUsers(request: ApiGetSSOUsersRequest, completion: @escaping (_ data: GetSSOUsersResponse?, _ error: Error?) -> Void) + open class func getSSOUsers(tenantId: String, options: ApiGetSSOUsersOptions = .init(), completion: @escaping (_ data: GetSSOUsersResponse?, _ error: Error?) -> Void) ``` @@ -3643,7 +3643,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Int | (optional) -DefaultAPI.getSSOUsers(request: DefaultAPI.ApiGetSSOUsersRequest(tenantId: tenantId, skip: skip)) { (response, error) in +DefaultAPI.getSSOUsers(tenantId: tenantId, options: DefaultAPI.ApiGetSSOUsersOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3679,7 +3679,7 @@ Name | Type | Description | Notes # **getSubscriptions** ```swift - open class func getSubscriptions(request: ApiGetSubscriptionsRequest, completion: @escaping (_ data: GetSubscriptionsAPIResponse?, _ error: Error?) -> Void) + open class func getSubscriptions(tenantId: String, options: ApiGetSubscriptionsOptions = .init(), completion: @escaping (_ data: GetSubscriptionsAPIResponse?, _ error: Error?) -> Void) ``` @@ -3692,7 +3692,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.getSubscriptions(request: DefaultAPI.ApiGetSubscriptionsRequest(tenantId: tenantId, userId: userId)) { (response, error) in +DefaultAPI.getSubscriptions(tenantId: tenantId, options: DefaultAPI.ApiGetSubscriptionsOptions(userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -3728,7 +3728,7 @@ Name | Type | Description | Notes # **getTenant** ```swift - open class func getTenant(request: ApiGetTenantRequest, completion: @escaping (_ data: GetTenantResponse?, _ error: Error?) -> Void) + open class func getTenant(tenantId: String, id: String, completion: @escaping (_ data: GetTenantResponse?, _ error: Error?) -> Void) ``` @@ -3741,7 +3741,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getTenant(request: DefaultAPI.ApiGetTenantRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getTenant(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -3777,7 +3777,7 @@ Name | Type | Description | Notes # **getTenantDailyUsages** ```swift - open class func getTenantDailyUsages(request: ApiGetTenantDailyUsagesRequest, completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) + open class func getTenantDailyUsages(tenantId: String, options: ApiGetTenantDailyUsagesOptions = .init(), completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) ``` @@ -3793,7 +3793,7 @@ let monthNumber = 987 // Double | (optional) let dayNumber = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getTenantDailyUsages(request: DefaultAPI.ApiGetTenantDailyUsagesRequest(tenantId: tenantId, yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip)) { (response, error) in +DefaultAPI.getTenantDailyUsages(tenantId: tenantId, options: DefaultAPI.ApiGetTenantDailyUsagesOptions(yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3832,7 +3832,7 @@ Name | Type | Description | Notes # **getTenantPackage** ```swift - open class func getTenantPackage(request: ApiGetTenantPackageRequest, completion: @escaping (_ data: GetTenantPackageResponse?, _ error: Error?) -> Void) + open class func getTenantPackage(tenantId: String, id: String, completion: @escaping (_ data: GetTenantPackageResponse?, _ error: Error?) -> Void) ``` @@ -3845,7 +3845,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getTenantPackage(request: DefaultAPI.ApiGetTenantPackageRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getTenantPackage(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -3881,7 +3881,7 @@ Name | Type | Description | Notes # **getTenantPackages** ```swift - open class func getTenantPackages(request: ApiGetTenantPackagesRequest, completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) + open class func getTenantPackages(tenantId: String, options: ApiGetTenantPackagesOptions = .init(), completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) ``` @@ -3894,7 +3894,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getTenantPackages(request: DefaultAPI.ApiGetTenantPackagesRequest(tenantId: tenantId, skip: skip)) { (response, error) in +DefaultAPI.getTenantPackages(tenantId: tenantId, options: DefaultAPI.ApiGetTenantPackagesOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3930,7 +3930,7 @@ Name | Type | Description | Notes # **getTenantUser** ```swift - open class func getTenantUser(request: ApiGetTenantUserRequest, completion: @escaping (_ data: GetTenantUserResponse?, _ error: Error?) -> Void) + open class func getTenantUser(tenantId: String, id: String, completion: @escaping (_ data: GetTenantUserResponse?, _ error: Error?) -> Void) ``` @@ -3943,7 +3943,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getTenantUser(request: DefaultAPI.ApiGetTenantUserRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getTenantUser(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -3979,7 +3979,7 @@ Name | Type | Description | Notes # **getTenantUsers** ```swift - open class func getTenantUsers(request: ApiGetTenantUsersRequest, completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) + open class func getTenantUsers(tenantId: String, options: ApiGetTenantUsersOptions = .init(), completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) ``` @@ -3992,7 +3992,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getTenantUsers(request: DefaultAPI.ApiGetTenantUsersRequest(tenantId: tenantId, skip: skip)) { (response, error) in +DefaultAPI.getTenantUsers(tenantId: tenantId, options: DefaultAPI.ApiGetTenantUsersOptions(skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4028,7 +4028,7 @@ Name | Type | Description | Notes # **getTenants** ```swift - open class func getTenants(request: ApiGetTenantsRequest, completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) + open class func getTenants(tenantId: String, options: ApiGetTenantsOptions = .init(), completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) ``` @@ -4042,7 +4042,7 @@ let tenantId = "tenantId_example" // String | let meta = "meta_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getTenants(request: DefaultAPI.ApiGetTenantsRequest(tenantId: tenantId, meta: meta, skip: skip)) { (response, error) in +DefaultAPI.getTenants(tenantId: tenantId, options: DefaultAPI.ApiGetTenantsOptions(meta: meta, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4079,7 +4079,7 @@ Name | Type | Description | Notes # **getTicket** ```swift - open class func getTicket(request: ApiGetTicketRequest, completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) + open class func getTicket(tenantId: String, id: String, options: ApiGetTicketOptions = .init(), completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) ``` @@ -4093,7 +4093,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.getTicket(request: DefaultAPI.ApiGetTicketRequest(tenantId: tenantId, id: id, userId: userId)) { (response, error) in +DefaultAPI.getTicket(tenantId: tenantId, id: id, options: DefaultAPI.ApiGetTicketOptions(userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -4130,7 +4130,7 @@ Name | Type | Description | Notes # **getTickets** ```swift - open class func getTickets(request: ApiGetTicketsRequest, completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) + open class func getTickets(tenantId: String, options: ApiGetTicketsOptions = .init(), completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) ``` @@ -4146,7 +4146,7 @@ let state = 987 // Double | (optional) let skip = 987 // Double | (optional) let limit = 987 // Double | (optional) -DefaultAPI.getTickets(request: DefaultAPI.ApiGetTicketsRequest(tenantId: tenantId, userId: userId, state: state, skip: skip, limit: limit)) { (response, error) in +DefaultAPI.getTickets(tenantId: tenantId, options: DefaultAPI.ApiGetTicketsOptions(userId: userId, state: state, skip: skip, limit: limit)) { (response, error) in guard error == nil else { print(error) return @@ -4185,7 +4185,7 @@ Name | Type | Description | Notes # **getUser** ```swift - open class func getUser(request: ApiGetUserRequest, completion: @escaping (_ data: GetUserResponse?, _ error: Error?) -> Void) + open class func getUser(tenantId: String, id: String, completion: @escaping (_ data: GetUserResponse?, _ error: Error?) -> Void) ``` @@ -4198,7 +4198,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getUser(request: DefaultAPI.ApiGetUserRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getUser(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -4234,7 +4234,7 @@ Name | Type | Description | Notes # **getUserBadge** ```swift - open class func getUserBadge(request: ApiGetUserBadgeRequest, completion: @escaping (_ data: APIGetUserBadgeResponse?, _ error: Error?) -> Void) + open class func getUserBadge(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -4247,7 +4247,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getUserBadge(request: DefaultAPI.ApiGetUserBadgeRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getUserBadge(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -4283,7 +4283,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressById** ```swift - open class func getUserBadgeProgressById(request: ApiGetUserBadgeProgressByIdRequest, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressById(tenantId: String, id: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) ``` @@ -4296,7 +4296,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let id = "id_example" // String | -DefaultAPI.getUserBadgeProgressById(request: DefaultAPI.ApiGetUserBadgeProgressByIdRequest(tenantId: tenantId, id: id)) { (response, error) in +DefaultAPI.getUserBadgeProgressById(tenantId: tenantId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -4332,7 +4332,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressByUserId** ```swift - open class func getUserBadgeProgressByUserId(request: ApiGetUserBadgeProgressByUserIdRequest, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressByUserId(tenantId: String, userId: String, completion: @escaping (_ data: APIGetUserBadgeProgressResponse?, _ error: Error?) -> Void) ``` @@ -4345,7 +4345,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | -DefaultAPI.getUserBadgeProgressByUserId(request: DefaultAPI.ApiGetUserBadgeProgressByUserIdRequest(tenantId: tenantId, userId: userId)) { (response, error) in +DefaultAPI.getUserBadgeProgressByUserId(tenantId: tenantId, userId: userId) { (response, error) in guard error == nil else { print(error) return @@ -4381,7 +4381,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressList** ```swift - open class func getUserBadgeProgressList(request: ApiGetUserBadgeProgressListRequest, completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressList(tenantId: String, options: ApiGetUserBadgeProgressListOptions = .init(), completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) ``` @@ -4396,7 +4396,7 @@ let userId = "userId_example" // String | (optional) let limit = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getUserBadgeProgressList(request: DefaultAPI.ApiGetUserBadgeProgressListRequest(tenantId: tenantId, userId: userId, limit: limit, skip: skip)) { (response, error) in +DefaultAPI.getUserBadgeProgressList(tenantId: tenantId, options: DefaultAPI.ApiGetUserBadgeProgressListOptions(userId: userId, limit: limit, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4434,7 +4434,7 @@ Name | Type | Description | Notes # **getUserBadges** ```swift - open class func getUserBadges(request: ApiGetUserBadgesRequest, completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) + open class func getUserBadges(tenantId: String, options: ApiGetUserBadgesOptions = .init(), completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) ``` @@ -4452,7 +4452,7 @@ let displayedOnComments = true // Bool | (optional) let limit = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getUserBadges(request: DefaultAPI.ApiGetUserBadgesRequest(tenantId: tenantId, userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip)) { (response, error) in +DefaultAPI.getUserBadges(tenantId: tenantId, options: DefaultAPI.ApiGetUserBadgesOptions(userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4493,7 +4493,7 @@ Name | Type | Description | Notes # **getVotes** ```swift - open class func getVotes(request: ApiGetVotesRequest, completion: @escaping (_ data: GetVotesResponse?, _ error: Error?) -> Void) + open class func getVotes(tenantId: String, urlId: String, completion: @escaping (_ data: GetVotesResponse?, _ error: Error?) -> Void) ``` @@ -4506,7 +4506,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -DefaultAPI.getVotes(request: DefaultAPI.ApiGetVotesRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in +DefaultAPI.getVotes(tenantId: tenantId, urlId: urlId) { (response, error) in guard error == nil else { print(error) return @@ -4542,7 +4542,7 @@ Name | Type | Description | Notes # **getVotesForUser** ```swift - open class func getVotesForUser(request: ApiGetVotesForUserRequest, completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) + open class func getVotesForUser(tenantId: String, urlId: String, options: ApiGetVotesForUserOptions = .init(), completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) ``` @@ -4557,7 +4557,7 @@ let urlId = "urlId_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.getVotesForUser(request: DefaultAPI.ApiGetVotesForUserRequest(tenantId: tenantId, urlId: urlId, userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.getVotesForUser(tenantId: tenantId, urlId: urlId, options: DefaultAPI.ApiGetVotesForUserOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -4595,7 +4595,7 @@ Name | Type | Description | Notes # **patchDomainConfig** ```swift - open class func patchDomainConfig(request: ApiPatchDomainConfigRequest, completion: @escaping (_ data: PatchDomainConfigResponse?, _ error: Error?) -> Void) + open class func patchDomainConfig(tenantId: String, domainToUpdate: String, patchDomainConfigParams: PatchDomainConfigParams, completion: @escaping (_ data: PatchDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -4609,7 +4609,7 @@ let tenantId = "tenantId_example" // String | let domainToUpdate = "domainToUpdate_example" // String | let patchDomainConfigParams = PatchDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // PatchDomainConfigParams | -DefaultAPI.patchDomainConfig(request: DefaultAPI.ApiPatchDomainConfigRequest(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams)) { (response, error) in +DefaultAPI.patchDomainConfig(tenantId: tenantId, domainToUpdate: domainToUpdate, patchDomainConfigParams: patchDomainConfigParams) { (response, error) in guard error == nil else { print(error) return @@ -4646,7 +4646,7 @@ Name | Type | Description | Notes # **patchHashTag** ```swift - open class func patchHashTag(request: ApiPatchHashTagRequest, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) + open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, options: ApiPatchHashTagOptions = .init(), completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -4660,7 +4660,7 @@ let tag = "tag_example" // String | let tenantId = "tenantId_example" // String | (optional) let updateHashTagBody = UpdateHashTagBody(tenantId: "tenantId_example", url: "url_example", tag: "tag_example") // UpdateHashTagBody | (optional) -DefaultAPI.patchHashTag(request: DefaultAPI.ApiPatchHashTagRequest(tag: tag, tenantId: tenantId, updateHashTagBody: updateHashTagBody)) { (response, error) in +DefaultAPI.patchHashTag(tag: tag, updateHashTagBody: updateHashTagBody, options: DefaultAPI.ApiPatchHashTagOptions(tenantId: tenantId)) { (response, error) in guard error == nil else { print(error) return @@ -4697,7 +4697,7 @@ Name | Type | Description | Notes # **patchPage** ```swift - open class func patchPage(request: ApiPatchPageRequest, completion: @escaping (_ data: PatchPageAPIResponse?, _ error: Error?) -> Void) + open class func patchPage(tenantId: String, id: String, updateAPIPageData: UpdateAPIPageData, completion: @escaping (_ data: PatchPageAPIResponse?, _ error: Error?) -> Void) ``` @@ -4711,7 +4711,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateAPIPageData = UpdateAPIPageData(isClosed: false, accessibleByGroupIds: ["accessibleByGroupIds_example"], title: "title_example", url: "url_example", urlId: "urlId_example") // UpdateAPIPageData | -DefaultAPI.patchPage(request: DefaultAPI.ApiPatchPageRequest(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData)) { (response, error) in +DefaultAPI.patchPage(tenantId: tenantId, id: id, updateAPIPageData: updateAPIPageData) { (response, error) in guard error == nil else { print(error) return @@ -4748,7 +4748,7 @@ Name | Type | Description | Notes # **patchSSOUser** ```swift - open class func patchSSOUser(request: ApiPatchSSOUserRequest, completion: @escaping (_ data: PatchSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions = .init(), completion: @escaping (_ data: PatchSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -4763,7 +4763,7 @@ let id = "id_example" // String | let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData | let updateComments = true // Bool | (optional) -DefaultAPI.patchSSOUser(request: DefaultAPI.ApiPatchSSOUserRequest(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments)) { (response, error) in +DefaultAPI.patchSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: DefaultAPI.ApiPatchSSOUserOptions(updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -4801,7 +4801,7 @@ Name | Type | Description | Notes # **putDomainConfig** ```swift - open class func putDomainConfig(request: ApiPutDomainConfigRequest, completion: @escaping (_ data: PutDomainConfigResponse?, _ error: Error?) -> Void) + open class func putDomainConfig(tenantId: String, domainToUpdate: String, updateDomainConfigParams: UpdateDomainConfigParams, completion: @escaping (_ data: PutDomainConfigResponse?, _ error: Error?) -> Void) ``` @@ -4815,7 +4815,7 @@ let tenantId = "tenantId_example" // String | let domainToUpdate = "domainToUpdate_example" // String | let updateDomainConfigParams = UpdateDomainConfigParams(domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", emailHeaders: "TODO") // UpdateDomainConfigParams | -DefaultAPI.putDomainConfig(request: DefaultAPI.ApiPutDomainConfigRequest(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams)) { (response, error) in +DefaultAPI.putDomainConfig(tenantId: tenantId, domainToUpdate: domainToUpdate, updateDomainConfigParams: updateDomainConfigParams) { (response, error) in guard error == nil else { print(error) return @@ -4852,7 +4852,7 @@ Name | Type | Description | Notes # **putSSOUser** ```swift - open class func putSSOUser(request: ApiPutSSOUserRequest, completion: @escaping (_ data: PutSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions = .init(), completion: @escaping (_ data: PutSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -4867,7 +4867,7 @@ let id = "id_example" // String | let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData | let updateComments = true // Bool | (optional) -DefaultAPI.putSSOUser(request: DefaultAPI.ApiPutSSOUserRequest(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments)) { (response, error) in +DefaultAPI.putSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: DefaultAPI.ApiPutSSOUserOptions(updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -4905,7 +4905,7 @@ Name | Type | Description | Notes # **renderEmailTemplate** ```swift - open class func renderEmailTemplate(request: ApiRenderEmailTemplateRequest, completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions = .init(), completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -4919,7 +4919,7 @@ let tenantId = "tenantId_example" // String | let renderEmailTemplateBody = RenderEmailTemplateBody(emailTemplateId: "emailTemplateId_example", ejs: "ejs_example", testData: "TODO", translationOverridesByLocale: "TODO") // RenderEmailTemplateBody | let locale = "locale_example" // String | (optional) -DefaultAPI.renderEmailTemplate(request: DefaultAPI.ApiRenderEmailTemplateRequest(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale)) { (response, error) in +DefaultAPI.renderEmailTemplate(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, options: DefaultAPI.ApiRenderEmailTemplateOptions(locale: locale)) { (response, error) in guard error == nil else { print(error) return @@ -4956,7 +4956,7 @@ Name | Type | Description | Notes # **replaceTenantPackage** ```swift - open class func replaceTenantPackage(request: ApiReplaceTenantPackageRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantPackage(tenantId: String, id: String, replaceTenantPackageBody: ReplaceTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -4970,7 +4970,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let replaceTenantPackageBody = ReplaceTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxCustomCollectionSize: 123, hasDebranding: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasFlexPricing: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexMinimumCostCents: 123) // ReplaceTenantPackageBody | -DefaultAPI.replaceTenantPackage(request: DefaultAPI.ApiReplaceTenantPackageRequest(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody)) { (response, error) in +DefaultAPI.replaceTenantPackage(tenantId: tenantId, id: id, replaceTenantPackageBody: replaceTenantPackageBody) { (response, error) in guard error == nil else { print(error) return @@ -5007,7 +5007,7 @@ Name | Type | Description | Notes # **replaceTenantUser** ```swift - open class func replaceTenantUser(request: ApiReplaceTenantUserRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5022,7 +5022,7 @@ let id = "id_example" // String | let replaceTenantUserBody = ReplaceTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example", createdFromUrlId: "createdFromUrlId_example", createdFromTenantId: "createdFromTenantId_example", lastLoginDate: 123, karma: 123) // ReplaceTenantUserBody | let updateComments = "updateComments_example" // String | (optional) -DefaultAPI.replaceTenantUser(request: DefaultAPI.ApiReplaceTenantUserRequest(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments)) { (response, error) in +DefaultAPI.replaceTenantUser(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, options: DefaultAPI.ApiReplaceTenantUserOptions(updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -5060,7 +5060,7 @@ Name | Type | Description | Notes # **saveComment** ```swift - open class func saveComment(request: ApiSaveCommentRequest, completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions = .init(), completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) ``` @@ -5077,7 +5077,7 @@ let doSpamCheck = true // Bool | (optional) let sendEmails = true // Bool | (optional) let populateNotifications = true // Bool | (optional) -DefaultAPI.saveComment(request: DefaultAPI.ApiSaveCommentRequest(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in +DefaultAPI.saveComment(tenantId: tenantId, createCommentParams: createCommentParams, options: DefaultAPI.ApiSaveCommentOptions(isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in guard error == nil else { print(error) return @@ -5117,7 +5117,7 @@ Name | Type | Description | Notes # **saveCommentsBulk** ```swift - open class func saveCommentsBulk(request: ApiSaveCommentsBulkRequest, completion: @escaping (_ data: [SaveCommentsBulkResponse]?, _ error: Error?) -> Void) + open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], options: ApiSaveCommentsBulkOptions = .init(), completion: @escaping (_ data: [SaveCommentsBulkResponse]?, _ error: Error?) -> Void) ``` @@ -5134,7 +5134,7 @@ let doSpamCheck = true // Bool | (optional) let sendEmails = true // Bool | (optional) let populateNotifications = true // Bool | (optional) -DefaultAPI.saveCommentsBulk(request: DefaultAPI.ApiSaveCommentsBulkRequest(tenantId: tenantId, createCommentParams: createCommentParams, isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in +DefaultAPI.saveCommentsBulk(tenantId: tenantId, createCommentParams: createCommentParams, options: DefaultAPI.ApiSaveCommentsBulkOptions(isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in guard error == nil else { print(error) return @@ -5174,7 +5174,7 @@ Name | Type | Description | Notes # **sendInvite** ```swift - open class func sendInvite(request: ApiSendInviteRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendInvite(tenantId: String, id: String, fromName: String, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5188,7 +5188,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let fromName = "fromName_example" // String | -DefaultAPI.sendInvite(request: DefaultAPI.ApiSendInviteRequest(tenantId: tenantId, id: id, fromName: fromName)) { (response, error) in +DefaultAPI.sendInvite(tenantId: tenantId, id: id, fromName: fromName) { (response, error) in guard error == nil else { print(error) return @@ -5225,7 +5225,7 @@ Name | Type | Description | Notes # **sendLoginLink** ```swift - open class func sendLoginLink(request: ApiSendLoginLinkRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendLoginLink(tenantId: String, id: String, options: ApiSendLoginLinkOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5239,7 +5239,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let redirectURL = "redirectURL_example" // String | (optional) -DefaultAPI.sendLoginLink(request: DefaultAPI.ApiSendLoginLinkRequest(tenantId: tenantId, id: id, redirectURL: redirectURL)) { (response, error) in +DefaultAPI.sendLoginLink(tenantId: tenantId, id: id, options: DefaultAPI.ApiSendLoginLinkOptions(redirectURL: redirectURL)) { (response, error) in guard error == nil else { print(error) return @@ -5276,7 +5276,7 @@ Name | Type | Description | Notes # **unBlockUserFromComment** ```swift - open class func unBlockUserFromComment(request: ApiUnBlockUserFromCommentRequest, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions = .init(), completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -5292,7 +5292,7 @@ let unBlockFromCommentParams = UnBlockFromCommentParams(commentIdsToCheck: ["com let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.unBlockUserFromComment(request: DefaultAPI.ApiUnBlockUserFromCommentRequest(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.unBlockUserFromComment(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, options: DefaultAPI.ApiUnBlockUserFromCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -5331,7 +5331,7 @@ Name | Type | Description | Notes # **unFlagComment** ```swift - open class func unFlagComment(request: ApiUnFlagCommentRequest, completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func unFlagComment(tenantId: String, id: String, options: ApiUnFlagCommentOptions = .init(), completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -5346,7 +5346,7 @@ let id = "id_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.unFlagComment(request: DefaultAPI.ApiUnFlagCommentRequest(tenantId: tenantId, id: id, userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.unFlagComment(tenantId: tenantId, id: id, options: DefaultAPI.ApiUnFlagCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -5384,7 +5384,7 @@ Name | Type | Description | Notes # **updateComment** ```swift - open class func updateComment(request: ApiUpdateCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5401,7 +5401,7 @@ let contextUserId = "contextUserId_example" // String | (optional) let doSpamCheck = true // Bool | (optional) let isLive = true // Bool | (optional) -DefaultAPI.updateComment(request: DefaultAPI.ApiUpdateCommentRequest(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive)) { (response, error) in +DefaultAPI.updateComment(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, options: DefaultAPI.ApiUpdateCommentOptions(contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive)) { (response, error) in guard error == nil else { print(error) return @@ -5441,7 +5441,7 @@ Name | Type | Description | Notes # **updateEmailTemplate** ```swift - open class func updateEmailTemplate(request: ApiUpdateEmailTemplateRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateEmailTemplate(tenantId: String, id: String, updateEmailTemplateBody: UpdateEmailTemplateBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5455,7 +5455,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateEmailTemplateBody = UpdateEmailTemplateBody(emailTemplateId: "emailTemplateId_example", displayName: "displayName_example", ejs: "ejs_example", domain: "domain_example", translationOverridesByLocale: "TODO", testData: "TODO") // UpdateEmailTemplateBody | -DefaultAPI.updateEmailTemplate(request: DefaultAPI.ApiUpdateEmailTemplateRequest(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody)) { (response, error) in +DefaultAPI.updateEmailTemplate(tenantId: tenantId, id: id, updateEmailTemplateBody: updateEmailTemplateBody) { (response, error) in guard error == nil else { print(error) return @@ -5492,7 +5492,7 @@ Name | Type | Description | Notes # **updateFeedPost** ```swift - open class func updateFeedPost(request: ApiUpdateFeedPostRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateFeedPost(tenantId: String, id: String, feedPost: FeedPost, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5506,7 +5506,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let feedPost = FeedPost(id: "id_example", tenantId: "tenantId_example", title: "title_example", fromUserId: "fromUserId_example", fromUserDisplayName: "fromUserDisplayName_example", fromUserAvatar: "fromUserAvatar_example", fromIpHash: "fromIpHash_example", tags: ["tags_example"], weight: 123, meta: "TODO", contentHTML: "contentHTML_example", media: [FeedPostMediaItem(title: "title_example", linkUrl: "linkUrl_example", sizes: [FeedPostMediaItemAsset(w: 123, h: 123, src: "src_example")])], links: [FeedPostLink(text: "text_example", title: "title_example", description: "description_example", url: "url_example")], createdAt: Date(), reacts: "TODO", commentCount: 123) // FeedPost | -DefaultAPI.updateFeedPost(request: DefaultAPI.ApiUpdateFeedPostRequest(tenantId: tenantId, id: id, feedPost: feedPost)) { (response, error) in +DefaultAPI.updateFeedPost(tenantId: tenantId, id: id, feedPost: feedPost) { (response, error) in guard error == nil else { print(error) return @@ -5543,7 +5543,7 @@ Name | Type | Description | Notes # **updateModerator** ```swift - open class func updateModerator(request: ApiUpdateModeratorRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateModerator(tenantId: String, id: String, updateModeratorBody: UpdateModeratorBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5557,7 +5557,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateModeratorBody = UpdateModeratorBody(name: "name_example", email: "email_example", userId: "userId_example", moderationGroupIds: ["moderationGroupIds_example"]) // UpdateModeratorBody | -DefaultAPI.updateModerator(request: DefaultAPI.ApiUpdateModeratorRequest(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody)) { (response, error) in +DefaultAPI.updateModerator(tenantId: tenantId, id: id, updateModeratorBody: updateModeratorBody) { (response, error) in guard error == nil else { print(error) return @@ -5594,7 +5594,7 @@ Name | Type | Description | Notes # **updateNotification** ```swift - open class func updateNotification(request: ApiUpdateNotificationRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5609,7 +5609,7 @@ let id = "id_example" // String | let updateNotificationBody = UpdateNotificationBody(viewed: false, optedOut: false) // UpdateNotificationBody | let userId = "userId_example" // String | (optional) -DefaultAPI.updateNotification(request: DefaultAPI.ApiUpdateNotificationRequest(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId)) { (response, error) in +DefaultAPI.updateNotification(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, options: DefaultAPI.ApiUpdateNotificationOptions(userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -5647,7 +5647,7 @@ Name | Type | Description | Notes # **updateQuestionConfig** ```swift - open class func updateQuestionConfig(request: ApiUpdateQuestionConfigRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateQuestionConfig(tenantId: String, id: String, updateQuestionConfigBody: UpdateQuestionConfigBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5661,7 +5661,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateQuestionConfigBody = UpdateQuestionConfigBody(name: "name_example", question: "question_example", helpText: "helpText_example", type: "type_example", numStars: 123, min: 123, max: 123, defaultValue: 123, labelNegative: "labelNegative_example", labelPositive: "labelPositive_example", customOptions: [QuestionConfig_customOptions_inner(imageSrc: "imageSrc_example", name: "name_example")], subQuestionIds: ["subQuestionIds_example"], alwaysShowSubQuestions: false, reportingOrder: 123) // UpdateQuestionConfigBody | -DefaultAPI.updateQuestionConfig(request: DefaultAPI.ApiUpdateQuestionConfigRequest(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody)) { (response, error) in +DefaultAPI.updateQuestionConfig(tenantId: tenantId, id: id, updateQuestionConfigBody: updateQuestionConfigBody) { (response, error) in guard error == nil else { print(error) return @@ -5698,7 +5698,7 @@ Name | Type | Description | Notes # **updateQuestionResult** ```swift - open class func updateQuestionResult(request: ApiUpdateQuestionResultRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateQuestionResult(tenantId: String, id: String, updateQuestionResultBody: UpdateQuestionResultBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5712,7 +5712,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateQuestionResultBody = UpdateQuestionResultBody(urlId: "urlId_example", anonUserId: "anonUserId_example", userId: "userId_example", value: 123, commentId: "commentId_example", questionId: "questionId_example", meta: [MetaItem(name: "name_example", values: ["values_example"])]) // UpdateQuestionResultBody | -DefaultAPI.updateQuestionResult(request: DefaultAPI.ApiUpdateQuestionResultRequest(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody)) { (response, error) in +DefaultAPI.updateQuestionResult(tenantId: tenantId, id: id, updateQuestionResultBody: updateQuestionResultBody) { (response, error) in guard error == nil else { print(error) return @@ -5749,7 +5749,7 @@ Name | Type | Description | Notes # **updateSubscription** ```swift - open class func updateSubscription(request: ApiUpdateSubscriptionRequest, completion: @escaping (_ data: UpdateSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions = .init(), completion: @escaping (_ data: UpdateSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -5764,7 +5764,7 @@ let id = "id_example" // String | let updateAPIUserSubscriptionData = UpdateAPIUserSubscriptionData(notificationFrequency: 123) // UpdateAPIUserSubscriptionData | let userId = "userId_example" // String | (optional) -DefaultAPI.updateSubscription(request: DefaultAPI.ApiUpdateSubscriptionRequest(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, userId: userId)) { (response, error) in +DefaultAPI.updateSubscription(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, options: DefaultAPI.ApiUpdateSubscriptionOptions(userId: userId)) { (response, error) in guard error == nil else { print(error) return @@ -5802,7 +5802,7 @@ Name | Type | Description | Notes # **updateTenant** ```swift - open class func updateTenant(request: ApiUpdateTenantRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenant(tenantId: String, id: String, updateTenantBody: UpdateTenantBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5816,7 +5816,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateTenantBody = UpdateTenantBody(name: "name_example", email: "email_example", signUpDate: 123, packageId: "packageId_example", paymentFrequency: 123, billingInfoValid: false, billingHandledExternally: false, createdBy: "createdBy_example", isSetup: false, domainConfiguration: [APIDomainConfiguration(id: "id_example", domain: "domain_example", emailFromName: "emailFromName_example", emailFromEmail: "emailFromEmail_example", emailHeaders: "TODO", wpSyncToken: "wpSyncToken_example", wpSynced: false, wpURL: "wpURL_example", createdAt: Date(), autoAddedDate: Date(), siteType: ImportedSiteType(), logoSrc: "logoSrc_example", logoSrc100px: "logoSrc100px_example", footerUnsubscribeURL: "footerUnsubscribeURL_example", disableUnsubscribeLinks: false)], billingInfo: BillingInfo(name: "name_example", address: "address_example", city: "city_example", state: "state_example", zip: "zip_example", country: "country_example", currency: "currency_example", email: "email_example"), stripeCustomerId: "stripeCustomerId_example", stripeSubscriptionId: "stripeSubscriptionId_example", stripePlanId: "stripePlanId_example", enableProfanityFilter: false, enableSpamFilter: false, removeUnverifiedComments: false, unverifiedCommentsTTLms: 123, commentsRequireApproval: false, autoApproveCommentOnVerification: false, sendProfaneToSpam: false, deAnonIpAddr: 123, meta: "TODO", managedByTenantId: "managedByTenantId_example") // UpdateTenantBody | -DefaultAPI.updateTenant(request: DefaultAPI.ApiUpdateTenantRequest(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody)) { (response, error) in +DefaultAPI.updateTenant(tenantId: tenantId, id: id, updateTenantBody: updateTenantBody) { (response, error) in guard error == nil else { print(error) return @@ -5853,7 +5853,7 @@ Name | Type | Description | Notes # **updateTenantPackage** ```swift - open class func updateTenantPackage(request: ApiUpdateTenantPackageRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantPackage(tenantId: String, id: String, updateTenantPackageBody: UpdateTenantPackageBody, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5867,7 +5867,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateTenantPackageBody = UpdateTenantPackageBody(name: "name_example", monthlyCostUSD: 123, yearlyCostUSD: 123, maxMonthlyPageLoads: 123, maxMonthlyAPICredits: 123, maxMonthlyComments: 123, maxConcurrentUsers: 123, maxTenantUsers: 123, maxSSOUsers: 123, maxModerators: 123, maxDomains: 123, maxCustomCollectionSize: 123, hasDebranding: false, hasWhiteLabeling: false, forWhoText: "forWhoText_example", featureTaglines: ["featureTaglines_example"], hasFlexPricing: false, flexPageLoadCostCents: 123, flexPageLoadUnit: 123, flexCommentCostCents: 123, flexCommentUnit: 123, flexSSOUserCostCents: 123, flexSSOUserUnit: 123, flexAPICreditCostCents: 123, flexAPICreditUnit: 123, flexModeratorCostCents: 123, flexModeratorUnit: 123, flexAdminCostCents: 123, flexAdminUnit: 123, flexDomainCostCents: 123, flexDomainUnit: 123, flexMinimumCostCents: 123) // UpdateTenantPackageBody | -DefaultAPI.updateTenantPackage(request: DefaultAPI.ApiUpdateTenantPackageRequest(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody)) { (response, error) in +DefaultAPI.updateTenantPackage(tenantId: tenantId, id: id, updateTenantPackageBody: updateTenantPackageBody) { (response, error) in guard error == nil else { print(error) return @@ -5904,7 +5904,7 @@ Name | Type | Description | Notes # **updateTenantUser** ```swift - open class func updateTenantUser(request: ApiUpdateTenantUserRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5919,7 +5919,7 @@ let id = "id_example" // String | let updateTenantUserBody = UpdateTenantUserBody(username: "username_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", email: "email_example", signUpDate: 123, verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], locale: "locale_example", digestEmailFrequency: 123, displayLabel: "displayLabel_example") // UpdateTenantUserBody | let updateComments = "updateComments_example" // String | (optional) -DefaultAPI.updateTenantUser(request: DefaultAPI.ApiUpdateTenantUserRequest(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments)) { (response, error) in +DefaultAPI.updateTenantUser(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, options: DefaultAPI.ApiUpdateTenantUserOptions(updateComments: updateComments)) { (response, error) in guard error == nil else { print(error) return @@ -5957,7 +5957,7 @@ Name | Type | Description | Notes # **updateUserBadge** ```swift - open class func updateUserBadge(request: ApiUpdateUserBadgeRequest, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) + open class func updateUserBadge(tenantId: String, id: String, updateUserBadgeParams: UpdateUserBadgeParams, completion: @escaping (_ data: APIEmptySuccessResponse?, _ error: Error?) -> Void) ``` @@ -5971,7 +5971,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let updateUserBadgeParams = UpdateUserBadgeParams(displayedOnComments: false) // UpdateUserBadgeParams | -DefaultAPI.updateUserBadge(request: DefaultAPI.ApiUpdateUserBadgeRequest(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams)) { (response, error) in +DefaultAPI.updateUserBadge(tenantId: tenantId, id: id, updateUserBadgeParams: updateUserBadgeParams) { (response, error) in guard error == nil else { print(error) return diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index ef77253..062045f 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -51,7 +51,7 @@ Method | HTTP request | Description # **deleteModerationVote** ```swift - open class func deleteModerationVote(request: ApiDeleteModerationVoteRequest, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteModerationVote(commentId: String, voteId: String, options: ApiDeleteModerationVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -67,7 +67,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.deleteModerationVote(request: ModerationAPI.ApiDeleteModerationVoteRequest(commentId: commentId, voteId: voteId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, options: ModerationAPI.ApiDeleteModerationVoteOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -106,7 +106,7 @@ No authorization required # **getApiComments** ```swift - open class func getApiComments(request: ApiGetApiCommentsRequest, completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getApiComments(options: ApiGetApiCommentsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -127,7 +127,7 @@ let demo = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiComments(request: ModerationAPI.ApiGetApiCommentsRequest(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getApiComments(options: ModerationAPI.ApiGetApiCommentsOptions(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -171,7 +171,7 @@ No authorization required # **getApiExportStatus** ```swift - open class func getApiExportStatus(request: ApiGetApiExportStatusRequest, completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) + open class func getApiExportStatus(options: ApiGetApiExportStatusOptions = .init(), completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) ``` @@ -185,7 +185,7 @@ let batchJobId = "batchJobId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiExportStatus(request: ModerationAPI.ApiGetApiExportStatusRequest(batchJobId: batchJobId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getApiExportStatus(options: ModerationAPI.ApiGetApiExportStatusOptions(batchJobId: batchJobId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -222,7 +222,7 @@ No authorization required # **getApiIds** ```swift - open class func getApiIds(request: ApiGetApiIdsRequest, completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) + open class func getApiIds(options: ApiGetApiIdsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) ``` @@ -241,7 +241,7 @@ let demo = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiIds(request: ModerationAPI.ApiGetApiIdsRequest(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getApiIds(options: ModerationAPI.ApiGetApiIdsOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -283,7 +283,7 @@ No authorization required # **getBanUsersFromComment** ```swift - open class func getBanUsersFromComment(request: ApiGetBanUsersFromCommentRequest, completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) + open class func getBanUsersFromComment(commentId: String, options: ApiGetBanUsersFromCommentOptions = .init(), completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -297,7 +297,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getBanUsersFromComment(request: ModerationAPI.ApiGetBanUsersFromCommentRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getBanUsersFromComment(commentId: commentId, options: ModerationAPI.ApiGetBanUsersFromCommentOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -334,7 +334,7 @@ No authorization required # **getCommentBanStatus** ```swift - open class func getCommentBanStatus(request: ApiGetCommentBanStatusRequest, completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) + open class func getCommentBanStatus(commentId: String, options: ApiGetCommentBanStatusOptions = .init(), completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) ``` @@ -348,7 +348,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentBanStatus(request: ModerationAPI.ApiGetCommentBanStatusRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCommentBanStatus(commentId: commentId, options: ModerationAPI.ApiGetCommentBanStatusOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -385,7 +385,7 @@ No authorization required # **getCommentChildren** ```swift - open class func getCommentChildren(request: ApiGetCommentChildrenRequest, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func getCommentChildren(commentId: String, options: ApiGetCommentChildrenOptions = .init(), completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -399,7 +399,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentChildren(request: ModerationAPI.ApiGetCommentChildrenRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCommentChildren(commentId: commentId, options: ModerationAPI.ApiGetCommentChildrenOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -436,7 +436,7 @@ No authorization required # **getCount** ```swift - open class func getCount(request: ApiGetCountRequest, completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) + open class func getCount(options: ApiGetCountOptions = .init(), completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) ``` @@ -454,7 +454,7 @@ let demo = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCount(request: ModerationAPI.ApiGetCountRequest(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCount(options: ModerationAPI.ApiGetCountOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -495,7 +495,7 @@ No authorization required # **getCounts** ```swift - open class func getCounts(request: ApiGetCountsRequest, completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) + open class func getCounts(options: ApiGetCountsOptions = .init(), completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) ``` @@ -508,7 +508,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCounts(request: ModerationAPI.ApiGetCountsRequest(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCounts(options: ModerationAPI.ApiGetCountsOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -544,7 +544,7 @@ No authorization required # **getLogs** ```swift - open class func getLogs(request: ApiGetLogsRequest, completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) + open class func getLogs(commentId: String, options: ApiGetLogsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) ``` @@ -558,7 +558,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getLogs(request: ModerationAPI.ApiGetLogsRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getLogs(commentId: commentId, options: ModerationAPI.ApiGetLogsOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -595,7 +595,7 @@ No authorization required # **getManualBadges** ```swift - open class func getManualBadges(request: ApiGetManualBadgesRequest, completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadges(options: ApiGetManualBadgesOptions = .init(), completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -608,7 +608,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadges(request: ModerationAPI.ApiGetManualBadgesRequest(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getManualBadges(options: ModerationAPI.ApiGetManualBadgesOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -644,7 +644,7 @@ No authorization required # **getManualBadgesForUser** ```swift - open class func getManualBadgesForUser(request: ApiGetManualBadgesForUserRequest, completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadgesForUser(options: ApiGetManualBadgesForUserOptions = .init(), completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -659,7 +659,7 @@ let commentId = "commentId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadgesForUser(request: ModerationAPI.ApiGetManualBadgesForUserRequest(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getManualBadgesForUser(options: ModerationAPI.ApiGetManualBadgesForUserOptions(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -697,7 +697,7 @@ No authorization required # **getModerationComment** ```swift - open class func getModerationComment(request: ApiGetModerationCommentRequest, completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) + open class func getModerationComment(commentId: String, options: ApiGetModerationCommentOptions = .init(), completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) ``` @@ -713,7 +713,7 @@ let includeIP = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationComment(request: ModerationAPI.ApiGetModerationCommentRequest(commentId: commentId, includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getModerationComment(commentId: commentId, options: ModerationAPI.ApiGetModerationCommentOptions(includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -752,7 +752,7 @@ No authorization required # **getModerationCommentText** ```swift - open class func getModerationCommentText(request: ApiGetModerationCommentTextRequest, completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) + open class func getModerationCommentText(commentId: String, options: ApiGetModerationCommentTextOptions = .init(), completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -766,7 +766,7 @@ let commentId = "commentId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationCommentText(request: ModerationAPI.ApiGetModerationCommentTextRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getModerationCommentText(commentId: commentId, options: ModerationAPI.ApiGetModerationCommentTextOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -803,7 +803,7 @@ No authorization required # **getPreBanSummary** ```swift - open class func getPreBanSummary(request: ApiGetPreBanSummaryRequest, completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) + open class func getPreBanSummary(commentId: String, options: ApiGetPreBanSummaryOptions = .init(), completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) ``` @@ -820,7 +820,7 @@ let includeByEmailDomain = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getPreBanSummary(request: ModerationAPI.ApiGetPreBanSummaryRequest(commentId: commentId, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getPreBanSummary(commentId: commentId, options: ModerationAPI.ApiGetPreBanSummaryOptions(includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -860,7 +860,7 @@ No authorization required # **getSearchCommentsSummary** ```swift - open class func getSearchCommentsSummary(request: ApiGetSearchCommentsSummaryRequest, completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) + open class func getSearchCommentsSummary(options: ApiGetSearchCommentsSummaryOptions = .init(), completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) ``` @@ -876,7 +876,7 @@ let searchFilters = "searchFilters_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchCommentsSummary(request: ModerationAPI.ApiGetSearchCommentsSummaryRequest(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchCommentsSummary(options: ModerationAPI.ApiGetSearchCommentsSummaryOptions(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -915,7 +915,7 @@ No authorization required # **getSearchPages** ```swift - open class func getSearchPages(request: ApiGetSearchPagesRequest, completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) + open class func getSearchPages(options: ApiGetSearchPagesOptions = .init(), completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) ``` @@ -929,7 +929,7 @@ let value = "value_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchPages(request: ModerationAPI.ApiGetSearchPagesRequest(value: value, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchPages(options: ModerationAPI.ApiGetSearchPagesOptions(value: value, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -966,7 +966,7 @@ No authorization required # **getSearchSites** ```swift - open class func getSearchSites(request: ApiGetSearchSitesRequest, completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) + open class func getSearchSites(options: ApiGetSearchSitesOptions = .init(), completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) ``` @@ -980,7 +980,7 @@ let value = "value_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSites(request: ModerationAPI.ApiGetSearchSitesRequest(value: value, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchSites(options: ModerationAPI.ApiGetSearchSitesOptions(value: value, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1017,7 +1017,7 @@ No authorization required # **getSearchSuggest** ```swift - open class func getSearchSuggest(request: ApiGetSearchSuggestRequest, completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) + open class func getSearchSuggest(options: ApiGetSearchSuggestOptions = .init(), completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) ``` @@ -1031,7 +1031,7 @@ let textSearch = "textSearch_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSuggest(request: ModerationAPI.ApiGetSearchSuggestRequest(textSearch: textSearch, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchSuggest(options: ModerationAPI.ApiGetSearchSuggestOptions(textSearch: textSearch, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1068,7 +1068,7 @@ No authorization required # **getSearchUsers** ```swift - open class func getSearchUsers(request: ApiGetSearchUsersRequest, completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) + open class func getSearchUsers(options: ApiGetSearchUsersOptions = .init(), completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) ``` @@ -1082,7 +1082,7 @@ let value = "value_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchUsers(request: ModerationAPI.ApiGetSearchUsersRequest(value: value, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchUsers(options: ModerationAPI.ApiGetSearchUsersOptions(value: value, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1119,7 +1119,7 @@ No authorization required # **getTrustFactor** ```swift - open class func getTrustFactor(request: ApiGetTrustFactorRequest, completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func getTrustFactor(options: ApiGetTrustFactorOptions = .init(), completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -1133,7 +1133,7 @@ let userId = "userId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getTrustFactor(request: ModerationAPI.ApiGetTrustFactorRequest(userId: userId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getTrustFactor(options: ModerationAPI.ApiGetTrustFactorOptions(userId: userId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1170,7 +1170,7 @@ No authorization required # **getUserBanPreference** ```swift - open class func getUserBanPreference(request: ApiGetUserBanPreferenceRequest, completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) + open class func getUserBanPreference(options: ApiGetUserBanPreferenceOptions = .init(), completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) ``` @@ -1183,7 +1183,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserBanPreference(request: ModerationAPI.ApiGetUserBanPreferenceRequest(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getUserBanPreference(options: ModerationAPI.ApiGetUserBanPreferenceOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1219,7 +1219,7 @@ No authorization required # **getUserInternalProfile** ```swift - open class func getUserInternalProfile(request: ApiGetUserInternalProfileRequest, completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) + open class func getUserInternalProfile(options: ApiGetUserInternalProfileOptions = .init(), completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) ``` @@ -1233,7 +1233,7 @@ let commentId = "commentId_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserInternalProfile(request: ModerationAPI.ApiGetUserInternalProfileRequest(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getUserInternalProfile(options: ModerationAPI.ApiGetUserInternalProfileOptions(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1270,7 +1270,7 @@ No authorization required # **postAdjustCommentVotes** ```swift - open class func postAdjustCommentVotes(request: ApiPostAdjustCommentVotesRequest, completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) + open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions = .init(), completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) ``` @@ -1286,7 +1286,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postAdjustCommentVotes(request: ModerationAPI.ApiPostAdjustCommentVotesRequest(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, options: ModerationAPI.ApiPostAdjustCommentVotesOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1325,7 +1325,7 @@ No authorization required # **postApiExport** ```swift - open class func postApiExport(request: ApiPostApiExportRequest, completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) + open class func postApiExport(options: ApiPostApiExportOptions = .init(), completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) ``` @@ -1343,7 +1343,7 @@ let sorts = "sorts_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postApiExport(request: ModerationAPI.ApiPostApiExportRequest(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postApiExport(options: ModerationAPI.ApiPostApiExportOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1384,7 +1384,7 @@ No authorization required # **postBanUserFromComment** ```swift - open class func postBanUserFromComment(request: ApiPostBanUserFromCommentRequest, completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) + open class func postBanUserFromComment(commentId: String, options: ApiPostBanUserFromCommentOptions = .init(), completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) ``` @@ -1406,7 +1406,7 @@ let banReason = "banReason_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserFromComment(request: ModerationAPI.ApiPostBanUserFromCommentRequest(commentId: commentId, banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postBanUserFromComment(commentId: commentId, options: ModerationAPI.ApiPostBanUserFromCommentOptions(banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1451,7 +1451,7 @@ No authorization required # **postBanUserUndo** ```swift - open class func postBanUserUndo(request: ApiPostBanUserUndoRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1465,7 +1465,7 @@ let banUserUndoParams = BanUserUndoParams(changelog: APIBanUserChangeLog(created let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserUndo(request: ModerationAPI.ApiPostBanUserUndoRequest(banUserUndoParams: banUserUndoParams, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, options: ModerationAPI.ApiPostBanUserUndoOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1502,7 +1502,7 @@ No authorization required # **postBulkPreBanSummary** ```swift - open class func postBulkPreBanSummary(request: ApiPostBulkPreBanSummaryRequest, completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) + open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions = .init(), completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) ``` @@ -1519,7 +1519,7 @@ let includeByEmailDomain = true // Bool | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBulkPreBanSummary(request: ModerationAPI.ApiPostBulkPreBanSummaryRequest(bulkPreBanParams: bulkPreBanParams, includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postBulkPreBanSummary(bulkPreBanParams: bulkPreBanParams, options: ModerationAPI.ApiPostBulkPreBanSummaryOptions(includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1559,7 +1559,7 @@ No authorization required # **postCommentsByIds** ```swift - open class func postCommentsByIds(request: ApiPostCommentsByIdsRequest, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions = .init(), completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -1573,7 +1573,7 @@ let commentsByIdsParams = CommentsByIdsParams(ids: ["ids_example"]) // CommentsB let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postCommentsByIds(request: ModerationAPI.ApiPostCommentsByIdsRequest(commentsByIdsParams: commentsByIdsParams, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, options: ModerationAPI.ApiPostCommentsByIdsOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1610,7 +1610,7 @@ No authorization required # **postFlagComment** ```swift - open class func postFlagComment(request: ApiPostFlagCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postFlagComment(commentId: String, options: ApiPostFlagCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1625,7 +1625,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postFlagComment(request: ModerationAPI.ApiPostFlagCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postFlagComment(commentId: commentId, options: ModerationAPI.ApiPostFlagCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1663,7 +1663,7 @@ No authorization required # **postRemoveComment** ```swift - open class func postRemoveComment(request: ApiPostRemoveCommentRequest, completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) + open class func postRemoveComment(commentId: String, options: ApiPostRemoveCommentOptions = .init(), completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) ``` @@ -1678,7 +1678,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRemoveComment(request: ModerationAPI.ApiPostRemoveCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postRemoveComment(commentId: commentId, options: ModerationAPI.ApiPostRemoveCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1716,7 +1716,7 @@ No authorization required # **postRestoreDeletedComment** ```swift - open class func postRestoreDeletedComment(request: ApiPostRestoreDeletedCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postRestoreDeletedComment(commentId: String, options: ApiPostRestoreDeletedCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1731,7 +1731,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRestoreDeletedComment(request: ModerationAPI.ApiPostRestoreDeletedCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postRestoreDeletedComment(commentId: commentId, options: ModerationAPI.ApiPostRestoreDeletedCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1769,7 +1769,7 @@ No authorization required # **postSetCommentApprovalStatus** ```swift - open class func postSetCommentApprovalStatus(request: ApiPostSetCommentApprovalStatusRequest, completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) + open class func postSetCommentApprovalStatus(commentId: String, options: ApiPostSetCommentApprovalStatusOptions = .init(), completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) ``` @@ -1785,7 +1785,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentApprovalStatus(request: ModerationAPI.ApiPostSetCommentApprovalStatusRequest(commentId: commentId, approved: approved, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, options: ModerationAPI.ApiPostSetCommentApprovalStatusOptions(approved: approved, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1824,7 +1824,7 @@ No authorization required # **postSetCommentReviewStatus** ```swift - open class func postSetCommentReviewStatus(request: ApiPostSetCommentReviewStatusRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentReviewStatus(commentId: String, options: ApiPostSetCommentReviewStatusOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1840,7 +1840,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentReviewStatus(request: ModerationAPI.ApiPostSetCommentReviewStatusRequest(commentId: commentId, reviewed: reviewed, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentReviewStatus(commentId: commentId, options: ModerationAPI.ApiPostSetCommentReviewStatusOptions(reviewed: reviewed, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1879,7 +1879,7 @@ No authorization required # **postSetCommentSpamStatus** ```swift - open class func postSetCommentSpamStatus(request: ApiPostSetCommentSpamStatusRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentSpamStatus(commentId: String, options: ApiPostSetCommentSpamStatusOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1896,7 +1896,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentSpamStatus(request: ModerationAPI.ApiPostSetCommentSpamStatusRequest(commentId: commentId, spam: spam, permNotSpam: permNotSpam, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentSpamStatus(commentId: commentId, options: ModerationAPI.ApiPostSetCommentSpamStatusOptions(spam: spam, permNotSpam: permNotSpam, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1936,7 +1936,7 @@ No authorization required # **postSetCommentText** ```swift - open class func postSetCommentText(request: ApiPostSetCommentTextRequest, completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) + open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions = .init(), completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -1952,7 +1952,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentText(request: ModerationAPI.ApiPostSetCommentTextRequest(commentId: commentId, setCommentTextParams: setCommentTextParams, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, options: ModerationAPI.ApiPostSetCommentTextOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1991,7 +1991,7 @@ No authorization required # **postUnFlagComment** ```swift - open class func postUnFlagComment(request: ApiPostUnFlagCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postUnFlagComment(commentId: String, options: ApiPostUnFlagCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2006,7 +2006,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postUnFlagComment(request: ModerationAPI.ApiPostUnFlagCommentRequest(commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postUnFlagComment(commentId: commentId, options: ModerationAPI.ApiPostUnFlagCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2044,7 +2044,7 @@ No authorization required # **postVote** ```swift - open class func postVote(request: ApiPostVoteRequest, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func postVote(commentId: String, options: ApiPostVoteOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2060,7 +2060,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postVote(request: ModerationAPI.ApiPostVoteRequest(commentId: commentId, direction: direction, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postVote(commentId: commentId, options: ModerationAPI.ApiPostVoteOptions(direction: direction, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2099,7 +2099,7 @@ No authorization required # **putAwardBadge** ```swift - open class func putAwardBadge(request: ApiPutAwardBadgeRequest, completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) + open class func putAwardBadge(badgeId: String, options: ApiPutAwardBadgeOptions = .init(), completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2116,7 +2116,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putAwardBadge(request: ModerationAPI.ApiPutAwardBadgeRequest(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.putAwardBadge(badgeId: badgeId, options: ModerationAPI.ApiPutAwardBadgeOptions(userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2156,7 +2156,7 @@ No authorization required # **putCloseThread** ```swift - open class func putCloseThread(request: ApiPutCloseThreadRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putCloseThread(urlId: String, options: ApiPutCloseThreadOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2170,7 +2170,7 @@ let urlId = "urlId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putCloseThread(request: ModerationAPI.ApiPutCloseThreadRequest(urlId: urlId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.putCloseThread(urlId: urlId, options: ModerationAPI.ApiPutCloseThreadOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2207,7 +2207,7 @@ No authorization required # **putRemoveBadge** ```swift - open class func putRemoveBadge(request: ApiPutRemoveBadgeRequest, completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) + open class func putRemoveBadge(badgeId: String, options: ApiPutRemoveBadgeOptions = .init(), completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2224,7 +2224,7 @@ let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putRemoveBadge(request: ModerationAPI.ApiPutRemoveBadgeRequest(badgeId: badgeId, userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.putRemoveBadge(badgeId: badgeId, options: ModerationAPI.ApiPutRemoveBadgeOptions(userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2264,7 +2264,7 @@ No authorization required # **putReopenThread** ```swift - open class func putReopenThread(request: ApiPutReopenThreadRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putReopenThread(urlId: String, options: ApiPutReopenThreadOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2278,7 +2278,7 @@ let urlId = "urlId_example" // String | let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putReopenThread(request: ModerationAPI.ApiPutReopenThreadRequest(urlId: urlId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.putReopenThread(urlId: urlId, options: ModerationAPI.ApiPutReopenThreadOptions(tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2315,7 +2315,7 @@ No authorization required # **setTrustFactor** ```swift - open class func setTrustFactor(request: ApiSetTrustFactorRequest, completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func setTrustFactor(options: ApiSetTrustFactorOptions = .init(), completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -2330,7 +2330,7 @@ let trustFactor = "trustFactor_example" // String | (optional) let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.setTrustFactor(request: ModerationAPI.ApiSetTrustFactorRequest(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.setTrustFactor(options: ModerationAPI.ApiSetTrustFactorOptions(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso)) { (response, error) in guard error == nil else { print(error) return diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index 89db42d..d383815 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -60,7 +60,7 @@ Method | HTTP request | Description # **blockFromCommentPublic** ```swift - open class func blockFromCommentPublic(request: ApiBlockFromCommentPublicRequest, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions = .init(), completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -75,7 +75,7 @@ let commentId = "commentId_example" // String | let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams | let sso = "sso_example" // String | (optional) -PublicAPI.blockFromCommentPublic(request: PublicAPI.ApiBlockFromCommentPublicRequest(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso)) { (response, error) in +PublicAPI.blockFromCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: PublicAPI.ApiBlockFromCommentPublicOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -113,7 +113,7 @@ No authorization required # **checkedCommentsForBlocked** ```swift - open class func checkedCommentsForBlocked(request: ApiCheckedCommentsForBlockedRequest, completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, options: ApiCheckedCommentsForBlockedOptions = .init(), completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) ``` @@ -127,7 +127,7 @@ let tenantId = "tenantId_example" // String | let commentIds = "commentIds_example" // String | A comma separated list of comment ids. let sso = "sso_example" // String | (optional) -PublicAPI.checkedCommentsForBlocked(request: PublicAPI.ApiCheckedCommentsForBlockedRequest(tenantId: tenantId, commentIds: commentIds, sso: sso)) { (response, error) in +PublicAPI.checkedCommentsForBlocked(tenantId: tenantId, commentIds: commentIds, options: PublicAPI.ApiCheckedCommentsForBlockedOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -164,7 +164,7 @@ No authorization required # **createCommentPublic** ```swift - open class func createCommentPublic(request: ApiCreateCommentPublicRequest, completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: ApiCreateCommentPublicOptions = .init(), completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) ``` @@ -181,7 +181,7 @@ let commentData = CommentData(date: 123, localDateString: "localDateString_examp let sessionId = "sessionId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.createCommentPublic(request: PublicAPI.ApiCreateCommentPublicRequest(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, sessionId: sessionId, sso: sso)) { (response, error) in +PublicAPI.createCommentPublic(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, options: PublicAPI.ApiCreateCommentPublicOptions(sessionId: sessionId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -221,7 +221,7 @@ No authorization required # **createFeedPostPublic** ```swift - open class func createFeedPostPublic(request: ApiCreateFeedPostPublicRequest, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions = .init(), completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -236,7 +236,7 @@ let createFeedPostParams = CreateFeedPostParams(title: "title_example", contentH let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.createFeedPostPublic(request: PublicAPI.ApiCreateFeedPostPublicRequest(tenantId: tenantId, createFeedPostParams: createFeedPostParams, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.createFeedPostPublic(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: PublicAPI.ApiCreateFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -274,7 +274,7 @@ No authorization required # **createV1PageReact** ```swift - open class func createV1PageReact(request: ApiCreateV1PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV1PageReact(tenantId: String, urlId: String, options: ApiCreateV1PageReactOptions = .init(), completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -288,7 +288,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let title = "title_example" // String | (optional) -PublicAPI.createV1PageReact(request: PublicAPI.ApiCreateV1PageReactRequest(tenantId: tenantId, urlId: urlId, title: title)) { (response, error) in +PublicAPI.createV1PageReact(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiCreateV1PageReactOptions(title: title)) { (response, error) in guard error == nil else { print(error) return @@ -325,7 +325,7 @@ No authorization required # **createV2PageReact** ```swift - open class func createV2PageReact(request: ApiCreateV2PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV2PageReact(tenantId: String, urlId: String, id: String, options: ApiCreateV2PageReactOptions = .init(), completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -340,7 +340,7 @@ let urlId = "urlId_example" // String | let id = "id_example" // String | let title = "title_example" // String | (optional) -PublicAPI.createV2PageReact(request: PublicAPI.ApiCreateV2PageReactRequest(tenantId: tenantId, urlId: urlId, id: id, title: title)) { (response, error) in +PublicAPI.createV2PageReact(tenantId: tenantId, urlId: urlId, id: id, options: PublicAPI.ApiCreateV2PageReactOptions(title: title)) { (response, error) in guard error == nil else { print(error) return @@ -378,7 +378,7 @@ No authorization required # **deleteCommentPublic** ```swift - open class func deleteCommentPublic(request: ApiDeleteCommentPublicRequest, completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, options: ApiDeleteCommentPublicOptions = .init(), completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) ``` @@ -394,7 +394,7 @@ let broadcastId = "broadcastId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteCommentPublic(request: PublicAPI.ApiDeleteCommentPublicRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.deleteCommentPublic(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiDeleteCommentPublicOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -433,7 +433,7 @@ No authorization required # **deleteCommentVote** ```swift - open class func deleteCommentVote(request: ApiDeleteCommentVoteRequest, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: ApiDeleteCommentVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -451,7 +451,7 @@ let broadcastId = "broadcastId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteCommentVote(request: PublicAPI.ApiDeleteCommentVoteRequest(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.deleteCommentVote(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, options: PublicAPI.ApiDeleteCommentVoteOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -492,7 +492,7 @@ No authorization required # **deleteFeedPostPublic** ```swift - open class func deleteFeedPostPublic(request: ApiDeleteFeedPostPublicRequest, completion: @escaping (_ data: DeleteFeedPostPublicResponse?, _ error: Error?) -> Void) + open class func deleteFeedPostPublic(tenantId: String, postId: String, options: ApiDeleteFeedPostPublicOptions = .init(), completion: @escaping (_ data: DeleteFeedPostPublicResponse?, _ error: Error?) -> Void) ``` @@ -507,7 +507,7 @@ let postId = "postId_example" // String | let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteFeedPostPublic(request: PublicAPI.ApiDeleteFeedPostPublicRequest(tenantId: tenantId, postId: postId, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.deleteFeedPostPublic(tenantId: tenantId, postId: postId, options: PublicAPI.ApiDeleteFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -545,7 +545,7 @@ No authorization required # **deleteV1PageReact** ```swift - open class func deleteV1PageReact(request: ApiDeleteV1PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func deleteV1PageReact(tenantId: String, urlId: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -558,7 +558,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -PublicAPI.deleteV1PageReact(request: PublicAPI.ApiDeleteV1PageReactRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in +PublicAPI.deleteV1PageReact(tenantId: tenantId, urlId: urlId) { (response, error) in guard error == nil else { print(error) return @@ -594,7 +594,7 @@ No authorization required # **deleteV2PageReact** ```swift - open class func deleteV2PageReact(request: ApiDeleteV2PageReactRequest, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func deleteV2PageReact(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -608,7 +608,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let id = "id_example" // String | -PublicAPI.deleteV2PageReact(request: PublicAPI.ApiDeleteV2PageReactRequest(tenantId: tenantId, urlId: urlId, id: id)) { (response, error) in +PublicAPI.deleteV2PageReact(tenantId: tenantId, urlId: urlId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -645,7 +645,7 @@ No authorization required # **flagCommentPublic** ```swift - open class func flagCommentPublic(request: ApiFlagCommentPublicRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, options: ApiFlagCommentPublicOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -660,7 +660,7 @@ let commentId = "commentId_example" // String | let isFlagged = true // Bool | let sso = "sso_example" // String | (optional) -PublicAPI.flagCommentPublic(request: PublicAPI.ApiFlagCommentPublicRequest(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso)) { (response, error) in +PublicAPI.flagCommentPublic(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, options: PublicAPI.ApiFlagCommentPublicOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -698,7 +698,7 @@ No authorization required # **getCommentText** ```swift - open class func getCommentText(request: ApiGetCommentTextRequest, completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) + open class func getCommentText(tenantId: String, commentId: String, options: ApiGetCommentTextOptions = .init(), completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -713,7 +713,7 @@ let commentId = "commentId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getCommentText(request: PublicAPI.ApiGetCommentTextRequest(tenantId: tenantId, commentId: commentId, editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.getCommentText(tenantId: tenantId, commentId: commentId, options: PublicAPI.ApiGetCommentTextOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -751,7 +751,7 @@ No authorization required # **getCommentVoteUserNames** ```swift - open class func getCommentVoteUserNames(request: ApiGetCommentVoteUserNamesRequest, completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, options: ApiGetCommentVoteUserNamesOptions = .init(), completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) ``` @@ -766,7 +766,7 @@ let commentId = "commentId_example" // String | let dir = 987 // Int | let sso = "sso_example" // String | (optional) -PublicAPI.getCommentVoteUserNames(request: PublicAPI.ApiGetCommentVoteUserNamesRequest(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso)) { (response, error) in +PublicAPI.getCommentVoteUserNames(tenantId: tenantId, commentId: commentId, dir: dir, options: PublicAPI.ApiGetCommentVoteUserNamesOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -804,7 +804,7 @@ No authorization required # **getCommentsForUser** ```swift - open class func getCommentsForUser(request: ApiGetCommentsForUserRequest, completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) + open class func getCommentsForUser(options: ApiGetCommentsForUserOptions = .init(), completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) ``` @@ -822,7 +822,7 @@ let includei10n = true // Bool | (optional) let locale = "locale_example" // String | (optional) let isCrawler = true // Bool | (optional) -PublicAPI.getCommentsForUser(request: PublicAPI.ApiGetCommentsForUserRequest(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler)) { (response, error) in +PublicAPI.getCommentsForUser(options: PublicAPI.ApiGetCommentsForUserOptions(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler)) { (response, error) in guard error == nil else { print(error) return @@ -863,7 +863,7 @@ No authorization required # **getCommentsPublic** ```swift - open class func getCommentsPublic(request: ApiGetCommentsPublicRequest, completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) + open class func getCommentsPublic(tenantId: String, urlId: String, options: ApiGetCommentsPublicOptions = .init(), completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) ``` @@ -904,7 +904,7 @@ let customConfigStr = "customConfigStr_example" // String | (optional) let afterCommentId = "afterCommentId_example" // String | (optional) let beforeCommentId = "beforeCommentId_example" // String | (optional) -PublicAPI.getCommentsPublic(request: PublicAPI.ApiGetCommentsPublicRequest(tenantId: tenantId, urlId: urlId, page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId)) { (response, error) in +PublicAPI.getCommentsPublic(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiGetCommentsPublicOptions(page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId)) { (response, error) in guard error == nil else { print(error) return @@ -966,7 +966,7 @@ No authorization required # **getEventLog** ```swift - open class func getEventLog(request: ApiGetEventLogRequest, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetEventLogOptions = .init(), completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -984,7 +984,7 @@ let userIdWS = "userIdWS_example" // String | let startTime = 987 // Int64 | let endTime = 987 // Int64 | (optional) -PublicAPI.getEventLog(request: PublicAPI.ApiGetEventLogRequest(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime)) { (response, error) in +PublicAPI.getEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: PublicAPI.ApiGetEventLogOptions(endTime: endTime)) { (response, error) in guard error == nil else { print(error) return @@ -1023,7 +1023,7 @@ No authorization required # **getFeedPostsPublic** ```swift - open class func getFeedPostsPublic(request: ApiGetFeedPostsPublicRequest, completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsPublic(tenantId: String, options: ApiGetFeedPostsPublicOptions = .init(), completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -1043,7 +1043,7 @@ let sso = "sso_example" // String | (optional) let isCrawler = true // Bool | (optional) let includeUserInfo = true // Bool | (optional) -PublicAPI.getFeedPostsPublic(request: PublicAPI.ApiGetFeedPostsPublicRequest(tenantId: tenantId, afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo)) { (response, error) in +PublicAPI.getFeedPostsPublic(tenantId: tenantId, options: PublicAPI.ApiGetFeedPostsPublicOptions(afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo)) { (response, error) in guard error == nil else { print(error) return @@ -1084,7 +1084,7 @@ No authorization required # **getFeedPostsStats** ```swift - open class func getFeedPostsStats(request: ApiGetFeedPostsStatsRequest, completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsStats(tenantId: String, postIds: [String], options: ApiGetFeedPostsStatsOptions = .init(), completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) ``` @@ -1098,7 +1098,7 @@ let tenantId = "tenantId_example" // String | let postIds = ["inner_example"] // [String] | let sso = "sso_example" // String | (optional) -PublicAPI.getFeedPostsStats(request: PublicAPI.ApiGetFeedPostsStatsRequest(tenantId: tenantId, postIds: postIds, sso: sso)) { (response, error) in +PublicAPI.getFeedPostsStats(tenantId: tenantId, postIds: postIds, options: PublicAPI.ApiGetFeedPostsStatsOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1135,7 +1135,7 @@ No authorization required # **getGifLarge** ```swift - open class func getGifLarge(request: ApiGetGifLargeRequest, completion: @escaping (_ data: GifGetLargeResponse?, _ error: Error?) -> Void) + open class func getGifLarge(tenantId: String, largeInternalURLSanitized: String, completion: @escaping (_ data: GifGetLargeResponse?, _ error: Error?) -> Void) ``` @@ -1148,7 +1148,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let largeInternalURLSanitized = "largeInternalURLSanitized_example" // String | -PublicAPI.getGifLarge(request: PublicAPI.ApiGetGifLargeRequest(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized)) { (response, error) in +PublicAPI.getGifLarge(tenantId: tenantId, largeInternalURLSanitized: largeInternalURLSanitized) { (response, error) in guard error == nil else { print(error) return @@ -1184,7 +1184,7 @@ No authorization required # **getGifsSearch** ```swift - open class func getGifsSearch(request: ApiGetGifsSearchRequest, completion: @escaping (_ data: GetGifsSearchResponse?, _ error: Error?) -> Void) + open class func getGifsSearch(tenantId: String, search: String, options: ApiGetGifsSearchOptions = .init(), completion: @escaping (_ data: GetGifsSearchResponse?, _ error: Error?) -> Void) ``` @@ -1200,7 +1200,7 @@ let locale = "locale_example" // String | (optional) let rating = "rating_example" // String | (optional) let page = 987 // Double | (optional) -PublicAPI.getGifsSearch(request: PublicAPI.ApiGetGifsSearchRequest(tenantId: tenantId, search: search, locale: locale, rating: rating, page: page)) { (response, error) in +PublicAPI.getGifsSearch(tenantId: tenantId, search: search, options: PublicAPI.ApiGetGifsSearchOptions(locale: locale, rating: rating, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -1239,7 +1239,7 @@ No authorization required # **getGifsTrending** ```swift - open class func getGifsTrending(request: ApiGetGifsTrendingRequest, completion: @escaping (_ data: GetGifsTrendingResponse?, _ error: Error?) -> Void) + open class func getGifsTrending(tenantId: String, options: ApiGetGifsTrendingOptions = .init(), completion: @escaping (_ data: GetGifsTrendingResponse?, _ error: Error?) -> Void) ``` @@ -1254,7 +1254,7 @@ let locale = "locale_example" // String | (optional) let rating = "rating_example" // String | (optional) let page = 987 // Double | (optional) -PublicAPI.getGifsTrending(request: PublicAPI.ApiGetGifsTrendingRequest(tenantId: tenantId, locale: locale, rating: rating, page: page)) { (response, error) in +PublicAPI.getGifsTrending(tenantId: tenantId, options: PublicAPI.ApiGetGifsTrendingOptions(locale: locale, rating: rating, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -1292,7 +1292,7 @@ No authorization required # **getGlobalEventLog** ```swift - open class func getGlobalEventLog(request: ApiGetGlobalEventLogRequest, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetGlobalEventLogOptions = .init(), completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -1310,7 +1310,7 @@ let userIdWS = "userIdWS_example" // String | let startTime = 987 // Int64 | let endTime = 987 // Int64 | (optional) -PublicAPI.getGlobalEventLog(request: PublicAPI.ApiGetGlobalEventLogRequest(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime)) { (response, error) in +PublicAPI.getGlobalEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: PublicAPI.ApiGetGlobalEventLogOptions(endTime: endTime)) { (response, error) in guard error == nil else { print(error) return @@ -1349,7 +1349,7 @@ No authorization required # **getOfflineUsers** ```swift - open class func getOfflineUsers(request: ApiGetOfflineUsersRequest, completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) + open class func getOfflineUsers(tenantId: String, urlId: String, options: ApiGetOfflineUsersOptions = .init(), completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) ``` @@ -1366,7 +1366,7 @@ let urlId = "urlId_example" // String | Page URL identifier (cleaned server-side let afterName = "afterName_example" // String | Cursor: pass nextAfterName from the previous response. (optional) let afterUserId = "afterUserId_example" // String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) -PublicAPI.getOfflineUsers(request: PublicAPI.ApiGetOfflineUsersRequest(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId)) { (response, error) in +PublicAPI.getOfflineUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiGetOfflineUsersOptions(afterName: afterName, afterUserId: afterUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1404,7 +1404,7 @@ No authorization required # **getOnlineUsers** ```swift - open class func getOnlineUsers(request: ApiGetOnlineUsersRequest, completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) + open class func getOnlineUsers(tenantId: String, urlId: String, options: ApiGetOnlineUsersOptions = .init(), completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) ``` @@ -1421,7 +1421,7 @@ let urlId = "urlId_example" // String | Page URL identifier (cleaned server-side let afterName = "afterName_example" // String | Cursor: pass nextAfterName from the previous response. (optional) let afterUserId = "afterUserId_example" // String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) -PublicAPI.getOnlineUsers(request: PublicAPI.ApiGetOnlineUsersRequest(tenantId: tenantId, urlId: urlId, afterName: afterName, afterUserId: afterUserId)) { (response, error) in +PublicAPI.getOnlineUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiGetOnlineUsersOptions(afterName: afterName, afterUserId: afterUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1459,7 +1459,7 @@ No authorization required # **getPagesPublic** ```swift - open class func getPagesPublic(request: ApiGetPagesPublicRequest, completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) + open class func getPagesPublic(tenantId: String, options: ApiGetPagesPublicOptions = .init(), completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) ``` @@ -1478,7 +1478,7 @@ let q = "q_example" // String | Optional case-insensitive title prefix filter. ( let sortBy = PagesSortBy() // PagesSortBy | Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) let hasComments = true // Bool | If true, only return pages with at least one comment. (optional) -PublicAPI.getPagesPublic(request: PublicAPI.ApiGetPagesPublicRequest(tenantId: tenantId, cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments)) { (response, error) in +PublicAPI.getPagesPublic(tenantId: tenantId, options: PublicAPI.ApiGetPagesPublicOptions(cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments)) { (response, error) in guard error == nil else { print(error) return @@ -1518,7 +1518,7 @@ No authorization required # **getTranslations** ```swift - open class func getTranslations(request: ApiGetTranslationsRequest, completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) + open class func getTranslations(namespace: String, component: String, options: ApiGetTranslationsOptions = .init(), completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) ``` @@ -1533,7 +1533,7 @@ let component = "component_example" // String | let locale = "locale_example" // String | (optional) let useFullTranslationIds = true // Bool | (optional) -PublicAPI.getTranslations(request: PublicAPI.ApiGetTranslationsRequest(namespace: namespace, component: component, locale: locale, useFullTranslationIds: useFullTranslationIds)) { (response, error) in +PublicAPI.getTranslations(namespace: namespace, component: component, options: PublicAPI.ApiGetTranslationsOptions(locale: locale, useFullTranslationIds: useFullTranslationIds)) { (response, error) in guard error == nil else { print(error) return @@ -1571,7 +1571,7 @@ No authorization required # **getUserNotificationCount** ```swift - open class func getUserNotificationCount(request: ApiGetUserNotificationCountRequest, completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) + open class func getUserNotificationCount(tenantId: String, options: ApiGetUserNotificationCountOptions = .init(), completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -1584,7 +1584,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.getUserNotificationCount(request: PublicAPI.ApiGetUserNotificationCountRequest(tenantId: tenantId, sso: sso)) { (response, error) in +PublicAPI.getUserNotificationCount(tenantId: tenantId, options: PublicAPI.ApiGetUserNotificationCountOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1620,7 +1620,7 @@ No authorization required # **getUserNotifications** ```swift - open class func getUserNotifications(request: ApiGetUserNotificationsRequest, completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) + open class func getUserNotifications(tenantId: String, options: ApiGetUserNotificationsOptions = .init(), completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -1643,7 +1643,7 @@ let includeTranslations = true // Bool | (optional) let includeTenantNotifications = true // Bool | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getUserNotifications(request: PublicAPI.ApiGetUserNotificationsRequest(tenantId: tenantId, urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso)) { (response, error) in +PublicAPI.getUserNotifications(tenantId: tenantId, options: PublicAPI.ApiGetUserNotificationsOptions(urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1689,7 +1689,7 @@ No authorization required # **getUserPresenceStatuses** ```swift - open class func getUserPresenceStatuses(request: ApiGetUserPresenceStatusesRequest, completion: @escaping (_ data: GetUserPresenceStatusesResponse?, _ error: Error?) -> Void) + open class func getUserPresenceStatuses(tenantId: String, urlIdWS: String, userIds: String, completion: @escaping (_ data: GetUserPresenceStatusesResponse?, _ error: Error?) -> Void) ``` @@ -1703,7 +1703,7 @@ let tenantId = "tenantId_example" // String | let urlIdWS = "urlIdWS_example" // String | let userIds = "userIds_example" // String | -PublicAPI.getUserPresenceStatuses(request: PublicAPI.ApiGetUserPresenceStatusesRequest(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds)) { (response, error) in +PublicAPI.getUserPresenceStatuses(tenantId: tenantId, urlIdWS: urlIdWS, userIds: userIds) { (response, error) in guard error == nil else { print(error) return @@ -1740,7 +1740,7 @@ No authorization required # **getUserReactsPublic** ```swift - open class func getUserReactsPublic(request: ApiGetUserReactsPublicRequest, completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) + open class func getUserReactsPublic(tenantId: String, options: ApiGetUserReactsPublicOptions = .init(), completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) ``` @@ -1754,7 +1754,7 @@ let tenantId = "tenantId_example" // String | let postIds = ["inner_example"] // [String] | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getUserReactsPublic(request: PublicAPI.ApiGetUserReactsPublicRequest(tenantId: tenantId, postIds: postIds, sso: sso)) { (response, error) in +PublicAPI.getUserReactsPublic(tenantId: tenantId, options: PublicAPI.ApiGetUserReactsPublicOptions(postIds: postIds, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1791,7 +1791,7 @@ No authorization required # **getUsersInfo** ```swift - open class func getUsersInfo(request: ApiGetUsersInfoRequest, completion: @escaping (_ data: PageUsersInfoResponse?, _ error: Error?) -> Void) + open class func getUsersInfo(tenantId: String, ids: String, completion: @escaping (_ data: PageUsersInfoResponse?, _ error: Error?) -> Void) ``` @@ -1806,7 +1806,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let ids = "ids_example" // String | Comma-delimited userIds. -PublicAPI.getUsersInfo(request: PublicAPI.ApiGetUsersInfoRequest(tenantId: tenantId, ids: ids)) { (response, error) in +PublicAPI.getUsersInfo(tenantId: tenantId, ids: ids) { (response, error) in guard error == nil else { print(error) return @@ -1842,7 +1842,7 @@ No authorization required # **getV1PageLikes** ```swift - open class func getV1PageLikes(request: ApiGetV1PageLikesRequest, completion: @escaping (_ data: GetV1PageLikes?, _ error: Error?) -> Void) + open class func getV1PageLikes(tenantId: String, urlId: String, completion: @escaping (_ data: GetV1PageLikes?, _ error: Error?) -> Void) ``` @@ -1855,7 +1855,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -PublicAPI.getV1PageLikes(request: PublicAPI.ApiGetV1PageLikesRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in +PublicAPI.getV1PageLikes(tenantId: tenantId, urlId: urlId) { (response, error) in guard error == nil else { print(error) return @@ -1891,7 +1891,7 @@ No authorization required # **getV2PageReactUsers** ```swift - open class func getV2PageReactUsers(request: ApiGetV2PageReactUsersRequest, completion: @escaping (_ data: GetV2PageReactUsersResponse?, _ error: Error?) -> Void) + open class func getV2PageReactUsers(tenantId: String, urlId: String, id: String, completion: @escaping (_ data: GetV2PageReactUsersResponse?, _ error: Error?) -> Void) ``` @@ -1905,7 +1905,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let id = "id_example" // String | -PublicAPI.getV2PageReactUsers(request: PublicAPI.ApiGetV2PageReactUsersRequest(tenantId: tenantId, urlId: urlId, id: id)) { (response, error) in +PublicAPI.getV2PageReactUsers(tenantId: tenantId, urlId: urlId, id: id) { (response, error) in guard error == nil else { print(error) return @@ -1942,7 +1942,7 @@ No authorization required # **getV2PageReacts** ```swift - open class func getV2PageReacts(request: ApiGetV2PageReactsRequest, completion: @escaping (_ data: GetV2PageReacts?, _ error: Error?) -> Void) + open class func getV2PageReacts(tenantId: String, urlId: String, completion: @escaping (_ data: GetV2PageReacts?, _ error: Error?) -> Void) ``` @@ -1955,7 +1955,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -PublicAPI.getV2PageReacts(request: PublicAPI.ApiGetV2PageReactsRequest(tenantId: tenantId, urlId: urlId)) { (response, error) in +PublicAPI.getV2PageReacts(tenantId: tenantId, urlId: urlId) { (response, error) in guard error == nil else { print(error) return @@ -1991,7 +1991,7 @@ No authorization required # **lockComment** ```swift - open class func lockComment(request: ApiLockCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiLockCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2006,7 +2006,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.lockComment(request: PublicAPI.ApiLockCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.lockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiLockCommentOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2087,7 +2087,7 @@ No authorization required # **pinComment** ```swift - open class func pinComment(request: ApiPinCommentRequest, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiPinCommentOptions = .init(), completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2102,7 +2102,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.pinComment(request: PublicAPI.ApiPinCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.pinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiPinCommentOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2140,7 +2140,7 @@ No authorization required # **reactFeedPostPublic** ```swift - open class func reactFeedPostPublic(request: ApiReactFeedPostPublicRequest, completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions = .init(), completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2157,7 +2157,7 @@ let isUndo = true // Bool | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.reactFeedPostPublic(request: PublicAPI.ApiReactFeedPostPublicRequest(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, isUndo: isUndo, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.reactFeedPostPublic(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, options: PublicAPI.ApiReactFeedPostPublicOptions(isUndo: isUndo, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2197,7 +2197,7 @@ No authorization required # **resetUserNotificationCount** ```swift - open class func resetUserNotificationCount(request: ApiResetUserNotificationCountRequest, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotificationCount(tenantId: String, options: ApiResetUserNotificationCountOptions = .init(), completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2210,7 +2210,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.resetUserNotificationCount(request: PublicAPI.ApiResetUserNotificationCountRequest(tenantId: tenantId, sso: sso)) { (response, error) in +PublicAPI.resetUserNotificationCount(tenantId: tenantId, options: PublicAPI.ApiResetUserNotificationCountOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2246,7 +2246,7 @@ No authorization required # **resetUserNotifications** ```swift - open class func resetUserNotifications(request: ApiResetUserNotificationsRequest, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotifications(tenantId: String, options: ApiResetUserNotificationsOptions = .init(), completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2264,7 +2264,7 @@ let dmOnly = true // Bool | (optional) let noDm = true // Bool | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.resetUserNotifications(request: PublicAPI.ApiResetUserNotificationsRequest(tenantId: tenantId, afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso)) { (response, error) in +PublicAPI.resetUserNotifications(tenantId: tenantId, options: PublicAPI.ApiResetUserNotificationsOptions(afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2305,7 +2305,7 @@ No authorization required # **searchUsers** ```swift - open class func searchUsers(request: ApiSearchUsersRequest, completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) + open class func searchUsers(tenantId: String, urlId: String, options: ApiSearchUsersOptions = .init(), completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) ``` @@ -2322,7 +2322,7 @@ let mentionGroupIds = ["inner_example"] // [String] | (optional) let sso = "sso_example" // String | (optional) let searchSection = "searchSection_example" // String | (optional) -PublicAPI.searchUsers(request: PublicAPI.ApiSearchUsersRequest(tenantId: tenantId, urlId: urlId, usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection)) { (response, error) in +PublicAPI.searchUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiSearchUsersOptions(usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection)) { (response, error) in guard error == nil else { print(error) return @@ -2362,7 +2362,7 @@ No authorization required # **setCommentText** ```swift - open class func setCommentText(request: ApiSetCommentTextRequest, completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions = .init(), completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -2379,7 +2379,7 @@ let commentTextUpdateRequest = CommentTextUpdateRequest(comment: "comment_exampl let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.setCommentText(request: PublicAPI.ApiSetCommentTextRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.setCommentText(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, options: PublicAPI.ApiSetCommentTextOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2419,7 +2419,7 @@ No authorization required # **unBlockCommentPublic** ```swift - open class func unBlockCommentPublic(request: ApiUnBlockCommentPublicRequest, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions = .init(), completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -2434,7 +2434,7 @@ let commentId = "commentId_example" // String | let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams | let sso = "sso_example" // String | (optional) -PublicAPI.unBlockCommentPublic(request: PublicAPI.ApiUnBlockCommentPublicRequest(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso)) { (response, error) in +PublicAPI.unBlockCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: PublicAPI.ApiUnBlockCommentPublicOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2472,7 +2472,7 @@ No authorization required # **unLockComment** ```swift - open class func unLockComment(request: ApiUnLockCommentRequest, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnLockCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2487,7 +2487,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.unLockComment(request: PublicAPI.ApiUnLockCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.unLockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiUnLockCommentOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2525,7 +2525,7 @@ No authorization required # **unPinComment** ```swift - open class func unPinComment(request: ApiUnPinCommentRequest, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnPinCommentOptions = .init(), completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2540,7 +2540,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.unPinComment(request: PublicAPI.ApiUnPinCommentRequest(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.unPinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiUnPinCommentOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2578,7 +2578,7 @@ No authorization required # **updateFeedPostPublic** ```swift - open class func updateFeedPostPublic(request: ApiUpdateFeedPostPublicRequest, completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions = .init(), completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2594,7 +2594,7 @@ let updateFeedPostParams = UpdateFeedPostParams(title: "title_example", contentH let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.updateFeedPostPublic(request: PublicAPI.ApiUpdateFeedPostPublicRequest(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.updateFeedPostPublic(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, options: PublicAPI.ApiUpdateFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2633,7 +2633,7 @@ No authorization required # **updateUserNotificationCommentSubscriptionStatus** ```swift - open class func updateUserNotificationCommentSubscriptionStatus(request: ApiUpdateUserNotificationCommentSubscriptionStatusRequest, completion: @escaping (_ data: UpdateUserNotificationCommentSubscriptionStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions = .init(), completion: @escaping (_ data: UpdateUserNotificationCommentSubscriptionStatusResponse?, _ error: Error?) -> Void) ``` @@ -2651,7 +2651,7 @@ let optedInOrOut = "optedInOrOut_example" // String | let commentId = "commentId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationCommentSubscriptionStatus(request: PublicAPI.ApiUpdateUserNotificationCommentSubscriptionStatusRequest(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso)) { (response, error) in +PublicAPI.updateUserNotificationCommentSubscriptionStatus(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, options: PublicAPI.ApiUpdateUserNotificationCommentSubscriptionStatusOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2690,7 +2690,7 @@ No authorization required # **updateUserNotificationPageSubscriptionStatus** ```swift - open class func updateUserNotificationPageSubscriptionStatus(request: ApiUpdateUserNotificationPageSubscriptionStatusRequest, completion: @escaping (_ data: UpdateUserNotificationPageSubscriptionStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions = .init(), completion: @escaping (_ data: UpdateUserNotificationPageSubscriptionStatusResponse?, _ error: Error?) -> Void) ``` @@ -2709,7 +2709,7 @@ let pageTitle = "pageTitle_example" // String | let subscribedOrUnsubscribed = "subscribedOrUnsubscribed_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationPageSubscriptionStatus(request: PublicAPI.ApiUpdateUserNotificationPageSubscriptionStatusRequest(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso)) { (response, error) in +PublicAPI.updateUserNotificationPageSubscriptionStatus(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, options: PublicAPI.ApiUpdateUserNotificationPageSubscriptionStatusOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2749,7 +2749,7 @@ No authorization required # **updateUserNotificationStatus** ```swift - open class func updateUserNotificationStatus(request: ApiUpdateUserNotificationStatusRequest, completion: @escaping (_ data: UpdateUserNotificationStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, options: ApiUpdateUserNotificationStatusOptions = .init(), completion: @escaping (_ data: UpdateUserNotificationStatusResponse?, _ error: Error?) -> Void) ``` @@ -2764,7 +2764,7 @@ let notificationId = "notificationId_example" // String | let newStatus = "newStatus_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationStatus(request: PublicAPI.ApiUpdateUserNotificationStatusRequest(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso)) { (response, error) in +PublicAPI.updateUserNotificationStatus(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, options: PublicAPI.ApiUpdateUserNotificationStatusOptions(sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2802,7 +2802,7 @@ No authorization required # **uploadImage** ```swift - open class func uploadImage(request: ApiUploadImageRequest, completion: @escaping (_ data: UploadImageResponse?, _ error: Error?) -> Void) + open class func uploadImage(tenantId: String, file: URL, options: ApiUploadImageOptions = .init(), completion: @escaping (_ data: UploadImageResponse?, _ error: Error?) -> Void) ``` @@ -2819,7 +2819,7 @@ let file = URL(string: "https://example.com")! // URL | let sizePreset = SizePreset() // SizePreset | Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices) (optional) let urlId = "urlId_example" // String | Page id that upload is happening from, to configure (optional) -PublicAPI.uploadImage(request: PublicAPI.ApiUploadImageRequest(tenantId: tenantId, file: file, sizePreset: sizePreset, urlId: urlId)) { (response, error) in +PublicAPI.uploadImage(tenantId: tenantId, file: file, options: PublicAPI.ApiUploadImageOptions(sizePreset: sizePreset, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -2857,7 +2857,7 @@ No authorization required # **voteComment** ```swift - open class func voteComment(request: ApiVoteCommentRequest, completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2875,7 +2875,7 @@ let voteBodyParams = VoteBodyParams(commenterEmail: "commenterEmail_example", co let sessionId = "sessionId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.voteComment(request: PublicAPI.ApiVoteCommentRequest(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, sessionId: sessionId, sso: sso)) { (response, error) in +PublicAPI.voteComment(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, options: PublicAPI.ApiVoteCommentOptions(sessionId: sessionId, sso: sso)) { (response, error) in guard error == nil else { print(error) return From 51aae054ae969539f3281e71bb23b016e49c4beb Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 23 Jun 2026 11:18:45 -0700 Subject: [PATCH 07/10] 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. --- .../FastCommentsSwift/APIs/DefaultAPI.swift | 432 ++++-------------- client/FastCommentsSwift/APIs/PublicAPI.swift | 304 +++--------- client/docs/DefaultAPI.md | 108 ++--- client/docs/PublicAPI.md | 76 +-- 4 files changed, 230 insertions(+), 690 deletions(-) diff --git a/client/FastCommentsSwift/APIs/DefaultAPI.swift b/client/FastCommentsSwift/APIs/DefaultAPI.swift index 2ce9e80..2817d0f 100644 --- a/client/FastCommentsSwift/APIs/DefaultAPI.swift +++ b/client/FastCommentsSwift/APIs/DefaultAPI.swift @@ -51,15 +51,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for addHashTag. */ - public struct ApiAddHashTagOptions: Sendable { - public var tenantId: String? - - public init(tenantId: String? = nil) { - self.tenantId = tenantId - } - } - /** - parameter tenantId: (query) (optional) @@ -67,8 +58,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateHashTagResponse */ - open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, options: ApiAddHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { - return try await addHashTagWithRequestBuilder(createHashTagBody: createHashTagBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { + return try await addHashTagWithRequestBuilder(createHashTagBody: createHashTagBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -81,8 +72,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagWithRequestBuilder(createHashTagBody: CreateHashTagBody? = nil, options: ApiAddHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func addHashTagWithRequestBuilder(createHashTagBody: CreateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createHashTagBody, codableHelper: apiConfiguration.codableHelper) @@ -103,15 +93,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for addHashTagsBulk. */ - public struct ApiAddHashTagsBulkOptions: Sendable { - public var tenantId: String? - - public init(tenantId: String? = nil) { - self.tenantId = tenantId - } - } - /** - parameter tenantId: (query) (optional) @@ -119,8 +100,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkCreateHashTagsResponse */ - open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, options: ApiAddHashTagsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { - return try await addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: bulkCreateHashTagsBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { + return try await addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: bulkCreateHashTagsBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -133,8 +114,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, options: ApiAddHashTagsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkCreateHashTagsBody, codableHelper: apiConfiguration.codableHelper) @@ -450,15 +430,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for bulkAggregateQuestionResults. */ - public struct ApiBulkAggregateQuestionResultsOptions: Sendable { - public var forceRecalculate: Bool? - - public init(forceRecalculate: Bool? = nil) { - self.forceRecalculate = forceRecalculate - } - } - /** - parameter tenantId: (query) @@ -467,8 +438,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BulkAggregateQuestionResultsResponse */ - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { - return try await bulkAggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, options: options, apiConfiguration: apiConfiguration).execute().body + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkAggregateQuestionResultsResponse { + return try await bulkAggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate, apiConfiguration: apiConfiguration).execute().body } /** @@ -482,8 +453,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let forceRecalculate = options.forceRecalculate + open class func bulkAggregateQuestionResultsWithRequestBuilder(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-results-aggregation/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkAggregateQuestionResultsRequest, codableHelper: apiConfiguration.codableHelper) @@ -1423,15 +1393,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for deleteHashTag. */ - public struct ApiDeleteHashTagOptions: Sendable { - public var tenantId: String? - - public init(tenantId: String? = nil) { - self.tenantId = tenantId - } - } - /** - parameter tag: (path) @@ -1440,8 +1401,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, options: ApiDeleteHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteHashTagWithRequestBuilder(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteHashTagWithRequestBuilder(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -1455,8 +1416,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteHashTagWithRequestBuilder(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, options: ApiDeleteHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func deleteHashTagWithRequestBuilder(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1480,15 +1440,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for deleteModerator. */ - public struct ApiDeleteModeratorOptions: Sendable { - public var sendEmail: String? - - public init(sendEmail: String? = nil) { - self.sendEmail = sendEmail - } - } - /** - parameter tenantId: (query) @@ -1497,8 +1448,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteModerator(tenantId: String, id: String, options: ApiDeleteModeratorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteModeratorWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteModeratorWithRequestBuilder(tenantId: tenantId, id: id, sendEmail: sendEmail, apiConfiguration: apiConfiguration).execute().body } /** @@ -1512,8 +1463,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteModeratorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sendEmail = options.sendEmail + open class func deleteModeratorWithRequestBuilder(tenantId: String, id: String, sendEmail: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/moderators/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1827,15 +1777,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for deleteSubscription. */ - public struct ApiDeleteSubscriptionOptions: Sendable { - public var userId: String? - - public init(userId: String? = nil) { - self.userId = userId - } - } - /** - parameter tenantId: (query) @@ -1844,8 +1785,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteSubscriptionAPIResponse */ - open class func deleteSubscription(tenantId: String, id: String, options: ApiDeleteSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSubscriptionAPIResponse { - return try await deleteSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func deleteSubscription(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSubscriptionAPIResponse { + return try await deleteSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, apiConfiguration: apiConfiguration).execute().body } /** @@ -1859,8 +1800,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteSubscriptionWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = options.userId + open class func deleteSubscriptionWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/subscriptions/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1885,15 +1825,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for deleteTenant. */ - public struct ApiDeleteTenantOptions: Sendable { - public var sure: String? - - public init(sure: String? = nil) { - self.sure = sure - } - } - /** - parameter tenantId: (query) @@ -1902,8 +1833,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenant(tenantId: String, id: String, options: ApiDeleteTenantOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteTenantWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteTenantWithRequestBuilder(tenantId: tenantId, id: id, sure: sure, apiConfiguration: apiConfiguration).execute().body } /** @@ -1917,8 +1848,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteTenantOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sure = options.sure + open class func deleteTenantWithRequestBuilder(tenantId: String, id: String, sure: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenants/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2097,15 +2027,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for deleteVote. */ - public struct ApiDeleteVoteOptions: Sendable { - public var editKey: String? - - public init(editKey: String? = nil) { - self.editKey = editKey - } - } - /** - parameter tenantId: (query) @@ -2114,8 +2035,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteVote(tenantId: String, id: String, options: ApiDeleteVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteVoteWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteVoteWithRequestBuilder(tenantId: tenantId, id: id, editKey: editKey, apiConfiguration: apiConfiguration).execute().body } /** @@ -2129,8 +2050,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let editKey = options.editKey + open class func deleteVoteWithRequestBuilder(tenantId: String, id: String, editKey: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/votes/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2699,15 +2619,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getEmailTemplateRenderErrors. */ - public struct ApiGetEmailTemplateRenderErrorsOptions: Sendable { - public var skip: Double? - - public init(skip: Double? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -2716,8 +2627,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplateRenderErrorsResponse */ - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, options: ApiGetEmailTemplateRenderErrorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { - return try await getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplateRenderErrorsResponse { + return try await getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: tenantId, id: id, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -2731,8 +2642,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, options: ApiGetEmailTemplateRenderErrorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getEmailTemplateRenderErrorsWithRequestBuilder(tenantId: String, id: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/email-templates/{id}/render-errors" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2757,15 +2667,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getEmailTemplates. */ - public struct ApiGetEmailTemplatesOptions: Sendable { - public var skip: Double? - - public init(skip: Double? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -2773,8 +2674,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEmailTemplatesResponse */ - open class func getEmailTemplates(tenantId: String, options: ApiGetEmailTemplatesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { - return try await getEmailTemplatesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getEmailTemplates(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEmailTemplatesResponse { + return try await getEmailTemplatesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -2787,8 +2688,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEmailTemplatesWithRequestBuilder(tenantId: String, options: ApiGetEmailTemplatesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getEmailTemplatesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2876,15 +2776,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getHashTags. */ - public struct ApiGetHashTagsOptions: Sendable { - public var page: Double? - - public init(page: Double? = nil) { - self.page = page - } - } - /** - parameter tenantId: (query) @@ -2892,8 +2783,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetHashTagsResponse */ - open class func getHashTags(tenantId: String, options: ApiGetHashTagsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { - return try await getHashTagsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getHashTags(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetHashTagsResponse { + return try await getHashTagsWithRequestBuilder(tenantId: tenantId, page: page, apiConfiguration: apiConfiguration).execute().body } /** @@ -2906,8 +2797,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getHashTagsWithRequestBuilder(tenantId: String, options: ApiGetHashTagsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let page = options.page + open class func getHashTagsWithRequestBuilder(tenantId: String, page: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2974,15 +2864,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getModerators. */ - public struct ApiGetModeratorsOptions: Sendable { - public var skip: Double? - - public init(skip: Double? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -2990,8 +2871,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetModeratorsResponse */ - open class func getModerators(tenantId: String, options: ApiGetModeratorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { - return try await getModeratorsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getModerators(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetModeratorsResponse { + return try await getModeratorsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -3004,8 +2885,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModeratorsWithRequestBuilder(tenantId: String, options: ApiGetModeratorsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getModeratorsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/moderators" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3487,15 +3367,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getQuestionConfigs. */ - public struct ApiGetQuestionConfigsOptions: Sendable { - public var skip: Double? - - public init(skip: Double? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -3503,8 +3374,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionConfigsResponse */ - open class func getQuestionConfigs(tenantId: String, options: ApiGetQuestionConfigsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { - return try await getQuestionConfigsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionConfigsResponse { + return try await getQuestionConfigsWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -3517,8 +3388,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionConfigsWithRequestBuilder(tenantId: String, options: ApiGetQuestionConfigsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getQuestionConfigsWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/question-configs" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3758,15 +3628,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getSSOUsers. */ - public struct ApiGetSSOUsersOptions: Sendable { - public var skip: Int? - - public init(skip: Int? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -3774,8 +3635,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSSOUsersResponse */ - open class func getSSOUsers(tenantId: String, options: ApiGetSSOUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUsersResponse { - return try await getSSOUsersWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSSOUsers(tenantId: String, skip: Int? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSSOUsersResponse { + return try await getSSOUsersWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -3788,8 +3649,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSSOUsersWithRequestBuilder(tenantId: String, options: ApiGetSSOUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getSSOUsersWithRequestBuilder(tenantId: String, skip: Int? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/sso-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -3811,15 +3671,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getSubscriptions. */ - public struct ApiGetSubscriptionsOptions: Sendable { - public var userId: String? - - public init(userId: String? = nil) { - self.userId = userId - } - } - /** - parameter tenantId: (query) @@ -3827,8 +3678,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetSubscriptionsAPIResponse */ - open class func getSubscriptions(tenantId: String, options: ApiGetSubscriptionsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSubscriptionsAPIResponse { - return try await getSubscriptionsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSubscriptions(tenantId: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetSubscriptionsAPIResponse { + return try await getSubscriptionsWithRequestBuilder(tenantId: tenantId, userId: userId, apiConfiguration: apiConfiguration).execute().body } /** @@ -3841,8 +3692,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSubscriptionsWithRequestBuilder(tenantId: String, options: ApiGetSubscriptionsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = options.userId + open class func getSubscriptionsWithRequestBuilder(tenantId: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/subscriptions" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4025,15 +3875,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getTenantPackages. */ - public struct ApiGetTenantPackagesOptions: Sendable { - public var skip: Double? - - public init(skip: Double? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -4041,8 +3882,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantPackagesResponse */ - open class func getTenantPackages(tenantId: String, options: ApiGetTenantPackagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { - return try await getTenantPackagesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getTenantPackages(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantPackagesResponse { + return try await getTenantPackagesWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -4055,8 +3896,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantPackagesWithRequestBuilder(tenantId: String, options: ApiGetTenantPackagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getTenantPackagesWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-packages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4123,15 +3963,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getTenantUsers. */ - public struct ApiGetTenantUsersOptions: Sendable { - public var skip: Double? - - public init(skip: Double? = nil) { - self.skip = skip - } - } - /** - parameter tenantId: (query) @@ -4139,8 +3970,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantUsersResponse */ - open class func getTenantUsers(tenantId: String, options: ApiGetTenantUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { - return try await getTenantUsersWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getTenantUsers(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantUsersResponse { + return try await getTenantUsersWithRequestBuilder(tenantId: tenantId, skip: skip, apiConfiguration: apiConfiguration).execute().body } /** @@ -4153,8 +3984,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantUsersWithRequestBuilder(tenantId: String, options: ApiGetTenantUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let skip = options.skip + open class func getTenantUsersWithRequestBuilder(tenantId: String, skip: Double? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/tenant-users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -4235,15 +4065,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for getTicket. */ - public struct ApiGetTicketOptions: Sendable { - public var userId: String? - - public init(userId: String? = nil) { - self.userId = userId - } - } - /** - parameter tenantId: (query) @@ -4252,8 +4073,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTicketResponse */ - open class func getTicket(tenantId: String, id: String, options: ApiGetTicketOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { - return try await getTicketWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getTicket(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketResponse { + return try await getTicketWithRequestBuilder(tenantId: tenantId, id: id, userId: userId, apiConfiguration: apiConfiguration).execute().body } /** @@ -4267,8 +4088,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTicketWithRequestBuilder(tenantId: String, id: String, options: ApiGetTicketOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = options.userId + open class func getTicketWithRequestBuilder(tenantId: String, id: String, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tickets/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4844,15 +4664,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for patchHashTag. */ - public struct ApiPatchHashTagOptions: Sendable { - public var tenantId: String? - - public init(tenantId: String? = nil) { - self.tenantId = tenantId - } - } - /** - parameter tag: (path) @@ -4861,8 +4672,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateHashTagResponse */ - open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, options: ApiPatchHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { - return try await patchHashTagWithRequestBuilder(tag: tag, updateHashTagBody: updateHashTagBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { + return try await patchHashTagWithRequestBuilder(tag: tag, updateHashTagBody: updateHashTagBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body } /** @@ -4876,8 +4687,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchHashTagWithRequestBuilder(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, options: ApiPatchHashTagOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func patchHashTagWithRequestBuilder(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4948,15 +4758,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for patchSSOUser. */ - public struct ApiPatchSSOUserOptions: Sendable { - public var updateComments: Bool? - - public init(updateComments: Bool? = nil) { - self.updateComments = updateComments - } - } - /** - parameter tenantId: (query) @@ -4966,8 +4767,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PatchSSOUserAPIResponse */ - open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchSSOUserAPIResponse { - return try await patchSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: options, apiConfiguration: apiConfiguration).execute().body + open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PatchSSOUserAPIResponse { + return try await patchSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } /** @@ -4982,8 +4783,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let updateComments = options.updateComments + open class func patchSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5055,15 +4855,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for putSSOUser. */ - public struct ApiPutSSOUserOptions: Sendable { - public var updateComments: Bool? - - public init(updateComments: Bool? = nil) { - self.updateComments = updateComments - } - } - /** - parameter tenantId: (query) @@ -5073,8 +4864,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PutSSOUserAPIResponse */ - open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutSSOUserAPIResponse { - return try await putSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: options, apiConfiguration: apiConfiguration).execute().body + open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PutSSOUserAPIResponse { + return try await putSSOUserWithRequestBuilder(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } /** @@ -5089,8 +4880,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let updateComments = options.updateComments + open class func putSSOUserWithRequestBuilder(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/sso-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5115,15 +4905,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for renderEmailTemplate. */ - public struct ApiRenderEmailTemplateOptions: Sendable { - public var locale: String? - - public init(locale: String? = nil) { - self.locale = locale - } - } - /** - parameter tenantId: (query) @@ -5132,8 +4913,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RenderEmailTemplateResponse */ - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { - return try await renderEmailTemplateWithRequestBuilder(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RenderEmailTemplateResponse { + return try await renderEmailTemplateWithRequestBuilder(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale, apiConfiguration: apiConfiguration).execute().body } /** @@ -5147,8 +4928,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let locale = options.locale + open class func renderEmailTemplateWithRequestBuilder(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/email-templates/render" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: renderEmailTemplateBody, codableHelper: apiConfiguration.codableHelper) @@ -5217,15 +4997,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for replaceTenantUser. */ - public struct ApiReplaceTenantUserOptions: Sendable { - public var updateComments: String? - - public init(updateComments: String? = nil) { - self.updateComments = updateComments - } - } - /** - parameter tenantId: (query) @@ -5235,8 +5006,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await replaceTenantUserWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await replaceTenantUserWithRequestBuilder(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } /** @@ -5251,8 +5022,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let updateComments = options.updateComments + open class func replaceTenantUserWithRequestBuilder(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5471,15 +5241,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for sendLoginLink. */ - public struct ApiSendLoginLinkOptions: Sendable { - public var redirectURL: String? - - public init(redirectURL: String? = nil) { - self.redirectURL = redirectURL - } - } - /** - parameter tenantId: (query) @@ -5488,8 +5249,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func sendLoginLink(tenantId: String, id: String, options: ApiSendLoginLinkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await sendLoginLinkWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await sendLoginLinkWithRequestBuilder(tenantId: tenantId, id: id, redirectURL: redirectURL, apiConfiguration: apiConfiguration).execute().body } /** @@ -5503,8 +5264,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, options: ApiSendLoginLinkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let redirectURL = options.redirectURL + open class func sendLoginLinkWithRequestBuilder(tenantId: String, id: String, redirectURL: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}/send-login-link" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5872,15 +5632,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for updateNotification. */ - public struct ApiUpdateNotificationOptions: Sendable { - public var userId: String? - - public init(userId: String? = nil) { - self.userId = userId - } - } - /** - parameter tenantId: (query) @@ -5890,8 +5641,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateNotificationWithRequestBuilder(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateNotificationWithRequestBuilder(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId, apiConfiguration: apiConfiguration).execute().body } /** @@ -5906,8 +5657,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = options.userId + open class func updateNotificationWithRequestBuilder(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/notifications/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6026,15 +5776,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for updateSubscription. */ - public struct ApiUpdateSubscriptionOptions: Sendable { - public var userId: String? - - public init(userId: String? = nil) { - self.userId = userId - } - } - /** - parameter tenantId: (query) @@ -6044,8 +5785,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateSubscriptionAPIResponse */ - open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateSubscriptionAPIResponse { - return try await updateSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, options: options, apiConfiguration: apiConfiguration).execute().body + open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateSubscriptionAPIResponse { + return try await updateSubscriptionWithRequestBuilder(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, userId: userId, apiConfiguration: apiConfiguration).execute().body } /** @@ -6060,8 +5801,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateSubscriptionWithRequestBuilder(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let userId = options.userId + open class func updateSubscriptionWithRequestBuilder(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/subscriptions/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6180,15 +5920,6 @@ open class DefaultAPI { return localVariableRequestBuilder.init(method: "PATCH", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: true, apiConfiguration: apiConfiguration) } - /** Optional parameters for updateTenantUser. */ - public struct ApiUpdateTenantUserOptions: Sendable { - public var updateComments: String? - - public init(updateComments: String? = nil) { - self.updateComments = updateComments - } - } - /** - parameter tenantId: (query) @@ -6198,8 +5929,8 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await updateTenantUserWithRequestBuilder(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, options: options, apiConfiguration: apiConfiguration).execute().body + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await updateTenantUserWithRequestBuilder(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments, apiConfiguration: apiConfiguration).execute().body } /** @@ -6214,8 +5945,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let updateComments = options.updateComments + open class func updateTenantUserWithRequestBuilder(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/tenant-users/{id}" let idPreEscape = "\(APIHelper.mapValueToPathItem(id))" let idPostEscape = idPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" diff --git a/client/FastCommentsSwift/APIs/PublicAPI.swift b/client/FastCommentsSwift/APIs/PublicAPI.swift index 66f9188..1b2e174 100644 --- a/client/FastCommentsSwift/APIs/PublicAPI.swift +++ b/client/FastCommentsSwift/APIs/PublicAPI.swift @@ -9,15 +9,6 @@ import Foundation open class PublicAPI { - /** Optional parameters for blockFromCommentPublic. */ - public struct ApiBlockFromCommentPublicOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -27,8 +18,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BlockSuccess */ - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { - return try await blockFromCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + return try await blockFromCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -40,8 +31,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func blockFromCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -66,15 +56,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for checkedCommentsForBlocked. */ - public struct ApiCheckedCommentsForBlockedOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -83,8 +64,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CheckBlockedCommentsResponse */ - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, options: ApiCheckedCommentsForBlockedOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { - return try await checkedCommentsForBlockedWithRequestBuilder(tenantId: tenantId, commentIds: commentIds, options: options, apiConfiguration: apiConfiguration).execute().body + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CheckBlockedCommentsResponse { + return try await checkedCommentsForBlockedWithRequestBuilder(tenantId: tenantId, commentIds: commentIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -95,8 +76,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, options: ApiCheckedCommentsForBlockedOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func checkedCommentsForBlockedWithRequestBuilder(tenantId: String, commentIds: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/check-blocked-comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -245,15 +225,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for createV1PageReact. */ - public struct ApiCreateV1PageReactOptions: Sendable { - public var title: String? - - public init(title: String? = nil) { - self.title = title - } - } - /** - parameter tenantId: (path) @@ -262,8 +233,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func createV1PageReact(tenantId: String, urlId: String, options: ApiCreateV1PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await createV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await createV1PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, title: title, apiConfiguration: apiConfiguration).execute().body } /** @@ -274,8 +245,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, options: ApiCreateV1PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let title = options.title + open class func createV1PageReactWithRequestBuilder(tenantId: String, urlId: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v1/likes/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -300,15 +270,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for createV2PageReact. */ - public struct ApiCreateV2PageReactOptions: Sendable { - public var title: String? - - public init(title: String? = nil) { - self.title = title - } - } - /** - parameter tenantId: (path) @@ -318,8 +279,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateV1PageReact */ - open class func createV2PageReact(tenantId: String, urlId: String, id: String, options: ApiCreateV2PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { - return try await createV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body + open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateV1PageReact { + return try await createV2PageReactWithRequestBuilder(tenantId: tenantId, urlId: urlId, id: id, title: title, apiConfiguration: apiConfiguration).execute().body } /** @@ -331,8 +292,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, options: ApiCreateV2PageReactOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let title = options.title + open class func createV2PageReactWithRequestBuilder(tenantId: String, urlId: String, id: String, title: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/page-reacts/v2/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -648,15 +608,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for flagCommentPublic. */ - public struct ApiFlagCommentPublicOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -666,8 +617,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, options: ApiFlagCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await flagCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, options: options, apiConfiguration: apiConfiguration).execute().body + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await flagCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -679,8 +630,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, options: ApiFlagCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func flagCommentPublicWithRequestBuilder(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -769,15 +719,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getCommentVoteUserNames. */ - public struct ApiGetCommentVoteUserNamesOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (path) @@ -787,8 +728,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentVoteUserNamesSuccessResponse */ - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, options: ApiGetCommentVoteUserNamesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { - return try await getCommentVoteUserNamesWithRequestBuilder(tenantId: tenantId, commentId: commentId, dir: dir, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentVoteUserNamesSuccessResponse { + return try await getCommentVoteUserNamesWithRequestBuilder(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -800,8 +741,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, options: ApiGetCommentVoteUserNamesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func getCommentVoteUserNamesWithRequestBuilder(tenantId: String, commentId: String, dir: Int, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/votes" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1118,15 +1058,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getEventLog. */ - public struct ApiGetEventLogOptions: Sendable { - public var endTime: Int64? - - public init(endTime: Int64? = nil) { - self.endTime = endTime - } - } - /** - parameter tenantId: (path) @@ -1137,8 +1068,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEventLogResponse */ - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { - return try await getEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + return try await getEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body } /** @@ -1152,8 +1083,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let endTime = options.endTime + open class func getEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/event-log/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1263,15 +1193,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getFeedPostsStats. */ - public struct ApiGetFeedPostsStatsOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (path) @@ -1280,8 +1201,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FeedPostsStatsResponse */ - open class func getFeedPostsStats(tenantId: String, postIds: [String], options: ApiGetFeedPostsStatsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { - return try await getFeedPostsStatsWithRequestBuilder(tenantId: tenantId, postIds: postIds, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FeedPostsStatsResponse { + return try await getFeedPostsStatsWithRequestBuilder(tenantId: tenantId, postIds: postIds, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1292,8 +1213,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], options: ApiGetFeedPostsStatsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func getFeedPostsStatsWithRequestBuilder(tenantId: String, postIds: [String], sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/feed-posts/{tenantId}/stats" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1491,15 +1411,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getGlobalEventLog. */ - public struct ApiGetGlobalEventLogOptions: Sendable { - public var endTime: Int64? - - public init(endTime: Int64? = nil) { - self.endTime = endTime - } - } - /** - parameter tenantId: (path) @@ -1510,8 +1421,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetEventLogResponse */ - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetGlobalEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { - return try await getGlobalEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetEventLogResponse { + return try await getGlobalEventLogWithRequestBuilder(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime, apiConfiguration: apiConfiguration).execute().body } /** @@ -1525,8 +1436,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetGlobalEventLogOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let endTime = options.endTime + open class func getGlobalEventLogWithRequestBuilder(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/event-log/global/{tenantId}" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1817,15 +1727,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getUserNotificationCount. */ - public struct ApiGetUserNotificationCountOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -1833,8 +1734,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetUserNotificationCountResponse */ - open class func getUserNotificationCount(tenantId: String, options: ApiGetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { - return try await getUserNotificationCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserNotificationCountResponse { + return try await getUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -1844,8 +1745,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserNotificationCountWithRequestBuilder(tenantId: String, options: ApiGetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func getUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/get-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2250,15 +2150,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for lockComment. */ - public struct ApiLockCommentOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (path) @@ -2268,8 +2159,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await lockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await lockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -2281,8 +2172,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func lockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/lock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2342,15 +2232,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for pinComment. */ - public struct ApiPinCommentOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (path) @@ -2360,8 +2241,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeCommentPinStatusResponse */ - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { - return try await pinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + return try await pinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -2373,8 +2254,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func pinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/pin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2473,15 +2353,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for resetUserNotificationCount. */ - public struct ApiResetUserNotificationCountOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -2489,8 +2360,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ResetUserNotificationsResponse */ - open class func resetUserNotificationCount(tenantId: String, options: ApiResetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { - return try await resetUserNotificationCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + return try await resetUserNotificationCountWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -2500,8 +2371,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, options: ApiResetUserNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func resetUserNotificationCountWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/user-notifications/reset-count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil @@ -2752,15 +2622,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for unBlockCommentPublic. */ - public struct ApiUnBlockCommentPublicOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -2770,8 +2631,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UnblockSuccess */ - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { - return try await unBlockCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + return try await unBlockCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -2783,8 +2644,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func unBlockCommentPublicWithRequestBuilder(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/block-from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2809,15 +2669,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "DELETE", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for unLockComment. */ - public struct ApiUnLockCommentOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (path) @@ -2827,8 +2678,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await unLockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await unLockCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -2840,8 +2691,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiUnLockCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func unLockCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/unlock" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2869,15 +2719,6 @@ open class PublicAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for unPinComment. */ - public struct ApiUnPinCommentOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (path) @@ -2887,8 +2728,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ChangeCommentPinStatusResponse */ - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { - return try await unPinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ChangeCommentPinStatusResponse { + return try await unPinCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -2900,8 +2741,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiUnPinCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func unPinCommentWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/comments/{tenantId}/{commentId}/unpin" let tenantIdPreEscape = "\(APIHelper.mapValueToPathItem(tenantId))" let tenantIdPostEscape = tenantIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3002,15 +2842,6 @@ open class PublicAPI { case out = "out" } - /** Optional parameters for updateUserNotificationCommentSubscriptionStatus. */ - public struct ApiUpdateUserNotificationCommentSubscriptionStatusOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -3021,8 +2852,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationCommentSubscriptionStatusResponse */ - open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationCommentSubscriptionStatusResponse { - return try await updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationCommentSubscriptionStatusResponse { + return try await updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -3036,8 +2867,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func updateUserNotificationCommentSubscriptionStatusWithRequestBuilder(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/user-notifications/{notificationId}/mark-opted/{optedInOrOut}" let notificationIdPreEscape = "\(APIHelper.mapValueToPathItem(notificationId))" let notificationIdPostEscape = notificationIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3074,15 +2904,6 @@ open class PublicAPI { case unsubscribe = "unsubscribe" } - /** Optional parameters for updateUserNotificationPageSubscriptionStatus. */ - public struct ApiUpdateUserNotificationPageSubscriptionStatusOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -3094,8 +2915,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationPageSubscriptionStatusResponse */ - open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationPageSubscriptionStatusResponse { - return try await updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, options: options, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationPageSubscriptionStatusResponse { + return try await updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -3110,8 +2931,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func updateUserNotificationPageSubscriptionStatusWithRequestBuilder(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/user-notifications/set-subscription-state/{subscribedOrUnsubscribed}" let subscribedOrUnsubscribedPreEscape = "\(subscribedOrUnsubscribed.rawValue)" let subscribedOrUnsubscribedPostEscape = subscribedOrUnsubscribedPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3147,15 +2967,6 @@ open class PublicAPI { case unread = "unread" } - /** Optional parameters for updateUserNotificationStatus. */ - public struct ApiUpdateUserNotificationStatusOptions: Sendable { - public var sso: String? - - public init(sso: String? = nil) { - self.sso = sso - } - } - /** - parameter tenantId: (query) @@ -3165,8 +2976,8 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UpdateUserNotificationStatusResponse */ - open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, options: ApiUpdateUserNotificationStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationStatusResponse { - return try await updateUserNotificationStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, options: options, apiConfiguration: apiConfiguration).execute().body + open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateUserNotificationStatusResponse { + return try await updateUserNotificationStatusWithRequestBuilder(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** @@ -3178,8 +2989,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateUserNotificationStatusWithRequestBuilder(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, options: ApiUpdateUserNotificationStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let sso = options.sso + open class func updateUserNotificationStatusWithRequestBuilder(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/user-notifications/{notificationId}/mark/{newStatus}" let notificationIdPreEscape = "\(APIHelper.mapValueToPathItem(notificationId))" let notificationIdPostEscape = notificationIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index b581233..3785a8f 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -171,7 +171,7 @@ Name | Type | Description | Notes # **addHashTag** ```swift - open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, options: ApiAddHashTagOptions = .init(), completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) + open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -184,7 +184,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let createHashTagBody = CreateHashTagBody(tenantId: "tenantId_example", tag: "tag_example", url: "url_example") // CreateHashTagBody | (optional) -DefaultAPI.addHashTag(createHashTagBody: createHashTagBody, options: DefaultAPI.ApiAddHashTagOptions(tenantId: tenantId)) { (response, error) in +DefaultAPI.addHashTag(createHashTagBody: createHashTagBody, tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -220,7 +220,7 @@ Name | Type | Description | Notes # **addHashTagsBulk** ```swift - open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, options: ApiAddHashTagsBulkOptions = .init(), completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) + open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -233,7 +233,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | (optional) let bulkCreateHashTagsBody = BulkCreateHashTagsBody(tenantId: "tenantId_example", tags: [BulkCreateHashTagsBody_tags_inner(url: "url_example", tag: "tag_example")]) // BulkCreateHashTagsBody | (optional) -DefaultAPI.addHashTagsBulk(bulkCreateHashTagsBody: bulkCreateHashTagsBody, options: DefaultAPI.ApiAddHashTagsBulkOptions(tenantId: tenantId)) { (response, error) in +DefaultAPI.addHashTagsBulk(bulkCreateHashTagsBody: bulkCreateHashTagsBody, tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -536,7 +536,7 @@ Name | Type | Description | Notes # **bulkAggregateQuestionResults** ```swift - open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, options: ApiBulkAggregateQuestionResultsOptions = .init(), completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func bulkAggregateQuestionResults(tenantId: String, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate: Bool? = nil, completion: @escaping (_ data: BulkAggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -550,7 +550,7 @@ let tenantId = "tenantId_example" // String | let bulkAggregateQuestionResultsRequest = BulkAggregateQuestionResultsRequest(aggregations: [BulkAggregateQuestionItem(aggId: "aggId_example", questionId: "questionId_example", questionIds: ["questionIds_example"], urlId: "urlId_example", timeBucket: AggregateTimeBucket(), startDate: Date())]) // BulkAggregateQuestionResultsRequest | let forceRecalculate = true // Bool | (optional) -DefaultAPI.bulkAggregateQuestionResults(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, options: DefaultAPI.ApiBulkAggregateQuestionResultsOptions(forceRecalculate: forceRecalculate)) { (response, error) in +DefaultAPI.bulkAggregateQuestionResults(tenantId: tenantId, bulkAggregateQuestionResultsRequest: bulkAggregateQuestionResultsRequest, forceRecalculate: forceRecalculate) { (response, error) in guard error == nil else { print(error) return @@ -1509,7 +1509,7 @@ Name | Type | Description | Notes # **deleteHashTag** ```swift - open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, options: ApiDeleteHashTagOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1523,7 +1523,7 @@ let tag = "tag_example" // String | let tenantId = "tenantId_example" // String | (optional) let deleteHashTagRequestBody = DeleteHashTagRequestBody(tenantId: "tenantId_example") // DeleteHashTagRequestBody | (optional) -DefaultAPI.deleteHashTag(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, options: DefaultAPI.ApiDeleteHashTagOptions(tenantId: tenantId)) { (response, error) in +DefaultAPI.deleteHashTag(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -1560,7 +1560,7 @@ Name | Type | Description | Notes # **deleteModerator** ```swift - open class func deleteModerator(tenantId: String, id: String, options: ApiDeleteModeratorOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteModerator(tenantId: String, id: String, sendEmail: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1574,7 +1574,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let sendEmail = "sendEmail_example" // String | (optional) -DefaultAPI.deleteModerator(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteModeratorOptions(sendEmail: sendEmail)) { (response, error) in +DefaultAPI.deleteModerator(tenantId: tenantId, id: id, sendEmail: sendEmail) { (response, error) in guard error == nil else { print(error) return @@ -1909,7 +1909,7 @@ Name | Type | Description | Notes # **deleteSubscription** ```swift - open class func deleteSubscription(tenantId: String, id: String, options: ApiDeleteSubscriptionOptions = .init(), completion: @escaping (_ data: DeleteSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func deleteSubscription(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: DeleteSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -1923,7 +1923,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.deleteSubscription(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteSubscriptionOptions(userId: userId)) { (response, error) in +DefaultAPI.deleteSubscription(tenantId: tenantId, id: id, userId: userId) { (response, error) in guard error == nil else { print(error) return @@ -1960,7 +1960,7 @@ Name | Type | Description | Notes # **deleteTenant** ```swift - open class func deleteTenant(tenantId: String, id: String, options: ApiDeleteTenantOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenant(tenantId: String, id: String, sure: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1974,7 +1974,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let sure = "sure_example" // String | (optional) -DefaultAPI.deleteTenant(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteTenantOptions(sure: sure)) { (response, error) in +DefaultAPI.deleteTenant(tenantId: tenantId, id: id, sure: sure) { (response, error) in guard error == nil else { print(error) return @@ -2162,7 +2162,7 @@ Name | Type | Description | Notes # **deleteVote** ```swift - open class func deleteVote(tenantId: String, id: String, options: ApiDeleteVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteVote(tenantId: String, id: String, editKey: String? = nil, completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -2176,7 +2176,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let editKey = "editKey_example" // String | (optional) -DefaultAPI.deleteVote(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteVoteOptions(editKey: editKey)) { (response, error) in +DefaultAPI.deleteVote(tenantId: tenantId, id: id, editKey: editKey) { (response, error) in guard error == nil else { print(error) return @@ -2692,7 +2692,7 @@ Name | Type | Description | Notes # **getEmailTemplateRenderErrors** ```swift - open class func getEmailTemplateRenderErrors(tenantId: String, id: String, options: ApiGetEmailTemplateRenderErrorsOptions = .init(), completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) + open class func getEmailTemplateRenderErrors(tenantId: String, id: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplateRenderErrorsResponse?, _ error: Error?) -> Void) ``` @@ -2706,7 +2706,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getEmailTemplateRenderErrors(tenantId: tenantId, id: id, options: DefaultAPI.ApiGetEmailTemplateRenderErrorsOptions(skip: skip)) { (response, error) in +DefaultAPI.getEmailTemplateRenderErrors(tenantId: tenantId, id: id, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -2743,7 +2743,7 @@ Name | Type | Description | Notes # **getEmailTemplates** ```swift - open class func getEmailTemplates(tenantId: String, options: ApiGetEmailTemplatesOptions = .init(), completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) + open class func getEmailTemplates(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetEmailTemplatesResponse?, _ error: Error?) -> Void) ``` @@ -2756,7 +2756,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getEmailTemplates(tenantId: tenantId, options: DefaultAPI.ApiGetEmailTemplatesOptions(skip: skip)) { (response, error) in +DefaultAPI.getEmailTemplates(tenantId: tenantId, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -2847,7 +2847,7 @@ Name | Type | Description | Notes # **getHashTags** ```swift - open class func getHashTags(tenantId: String, options: ApiGetHashTagsOptions = .init(), completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) + open class func getHashTags(tenantId: String, page: Double? = nil, completion: @escaping (_ data: GetHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -2860,7 +2860,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let page = 987 // Double | (optional) -DefaultAPI.getHashTags(tenantId: tenantId, options: DefaultAPI.ApiGetHashTagsOptions(page: page)) { (response, error) in +DefaultAPI.getHashTags(tenantId: tenantId, page: page) { (response, error) in guard error == nil else { print(error) return @@ -2945,7 +2945,7 @@ Name | Type | Description | Notes # **getModerators** ```swift - open class func getModerators(tenantId: String, options: ApiGetModeratorsOptions = .init(), completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) + open class func getModerators(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetModeratorsResponse?, _ error: Error?) -> Void) ``` @@ -2958,7 +2958,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getModerators(tenantId: tenantId, options: DefaultAPI.ApiGetModeratorsOptions(skip: skip)) { (response, error) in +DefaultAPI.getModerators(tenantId: tenantId, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -3375,7 +3375,7 @@ Name | Type | Description | Notes # **getQuestionConfigs** ```swift - open class func getQuestionConfigs(tenantId: String, options: ApiGetQuestionConfigsOptions = .init(), completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) + open class func getQuestionConfigs(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetQuestionConfigsResponse?, _ error: Error?) -> Void) ``` @@ -3388,7 +3388,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getQuestionConfigs(tenantId: tenantId, options: DefaultAPI.ApiGetQuestionConfigsOptions(skip: skip)) { (response, error) in +DefaultAPI.getQuestionConfigs(tenantId: tenantId, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -3630,7 +3630,7 @@ Name | Type | Description | Notes # **getSSOUsers** ```swift - open class func getSSOUsers(tenantId: String, options: ApiGetSSOUsersOptions = .init(), completion: @escaping (_ data: GetSSOUsersResponse?, _ error: Error?) -> Void) + open class func getSSOUsers(tenantId: String, skip: Int? = nil, completion: @escaping (_ data: GetSSOUsersResponse?, _ error: Error?) -> Void) ``` @@ -3643,7 +3643,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Int | (optional) -DefaultAPI.getSSOUsers(tenantId: tenantId, options: DefaultAPI.ApiGetSSOUsersOptions(skip: skip)) { (response, error) in +DefaultAPI.getSSOUsers(tenantId: tenantId, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -3679,7 +3679,7 @@ Name | Type | Description | Notes # **getSubscriptions** ```swift - open class func getSubscriptions(tenantId: String, options: ApiGetSubscriptionsOptions = .init(), completion: @escaping (_ data: GetSubscriptionsAPIResponse?, _ error: Error?) -> Void) + open class func getSubscriptions(tenantId: String, userId: String? = nil, completion: @escaping (_ data: GetSubscriptionsAPIResponse?, _ error: Error?) -> Void) ``` @@ -3692,7 +3692,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.getSubscriptions(tenantId: tenantId, options: DefaultAPI.ApiGetSubscriptionsOptions(userId: userId)) { (response, error) in +DefaultAPI.getSubscriptions(tenantId: tenantId, userId: userId) { (response, error) in guard error == nil else { print(error) return @@ -3881,7 +3881,7 @@ Name | Type | Description | Notes # **getTenantPackages** ```swift - open class func getTenantPackages(tenantId: String, options: ApiGetTenantPackagesOptions = .init(), completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) + open class func getTenantPackages(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantPackagesResponse?, _ error: Error?) -> Void) ``` @@ -3894,7 +3894,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getTenantPackages(tenantId: tenantId, options: DefaultAPI.ApiGetTenantPackagesOptions(skip: skip)) { (response, error) in +DefaultAPI.getTenantPackages(tenantId: tenantId, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -3979,7 +3979,7 @@ Name | Type | Description | Notes # **getTenantUsers** ```swift - open class func getTenantUsers(tenantId: String, options: ApiGetTenantUsersOptions = .init(), completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) + open class func getTenantUsers(tenantId: String, skip: Double? = nil, completion: @escaping (_ data: GetTenantUsersResponse?, _ error: Error?) -> Void) ``` @@ -3992,7 +3992,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let skip = 987 // Double | (optional) -DefaultAPI.getTenantUsers(tenantId: tenantId, options: DefaultAPI.ApiGetTenantUsersOptions(skip: skip)) { (response, error) in +DefaultAPI.getTenantUsers(tenantId: tenantId, skip: skip) { (response, error) in guard error == nil else { print(error) return @@ -4079,7 +4079,7 @@ Name | Type | Description | Notes # **getTicket** ```swift - open class func getTicket(tenantId: String, id: String, options: ApiGetTicketOptions = .init(), completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) + open class func getTicket(tenantId: String, id: String, userId: String? = nil, completion: @escaping (_ data: GetTicketResponse?, _ error: Error?) -> Void) ``` @@ -4093,7 +4093,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let userId = "userId_example" // String | (optional) -DefaultAPI.getTicket(tenantId: tenantId, id: id, options: DefaultAPI.ApiGetTicketOptions(userId: userId)) { (response, error) in +DefaultAPI.getTicket(tenantId: tenantId, id: id, userId: userId) { (response, error) in guard error == nil else { print(error) return @@ -4646,7 +4646,7 @@ Name | Type | Description | Notes # **patchHashTag** ```swift - open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, options: ApiPatchHashTagOptions = .init(), completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) + open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -4660,7 +4660,7 @@ let tag = "tag_example" // String | let tenantId = "tenantId_example" // String | (optional) let updateHashTagBody = UpdateHashTagBody(tenantId: "tenantId_example", url: "url_example", tag: "tag_example") // UpdateHashTagBody | (optional) -DefaultAPI.patchHashTag(tag: tag, updateHashTagBody: updateHashTagBody, options: DefaultAPI.ApiPatchHashTagOptions(tenantId: tenantId)) { (response, error) in +DefaultAPI.patchHashTag(tag: tag, updateHashTagBody: updateHashTagBody, tenantId: tenantId) { (response, error) in guard error == nil else { print(error) return @@ -4748,7 +4748,7 @@ Name | Type | Description | Notes # **patchSSOUser** ```swift - open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPatchSSOUserOptions = .init(), completion: @escaping (_ data: PatchSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func patchSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, completion: @escaping (_ data: PatchSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -4763,7 +4763,7 @@ let id = "id_example" // String | let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData | let updateComments = true // Bool | (optional) -DefaultAPI.patchSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: DefaultAPI.ApiPatchSSOUserOptions(updateComments: updateComments)) { (response, error) in +DefaultAPI.patchSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments) { (response, error) in guard error == nil else { print(error) return @@ -4852,7 +4852,7 @@ Name | Type | Description | Notes # **putSSOUser** ```swift - open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, options: ApiPutSSOUserOptions = .init(), completion: @escaping (_ data: PutSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func putSSOUser(tenantId: String, id: String, updateAPISSOUserData: UpdateAPISSOUserData, updateComments: Bool? = nil, completion: @escaping (_ data: PutSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -4867,7 +4867,7 @@ let id = "id_example" // String | let updateAPISSOUserData = UpdateAPISSOUserData(groupIds: ["groupIds_example"], hasBlockedUsers: false, isProfileDMDisabled: false, isProfileCommentsPrivate: false, isProfileActivityPrivate: false, isCommentModeratorAdmin: false, isAdminAdmin: false, isAccountOwner: false, displayName: "displayName_example", displayLabel: "displayLabel_example", optedInSubscriptionNotifications: false, optedInNotifications: false, avatarSrc: "avatarSrc_example", loginCount: 123, createdFromUrlId: "createdFromUrlId_example", signUpDate: 123, email: "email_example", websiteUrl: "websiteUrl_example", username: "username_example", id: "id_example") // UpdateAPISSOUserData | let updateComments = true // Bool | (optional) -DefaultAPI.putSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, options: DefaultAPI.ApiPutSSOUserOptions(updateComments: updateComments)) { (response, error) in +DefaultAPI.putSSOUser(tenantId: tenantId, id: id, updateAPISSOUserData: updateAPISSOUserData, updateComments: updateComments) { (response, error) in guard error == nil else { print(error) return @@ -4905,7 +4905,7 @@ Name | Type | Description | Notes # **renderEmailTemplate** ```swift - open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, options: ApiRenderEmailTemplateOptions = .init(), completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) + open class func renderEmailTemplate(tenantId: String, renderEmailTemplateBody: RenderEmailTemplateBody, locale: String? = nil, completion: @escaping (_ data: RenderEmailTemplateResponse?, _ error: Error?) -> Void) ``` @@ -4919,7 +4919,7 @@ let tenantId = "tenantId_example" // String | let renderEmailTemplateBody = RenderEmailTemplateBody(emailTemplateId: "emailTemplateId_example", ejs: "ejs_example", testData: "TODO", translationOverridesByLocale: "TODO") // RenderEmailTemplateBody | let locale = "locale_example" // String | (optional) -DefaultAPI.renderEmailTemplate(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, options: DefaultAPI.ApiRenderEmailTemplateOptions(locale: locale)) { (response, error) in +DefaultAPI.renderEmailTemplate(tenantId: tenantId, renderEmailTemplateBody: renderEmailTemplateBody, locale: locale) { (response, error) in guard error == nil else { print(error) return @@ -5007,7 +5007,7 @@ Name | Type | Description | Notes # **replaceTenantUser** ```swift - open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, options: ApiReplaceTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func replaceTenantUser(tenantId: String, id: String, replaceTenantUserBody: ReplaceTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5022,7 +5022,7 @@ let id = "id_example" // String | let replaceTenantUserBody = ReplaceTenantUserBody(username: "username_example", email: "email_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", signUpDate: 123, locale: "locale_example", verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], digestEmailFrequency: 123, displayLabel: "displayLabel_example", createdFromUrlId: "createdFromUrlId_example", createdFromTenantId: "createdFromTenantId_example", lastLoginDate: 123, karma: 123) // ReplaceTenantUserBody | let updateComments = "updateComments_example" // String | (optional) -DefaultAPI.replaceTenantUser(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, options: DefaultAPI.ApiReplaceTenantUserOptions(updateComments: updateComments)) { (response, error) in +DefaultAPI.replaceTenantUser(tenantId: tenantId, id: id, replaceTenantUserBody: replaceTenantUserBody, updateComments: updateComments) { (response, error) in guard error == nil else { print(error) return @@ -5225,7 +5225,7 @@ Name | Type | Description | Notes # **sendLoginLink** ```swift - open class func sendLoginLink(tenantId: String, id: String, options: ApiSendLoginLinkOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func sendLoginLink(tenantId: String, id: String, redirectURL: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5239,7 +5239,7 @@ let tenantId = "tenantId_example" // String | let id = "id_example" // String | let redirectURL = "redirectURL_example" // String | (optional) -DefaultAPI.sendLoginLink(tenantId: tenantId, id: id, options: DefaultAPI.ApiSendLoginLinkOptions(redirectURL: redirectURL)) { (response, error) in +DefaultAPI.sendLoginLink(tenantId: tenantId, id: id, redirectURL: redirectURL) { (response, error) in guard error == nil else { print(error) return @@ -5594,7 +5594,7 @@ Name | Type | Description | Notes # **updateNotification** ```swift - open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, options: ApiUpdateNotificationOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateNotification(tenantId: String, id: String, updateNotificationBody: UpdateNotificationBody, userId: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5609,7 +5609,7 @@ let id = "id_example" // String | let updateNotificationBody = UpdateNotificationBody(viewed: false, optedOut: false) // UpdateNotificationBody | let userId = "userId_example" // String | (optional) -DefaultAPI.updateNotification(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, options: DefaultAPI.ApiUpdateNotificationOptions(userId: userId)) { (response, error) in +DefaultAPI.updateNotification(tenantId: tenantId, id: id, updateNotificationBody: updateNotificationBody, userId: userId) { (response, error) in guard error == nil else { print(error) return @@ -5749,7 +5749,7 @@ Name | Type | Description | Notes # **updateSubscription** ```swift - open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, options: ApiUpdateSubscriptionOptions = .init(), completion: @escaping (_ data: UpdateSubscriptionAPIResponse?, _ error: Error?) -> Void) + open class func updateSubscription(tenantId: String, id: String, updateAPIUserSubscriptionData: UpdateAPIUserSubscriptionData, userId: String? = nil, completion: @escaping (_ data: UpdateSubscriptionAPIResponse?, _ error: Error?) -> Void) ``` @@ -5764,7 +5764,7 @@ let id = "id_example" // String | let updateAPIUserSubscriptionData = UpdateAPIUserSubscriptionData(notificationFrequency: 123) // UpdateAPIUserSubscriptionData | let userId = "userId_example" // String | (optional) -DefaultAPI.updateSubscription(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, options: DefaultAPI.ApiUpdateSubscriptionOptions(userId: userId)) { (response, error) in +DefaultAPI.updateSubscription(tenantId: tenantId, id: id, updateAPIUserSubscriptionData: updateAPIUserSubscriptionData, userId: userId) { (response, error) in guard error == nil else { print(error) return @@ -5904,7 +5904,7 @@ Name | Type | Description | Notes # **updateTenantUser** ```swift - open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, options: ApiUpdateTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateTenantUser(tenantId: String, id: String, updateTenantUserBody: UpdateTenantUserBody, updateComments: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5919,7 +5919,7 @@ let id = "id_example" // String | let updateTenantUserBody = UpdateTenantUserBody(username: "username_example", displayName: "displayName_example", websiteUrl: "websiteUrl_example", email: "email_example", signUpDate: 123, verified: false, loginCount: 123, optedInNotifications: false, optedInTenantNotifications: false, hideAccountCode: false, avatarSrc: "avatarSrc_example", isHelpRequestAdmin: false, isAccountOwner: false, isAdminAdmin: false, isBillingAdmin: false, isAnalyticsAdmin: false, isCustomizationAdmin: false, isManageDataAdmin: false, isCommentModeratorAdmin: false, isAPIAdmin: false, moderatorIds: ["moderatorIds_example"], locale: "locale_example", digestEmailFrequency: 123, displayLabel: "displayLabel_example") // UpdateTenantUserBody | let updateComments = "updateComments_example" // String | (optional) -DefaultAPI.updateTenantUser(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, options: DefaultAPI.ApiUpdateTenantUserOptions(updateComments: updateComments)) { (response, error) in +DefaultAPI.updateTenantUser(tenantId: tenantId, id: id, updateTenantUserBody: updateTenantUserBody, updateComments: updateComments) { (response, error) in guard error == nil else { print(error) return diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index d383815..abf25ff 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -60,7 +60,7 @@ Method | HTTP request | Description # **blockFromCommentPublic** ```swift - open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiBlockFromCommentPublicOptions = .init(), completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockFromCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -75,7 +75,7 @@ let commentId = "commentId_example" // String | let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams | let sso = "sso_example" // String | (optional) -PublicAPI.blockFromCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: PublicAPI.ApiBlockFromCommentPublicOptions(sso: sso)) { (response, error) in +PublicAPI.blockFromCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -113,7 +113,7 @@ No authorization required # **checkedCommentsForBlocked** ```swift - open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, options: ApiCheckedCommentsForBlockedOptions = .init(), completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) + open class func checkedCommentsForBlocked(tenantId: String, commentIds: String, sso: String? = nil, completion: @escaping (_ data: CheckBlockedCommentsResponse?, _ error: Error?) -> Void) ``` @@ -127,7 +127,7 @@ let tenantId = "tenantId_example" // String | let commentIds = "commentIds_example" // String | A comma separated list of comment ids. let sso = "sso_example" // String | (optional) -PublicAPI.checkedCommentsForBlocked(tenantId: tenantId, commentIds: commentIds, options: PublicAPI.ApiCheckedCommentsForBlockedOptions(sso: sso)) { (response, error) in +PublicAPI.checkedCommentsForBlocked(tenantId: tenantId, commentIds: commentIds, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -274,7 +274,7 @@ No authorization required # **createV1PageReact** ```swift - open class func createV1PageReact(tenantId: String, urlId: String, options: ApiCreateV1PageReactOptions = .init(), completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV1PageReact(tenantId: String, urlId: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -288,7 +288,7 @@ let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | let title = "title_example" // String | (optional) -PublicAPI.createV1PageReact(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiCreateV1PageReactOptions(title: title)) { (response, error) in +PublicAPI.createV1PageReact(tenantId: tenantId, urlId: urlId, title: title) { (response, error) in guard error == nil else { print(error) return @@ -325,7 +325,7 @@ No authorization required # **createV2PageReact** ```swift - open class func createV2PageReact(tenantId: String, urlId: String, id: String, options: ApiCreateV2PageReactOptions = .init(), completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) + open class func createV2PageReact(tenantId: String, urlId: String, id: String, title: String? = nil, completion: @escaping (_ data: CreateV1PageReact?, _ error: Error?) -> Void) ``` @@ -340,7 +340,7 @@ let urlId = "urlId_example" // String | let id = "id_example" // String | let title = "title_example" // String | (optional) -PublicAPI.createV2PageReact(tenantId: tenantId, urlId: urlId, id: id, options: PublicAPI.ApiCreateV2PageReactOptions(title: title)) { (response, error) in +PublicAPI.createV2PageReact(tenantId: tenantId, urlId: urlId, id: id, title: title) { (response, error) in guard error == nil else { print(error) return @@ -645,7 +645,7 @@ No authorization required # **flagCommentPublic** ```swift - open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, options: ApiFlagCommentPublicOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func flagCommentPublic(tenantId: String, commentId: String, isFlagged: Bool, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -660,7 +660,7 @@ let commentId = "commentId_example" // String | let isFlagged = true // Bool | let sso = "sso_example" // String | (optional) -PublicAPI.flagCommentPublic(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, options: PublicAPI.ApiFlagCommentPublicOptions(sso: sso)) { (response, error) in +PublicAPI.flagCommentPublic(tenantId: tenantId, commentId: commentId, isFlagged: isFlagged, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -751,7 +751,7 @@ No authorization required # **getCommentVoteUserNames** ```swift - open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, options: ApiGetCommentVoteUserNamesOptions = .init(), completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) + open class func getCommentVoteUserNames(tenantId: String, commentId: String, dir: Int, sso: String? = nil, completion: @escaping (_ data: GetCommentVoteUserNamesSuccessResponse?, _ error: Error?) -> Void) ``` @@ -766,7 +766,7 @@ let commentId = "commentId_example" // String | let dir = 987 // Int | let sso = "sso_example" // String | (optional) -PublicAPI.getCommentVoteUserNames(tenantId: tenantId, commentId: commentId, dir: dir, options: PublicAPI.ApiGetCommentVoteUserNamesOptions(sso: sso)) { (response, error) in +PublicAPI.getCommentVoteUserNames(tenantId: tenantId, commentId: commentId, dir: dir, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -966,7 +966,7 @@ No authorization required # **getEventLog** ```swift - open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetEventLogOptions = .init(), completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -984,7 +984,7 @@ let userIdWS = "userIdWS_example" // String | let startTime = 987 // Int64 | let endTime = 987 // Int64 | (optional) -PublicAPI.getEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: PublicAPI.ApiGetEventLogOptions(endTime: endTime)) { (response, error) in +PublicAPI.getEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime) { (response, error) in guard error == nil else { print(error) return @@ -1084,7 +1084,7 @@ No authorization required # **getFeedPostsStats** ```swift - open class func getFeedPostsStats(tenantId: String, postIds: [String], options: ApiGetFeedPostsStatsOptions = .init(), completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsStats(tenantId: String, postIds: [String], sso: String? = nil, completion: @escaping (_ data: FeedPostsStatsResponse?, _ error: Error?) -> Void) ``` @@ -1098,7 +1098,7 @@ let tenantId = "tenantId_example" // String | let postIds = ["inner_example"] // [String] | let sso = "sso_example" // String | (optional) -PublicAPI.getFeedPostsStats(tenantId: tenantId, postIds: postIds, options: PublicAPI.ApiGetFeedPostsStatsOptions(sso: sso)) { (response, error) in +PublicAPI.getFeedPostsStats(tenantId: tenantId, postIds: postIds, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1292,7 +1292,7 @@ No authorization required # **getGlobalEventLog** ```swift - open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, options: ApiGetGlobalEventLogOptions = .init(), completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) + open class func getGlobalEventLog(tenantId: String, urlId: String, userIdWS: String, startTime: Int64, endTime: Int64? = nil, completion: @escaping (_ data: GetEventLogResponse?, _ error: Error?) -> Void) ``` @@ -1310,7 +1310,7 @@ let userIdWS = "userIdWS_example" // String | let startTime = 987 // Int64 | let endTime = 987 // Int64 | (optional) -PublicAPI.getGlobalEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, options: PublicAPI.ApiGetGlobalEventLogOptions(endTime: endTime)) { (response, error) in +PublicAPI.getGlobalEventLog(tenantId: tenantId, urlId: urlId, userIdWS: userIdWS, startTime: startTime, endTime: endTime) { (response, error) in guard error == nil else { print(error) return @@ -1571,7 +1571,7 @@ No authorization required # **getUserNotificationCount** ```swift - open class func getUserNotificationCount(tenantId: String, options: ApiGetUserNotificationCountOptions = .init(), completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) + open class func getUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetUserNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -1584,7 +1584,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.getUserNotificationCount(tenantId: tenantId, options: PublicAPI.ApiGetUserNotificationCountOptions(sso: sso)) { (response, error) in +PublicAPI.getUserNotificationCount(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1991,7 +1991,7 @@ No authorization required # **lockComment** ```swift - open class func lockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiLockCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func lockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2006,7 +2006,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.lockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiLockCommentOptions(sso: sso)) { (response, error) in +PublicAPI.lockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2087,7 +2087,7 @@ No authorization required # **pinComment** ```swift - open class func pinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiPinCommentOptions = .init(), completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func pinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2102,7 +2102,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.pinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiPinCommentOptions(sso: sso)) { (response, error) in +PublicAPI.pinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2197,7 +2197,7 @@ No authorization required # **resetUserNotificationCount** ```swift - open class func resetUserNotificationCount(tenantId: String, options: ApiResetUserNotificationCountOptions = .init(), completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotificationCount(tenantId: String, sso: String? = nil, completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2210,7 +2210,7 @@ import FastCommentsSwift let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.resetUserNotificationCount(tenantId: tenantId, options: PublicAPI.ApiResetUserNotificationCountOptions(sso: sso)) { (response, error) in +PublicAPI.resetUserNotificationCount(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2419,7 +2419,7 @@ No authorization required # **unBlockCommentPublic** ```swift - open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, options: ApiUnBlockCommentPublicOptions = .init(), completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockCommentPublic(tenantId: String, commentId: String, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso: String? = nil, completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -2434,7 +2434,7 @@ let commentId = "commentId_example" // String | let publicBlockFromCommentParams = PublicBlockFromCommentParams(commentIds: ["commentIds_example"]) // PublicBlockFromCommentParams | let sso = "sso_example" // String | (optional) -PublicAPI.unBlockCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, options: PublicAPI.ApiUnBlockCommentPublicOptions(sso: sso)) { (response, error) in +PublicAPI.unBlockCommentPublic(tenantId: tenantId, commentId: commentId, publicBlockFromCommentParams: publicBlockFromCommentParams, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2472,7 +2472,7 @@ No authorization required # **unLockComment** ```swift - open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnLockCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func unLockComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2487,7 +2487,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.unLockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiUnLockCommentOptions(sso: sso)) { (response, error) in +PublicAPI.unLockComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2525,7 +2525,7 @@ No authorization required # **unPinComment** ```swift - open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, options: ApiUnPinCommentOptions = .init(), completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) + open class func unPinComment(tenantId: String, commentId: String, broadcastId: String, sso: String? = nil, completion: @escaping (_ data: ChangeCommentPinStatusResponse?, _ error: Error?) -> Void) ``` @@ -2540,7 +2540,7 @@ let commentId = "commentId_example" // String | let broadcastId = "broadcastId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.unPinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiUnPinCommentOptions(sso: sso)) { (response, error) in +PublicAPI.unPinComment(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2633,7 +2633,7 @@ No authorization required # **updateUserNotificationCommentSubscriptionStatus** ```swift - open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, options: ApiUpdateUserNotificationCommentSubscriptionStatusOptions = .init(), completion: @escaping (_ data: UpdateUserNotificationCommentSubscriptionStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationCommentSubscriptionStatus(tenantId: String, notificationId: String, optedInOrOut: OptedInOrOut_updateUserNotificationCommentSubscriptionStatus, commentId: String, sso: String? = nil, completion: @escaping (_ data: UpdateUserNotificationCommentSubscriptionStatusResponse?, _ error: Error?) -> Void) ``` @@ -2651,7 +2651,7 @@ let optedInOrOut = "optedInOrOut_example" // String | let commentId = "commentId_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationCommentSubscriptionStatus(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, options: PublicAPI.ApiUpdateUserNotificationCommentSubscriptionStatusOptions(sso: sso)) { (response, error) in +PublicAPI.updateUserNotificationCommentSubscriptionStatus(tenantId: tenantId, notificationId: notificationId, optedInOrOut: optedInOrOut, commentId: commentId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2690,7 +2690,7 @@ No authorization required # **updateUserNotificationPageSubscriptionStatus** ```swift - open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, options: ApiUpdateUserNotificationPageSubscriptionStatusOptions = .init(), completion: @escaping (_ data: UpdateUserNotificationPageSubscriptionStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationPageSubscriptionStatus(tenantId: String, urlId: String, url: String, pageTitle: String, subscribedOrUnsubscribed: SubscribedOrUnsubscribed_updateUserNotificationPageSubscriptionStatus, sso: String? = nil, completion: @escaping (_ data: UpdateUserNotificationPageSubscriptionStatusResponse?, _ error: Error?) -> Void) ``` @@ -2709,7 +2709,7 @@ let pageTitle = "pageTitle_example" // String | let subscribedOrUnsubscribed = "subscribedOrUnsubscribed_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationPageSubscriptionStatus(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, options: PublicAPI.ApiUpdateUserNotificationPageSubscriptionStatusOptions(sso: sso)) { (response, error) in +PublicAPI.updateUserNotificationPageSubscriptionStatus(tenantId: tenantId, urlId: urlId, url: url, pageTitle: pageTitle, subscribedOrUnsubscribed: subscribedOrUnsubscribed, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2749,7 +2749,7 @@ No authorization required # **updateUserNotificationStatus** ```swift - open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, options: ApiUpdateUserNotificationStatusOptions = .init(), completion: @escaping (_ data: UpdateUserNotificationStatusResponse?, _ error: Error?) -> Void) + open class func updateUserNotificationStatus(tenantId: String, notificationId: String, newStatus: NewStatus_updateUserNotificationStatus, sso: String? = nil, completion: @escaping (_ data: UpdateUserNotificationStatusResponse?, _ error: Error?) -> Void) ``` @@ -2764,7 +2764,7 @@ let notificationId = "notificationId_example" // String | let newStatus = "newStatus_example" // String | let sso = "sso_example" // String | (optional) -PublicAPI.updateUserNotificationStatus(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, options: PublicAPI.ApiUpdateUserNotificationStatusOptions(sso: sso)) { (response, error) in +PublicAPI.updateUserNotificationStatus(tenantId: tenantId, notificationId: notificationId, newStatus: newStatus, sso: sso) { (response, error) in guard error == nil else { print(error) return From 1c0d7e5a5a8ccca770ca126a6819b3d45821779d Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 29 Jun 2026 17:07:23 -0700 Subject: [PATCH 08/10] 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. --- client/.openapi-generator/FILES | 4 +- .../FastCommentsSwift/APIs/DefaultAPI.swift | 222 ++-- .../APIs/ModerationAPI.swift | 1067 +++++++---------- client/FastCommentsSwift/APIs/PublicAPI.swift | 144 +-- ...ift => PostRemoveCommentApiResponse.swift} | 4 +- client/README.md | 88 +- client/docs/DefaultAPI.md | 148 +-- client/docs/ModerationAPI.md | 432 +++---- ...nse.md => PostRemoveCommentApiResponse.md} | 2 +- client/docs/PublicAPI.md | 96 +- openapi.json | 614 +++++----- 11 files changed, 1286 insertions(+), 1535 deletions(-) rename client/FastCommentsSwift/Models/{PostRemoveCommentResponse.swift => PostRemoveCommentApiResponse.swift} (85%) rename client/docs/{PostRemoveCommentResponse.md => PostRemoveCommentApiResponse.md} (91%) diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 49cabea..2ef1799 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -278,7 +278,7 @@ FastCommentsSwift/Models/PatchDomainConfigResponse.swift FastCommentsSwift/Models/PatchPageAPIResponse.swift FastCommentsSwift/Models/PatchSSOUserAPIResponse.swift FastCommentsSwift/Models/PendingCommentToSyncOutbound.swift -FastCommentsSwift/Models/PostRemoveCommentResponse.swift +FastCommentsSwift/Models/PostRemoveCommentApiResponse.swift FastCommentsSwift/Models/PreBanSummary.swift FastCommentsSwift/Models/PubSubComment.swift FastCommentsSwift/Models/PubSubCommentBase.swift @@ -642,7 +642,7 @@ docs/PatchDomainConfigResponse.md docs/PatchPageAPIResponse.md docs/PatchSSOUserAPIResponse.md docs/PendingCommentToSyncOutbound.md -docs/PostRemoveCommentResponse.md +docs/PostRemoveCommentApiResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md diff --git a/client/FastCommentsSwift/APIs/DefaultAPI.swift b/client/FastCommentsSwift/APIs/DefaultAPI.swift index 2817d0f..478c5f6 100644 --- a/client/FastCommentsSwift/APIs/DefaultAPI.swift +++ b/client/FastCommentsSwift/APIs/DefaultAPI.swift @@ -53,13 +53,13 @@ open class DefaultAPI { /** - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter createHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: CreateHashTagResponse */ - open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { - return try await addHashTagWithRequestBuilder(createHashTagBody: createHashTagBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func addHashTag(tenantId: String, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateHashTagResponse { + return try await addHashTagWithRequestBuilder(tenantId: tenantId, createHashTagBody: createHashTagBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -67,19 +67,19 @@ open class DefaultAPI { - API Key: - type: apiKey x-api-key (HEADER) - name: api_key - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter createHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagWithRequestBuilder(createHashTagBody: CreateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagWithRequestBuilder(tenantId: String, createHashTagBody: CreateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: createHashTagBody, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) let localVariableNillableHeaders: [String: (any Sendable)?] = [ @@ -95,13 +95,13 @@ open class DefaultAPI { /** - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter bulkCreateHashTagsBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: BulkCreateHashTagsResponse */ - open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { - return try await addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: bulkCreateHashTagsBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func addHashTagsBulk(tenantId: String, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkCreateHashTagsResponse { + return try await addHashTagsBulkWithRequestBuilder(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -109,19 +109,19 @@ open class DefaultAPI { - API Key: - type: apiKey x-api-key (HEADER) - name: api_key - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter bulkCreateHashTagsBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func addHashTagsBulkWithRequestBuilder(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func addHashTagsBulkWithRequestBuilder(tenantId: String, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let localVariablePath = "/api/v1/hash-tags/bulk" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkCreateHashTagsBody, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) let localVariableNillableHeaders: [String: (any Sendable)?] = [ @@ -220,7 +220,7 @@ open class DefaultAPI { } /** Optional parameters for aggregate. */ - public struct ApiAggregateOptions: Sendable { + public struct AggregateOptions: Sendable { public var parentTenantId: String? public var includeStats: Bool? @@ -239,7 +239,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AggregateResponse */ - open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, options: ApiAggregateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateResponse { + open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, options: AggregateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateResponse { return try await aggregateWithRequestBuilder(tenantId: tenantId, aggregationRequest: aggregationRequest, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -256,7 +256,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func aggregateWithRequestBuilder(tenantId: String, aggregationRequest: AggregationRequest, options: ApiAggregateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func aggregateWithRequestBuilder(tenantId: String, aggregationRequest: AggregationRequest, options: AggregateOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let parentTenantId = options.parentTenantId let includeStats = options.includeStats let localVariablePath = "/api/v1/aggregate" @@ -282,7 +282,7 @@ open class DefaultAPI { } /** Optional parameters for aggregateQuestionResults. */ - public struct ApiAggregateQuestionResultsOptions: Sendable { + public struct AggregateQuestionResultsOptions: Sendable { public var questionId: String? public var questionIds: [String]? public var urlId: String? @@ -312,7 +312,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: AggregateQuestionResultsResponse */ - open class func aggregateQuestionResults(tenantId: String, options: ApiAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { + open class func aggregateQuestionResults(tenantId: String, options: AggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AggregateQuestionResultsResponse { return try await aggregateQuestionResultsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -331,7 +331,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, options: ApiAggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func aggregateQuestionResultsWithRequestBuilder(tenantId: String, options: AggregateQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let questionId = options.questionId let questionIds = options.questionIds let urlId = options.urlId @@ -365,7 +365,7 @@ open class DefaultAPI { } /** Optional parameters for blockUserFromComment. */ - public struct ApiBlockUserFromCommentOptions: Sendable { + public struct BlockUserFromCommentOptions: Sendable { public var userId: String? public var anonUserId: String? @@ -385,7 +385,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: BlockSuccess */ - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: BlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BlockSuccess { return try await blockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -402,7 +402,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func blockUserFromCommentWithRequestBuilder(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: BlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/block" @@ -526,7 +526,7 @@ open class DefaultAPI { } /** Optional parameters for combineCommentsWithQuestionResults. */ - public struct ApiCombineCommentsWithQuestionResultsOptions: Sendable { + public struct CombineCommentsWithQuestionResultsOptions: Sendable { public var questionId: String? public var questionIds: [String]? public var urlId: String? @@ -562,7 +562,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CombineQuestionResultsWithCommentsResponse */ - open class func combineCommentsWithQuestionResults(tenantId: String, options: ApiCombineCommentsWithQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { + open class func combineCommentsWithQuestionResults(tenantId: String, options: CombineCommentsWithQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CombineQuestionResultsWithCommentsResponse { return try await combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -583,7 +583,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, options: ApiCombineCommentsWithQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func combineCommentsWithQuestionResultsWithRequestBuilder(tenantId: String, options: CombineCommentsWithQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let questionId = options.questionId let questionIds = options.questionIds let urlId = options.urlId @@ -663,7 +663,7 @@ open class DefaultAPI { } /** Optional parameters for createFeedPost. */ - public struct ApiCreateFeedPostOptions: Sendable { + public struct CreateFeedPostOptions: Sendable { public var broadcastId: String? public var isLive: Bool? public var doSpamCheck: Bool? @@ -688,7 +688,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostsResponse */ - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostsResponse { return try await createFeedPostWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -706,7 +706,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let isLive = options.isLive let doSpamCheck = options.doSpamCheck @@ -1125,7 +1125,7 @@ open class DefaultAPI { } /** Optional parameters for createVote. */ - public struct ApiCreateVoteOptions: Sendable { + public struct CreateVoteOptions: Sendable { public var userId: String? public var anonUserId: String? @@ -1145,7 +1145,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, options: ApiCreateVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, options: CreateVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { return try await createVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, direction: direction, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1162,7 +1162,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, options: ApiCreateVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createVoteWithRequestBuilder(tenantId: String, commentId: String, direction: Direction_createVote, options: CreateVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let anonUserId = options.anonUserId let localVariablePath = "/api/v1/votes" @@ -1190,7 +1190,7 @@ open class DefaultAPI { } /** Optional parameters for deleteComment. */ - public struct ApiDeleteCommentOptions: Sendable { + public struct DeleteCommentOptions: Sendable { public var contextUserId: String? public var isLive: Bool? @@ -1209,7 +1209,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteCommentResult */ - open class func deleteComment(tenantId: String, id: String, options: ApiDeleteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { + open class func deleteComment(tenantId: String, id: String, options: DeleteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteCommentResult { return try await deleteCommentWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1225,7 +1225,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentWithRequestBuilder(tenantId: String, id: String, options: DeleteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let contextUserId = options.contextUserId let isLive = options.isLive var localVariablePath = "/api/v1/comments/{id}" @@ -1395,14 +1395,14 @@ open class DefaultAPI { /** + - parameter tenantId: (query) - parameter tag: (path) - - parameter tenantId: (query) (optional) - parameter deleteHashTagRequestBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await deleteHashTagWithRequestBuilder(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func deleteHashTag(tenantId: String, tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await deleteHashTagWithRequestBuilder(tenantId: tenantId, tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -1410,13 +1410,13 @@ open class DefaultAPI { - API Key: - type: apiKey x-api-key (HEADER) - name: api_key + - parameter tenantId: (query) - parameter tag: (path) - - parameter tenantId: (query) (optional) - parameter deleteHashTagRequestBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteHashTagWithRequestBuilder(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteHashTagWithRequestBuilder(tenantId: String, tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1426,7 +1426,7 @@ open class DefaultAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) let localVariableNillableHeaders: [String: (any Sendable)?] = [ @@ -1714,7 +1714,7 @@ open class DefaultAPI { } /** Optional parameters for deleteSSOUser. */ - public struct ApiDeleteSSOUserOptions: Sendable { + public struct DeleteSSOUserOptions: Sendable { public var deleteComments: Bool? public var commentDeleteMode: String? @@ -1733,7 +1733,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteSSOUserAPIResponse */ - open class func deleteSSOUser(tenantId: String, id: String, options: ApiDeleteSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSSOUserAPIResponse { + open class func deleteSSOUser(tenantId: String, id: String, options: DeleteSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteSSOUserAPIResponse { return try await deleteSSOUserWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1749,7 +1749,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteSSOUserWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteSSOUserWithRequestBuilder(tenantId: String, id: String, options: DeleteSSOUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let deleteComments = options.deleteComments let commentDeleteMode = options.commentDeleteMode var localVariablePath = "/api/v1/sso-users/{id}" @@ -1919,7 +1919,7 @@ open class DefaultAPI { } /** Optional parameters for deleteTenantUser. */ - public struct ApiDeleteTenantUserOptions: Sendable { + public struct DeleteTenantUserOptions: Sendable { public var deleteComments: String? public var commentDeleteMode: String? @@ -1938,7 +1938,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func deleteTenantUser(tenantId: String, id: String, options: ApiDeleteTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func deleteTenantUser(tenantId: String, id: String, options: DeleteTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await deleteTenantUserWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1954,7 +1954,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, options: ApiDeleteTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteTenantUserWithRequestBuilder(tenantId: String, id: String, options: DeleteTenantUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let deleteComments = options.deleteComments let commentDeleteMode = options.commentDeleteMode var localVariablePath = "/api/v1/tenant-users/{id}" @@ -2076,7 +2076,7 @@ open class DefaultAPI { } /** Optional parameters for flagComment. */ - public struct ApiFlagCommentOptions: Sendable { + public struct FlagCommentOptions: Sendable { public var userId: String? public var anonUserId: String? @@ -2095,7 +2095,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FlagCommentResponse */ - open class func flagComment(tenantId: String, id: String, options: ApiFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + open class func flagComment(tenantId: String, id: String, options: FlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { return try await flagCommentWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2111,7 +2111,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func flagCommentWithRequestBuilder(tenantId: String, id: String, options: ApiFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func flagCommentWithRequestBuilder(tenantId: String, id: String, options: FlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/flag" @@ -2140,7 +2140,7 @@ open class DefaultAPI { } /** Optional parameters for getAuditLogs. */ - public struct ApiGetAuditLogsOptions: Sendable { + public struct GetAuditLogsOptions: Sendable { public var limit: Double? public var skip: Double? public var order: SORTDIR? @@ -2167,7 +2167,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetAuditLogsResponse */ - open class func getAuditLogs(tenantId: String, options: ApiGetAuditLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { + open class func getAuditLogs(tenantId: String, options: GetAuditLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetAuditLogsResponse { return try await getAuditLogsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2185,7 +2185,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getAuditLogsWithRequestBuilder(tenantId: String, options: ApiGetAuditLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getAuditLogsWithRequestBuilder(tenantId: String, options: GetAuditLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let limit = options.limit let skip = options.skip let order = options.order @@ -2307,7 +2307,7 @@ open class DefaultAPI { } /** Optional parameters for getComments. */ - public struct ApiGetCommentsOptions: Sendable { + public struct GetCommentsOptions: Sendable { public var page: Int? public var limit: Int? public var skip: Int? @@ -2367,7 +2367,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetCommentsResponse */ - open class func getComments(tenantId: String, options: ApiGetCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { + open class func getComments(tenantId: String, options: GetCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetCommentsResponse { return try await getCommentsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2396,7 +2396,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsWithRequestBuilder(tenantId: String, options: ApiGetCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsWithRequestBuilder(tenantId: String, options: GetCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let page = options.page let limit = options.limit let skip = options.skip @@ -2711,7 +2711,7 @@ open class DefaultAPI { } /** Optional parameters for getFeedPosts. */ - public struct ApiGetFeedPostsOptions: Sendable { + public struct GetFeedPostsOptions: Sendable { public var afterId: String? public var limit: Int? public var tags: [String]? @@ -2732,7 +2732,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetFeedPostsResponse */ - open class func getFeedPosts(tenantId: String, options: ApiGetFeedPostsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { + open class func getFeedPosts(tenantId: String, options: GetFeedPostsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetFeedPostsResponse { return try await getFeedPostsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2749,7 +2749,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsWithRequestBuilder(tenantId: String, options: ApiGetFeedPostsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsWithRequestBuilder(tenantId: String, options: GetFeedPostsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let afterId = options.afterId let limit = options.limit let tags = options.tags @@ -2908,7 +2908,7 @@ open class DefaultAPI { } /** Optional parameters for getNotificationCount. */ - public struct ApiGetNotificationCountOptions: Sendable { + public struct GetNotificationCountOptions: Sendable { public var userId: String? public var urlId: String? public var fromCommentId: String? @@ -2935,7 +2935,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetNotificationCountResponse */ - open class func getNotificationCount(tenantId: String, options: ApiGetNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { + open class func getNotificationCount(tenantId: String, options: GetNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationCountResponse { return try await getNotificationCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2953,7 +2953,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getNotificationCountWithRequestBuilder(tenantId: String, options: ApiGetNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationCountWithRequestBuilder(tenantId: String, options: GetNotificationCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let urlId = options.urlId let fromCommentId = options.fromCommentId @@ -2985,7 +2985,7 @@ open class DefaultAPI { } /** Optional parameters for getNotifications. */ - public struct ApiGetNotificationsOptions: Sendable { + public struct GetNotificationsOptions: Sendable { public var userId: String? public var urlId: String? public var fromCommentId: String? @@ -3015,7 +3015,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetNotificationsResponse */ - open class func getNotifications(tenantId: String, options: ApiGetNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { + open class func getNotifications(tenantId: String, options: GetNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetNotificationsResponse { return try await getNotificationsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3034,7 +3034,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getNotificationsWithRequestBuilder(tenantId: String, options: ApiGetNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getNotificationsWithRequestBuilder(tenantId: String, options: GetNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let urlId = options.urlId let fromCommentId = options.fromCommentId @@ -3151,7 +3151,7 @@ open class DefaultAPI { } /** Optional parameters for getPendingWebhookEventCount. */ - public struct ApiGetPendingWebhookEventCountOptions: Sendable { + public struct GetPendingWebhookEventCountOptions: Sendable { public var commentId: String? public var externalId: String? public var eventType: String? @@ -3181,7 +3181,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPendingWebhookEventCountResponse */ - open class func getPendingWebhookEventCount(tenantId: String, options: ApiGetPendingWebhookEventCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { + open class func getPendingWebhookEventCount(tenantId: String, options: GetPendingWebhookEventCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventCountResponse { return try await getPendingWebhookEventCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3200,7 +3200,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, options: ApiGetPendingWebhookEventCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventCountWithRequestBuilder(tenantId: String, options: GetPendingWebhookEventCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let commentId = options.commentId let externalId = options.externalId let eventType = options.eventType @@ -3234,7 +3234,7 @@ open class DefaultAPI { } /** Optional parameters for getPendingWebhookEvents. */ - public struct ApiGetPendingWebhookEventsOptions: Sendable { + public struct GetPendingWebhookEventsOptions: Sendable { public var commentId: String? public var externalId: String? public var eventType: String? @@ -3267,7 +3267,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPendingWebhookEventsResponse */ - open class func getPendingWebhookEvents(tenantId: String, options: ApiGetPendingWebhookEventsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { + open class func getPendingWebhookEvents(tenantId: String, options: GetPendingWebhookEventsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPendingWebhookEventsResponse { return try await getPendingWebhookEventsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3287,7 +3287,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, options: ApiGetPendingWebhookEventsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPendingWebhookEventsWithRequestBuilder(tenantId: String, options: GetPendingWebhookEventsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let commentId = options.commentId let externalId = options.externalId let eventType = options.eventType @@ -3456,7 +3456,7 @@ open class DefaultAPI { } /** Optional parameters for getQuestionResults. */ - public struct ApiGetQuestionResultsOptions: Sendable { + public struct GetQuestionResultsOptions: Sendable { public var urlId: String? public var userId: String? public var startDate: String? @@ -3486,7 +3486,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetQuestionResultsResponse */ - open class func getQuestionResults(tenantId: String, options: ApiGetQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { + open class func getQuestionResults(tenantId: String, options: GetQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetQuestionResultsResponse { return try await getQuestionResultsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3505,7 +3505,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getQuestionResultsWithRequestBuilder(tenantId: String, options: ApiGetQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getQuestionResultsWithRequestBuilder(tenantId: String, options: GetQuestionResultsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let urlId = options.urlId let userId = options.userId let startDate = options.startDate @@ -3760,7 +3760,7 @@ open class DefaultAPI { } /** Optional parameters for getTenantDailyUsages. */ - public struct ApiGetTenantDailyUsagesOptions: Sendable { + public struct GetTenantDailyUsagesOptions: Sendable { public var yearNumber: Double? public var monthNumber: Double? public var dayNumber: Double? @@ -3784,7 +3784,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantDailyUsagesResponse */ - open class func getTenantDailyUsages(tenantId: String, options: ApiGetTenantDailyUsagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { + open class func getTenantDailyUsages(tenantId: String, options: GetTenantDailyUsagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantDailyUsagesResponse { return try await getTenantDailyUsagesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3801,7 +3801,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, options: ApiGetTenantDailyUsagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantDailyUsagesWithRequestBuilder(tenantId: String, options: GetTenantDailyUsagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let yearNumber = options.yearNumber let monthNumber = options.monthNumber let dayNumber = options.dayNumber @@ -4007,7 +4007,7 @@ open class DefaultAPI { } /** Optional parameters for getTenants. */ - public struct ApiGetTenantsOptions: Sendable { + public struct GetTenantsOptions: Sendable { public var meta: String? public var skip: Double? @@ -4025,7 +4025,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantsResponse */ - open class func getTenants(tenantId: String, options: ApiGetTenantsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { + open class func getTenants(tenantId: String, options: GetTenantsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantsResponse { return try await getTenantsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -4040,7 +4040,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTenantsWithRequestBuilder(tenantId: String, options: ApiGetTenantsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTenantsWithRequestBuilder(tenantId: String, options: GetTenantsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let meta = options.meta let skip = options.skip let localVariablePath = "/api/v1/tenants" @@ -4114,7 +4114,7 @@ open class DefaultAPI { } /** Optional parameters for getTickets. */ - public struct ApiGetTicketsOptions: Sendable { + public struct GetTicketsOptions: Sendable { public var userId: String? public var state: Double? public var skip: Double? @@ -4138,7 +4138,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTicketsResponse */ - open class func getTickets(tenantId: String, options: ApiGetTicketsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { + open class func getTickets(tenantId: String, options: GetTicketsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTicketsResponse { return try await getTicketsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -4155,7 +4155,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTicketsWithRequestBuilder(tenantId: String, options: ApiGetTicketsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTicketsWithRequestBuilder(tenantId: String, options: GetTicketsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let state = options.state let skip = options.skip @@ -4365,7 +4365,7 @@ open class DefaultAPI { } /** Optional parameters for getUserBadgeProgressList. */ - public struct ApiGetUserBadgeProgressListOptions: Sendable { + public struct GetUserBadgeProgressListOptions: Sendable { public var userId: String? public var limit: Double? public var skip: Double? @@ -4386,7 +4386,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgeProgressListResponse */ - open class func getUserBadgeProgressList(tenantId: String, options: ApiGetUserBadgeProgressListOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { + open class func getUserBadgeProgressList(tenantId: String, options: GetUserBadgeProgressListOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgeProgressListResponse { return try await getUserBadgeProgressListWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -4402,7 +4402,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, options: ApiGetUserBadgeProgressListOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgeProgressListWithRequestBuilder(tenantId: String, options: GetUserBadgeProgressListOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let limit = options.limit let skip = options.skip @@ -4430,7 +4430,7 @@ open class DefaultAPI { } /** Optional parameters for getUserBadges. */ - public struct ApiGetUserBadgesOptions: Sendable { + public struct GetUserBadgesOptions: Sendable { public var userId: String? public var badgeId: String? public var type: Double? @@ -4460,7 +4460,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIGetUserBadgesResponse */ - open class func getUserBadges(tenantId: String, options: ApiGetUserBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { + open class func getUserBadges(tenantId: String, options: GetUserBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIGetUserBadgesResponse { return try await getUserBadgesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -4479,7 +4479,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBadgesWithRequestBuilder(tenantId: String, options: ApiGetUserBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserBadgesWithRequestBuilder(tenantId: String, options: GetUserBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let badgeId = options.badgeId let type = options.type @@ -4556,7 +4556,7 @@ open class DefaultAPI { } /** Optional parameters for getVotesForUser. */ - public struct ApiGetVotesForUserOptions: Sendable { + public struct GetVotesForUserOptions: Sendable { public var userId: String? public var anonUserId: String? @@ -4575,7 +4575,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetVotesForUserResponse */ - open class func getVotesForUser(tenantId: String, urlId: String, options: ApiGetVotesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { + open class func getVotesForUser(tenantId: String, urlId: String, options: GetVotesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetVotesForUserResponse { return try await getVotesForUserWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -4591,7 +4591,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetVotesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getVotesForUserWithRequestBuilder(tenantId: String, urlId: String, options: GetVotesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let anonUserId = options.anonUserId let localVariablePath = "/api/v1/votes/for-user" @@ -4666,14 +4666,14 @@ open class DefaultAPI { /** + - parameter tenantId: (query) - parameter tag: (path) - - parameter tenantId: (query) (optional) - parameter updateHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: UpdateHashTagResponse */ - open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { - return try await patchHashTagWithRequestBuilder(tag: tag, updateHashTagBody: updateHashTagBody, tenantId: tenantId, apiConfiguration: apiConfiguration).execute().body + open class func patchHashTag(tenantId: String, tag: String, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UpdateHashTagResponse { + return try await patchHashTagWithRequestBuilder(tenantId: tenantId, tag: tag, updateHashTagBody: updateHashTagBody, apiConfiguration: apiConfiguration).execute().body } /** @@ -4681,13 +4681,13 @@ open class DefaultAPI { - API Key: - type: apiKey x-api-key (HEADER) - name: api_key + - parameter tenantId: (query) - parameter tag: (path) - - parameter tenantId: (query) (optional) - parameter updateHashTagBody: (body) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func patchHashTagWithRequestBuilder(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, tenantId: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func patchHashTagWithRequestBuilder(tenantId: String, tag: String, updateHashTagBody: UpdateHashTagBody? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { var localVariablePath = "/api/v1/hash-tags/{tag}" let tagPreEscape = "\(APIHelper.mapValueToPathItem(tag))" let tagPostEscape = tagPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4697,7 +4697,7 @@ open class DefaultAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) let localVariableNillableHeaders: [String: (any Sendable)?] = [ @@ -5048,7 +5048,7 @@ open class DefaultAPI { } /** Optional parameters for saveComment. */ - public struct ApiSaveCommentOptions: Sendable { + public struct SaveCommentOptions: Sendable { public var isLive: Bool? public var doSpamCheck: Bool? public var sendEmails: Bool? @@ -5073,7 +5073,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APISaveCommentResponse */ - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, options: SaveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APISaveCommentResponse { return try await saveCommentWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -5091,7 +5091,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func saveCommentWithRequestBuilder(tenantId: String, createCommentParams: CreateCommentParams, options: SaveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let isLive = options.isLive let doSpamCheck = options.doSpamCheck let sendEmails = options.sendEmails @@ -5121,7 +5121,7 @@ open class DefaultAPI { } /** Optional parameters for saveCommentsBulk. */ - public struct ApiSaveCommentsBulkOptions: Sendable { + public struct SaveCommentsBulkOptions: Sendable { public var isLive: Bool? public var doSpamCheck: Bool? public var sendEmails: Bool? @@ -5146,7 +5146,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: [SaveCommentsBulkResponse] */ - open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], options: ApiSaveCommentsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> [SaveCommentsBulkResponse] { + open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], options: SaveCommentsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> [SaveCommentsBulkResponse] { return try await saveCommentsBulkWithRequestBuilder(tenantId: tenantId, createCommentParams: createCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -5164,7 +5164,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder<[SaveCommentsBulkResponse]> */ - open class func saveCommentsBulkWithRequestBuilder(tenantId: String, createCommentParams: [CreateCommentParams], options: ApiSaveCommentsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder<[SaveCommentsBulkResponse]> { + open class func saveCommentsBulkWithRequestBuilder(tenantId: String, createCommentParams: [CreateCommentParams], options: SaveCommentsBulkOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder<[SaveCommentsBulkResponse]> { let isLive = options.isLive let doSpamCheck = options.doSpamCheck let sendEmails = options.sendEmails @@ -5290,7 +5290,7 @@ open class DefaultAPI { } /** Optional parameters for unBlockUserFromComment. */ - public struct ApiUnBlockUserFromCommentOptions: Sendable { + public struct UnBlockUserFromCommentOptions: Sendable { public var userId: String? public var anonUserId: String? @@ -5310,7 +5310,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UnblockSuccess */ - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: UnBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UnblockSuccess { return try await unBlockUserFromCommentWithRequestBuilder(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -5327,7 +5327,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unBlockUserFromCommentWithRequestBuilder(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: UnBlockUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/un-block" @@ -5356,7 +5356,7 @@ open class DefaultAPI { } /** Optional parameters for unFlagComment. */ - public struct ApiUnFlagCommentOptions: Sendable { + public struct UnFlagCommentOptions: Sendable { public var userId: String? public var anonUserId: String? @@ -5375,7 +5375,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: FlagCommentResponse */ - open class func unFlagComment(tenantId: String, id: String, options: ApiUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { + open class func unFlagComment(tenantId: String, id: String, options: UnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> FlagCommentResponse { return try await unFlagCommentWithRequestBuilder(tenantId: tenantId, id: id, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -5391,7 +5391,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, options: ApiUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func unFlagCommentWithRequestBuilder(tenantId: String, id: String, options: UnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let anonUserId = options.anonUserId var localVariablePath = "/api/v1/comments/{id}/un-flag" @@ -5420,7 +5420,7 @@ open class DefaultAPI { } /** Optional parameters for updateComment. */ - public struct ApiUpdateCommentOptions: Sendable { + public struct UpdateCommentOptions: Sendable { public var contextUserId: String? public var doSpamCheck: Bool? public var isLive: Bool? @@ -5443,7 +5443,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: UpdateCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { return try await updateCommentWithRequestBuilder(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -5461,7 +5461,7 @@ open class DefaultAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateCommentWithRequestBuilder(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: UpdateCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let contextUserId = options.contextUserId let doSpamCheck = options.doSpamCheck let isLive = options.isLive diff --git a/client/FastCommentsSwift/APIs/ModerationAPI.swift b/client/FastCommentsSwift/APIs/ModerationAPI.swift index 8ff234b..701ce43 100644 --- a/client/FastCommentsSwift/APIs/ModerationAPI.swift +++ b/client/FastCommentsSwift/APIs/ModerationAPI.swift @@ -10,13 +10,11 @@ import Foundation open class ModerationAPI { /** Optional parameters for deleteModerationVote. */ - public struct ApiDeleteModerationVoteOptions: Sendable { - public var tenantId: String? + public struct DeleteModerationVoteOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -24,33 +22,32 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter voteId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteModerationVote(commentId: String, voteId: String, options: ApiDeleteModerationVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { - return try await deleteModerationVoteWithRequestBuilder(commentId: commentId, voteId: voteId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func deleteModerationVote(tenantId: String, commentId: String, voteId: String, options: DeleteModerationVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + return try await deleteModerationVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, voteId: voteId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - DELETE /auth/my-account/moderate-comments/vote/{commentId}/{voteId} + - DELETE /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter voteId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteModerationVoteWithRequestBuilder(commentId: String, voteId: String, options: ApiDeleteModerationVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func deleteModerationVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, options: DeleteModerationVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -62,7 +59,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -79,7 +76,7 @@ open class ModerationAPI { } /** Optional parameters for getApiComments. */ - public struct ApiGetApiCommentsOptions: Sendable { + public struct GetApiCommentsOptions: Sendable { public var page: Double? public var count: Double? public var textSearch: String? @@ -88,10 +85,9 @@ open class ModerationAPI { public var searchFilters: String? public var sorts: String? public var demo: Bool? - public var tenantId: String? public var sso: String? - public init(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(page: Double? = nil, count: Double? = nil, textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, demo: Bool? = nil, sso: String? = nil) { self.page = page self.count = count self.textSearch = textSearch @@ -100,13 +96,13 @@ open class ModerationAPI { self.searchFilters = searchFilters self.sorts = sorts self.demo = demo - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter page: (query) (optional) - parameter count: (query) (optional) - parameter textSearch: (query) (optional) @@ -115,17 +111,17 @@ open class ModerationAPI { - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) - parameter demo: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetCommentsResponse */ - open class func getApiComments(options: ApiGetApiCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { - return try await getApiCommentsWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getApiComments(tenantId: String, options: GetApiCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentsResponse { + return try await getApiCommentsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/api/comments + - GET /auth/my-account/moderate-comments/mod_api/api/comments + - parameter tenantId: (query) - parameter page: (query) (optional) - parameter count: (query) (optional) - parameter textSearch: (query) (optional) @@ -134,12 +130,11 @@ open class ModerationAPI { - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) - parameter demo: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiCommentsWithRequestBuilder(options: ApiGetApiCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiCommentsWithRequestBuilder(tenantId: String, options: GetApiCommentsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let page = options.page let count = options.count let textSearch = options.textSearch @@ -148,14 +143,14 @@ open class ModerationAPI { let searchFilters = options.searchFilters let sorts = options.sorts let demo = options.demo - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/api/comments" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/api/comments" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "page": (wrappedValue: page?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "count": (wrappedValue: count?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "text-search": (wrappedValue: textSearch?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), @@ -164,7 +159,6 @@ open class ModerationAPI { "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sorts": (wrappedValue: sorts?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "demo": (wrappedValue: demo?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -180,50 +174,47 @@ open class ModerationAPI { } /** Optional parameters for getApiExportStatus. */ - public struct ApiGetApiExportStatusOptions: Sendable { + public struct GetApiExportStatusOptions: Sendable { public var batchJobId: String? - public var tenantId: String? public var sso: String? - public init(batchJobId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(batchJobId: String? = nil, sso: String? = nil) { self.batchJobId = batchJobId - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter batchJobId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationExportStatusResponse */ - open class func getApiExportStatus(options: ApiGetApiExportStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { - return try await getApiExportStatusWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getApiExportStatus(tenantId: String, options: GetApiExportStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportStatusResponse { + return try await getApiExportStatusWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/api/export/status + - GET /auth/my-account/moderate-comments/mod_api/api/export/status + - parameter tenantId: (query) - parameter batchJobId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiExportStatusWithRequestBuilder(options: ApiGetApiExportStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiExportStatusWithRequestBuilder(tenantId: String, options: GetApiExportStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let batchJobId = options.batchJobId - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/api/export/status" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/api/export/status" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "batchJobId": (wrappedValue: batchJobId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -239,80 +230,77 @@ open class ModerationAPI { } /** Optional parameters for getApiIds. */ - public struct ApiGetApiIdsOptions: Sendable { + public struct GetApiIdsOptions: Sendable { public var textSearch: String? public var byIPFromComment: String? public var filters: String? public var searchFilters: String? public var afterId: String? public var demo: Bool? - public var tenantId: String? public var sso: String? - public init(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, afterId: String? = nil, demo: Bool? = nil, sso: String? = nil) { self.textSearch = textSearch self.byIPFromComment = byIPFromComment self.filters = filters self.searchFilters = searchFilters self.afterId = afterId self.demo = demo - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - parameter byIPFromComment: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - parameter afterId: (query) (optional) - parameter demo: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetCommentIdsResponse */ - open class func getApiIds(options: ApiGetApiIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { - return try await getApiIdsWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getApiIds(tenantId: String, options: GetApiIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetCommentIdsResponse { + return try await getApiIdsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/api/ids + - GET /auth/my-account/moderate-comments/mod_api/api/ids + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - parameter byIPFromComment: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - parameter afterId: (query) (optional) - parameter demo: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getApiIdsWithRequestBuilder(options: ApiGetApiIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getApiIdsWithRequestBuilder(tenantId: String, options: GetApiIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { 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 - let localVariablePath = "/auth/my-account/moderate-comments/api/ids" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/api/ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "text-search": (wrappedValue: textSearch?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "byIPFromComment": (wrappedValue: byIPFromComment?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "filters": (wrappedValue: filters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "afterId": (wrappedValue: afterId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "demo": (wrappedValue: demo?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -327,41 +315,28 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getBanUsersFromComment. */ - public struct ApiGetBanUsersFromCommentOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetBannedUsersFromCommentResponse */ - open class func getBanUsersFromComment(commentId: String, options: ApiGetBanUsersFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { - return try await getBanUsersFromCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getBanUsersFromComment(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersFromCommentResponse { + return try await getBanUsersFromCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getBanUsersFromCommentWithRequestBuilder(commentId: String, options: ApiGetBanUsersFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" + open class func getBanUsersFromCommentWithRequestBuilder(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -370,7 +345,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -385,41 +360,28 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getCommentBanStatus. */ - public struct ApiGetCommentBanStatusOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentBanStatusResponse */ - open class func getCommentBanStatus(commentId: String, options: ApiGetCommentBanStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { - return try await getCommentBanStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getCommentBanStatus(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentBanStatusResponse { + return try await getCommentBanStatusWithRequestBuilder(tenantId: tenantId, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentBanStatusWithRequestBuilder(commentId: String, options: ApiGetCommentBanStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" + open class func getCommentBanStatusWithRequestBuilder(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -428,7 +390,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -443,41 +405,28 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getCommentChildren. */ - public struct ApiGetCommentChildrenOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIChildCommentsResponse */ - open class func getCommentChildren(commentId: String, options: ApiGetCommentChildrenOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await getCommentChildrenWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getCommentChildren(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { + return try await getCommentChildrenWithRequestBuilder(tenantId: tenantId, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/comment-children/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentChildrenWithRequestBuilder(commentId: String, options: ApiGetCommentChildrenOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/comment-children/{commentId}" + open class func getCommentChildrenWithRequestBuilder(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -486,7 +435,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -502,74 +451,71 @@ open class ModerationAPI { } /** Optional parameters for getCount. */ - public struct ApiGetCountOptions: Sendable { + public struct GetCountOptions: Sendable { public var textSearch: String? public var byIPFromComment: String? public var filter: String? public var searchFilters: String? public var demo: Bool? - public var tenantId: String? public var sso: String? - public init(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(textSearch: String? = nil, byIPFromComment: String? = nil, filter: String? = nil, searchFilters: String? = nil, demo: Bool? = nil, sso: String? = nil) { self.textSearch = textSearch self.byIPFromComment = byIPFromComment self.filter = filter self.searchFilters = searchFilters self.demo = demo - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - parameter byIPFromComment: (query) (optional) - parameter filter: (query) (optional) - parameter searchFilters: (query) (optional) - parameter demo: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPICountCommentsResponse */ - open class func getCount(options: ApiGetCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { - return try await getCountWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getCount(tenantId: String, options: GetCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICountCommentsResponse { + return try await getCountWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/count + - GET /auth/my-account/moderate-comments/mod_api/count + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - parameter byIPFromComment: (query) (optional) - parameter filter: (query) (optional) - parameter searchFilters: (query) (optional) - parameter demo: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCountWithRequestBuilder(options: ApiGetCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCountWithRequestBuilder(tenantId: String, options: GetCountOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { 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 - let localVariablePath = "/auth/my-account/moderate-comments/count" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/count" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "text-search": (wrappedValue: textSearch?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "byIPFromComment": (wrappedValue: byIPFromComment?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "filter": (wrappedValue: filter?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "demo": (wrappedValue: demo?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -584,45 +530,32 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getCounts. */ - public struct ApiGetCountsOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetBannedUsersCountResponse */ - open class func getCounts(options: ApiGetCountsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { - return try await getCountsWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getCounts(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetBannedUsersCountResponse { + return try await getCountsWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/banned-users/counts - - parameter tenantId: (query) (optional) + - GET /auth/my-account/moderate-comments/banned-users/mod_api/counts + - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCountsWithRequestBuilder(options: ApiGetCountsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/banned-users/counts" + open class func getCountsWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/banned-users/mod_api/counts" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -637,41 +570,28 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getLogs. */ - public struct ApiGetLogsOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIGetLogsResponse */ - open class func getLogs(commentId: String, options: ApiGetLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { - return try await getLogsWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getLogs(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIGetLogsResponse { + return try await getLogsWithRequestBuilder(tenantId: tenantId, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/logs/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/logs/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getLogsWithRequestBuilder(commentId: String, options: ApiGetLogsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/logs/{commentId}" + open class func getLogsWithRequestBuilder(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/logs/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -680,7 +600,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -695,45 +615,32 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getManualBadges. */ - public struct ApiGetManualBadgesOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetTenantManualBadgesResponse */ - open class func getManualBadges(options: ApiGetManualBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { - return try await getManualBadgesWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadges(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTenantManualBadgesResponse { + return try await getManualBadgesWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/get-manual-badges - - parameter tenantId: (query) (optional) + - GET /auth/my-account/moderate-comments/mod_api/get-manual-badges + - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getManualBadgesWithRequestBuilder(options: ApiGetManualBadgesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges" + open class func getManualBadgesWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/get-manual-badges" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -749,56 +656,53 @@ open class ModerationAPI { } /** Optional parameters for getManualBadgesForUser. */ - public struct ApiGetManualBadgesForUserOptions: Sendable { + public struct GetManualBadgesForUserOptions: Sendable { public var badgesUserId: String? public var commentId: String? - public var tenantId: String? public var sso: String? - public init(badgesUserId: String? = nil, commentId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(badgesUserId: String? = nil, commentId: String? = nil, sso: String? = nil) { self.badgesUserId = badgesUserId self.commentId = commentId - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter badgesUserId: (query) (optional) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetUserManualBadgesResponse */ - open class func getManualBadgesForUser(options: ApiGetManualBadgesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { - return try await getManualBadgesForUserWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getManualBadgesForUser(tenantId: String, options: GetManualBadgesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserManualBadgesResponse { + return try await getManualBadgesForUserWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/get-manual-badges-for-user + - GET /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user + - parameter tenantId: (query) - parameter badgesUserId: (query) (optional) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getManualBadgesForUserWithRequestBuilder(options: ApiGetManualBadgesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getManualBadgesForUserWithRequestBuilder(tenantId: String, options: GetManualBadgesForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let badgesUserId = options.badgesUserId let commentId = options.commentId - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/get-manual-badges-for-user" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "badgesUserId": (wrappedValue: badgesUserId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -814,50 +718,47 @@ open class ModerationAPI { } /** Optional parameters for getModerationComment. */ - public struct ApiGetModerationCommentOptions: Sendable { + public struct GetModerationCommentOptions: Sendable { public var includeEmail: Bool? public var includeIP: Bool? - public var tenantId: String? public var sso: String? - public init(includeEmail: Bool? = nil, includeIP: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(includeEmail: Bool? = nil, includeIP: Bool? = nil, sso: String? = nil) { self.includeEmail = includeEmail self.includeIP = includeIP - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter includeEmail: (query) (optional) - parameter includeIP: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPICommentResponse */ - open class func getModerationComment(commentId: String, options: ApiGetModerationCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { - return try await getModerationCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getModerationComment(tenantId: String, commentId: String, options: GetModerationCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPICommentResponse { + return try await getModerationCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/comment/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter includeEmail: (query) (optional) - parameter includeIP: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModerationCommentWithRequestBuilder(commentId: String, options: ApiGetModerationCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getModerationCommentWithRequestBuilder(tenantId: String, commentId: String, options: GetModerationCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let includeEmail = options.includeEmail let includeIP = options.includeIP - let tenantId = options.tenantId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/comment/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -866,9 +767,9 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeEmail": (wrappedValue: includeEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeIP": (wrappedValue: includeIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -883,41 +784,28 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getModerationCommentText. */ - public struct ApiGetModerationCommentTextOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentTextResponse */ - open class func getModerationCommentText(commentId: String, options: ApiGetModerationCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { - return try await getModerationCommentTextWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getModerationCommentText(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentTextResponse { + return try await getModerationCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/get-comment-text/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getModerationCommentTextWithRequestBuilder(commentId: String, options: ApiGetModerationCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/get-comment-text/{commentId}" + open class func getModerationCommentTextWithRequestBuilder(tenantId: String, commentId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -926,7 +814,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -942,55 +830,52 @@ open class ModerationAPI { } /** Optional parameters for getPreBanSummary. */ - public struct ApiGetPreBanSummaryOptions: Sendable { + public struct GetPreBanSummaryOptions: Sendable { public var includeByUserIdAndEmail: Bool? public var includeByIP: Bool? public var includeByEmailDomain: Bool? - public var tenantId: String? public var sso: String? - public init(includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil) { self.includeByUserIdAndEmail = includeByUserIdAndEmail self.includeByIP = includeByIP self.includeByEmailDomain = includeByEmailDomain - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: PreBanSummary */ - open class func getPreBanSummary(commentId: String, options: ApiGetPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { - return try await getPreBanSummaryWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func getPreBanSummary(tenantId: String, commentId: String, options: GetPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PreBanSummary { + return try await getPreBanSummaryWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/pre-ban-summary/{commentId} + - GET /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPreBanSummaryWithRequestBuilder(commentId: String, options: ApiGetPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPreBanSummaryWithRequestBuilder(tenantId: String, commentId: String, options: GetPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let includeByUserIdAndEmail = options.includeByUserIdAndEmail let includeByIP = options.includeByIP let includeByEmailDomain = options.includeByEmailDomain - let tenantId = options.tenantId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -999,10 +884,10 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByUserIdAndEmail": (wrappedValue: includeByUserIdAndEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByIP": (wrappedValue: includeByIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByEmailDomain": (wrappedValue: includeByEmailDomain?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1018,62 +903,59 @@ open class ModerationAPI { } /** Optional parameters for getSearchCommentsSummary. */ - public struct ApiGetSearchCommentsSummaryOptions: Sendable { + public struct GetSearchCommentsSummaryOptions: Sendable { public var value: String? public var filters: String? public var searchFilters: String? - public var tenantId: String? public var sso: String? - public init(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(value: String? = nil, filters: String? = nil, searchFilters: String? = nil, sso: String? = nil) { self.value = value self.filters = filters self.searchFilters = searchFilters - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter value: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationCommentSearchResponse */ - open class func getSearchCommentsSummary(options: ApiGetSearchCommentsSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { - return try await getSearchCommentsSummaryWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSearchCommentsSummary(tenantId: String, options: GetSearchCommentsSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationCommentSearchResponse { + return try await getSearchCommentsSummaryWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/search/comments/summary + - GET /auth/my-account/moderate-comments/mod_api/search/comments/summary + - parameter tenantId: (query) - parameter value: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchCommentsSummaryWithRequestBuilder(options: ApiGetSearchCommentsSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchCommentsSummaryWithRequestBuilder(tenantId: String, options: GetSearchCommentsSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let value = options.value let filters = options.filters let searchFilters = options.searchFilters - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/search/comments/summary" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/search/comments/summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "filters": (wrappedValue: filters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1089,50 +971,47 @@ open class ModerationAPI { } /** Optional parameters for getSearchPages. */ - public struct ApiGetSearchPagesOptions: Sendable { + public struct GetSearchPagesOptions: Sendable { public var value: String? - public var tenantId: String? public var sso: String? - public init(value: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(value: String? = nil, sso: String? = nil) { self.value = value - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter value: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationPageSearchResponse */ - open class func getSearchPages(options: ApiGetSearchPagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { - return try await getSearchPagesWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSearchPages(tenantId: String, options: GetSearchPagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationPageSearchResponse { + return try await getSearchPagesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/search/pages + - GET /auth/my-account/moderate-comments/mod_api/search/pages + - parameter tenantId: (query) - parameter value: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchPagesWithRequestBuilder(options: ApiGetSearchPagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchPagesWithRequestBuilder(tenantId: String, options: GetSearchPagesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let value = options.value - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/search/pages" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/search/pages" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1148,50 +1027,47 @@ open class ModerationAPI { } /** Optional parameters for getSearchSites. */ - public struct ApiGetSearchSitesOptions: Sendable { + public struct GetSearchSitesOptions: Sendable { public var value: String? - public var tenantId: String? public var sso: String? - public init(value: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(value: String? = nil, sso: String? = nil) { self.value = value - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter value: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationSiteSearchResponse */ - open class func getSearchSites(options: ApiGetSearchSitesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { - return try await getSearchSitesWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSites(tenantId: String, options: GetSearchSitesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSiteSearchResponse { + return try await getSearchSitesWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/search/sites + - GET /auth/my-account/moderate-comments/mod_api/search/sites + - parameter tenantId: (query) - parameter value: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchSitesWithRequestBuilder(options: ApiGetSearchSitesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSitesWithRequestBuilder(tenantId: String, options: GetSearchSitesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let value = options.value - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/search/sites" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/search/sites" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1207,50 +1083,47 @@ open class ModerationAPI { } /** Optional parameters for getSearchSuggest. */ - public struct ApiGetSearchSuggestOptions: Sendable { + public struct GetSearchSuggestOptions: Sendable { public var textSearch: String? - public var tenantId: String? public var sso: String? - public init(textSearch: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(textSearch: String? = nil, sso: String? = nil) { self.textSearch = textSearch - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationSuggestResponse */ - open class func getSearchSuggest(options: ApiGetSearchSuggestOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { - return try await getSearchSuggestWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSearchSuggest(tenantId: String, options: GetSearchSuggestOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationSuggestResponse { + return try await getSearchSuggestWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/search/suggest + - GET /auth/my-account/moderate-comments/mod_api/search/suggest + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchSuggestWithRequestBuilder(options: ApiGetSearchSuggestOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchSuggestWithRequestBuilder(tenantId: String, options: GetSearchSuggestOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let textSearch = options.textSearch - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/search/suggest" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/search/suggest" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "text-search": (wrappedValue: textSearch?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1266,50 +1139,47 @@ open class ModerationAPI { } /** Optional parameters for getSearchUsers. */ - public struct ApiGetSearchUsersOptions: Sendable { + public struct GetSearchUsersOptions: Sendable { public var value: String? - public var tenantId: String? public var sso: String? - public init(value: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(value: String? = nil, sso: String? = nil) { self.value = value - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter value: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationUserSearchResponse */ - open class func getSearchUsers(options: ApiGetSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { - return try await getSearchUsersWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getSearchUsers(tenantId: String, options: GetSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationUserSearchResponse { + return try await getSearchUsersWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/search/users + - GET /auth/my-account/moderate-comments/mod_api/search/users + - parameter tenantId: (query) - parameter value: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getSearchUsersWithRequestBuilder(options: ApiGetSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getSearchUsersWithRequestBuilder(tenantId: String, options: GetSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let value = options.value - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/search/users" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/search/users" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "value": (wrappedValue: value?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1325,50 +1195,47 @@ open class ModerationAPI { } /** Optional parameters for getTrustFactor. */ - public struct ApiGetTrustFactorOptions: Sendable { + public struct GetTrustFactorOptions: Sendable { public var userId: String? - public var tenantId: String? public var sso: String? - public init(userId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(userId: String? = nil, sso: String? = nil) { self.userId = userId - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter userId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetUserTrustFactorResponse */ - open class func getTrustFactor(options: ApiGetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { - return try await getTrustFactorWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getTrustFactor(tenantId: String, options: GetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserTrustFactorResponse { + return try await getTrustFactorWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/get-trust-factor + - GET /auth/my-account/moderate-comments/mod_api/get-trust-factor + - parameter tenantId: (query) - parameter userId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTrustFactorWithRequestBuilder(options: ApiGetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTrustFactorWithRequestBuilder(tenantId: String, options: GetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/get-trust-factor" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/get-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1383,45 +1250,32 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "GET", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for getUserBanPreference. */ - public struct ApiGetUserBanPreferenceOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** - - parameter tenantId: (query) (optional) + - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIModerateGetUserBanPreferencesResponse */ - open class func getUserBanPreference(options: ApiGetUserBanPreferenceOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { - return try await getUserBanPreferenceWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getUserBanPreference(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIModerateGetUserBanPreferencesResponse { + return try await getUserBanPreferenceWithRequestBuilder(tenantId: tenantId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/user-ban-preference - - parameter tenantId: (query) (optional) + - GET /auth/my-account/moderate-comments/mod_api/user-ban-preference + - parameter tenantId: (query) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserBanPreferenceWithRequestBuilder(options: ApiGetUserBanPreferenceOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/user-ban-preference" + open class func getUserBanPreferenceWithRequestBuilder(tenantId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/user-ban-preference" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1437,50 +1291,47 @@ open class ModerationAPI { } /** Optional parameters for getUserInternalProfile. */ - public struct ApiGetUserInternalProfileOptions: Sendable { + public struct GetUserInternalProfileOptions: Sendable { public var commentId: String? - public var tenantId: String? public var sso: String? - public init(commentId: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(commentId: String? = nil, sso: String? = nil) { self.commentId = commentId - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: GetUserInternalProfileResponse */ - open class func getUserInternalProfile(options: ApiGetUserInternalProfileOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { - return try await getUserInternalProfileWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func getUserInternalProfile(tenantId: String, options: GetUserInternalProfileOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetUserInternalProfileResponse { + return try await getUserInternalProfileWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - GET /auth/my-account/moderate-comments/get-user-internal-profile + - GET /auth/my-account/moderate-comments/mod_api/get-user-internal-profile + - parameter tenantId: (query) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserInternalProfileWithRequestBuilder(options: ApiGetUserInternalProfileOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserInternalProfileWithRequestBuilder(tenantId: String, options: GetUserInternalProfileOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let commentId = options.commentId - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/get-user-internal-profile" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/get-user-internal-profile" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1496,13 +1347,11 @@ open class ModerationAPI { } /** Optional parameters for postAdjustCommentVotes. */ - public struct ApiPostAdjustCommentVotesOptions: Sendable { - public var tenantId: String? + public struct PostAdjustCommentVotesOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -1510,33 +1359,32 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter adjustCommentVotesParams: (body) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: AdjustVotesResponse */ - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { - return try await postAdjustCommentVotesWithRequestBuilder(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postAdjustCommentVotes(tenantId: String, commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: PostAdjustCommentVotesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AdjustVotesResponse { + return try await postAdjustCommentVotesWithRequestBuilder(tenantId: tenantId, commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter adjustCommentVotesParams: (body) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postAdjustCommentVotesWithRequestBuilder(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func postAdjustCommentVotesWithRequestBuilder(tenantId: String, commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: PostAdjustCommentVotesOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -1545,7 +1393,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1562,74 +1410,71 @@ open class ModerationAPI { } /** Optional parameters for postApiExport. */ - public struct ApiPostApiExportOptions: Sendable { + public struct PostApiExportOptions: Sendable { public var textSearch: String? public var byIPFromComment: String? public var filters: String? public var searchFilters: String? public var sorts: String? - public var tenantId: String? public var sso: String? - public init(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(textSearch: String? = nil, byIPFromComment: String? = nil, filters: String? = nil, searchFilters: String? = nil, sorts: String? = nil, sso: String? = nil) { self.textSearch = textSearch self.byIPFromComment = byIPFromComment self.filters = filters self.searchFilters = searchFilters self.sorts = sorts - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - parameter byIPFromComment: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationExportResponse */ - open class func postApiExport(options: ApiPostApiExportOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { - return try await postApiExportWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func postApiExport(tenantId: String, options: PostApiExportOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationExportResponse { + return try await postApiExportWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/api/export + - POST /auth/my-account/moderate-comments/mod_api/api/export + - parameter tenantId: (query) - parameter textSearch: (query) (optional) - parameter byIPFromComment: (query) (optional) - parameter filters: (query) (optional) - parameter searchFilters: (query) (optional) - parameter sorts: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postApiExportWithRequestBuilder(options: ApiPostApiExportOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postApiExportWithRequestBuilder(tenantId: String, options: PostApiExportOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { 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 - let localVariablePath = "/auth/my-account/moderate-comments/api/export" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/api/export" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "text-search": (wrappedValue: textSearch?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "byIPFromComment": (wrappedValue: byIPFromComment?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "filters": (wrappedValue: filters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "searchFilters": (wrappedValue: searchFilters?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sorts": (wrappedValue: sorts?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1645,7 +1490,7 @@ open class ModerationAPI { } /** Optional parameters for postBanUserFromComment. */ - public struct ApiPostBanUserFromCommentOptions: Sendable { + public struct PostBanUserFromCommentOptions: Sendable { public var banEmail: Bool? public var banEmailDomain: Bool? public var banIP: Bool? @@ -1654,10 +1499,9 @@ open class ModerationAPI { public var isShadowBan: Bool? public var updateId: String? public var banReason: String? - public var tenantId: String? public var sso: String? - public init(banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(banEmail: Bool? = nil, banEmailDomain: Bool? = nil, banIP: Bool? = nil, deleteAllUsersComments: Bool? = nil, bannedUntil: String? = nil, isShadowBan: Bool? = nil, updateId: String? = nil, banReason: String? = nil, sso: String? = nil) { self.banEmail = banEmail self.banEmailDomain = banEmailDomain self.banIP = banIP @@ -1666,13 +1510,13 @@ open class ModerationAPI { self.isShadowBan = isShadowBan self.updateId = updateId self.banReason = banReason - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter banEmail: (query) (optional) - parameter banEmailDomain: (query) (optional) @@ -1682,17 +1526,17 @@ open class ModerationAPI { - parameter isShadowBan: (query) (optional) - parameter updateId: (query) (optional) - parameter banReason: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: BanUserFromCommentResult */ - open class func postBanUserFromComment(commentId: String, options: ApiPostBanUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { - return try await postBanUserFromCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserFromComment(tenantId: String, commentId: String, options: PostBanUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BanUserFromCommentResult { + return try await postBanUserFromCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter banEmail: (query) (optional) - parameter banEmailDomain: (query) (optional) @@ -1702,12 +1546,11 @@ open class ModerationAPI { - parameter isShadowBan: (query) (optional) - parameter updateId: (query) (optional) - parameter banReason: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBanUserFromCommentWithRequestBuilder(commentId: String, options: ApiPostBanUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBanUserFromCommentWithRequestBuilder(tenantId: String, commentId: String, options: PostBanUserFromCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let banEmail = options.banEmail let banEmailDomain = options.banEmailDomain let banIP = options.banIP @@ -1716,9 +1559,8 @@ open class ModerationAPI { let isShadowBan = options.isShadowBan let updateId = options.updateId let banReason = options.banReason - let tenantId = options.tenantId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -1727,6 +1569,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "banEmail": (wrappedValue: banEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "banEmailDomain": (wrappedValue: banEmailDomain?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "banIP": (wrappedValue: banIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), @@ -1735,7 +1578,6 @@ open class ModerationAPI { "isShadowBan": (wrappedValue: isShadowBan?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "updateId": (wrappedValue: updateId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "banReason": (wrappedValue: banReason?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1750,47 +1592,34 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for postBanUserUndo. */ - public struct ApiPostBanUserUndoOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter banUserUndoParams: (body) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postBanUserUndoWithRequestBuilder(banUserUndoParams: banUserUndoParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postBanUserUndo(tenantId: String, banUserUndoParams: BanUserUndoParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postBanUserUndoWithRequestBuilder(tenantId: tenantId, banUserUndoParams: banUserUndoParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/ban-user/undo + - POST /auth/my-account/moderate-comments/mod_api/ban-user/undo + - parameter tenantId: (query) - parameter banUserUndoParams: (body) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBanUserUndoWithRequestBuilder(banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/ban-user/undo" + open class func postBanUserUndoWithRequestBuilder(tenantId: String, banUserUndoParams: BanUserUndoParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/ban-user/undo" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: banUserUndoParams, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1806,64 +1635,61 @@ open class ModerationAPI { } /** Optional parameters for postBulkPreBanSummary. */ - public struct ApiPostBulkPreBanSummaryOptions: Sendable { + public struct PostBulkPreBanSummaryOptions: Sendable { public var includeByUserIdAndEmail: Bool? public var includeByIP: Bool? public var includeByEmailDomain: Bool? - public var tenantId: String? public var sso: String? - public init(includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(includeByUserIdAndEmail: Bool? = nil, includeByIP: Bool? = nil, includeByEmailDomain: Bool? = nil, sso: String? = nil) { self.includeByUserIdAndEmail = includeByUserIdAndEmail self.includeByIP = includeByIP self.includeByEmailDomain = includeByEmailDomain - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter bulkPreBanParams: (body) - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: BulkPreBanSummary */ - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { - return try await postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: bulkPreBanParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postBulkPreBanSummary(tenantId: String, bulkPreBanParams: BulkPreBanParams, options: PostBulkPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> BulkPreBanSummary { + return try await postBulkPreBanSummaryWithRequestBuilder(tenantId: tenantId, bulkPreBanParams: bulkPreBanParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/bulk-pre-ban-summary + - POST /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary + - parameter tenantId: (query) - parameter bulkPreBanParams: (body) - parameter includeByUserIdAndEmail: (query) (optional) - parameter includeByIP: (query) (optional) - parameter includeByEmailDomain: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postBulkPreBanSummaryWithRequestBuilder(bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postBulkPreBanSummaryWithRequestBuilder(tenantId: String, bulkPreBanParams: BulkPreBanParams, options: PostBulkPreBanSummaryOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let includeByUserIdAndEmail = options.includeByUserIdAndEmail let includeByIP = options.includeByIP let includeByEmailDomain = options.includeByEmailDomain - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/bulk-pre-ban-summary" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: bulkPreBanParams, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByUserIdAndEmail": (wrappedValue: includeByUserIdAndEmail?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByIP": (wrappedValue: includeByIP?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "includeByEmailDomain": (wrappedValue: includeByEmailDomain?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1878,47 +1704,34 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for postCommentsByIds. */ - public struct ApiPostCommentsByIdsOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter commentsByIdsParams: (body) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: ModerationAPIChildCommentsResponse */ - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { - return try await postCommentsByIdsWithRequestBuilder(commentsByIdsParams: commentsByIdsParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postCommentsByIds(tenantId: String, commentsByIdsParams: CommentsByIdsParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ModerationAPIChildCommentsResponse { + return try await postCommentsByIdsWithRequestBuilder(tenantId: tenantId, commentsByIdsParams: commentsByIdsParams, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/comments-by-ids + - POST /auth/my-account/moderate-comments/mod_api/comments-by-ids + - parameter tenantId: (query) - parameter commentsByIdsParams: (body) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postCommentsByIdsWithRequestBuilder(commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/comments-by-ids" + open class func postCommentsByIdsWithRequestBuilder(tenantId: String, commentsByIdsParams: CommentsByIdsParams, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/comments-by-ids" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters = JSONEncodingHelper.encodingParameters(forEncodableObject: commentsByIdsParams, codableHelper: apiConfiguration.codableHelper) var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1934,13 +1747,11 @@ open class ModerationAPI { } /** Optional parameters for postFlagComment. */ - public struct ApiPostFlagCommentOptions: Sendable { - public var tenantId: String? + public struct PostFlagCommentOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -1948,31 +1759,30 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postFlagComment(commentId: String, options: ApiPostFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postFlagCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postFlagComment(tenantId: String, commentId: String, options: PostFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postFlagCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/flag-comment/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postFlagCommentWithRequestBuilder(commentId: String, options: ApiPostFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func postFlagCommentWithRequestBuilder(tenantId: String, commentId: String, options: PostFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/flag-comment/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -1981,7 +1791,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -1998,13 +1808,11 @@ open class ModerationAPI { } /** Optional parameters for postRemoveComment. */ - public struct ApiPostRemoveCommentOptions: Sendable { - public var tenantId: String? + public struct PostRemoveCommentOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -2012,31 +1820,30 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: PostRemoveCommentResponse + - returns: PostRemoveCommentApiResponse */ - open class func postRemoveComment(commentId: String, options: ApiPostRemoveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentResponse { - return try await postRemoveCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postRemoveComment(tenantId: String, commentId: String, options: PostRemoveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PostRemoveCommentApiResponse { + return try await postRemoveCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/remove-comment/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - - returns: RequestBuilder + - returns: RequestBuilder */ - open class func postRemoveCommentWithRequestBuilder(commentId: String, options: ApiPostRemoveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func postRemoveCommentWithRequestBuilder(tenantId: String, commentId: String, options: PostRemoveCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/remove-comment/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2045,7 +1852,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2056,19 +1863,17 @@ open class ModerationAPI { let localVariableHeaderParameters = APIHelper.rejectNilHeaders(localVariableNillableHeaders) - let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() + let localVariableRequestBuilder: RequestBuilder.Type = apiConfiguration.requestBuilderFactory.getBuilder() return localVariableRequestBuilder.init(method: "POST", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } /** Optional parameters for postRestoreDeletedComment. */ - public struct ApiPostRestoreDeletedCommentOptions: Sendable { - public var tenantId: String? + public struct PostRestoreDeletedCommentOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -2076,31 +1881,30 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postRestoreDeletedComment(commentId: String, options: ApiPostRestoreDeletedCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postRestoreDeletedCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postRestoreDeletedComment(tenantId: String, commentId: String, options: PostRestoreDeletedCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postRestoreDeletedCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postRestoreDeletedCommentWithRequestBuilder(commentId: String, options: ApiPostRestoreDeletedCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func postRestoreDeletedCommentWithRequestBuilder(tenantId: String, commentId: String, options: PostRestoreDeletedCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2109,7 +1913,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2126,15 +1930,13 @@ open class ModerationAPI { } /** Optional parameters for postSetCommentApprovalStatus. */ - public struct ApiPostSetCommentApprovalStatusOptions: Sendable { + public struct PostSetCommentApprovalStatusOptions: Sendable { public var approved: Bool? - public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(approved: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + public init(approved: Bool? = nil, broadcastId: String? = nil, sso: String? = nil) { self.approved = approved - self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso } @@ -2142,34 +1944,33 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter approved: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: SetCommentApprovedResponse */ - open class func postSetCommentApprovalStatus(commentId: String, options: ApiPostSetCommentApprovalStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { - return try await postSetCommentApprovalStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentApprovalStatus(tenantId: String, commentId: String, options: PostSetCommentApprovalStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentApprovedResponse { + return try await postSetCommentApprovalStatusWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter approved: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentApprovalStatusWithRequestBuilder(commentId: String, options: ApiPostSetCommentApprovalStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentApprovalStatusWithRequestBuilder(tenantId: String, commentId: String, options: PostSetCommentApprovalStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let approved = options.approved - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2178,8 +1979,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "approved": (wrappedValue: approved?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2196,15 +1997,13 @@ open class ModerationAPI { } /** Optional parameters for postSetCommentReviewStatus. */ - public struct ApiPostSetCommentReviewStatusOptions: Sendable { + public struct PostSetCommentReviewStatusOptions: Sendable { public var reviewed: Bool? - public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(reviewed: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + public init(reviewed: Bool? = nil, broadcastId: String? = nil, sso: String? = nil) { self.reviewed = reviewed - self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso } @@ -2212,34 +2011,33 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter reviewed: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postSetCommentReviewStatus(commentId: String, options: ApiPostSetCommentReviewStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentReviewStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentReviewStatus(tenantId: String, commentId: String, options: PostSetCommentReviewStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postSetCommentReviewStatusWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter reviewed: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentReviewStatusWithRequestBuilder(commentId: String, options: ApiPostSetCommentReviewStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentReviewStatusWithRequestBuilder(tenantId: String, commentId: String, options: PostSetCommentReviewStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let reviewed = options.reviewed - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2248,8 +2046,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "reviewed": (wrappedValue: reviewed?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2266,17 +2064,15 @@ open class ModerationAPI { } /** Optional parameters for postSetCommentSpamStatus. */ - public struct ApiPostSetCommentSpamStatusOptions: Sendable { + public struct PostSetCommentSpamStatusOptions: Sendable { public var spam: Bool? public var permNotSpam: Bool? - public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(spam: Bool? = nil, permNotSpam: Bool? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + public init(spam: Bool? = nil, permNotSpam: Bool? = nil, broadcastId: String? = nil, sso: String? = nil) { self.spam = spam self.permNotSpam = permNotSpam - self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso } @@ -2284,37 +2080,36 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter spam: (query) (optional) - parameter permNotSpam: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postSetCommentSpamStatus(commentId: String, options: ApiPostSetCommentSpamStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postSetCommentSpamStatusWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentSpamStatus(tenantId: String, commentId: String, options: PostSetCommentSpamStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postSetCommentSpamStatusWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter spam: (query) (optional) - parameter permNotSpam: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentSpamStatusWithRequestBuilder(commentId: String, options: ApiPostSetCommentSpamStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postSetCommentSpamStatusWithRequestBuilder(tenantId: String, commentId: String, options: PostSetCommentSpamStatusOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let spam = options.spam let permNotSpam = options.permNotSpam - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2323,9 +2118,9 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "spam": (wrappedValue: spam?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "permNotSpam": (wrappedValue: permNotSpam?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2342,13 +2137,11 @@ open class ModerationAPI { } /** Optional parameters for postSetCommentText. */ - public struct ApiPostSetCommentTextOptions: Sendable { - public var tenantId: String? + public struct PostSetCommentTextOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -2356,33 +2149,32 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter setCommentTextParams: (body) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: SetCommentTextResponse */ - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { - return try await postSetCommentTextWithRequestBuilder(commentId: commentId, setCommentTextParams: setCommentTextParams, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postSetCommentText(tenantId: String, commentId: String, setCommentTextParams: SetCommentTextParams, options: PostSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetCommentTextResponse { + return try await postSetCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, setCommentTextParams: setCommentTextParams, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/set-comment-text/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter setCommentTextParams: (body) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postSetCommentTextWithRequestBuilder(commentId: String, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func postSetCommentTextWithRequestBuilder(tenantId: String, commentId: String, setCommentTextParams: SetCommentTextParams, options: PostSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/set-comment-text/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2391,7 +2183,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2408,13 +2200,11 @@ open class ModerationAPI { } /** Optional parameters for postUnFlagComment. */ - public struct ApiPostUnFlagCommentOptions: Sendable { - public var tenantId: String? + public struct PostUnFlagCommentOptions: Sendable { public var broadcastId: String? public var sso: String? - public init(tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId + public init(broadcastId: String? = nil, sso: String? = nil) { self.broadcastId = broadcastId self.sso = sso } @@ -2422,31 +2212,30 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func postUnFlagComment(commentId: String, options: ApiPostUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await postUnFlagCommentWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postUnFlagComment(tenantId: String, commentId: String, options: PostUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await postUnFlagCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/un-flag-comment/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postUnFlagCommentWithRequestBuilder(commentId: String, options: ApiPostUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId + open class func postUnFlagCommentWithRequestBuilder(tenantId: String, commentId: String, options: PostUnFlagCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/un-flag-comment/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2455,7 +2244,7 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2472,15 +2261,13 @@ open class ModerationAPI { } /** Optional parameters for postVote. */ - public struct ApiPostVoteOptions: Sendable { + public struct PostVoteOptions: Sendable { public var direction: String? - public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(direction: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + public init(direction: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.direction = direction - self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso } @@ -2488,34 +2275,33 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter commentId: (path) - parameter direction: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func postVote(commentId: String, options: ApiPostVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { - return try await postVoteWithRequestBuilder(commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func postVote(tenantId: String, commentId: String, options: PostVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + return try await postVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - POST /auth/my-account/moderate-comments/vote/{commentId} + - POST /auth/my-account/moderate-comments/mod_api/vote/{commentId} + - parameter tenantId: (query) - parameter commentId: (path) - parameter direction: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func postVoteWithRequestBuilder(commentId: String, options: ApiPostVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func postVoteWithRequestBuilder(tenantId: String, commentId: String, options: PostVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let direction = options.direction - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso - var localVariablePath = "/auth/my-account/moderate-comments/vote/{commentId}" + var localVariablePath = "/auth/my-account/moderate-comments/mod_api/vote/{commentId}" let commentIdPreEscape = "\(APIHelper.mapValueToPathItem(commentId))" let commentIdPostEscape = commentIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" localVariablePath = localVariablePath.replacingOccurrences(of: "{commentId}", with: commentIdPostEscape, options: .literal, range: nil) @@ -2524,8 +2310,8 @@ open class ModerationAPI { var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "direction": (wrappedValue: direction?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2542,17 +2328,15 @@ open class ModerationAPI { } /** Optional parameters for putAwardBadge. */ - public struct ApiPutAwardBadgeOptions: Sendable { + public struct PutAwardBadgeOptions: Sendable { public var userId: String? public var commentId: String? - public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + public init(userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.userId = userId self.commentId = commentId - self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso } @@ -2560,46 +2344,45 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: AwardUserBadgeResponse */ - open class func putAwardBadge(badgeId: String, options: ApiPutAwardBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { - return try await putAwardBadgeWithRequestBuilder(badgeId: badgeId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func putAwardBadge(tenantId: String, badgeId: String, options: PutAwardBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> AwardUserBadgeResponse { + return try await putAwardBadgeWithRequestBuilder(tenantId: tenantId, badgeId: badgeId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - PUT /auth/my-account/moderate-comments/award-badge + - PUT /auth/my-account/moderate-comments/mod_api/award-badge + - parameter tenantId: (query) - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putAwardBadgeWithRequestBuilder(badgeId: String, options: ApiPutAwardBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putAwardBadgeWithRequestBuilder(tenantId: String, badgeId: String, options: PutAwardBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let commentId = options.commentId - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/award-badge" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/award-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "badgeId": (wrappedValue: badgeId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2615,48 +2398,35 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for putCloseThread. */ - public struct ApiPutCloseThreadOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter urlId: (query) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func putCloseThread(urlId: String, options: ApiPutCloseThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putCloseThreadWithRequestBuilder(urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func putCloseThread(tenantId: String, urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await putCloseThreadWithRequestBuilder(tenantId: tenantId, urlId: urlId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - PUT /auth/my-account/moderate-comments/close-thread + - PUT /auth/my-account/moderate-comments/mod_api/close-thread + - parameter tenantId: (query) - parameter urlId: (query) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putCloseThreadWithRequestBuilder(urlId: String, options: ApiPutCloseThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/close-thread" + open class func putCloseThreadWithRequestBuilder(tenantId: String, urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/close-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "urlId": (wrappedValue: urlId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2672,17 +2442,15 @@ open class ModerationAPI { } /** Optional parameters for putRemoveBadge. */ - public struct ApiPutRemoveBadgeOptions: Sendable { + public struct PutRemoveBadgeOptions: Sendable { public var userId: String? public var commentId: String? - public var tenantId: String? public var broadcastId: String? public var sso: String? - public init(userId: String? = nil, commentId: String? = nil, tenantId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { + public init(userId: String? = nil, commentId: String? = nil, broadcastId: String? = nil, sso: String? = nil) { self.userId = userId self.commentId = commentId - self.tenantId = tenantId self.broadcastId = broadcastId self.sso = sso } @@ -2690,46 +2458,45 @@ open class ModerationAPI { /** + - parameter tenantId: (query) - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RemoveUserBadgeResponse */ - open class func putRemoveBadge(badgeId: String, options: ApiPutRemoveBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { - return try await putRemoveBadgeWithRequestBuilder(badgeId: badgeId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func putRemoveBadge(tenantId: String, badgeId: String, options: PutRemoveBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> RemoveUserBadgeResponse { + return try await putRemoveBadgeWithRequestBuilder(tenantId: tenantId, badgeId: badgeId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - PUT /auth/my-account/moderate-comments/remove-badge + - PUT /auth/my-account/moderate-comments/mod_api/remove-badge + - parameter tenantId: (query) - parameter badgeId: (query) - parameter userId: (query) (optional) - parameter commentId: (query) (optional) - - parameter tenantId: (query) (optional) - parameter broadcastId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putRemoveBadgeWithRequestBuilder(badgeId: String, options: ApiPutRemoveBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func putRemoveBadgeWithRequestBuilder(tenantId: String, badgeId: String, options: PutRemoveBadgeOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let commentId = options.commentId - let tenantId = options.tenantId let broadcastId = options.broadcastId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/remove-badge" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/remove-badge" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "badgeId": (wrappedValue: badgeId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "commentId": (wrappedValue: commentId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "broadcastId": (wrappedValue: broadcastId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2745,48 +2512,35 @@ open class ModerationAPI { return localVariableRequestBuilder.init(method: "PUT", URLString: (localVariableUrlComponents?.string ?? localVariableURLString), parameters: localVariableParameters, headers: localVariableHeaderParameters, requiresAuthentication: false, apiConfiguration: apiConfiguration) } - /** Optional parameters for putReopenThread. */ - public struct ApiPutReopenThreadOptions: Sendable { - public var tenantId: String? - public var sso: String? - - public init(tenantId: String? = nil, sso: String? = nil) { - self.tenantId = tenantId - self.sso = sso - } - } - /** + - parameter tenantId: (query) - parameter urlId: (query) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: APIEmptyResponse */ - open class func putReopenThread(urlId: String, options: ApiPutReopenThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { - return try await putReopenThreadWithRequestBuilder(urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body + open class func putReopenThread(tenantId: String, urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> APIEmptyResponse { + return try await putReopenThreadWithRequestBuilder(tenantId: tenantId, urlId: urlId, sso: sso, apiConfiguration: apiConfiguration).execute().body } /** - - PUT /auth/my-account/moderate-comments/reopen-thread + - PUT /auth/my-account/moderate-comments/mod_api/reopen-thread + - parameter tenantId: (query) - parameter urlId: (query) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func putReopenThreadWithRequestBuilder(urlId: String, options: ApiPutReopenThreadOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { - let tenantId = options.tenantId - let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/reopen-thread" + open class func putReopenThreadWithRequestBuilder(tenantId: String, urlId: String, sso: String? = nil, apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/reopen-thread" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "urlId": (wrappedValue: urlId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) @@ -2802,56 +2556,53 @@ open class ModerationAPI { } /** Optional parameters for setTrustFactor. */ - public struct ApiSetTrustFactorOptions: Sendable { + public struct SetTrustFactorOptions: Sendable { public var userId: String? public var trustFactor: String? - public var tenantId: String? public var sso: String? - public init(userId: String? = nil, trustFactor: String? = nil, tenantId: String? = nil, sso: String? = nil) { + public init(userId: String? = nil, trustFactor: String? = nil, sso: String? = nil) { self.userId = userId self.trustFactor = trustFactor - self.tenantId = tenantId self.sso = sso } } /** + - parameter tenantId: (query) - parameter userId: (query) (optional) - parameter trustFactor: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: SetUserTrustFactorResponse */ - open class func setTrustFactor(options: ApiSetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { - return try await setTrustFactorWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body + open class func setTrustFactor(tenantId: String, options: SetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SetUserTrustFactorResponse { + return try await setTrustFactorWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } /** - - PUT /auth/my-account/moderate-comments/set-trust-factor + - PUT /auth/my-account/moderate-comments/mod_api/set-trust-factor + - parameter tenantId: (query) - parameter userId: (query) (optional) - parameter trustFactor: (query) (optional) - - parameter tenantId: (query) (optional) - parameter sso: (query) (optional) - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func setTrustFactorWithRequestBuilder(options: ApiSetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setTrustFactorWithRequestBuilder(tenantId: String, options: SetTrustFactorOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let trustFactor = options.trustFactor - let tenantId = options.tenantId let sso = options.sso - let localVariablePath = "/auth/my-account/moderate-comments/set-trust-factor" + let localVariablePath = "/auth/my-account/moderate-comments/mod_api/set-trust-factor" let localVariableURLString = apiConfiguration.basePath + localVariablePath let localVariableParameters: [String: any Sendable]? = nil var localVariableUrlComponents = URLComponents(string: localVariableURLString) localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([ + "tenantId": (wrappedValue: tenantId.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "userId": (wrappedValue: userId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "trustFactor": (wrappedValue: trustFactor?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), - "tenantId": (wrappedValue: tenantId?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), "sso": (wrappedValue: sso?.asParameter(codableHelper: apiConfiguration.codableHelper), isExplode: true), ]) diff --git a/client/FastCommentsSwift/APIs/PublicAPI.swift b/client/FastCommentsSwift/APIs/PublicAPI.swift index 1b2e174..27f35a7 100644 --- a/client/FastCommentsSwift/APIs/PublicAPI.swift +++ b/client/FastCommentsSwift/APIs/PublicAPI.swift @@ -100,7 +100,7 @@ open class PublicAPI { } /** Optional parameters for createCommentPublic. */ - public struct ApiCreateCommentPublicOptions: Sendable { + public struct CreateCommentPublicOptions: Sendable { public var sessionId: String? public var sso: String? @@ -121,7 +121,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SaveCommentsResponseWithPresence */ - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: ApiCreateCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: CreateCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SaveCommentsResponseWithPresence { return try await createCommentPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -136,7 +136,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: ApiCreateCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createCommentPublicWithRequestBuilder(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: CreateCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let sessionId = options.sessionId let sso = options.sso var localVariablePath = "/comments/{tenantId}" @@ -166,7 +166,7 @@ open class PublicAPI { } /** Optional parameters for createFeedPostPublic. */ - public struct ApiCreateFeedPostPublicOptions: Sendable { + public struct CreateFeedPostPublicOptions: Sendable { public var broadcastId: String? public var sso: String? @@ -185,7 +185,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostResponse */ - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { return try await createFeedPostPublicWithRequestBuilder(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -198,7 +198,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func createFeedPostPublicWithRequestBuilder(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}" @@ -319,7 +319,7 @@ open class PublicAPI { } /** Optional parameters for deleteCommentPublic. */ - public struct ApiDeleteCommentPublicOptions: Sendable { + public struct DeleteCommentPublicOptions: Sendable { public var editKey: String? public var sso: String? @@ -339,7 +339,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPIDeleteCommentResponse */ - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, options: ApiDeleteCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, options: DeleteCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIDeleteCommentResponse { return try await deleteCommentPublicWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -353,7 +353,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: ApiDeleteCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentPublicWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, options: DeleteCommentPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let editKey = options.editKey let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}" @@ -385,7 +385,7 @@ open class PublicAPI { } /** Optional parameters for deleteCommentVote. */ - public struct ApiDeleteCommentVoteOptions: Sendable { + public struct DeleteCommentVoteOptions: Sendable { public var editKey: String? public var sso: String? @@ -407,7 +407,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteDeleteResponse */ - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: ApiDeleteCommentVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: DeleteCommentVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteDeleteResponse { return try await deleteCommentVoteWithRequestBuilder(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -423,7 +423,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: ApiDeleteCommentVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteCommentVoteWithRequestBuilder(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: DeleteCommentVoteOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let editKey = options.editKey let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/vote/{voteId}" @@ -459,7 +459,7 @@ open class PublicAPI { } /** Optional parameters for deleteFeedPostPublic. */ - public struct ApiDeleteFeedPostPublicOptions: Sendable { + public struct DeleteFeedPostPublicOptions: Sendable { public var broadcastId: String? public var sso: String? @@ -478,7 +478,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: DeleteFeedPostPublicResponse */ - open class func deleteFeedPostPublic(tenantId: String, postId: String, options: ApiDeleteFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteFeedPostPublicResponse { + open class func deleteFeedPostPublic(tenantId: String, postId: String, options: DeleteFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> DeleteFeedPostPublicResponse { return try await deleteFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -491,7 +491,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func deleteFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, options: ApiDeleteFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func deleteFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, options: DeleteFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/{postId}" @@ -657,7 +657,7 @@ open class PublicAPI { } /** Optional parameters for getCommentText. */ - public struct ApiGetCommentTextOptions: Sendable { + public struct GetCommentTextOptions: Sendable { public var editKey: String? public var sso: String? @@ -676,7 +676,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPIGetCommentTextResponse */ - open class func getCommentText(tenantId: String, commentId: String, options: ApiGetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { + open class func getCommentText(tenantId: String, commentId: String, options: GetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPIGetCommentTextResponse { return try await getCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -689,7 +689,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, options: ApiGetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentTextWithRequestBuilder(tenantId: String, commentId: String, options: GetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let editKey = options.editKey let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/text" @@ -770,7 +770,7 @@ open class PublicAPI { } /** Optional parameters for getCommentsForUser. */ - public struct ApiGetCommentsForUserOptions: Sendable { + public struct GetCommentsForUserOptions: Sendable { public var userId: String? public var direction: SortDirections? public var repliesToUserId: String? @@ -802,7 +802,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentsForUserResponse */ - open class func getCommentsForUser(options: ApiGetCommentsForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { + open class func getCommentsForUser(options: GetCommentsForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsForUserResponse { return try await getCommentsForUserWithRequestBuilder(options: options, apiConfiguration: apiConfiguration).execute().body } @@ -818,7 +818,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsForUserWithRequestBuilder(options: ApiGetCommentsForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsForUserWithRequestBuilder(options: GetCommentsForUserOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let userId = options.userId let direction = options.direction let repliesToUserId = options.repliesToUserId @@ -853,7 +853,7 @@ open class PublicAPI { } /** Optional parameters for getCommentsPublic. */ - public struct ApiGetCommentsPublicOptions: Sendable { + public struct GetCommentsPublicOptions: Sendable { public var page: Int? public var direction: SortDirections? public var sso: String? @@ -944,7 +944,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetCommentsResponseWithPresencePublicComment */ - open class func getCommentsPublic(tenantId: String, urlId: String, options: ApiGetCommentsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { + open class func getCommentsPublic(tenantId: String, urlId: String, options: GetCommentsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetCommentsResponseWithPresencePublicComment { return try await getCommentsPublicWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -982,7 +982,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetCommentsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getCommentsPublicWithRequestBuilder(tenantId: String, urlId: String, options: GetCommentsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let page = options.page let direction = options.direction let sso = options.sso @@ -1111,7 +1111,7 @@ open class PublicAPI { } /** Optional parameters for getFeedPostsPublic. */ - public struct ApiGetFeedPostsPublicOptions: Sendable { + public struct GetFeedPostsPublicOptions: Sendable { public var afterId: String? public var limit: Int? public var tags: [String]? @@ -1141,7 +1141,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicFeedPostsResponse */ - open class func getFeedPostsPublic(tenantId: String, options: ApiGetFeedPostsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { + open class func getFeedPostsPublic(tenantId: String, options: GetFeedPostsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicFeedPostsResponse { return try await getFeedPostsPublicWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1158,7 +1158,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, options: ApiGetFeedPostsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getFeedPostsPublicWithRequestBuilder(tenantId: String, options: GetFeedPostsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let afterId = options.afterId let limit = options.limit let tags = options.tags @@ -1281,7 +1281,7 @@ open class PublicAPI { } /** Optional parameters for getGifsSearch. */ - public struct ApiGetGifsSearchOptions: Sendable { + public struct GetGifsSearchOptions: Sendable { public var locale: String? public var rating: String? public var page: Double? @@ -1303,7 +1303,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetGifsSearchResponse */ - open class func getGifsSearch(tenantId: String, search: String, options: ApiGetGifsSearchOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsSearchResponse { + open class func getGifsSearch(tenantId: String, search: String, options: GetGifsSearchOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsSearchResponse { return try await getGifsSearchWithRequestBuilder(tenantId: tenantId, search: search, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1317,7 +1317,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifsSearchWithRequestBuilder(tenantId: String, search: String, options: ApiGetGifsSearchOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifsSearchWithRequestBuilder(tenantId: String, search: String, options: GetGifsSearchOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let locale = options.locale let rating = options.rating let page = options.page @@ -1348,7 +1348,7 @@ open class PublicAPI { } /** Optional parameters for getGifsTrending. */ - public struct ApiGetGifsTrendingOptions: Sendable { + public struct GetGifsTrendingOptions: Sendable { public var locale: String? public var rating: String? public var page: Double? @@ -1369,7 +1369,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetGifsTrendingResponse */ - open class func getGifsTrending(tenantId: String, options: ApiGetGifsTrendingOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsTrendingResponse { + open class func getGifsTrending(tenantId: String, options: GetGifsTrendingOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetGifsTrendingResponse { return try await getGifsTrendingWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1382,7 +1382,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getGifsTrendingWithRequestBuilder(tenantId: String, options: ApiGetGifsTrendingOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getGifsTrendingWithRequestBuilder(tenantId: String, options: GetGifsTrendingOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let locale = options.locale let rating = options.rating let page = options.page @@ -1464,7 +1464,7 @@ open class PublicAPI { } /** Optional parameters for getOfflineUsers. */ - public struct ApiGetOfflineUsersOptions: Sendable { + public struct GetOfflineUsersOptions: Sendable { public var afterName: String? public var afterUserId: String? @@ -1483,7 +1483,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersOfflineResponse */ - open class func getOfflineUsers(tenantId: String, urlId: String, options: ApiGetOfflineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { + open class func getOfflineUsers(tenantId: String, urlId: String, options: GetOfflineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOfflineResponse { return try await getOfflineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1497,7 +1497,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetOfflineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOfflineUsersWithRequestBuilder(tenantId: String, urlId: String, options: GetOfflineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let afterName = options.afterName let afterUserId = options.afterUserId var localVariablePath = "/pages/{tenantId}/users/offline" @@ -1526,7 +1526,7 @@ open class PublicAPI { } /** Optional parameters for getOnlineUsers. */ - public struct ApiGetOnlineUsersOptions: Sendable { + public struct GetOnlineUsersOptions: Sendable { public var afterName: String? public var afterUserId: String? @@ -1545,7 +1545,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PageUsersOnlineResponse */ - open class func getOnlineUsers(tenantId: String, urlId: String, options: ApiGetOnlineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { + open class func getOnlineUsers(tenantId: String, urlId: String, options: GetOnlineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PageUsersOnlineResponse { return try await getOnlineUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1559,7 +1559,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, options: ApiGetOnlineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getOnlineUsersWithRequestBuilder(tenantId: String, urlId: String, options: GetOnlineUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let afterName = options.afterName let afterUserId = options.afterUserId var localVariablePath = "/pages/{tenantId}/users/online" @@ -1588,7 +1588,7 @@ open class PublicAPI { } /** Optional parameters for getPagesPublic. */ - public struct ApiGetPagesPublicOptions: Sendable { + public struct GetPagesPublicOptions: Sendable { public var cursor: String? public var limit: Int? public var q: String? @@ -1615,7 +1615,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetPublicPagesResponse */ - open class func getPagesPublic(tenantId: String, options: ApiGetPagesPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { + open class func getPagesPublic(tenantId: String, options: GetPagesPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetPublicPagesResponse { return try await getPagesPublicWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1631,7 +1631,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getPagesPublicWithRequestBuilder(tenantId: String, options: ApiGetPagesPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getPagesPublicWithRequestBuilder(tenantId: String, options: GetPagesPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let cursor = options.cursor let limit = options.limit let q = options.q @@ -1665,7 +1665,7 @@ open class PublicAPI { } /** Optional parameters for getTranslations. */ - public struct ApiGetTranslationsOptions: Sendable { + public struct GetTranslationsOptions: Sendable { public var locale: String? public var useFullTranslationIds: Bool? @@ -1684,7 +1684,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetTranslationsResponse */ - open class func getTranslations(namespace: String, component: String, options: ApiGetTranslationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { + open class func getTranslations(namespace: String, component: String, options: GetTranslationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetTranslationsResponse { return try await getTranslationsWithRequestBuilder(namespace: namespace, component: component, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1697,7 +1697,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getTranslationsWithRequestBuilder(namespace: String, component: String, options: ApiGetTranslationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getTranslationsWithRequestBuilder(namespace: String, component: String, options: GetTranslationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let locale = options.locale let useFullTranslationIds = options.useFullTranslationIds var localVariablePath = "/translations/{namespace}/{component}" @@ -1768,7 +1768,7 @@ open class PublicAPI { } /** Optional parameters for getUserNotifications. */ - public struct ApiGetUserNotificationsOptions: Sendable { + public struct GetUserNotificationsOptions: Sendable { public var urlId: String? public var pageSize: Int? public var afterId: String? @@ -1813,7 +1813,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: GetMyNotificationsResponse */ - open class func getUserNotifications(tenantId: String, options: ApiGetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { + open class func getUserNotifications(tenantId: String, options: GetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> GetMyNotificationsResponse { return try await getUserNotificationsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1834,7 +1834,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserNotificationsWithRequestBuilder(tenantId: String, options: ApiGetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserNotificationsWithRequestBuilder(tenantId: String, options: GetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let urlId = options.urlId let pageSize = options.pageSize let afterId = options.afterId @@ -1921,7 +1921,7 @@ open class PublicAPI { } /** Optional parameters for getUserReactsPublic. */ - public struct ApiGetUserReactsPublicOptions: Sendable { + public struct GetUserReactsPublicOptions: Sendable { public var postIds: [String]? public var sso: String? @@ -1939,7 +1939,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UserReactsResponse */ - open class func getUserReactsPublic(tenantId: String, options: ApiGetUserReactsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { + open class func getUserReactsPublic(tenantId: String, options: GetUserReactsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UserReactsResponse { return try await getUserReactsPublicWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -1951,7 +1951,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func getUserReactsPublicWithRequestBuilder(tenantId: String, options: ApiGetUserReactsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func getUserReactsPublicWithRequestBuilder(tenantId: String, options: GetUserReactsPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let postIds = options.postIds let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/user-reacts" @@ -2283,7 +2283,7 @@ open class PublicAPI { } /** Optional parameters for reactFeedPostPublic. */ - public struct ApiReactFeedPostPublicOptions: Sendable { + public struct ReactFeedPostPublicOptions: Sendable { public var isUndo: Bool? public var broadcastId: String? public var sso: String? @@ -2306,7 +2306,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ReactFeedPostResponse */ - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ReactFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ReactFeedPostResponse { return try await reactFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2321,7 +2321,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func reactFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ReactFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let isUndo = options.isUndo let broadcastId = options.broadcastId let sso = options.sso @@ -2394,7 +2394,7 @@ open class PublicAPI { } /** Optional parameters for resetUserNotifications. */ - public struct ApiResetUserNotificationsOptions: Sendable { + public struct ResetUserNotificationsOptions: Sendable { public var afterId: String? public var afterCreatedAt: Int64? public var unreadOnly: Bool? @@ -2424,7 +2424,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: ResetUserNotificationsResponse */ - open class func resetUserNotifications(tenantId: String, options: ApiResetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { + open class func resetUserNotifications(tenantId: String, options: ResetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> ResetUserNotificationsResponse { return try await resetUserNotificationsWithRequestBuilder(tenantId: tenantId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2440,7 +2440,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func resetUserNotificationsWithRequestBuilder(tenantId: String, options: ApiResetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func resetUserNotificationsWithRequestBuilder(tenantId: String, options: ResetUserNotificationsOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let afterId = options.afterId let afterCreatedAt = options.afterCreatedAt let unreadOnly = options.unreadOnly @@ -2482,7 +2482,7 @@ open class PublicAPI { } /** Optional parameters for searchUsers. */ - public struct ApiSearchUsersOptions: Sendable { + public struct SearchUsersOptions: Sendable { public var usernameStartsWith: String? public var mentionGroupIds: [String]? public var sso: String? @@ -2507,7 +2507,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: SearchUsersResult */ - open class func searchUsers(tenantId: String, urlId: String, options: ApiSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { + open class func searchUsers(tenantId: String, urlId: String, options: SearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> SearchUsersResult { return try await searchUsersWithRequestBuilder(tenantId: tenantId, urlId: urlId, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2522,7 +2522,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, options: ApiSearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func searchUsersWithRequestBuilder(tenantId: String, urlId: String, options: SearchUsersOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let usernameStartsWith = options.usernameStartsWith let mentionGroupIds = options.mentionGroupIds let sso = options.sso @@ -2555,7 +2555,7 @@ open class PublicAPI { } /** Optional parameters for setCommentText. */ - public struct ApiSetCommentTextOptions: Sendable { + public struct SetCommentTextOptions: Sendable { public var editKey: String? public var sso: String? @@ -2576,7 +2576,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: PublicAPISetCommentTextResponse */ - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: SetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> PublicAPISetCommentTextResponse { return try await setCommentTextWithRequestBuilder(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2591,7 +2591,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func setCommentTextWithRequestBuilder(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: SetCommentTextOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let editKey = options.editKey let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/update-text" @@ -2770,7 +2770,7 @@ open class PublicAPI { } /** Optional parameters for updateFeedPostPublic. */ - public struct ApiUpdateFeedPostPublicOptions: Sendable { + public struct UpdateFeedPostPublicOptions: Sendable { public var broadcastId: String? public var sso: String? @@ -2790,7 +2790,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: CreateFeedPostResponse */ - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: UpdateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> CreateFeedPostResponse { return try await updateFeedPostPublicWithRequestBuilder(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -2804,7 +2804,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func updateFeedPostPublicWithRequestBuilder(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: UpdateFeedPostPublicOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let broadcastId = options.broadcastId let sso = options.sso var localVariablePath = "/feed-posts/{tenantId}/{postId}" @@ -3018,7 +3018,7 @@ open class PublicAPI { } /** Optional parameters for uploadImage. */ - public struct ApiUploadImageOptions: Sendable { + public struct UploadImageOptions: Sendable { public var sizePreset: SizePreset? public var urlId: String? @@ -3037,7 +3037,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: UploadImageResponse */ - open class func uploadImage(tenantId: String, file: URL, options: ApiUploadImageOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UploadImageResponse { + open class func uploadImage(tenantId: String, file: URL, options: UploadImageOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> UploadImageResponse { return try await uploadImageWithRequestBuilder(tenantId: tenantId, file: file, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3051,7 +3051,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func uploadImageWithRequestBuilder(tenantId: String, file: URL, options: ApiUploadImageOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func uploadImageWithRequestBuilder(tenantId: String, file: URL, options: UploadImageOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let sizePreset = options.sizePreset let urlId = options.urlId var localVariablePath = "/upload-image/{tenantId}" @@ -3084,7 +3084,7 @@ open class PublicAPI { } /** Optional parameters for voteComment. */ - public struct ApiVoteCommentOptions: Sendable { + public struct VoteCommentOptions: Sendable { public var sessionId: String? public var sso: String? @@ -3106,7 +3106,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: VoteResponse */ - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: VoteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) async throws(ErrorResponse) -> VoteResponse { return try await voteCommentWithRequestBuilder(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, options: options, apiConfiguration: apiConfiguration).execute().body } @@ -3122,7 +3122,7 @@ open class PublicAPI { - parameter apiConfiguration: The configuration for the http request. - returns: RequestBuilder */ - open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { + open class func voteCommentWithRequestBuilder(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: VoteCommentOptions = .init(), apiConfiguration: FastCommentsSwiftAPIConfiguration = FastCommentsSwiftAPIConfiguration.shared) -> RequestBuilder { let sessionId = options.sessionId let sso = options.sso var localVariablePath = "/comments/{tenantId}/{commentId}/vote" diff --git a/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift b/client/FastCommentsSwift/Models/PostRemoveCommentApiResponse.swift similarity index 85% rename from client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift rename to client/FastCommentsSwift/Models/PostRemoveCommentApiResponse.swift index 450a2f7..1b86343 100644 --- a/client/FastCommentsSwift/Models/PostRemoveCommentResponse.swift +++ b/client/FastCommentsSwift/Models/PostRemoveCommentApiResponse.swift @@ -1,5 +1,5 @@ // -// PostRemoveCommentResponse.swift +// PostRemoveCommentApiResponse.swift // // Generated by openapi-generator // https://openapi-generator.tech @@ -7,7 +7,7 @@ import Foundation -public struct PostRemoveCommentResponse: Sendable, Codable, Hashable { +public struct PostRemoveCommentApiResponse: Sendable, Codable, Hashable { public var action: String public var status: String diff --git a/client/README.md b/client/README.md index 5b84f41..2aee55e 100644 --- a/client/README.md +++ b/client/README.md @@ -140,49 +140,49 @@ Class | Method | HTTP request | Description *DefaultAPI* | [**updateTenantPackage**](docs/DefaultAPI.md#updatetenantpackage) | **PATCH** /api/v1/tenant-packages/{id} | *DefaultAPI* | [**updateTenantUser**](docs/DefaultAPI.md#updatetenantuser) | **PATCH** /api/v1/tenant-users/{id} | *DefaultAPI* | [**updateUserBadge**](docs/DefaultAPI.md#updateuserbadge) | **PUT** /api/v1/user-badges/{id} | -*ModerationAPI* | [**deleteModerationVote**](docs/ModerationAPI.md#deletemoderationvote) | **DELETE** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | -*ModerationAPI* | [**getApiComments**](docs/ModerationAPI.md#getapicomments) | **GET** /auth/my-account/moderate-comments/api/comments | -*ModerationAPI* | [**getApiExportStatus**](docs/ModerationAPI.md#getapiexportstatus) | **GET** /auth/my-account/moderate-comments/api/export/status | -*ModerationAPI* | [**getApiIds**](docs/ModerationAPI.md#getapiids) | **GET** /auth/my-account/moderate-comments/api/ids | -*ModerationAPI* | [**getBanUsersFromComment**](docs/ModerationAPI.md#getbanusersfromcomment) | **GET** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | -*ModerationAPI* | [**getCommentBanStatus**](docs/ModerationAPI.md#getcommentbanstatus) | **GET** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | -*ModerationAPI* | [**getCommentChildren**](docs/ModerationAPI.md#getcommentchildren) | **GET** /auth/my-account/moderate-comments/comment-children/{commentId} | -*ModerationAPI* | [**getCount**](docs/ModerationAPI.md#getcount) | **GET** /auth/my-account/moderate-comments/count | -*ModerationAPI* | [**getCounts**](docs/ModerationAPI.md#getcounts) | **GET** /auth/my-account/moderate-comments/banned-users/counts | -*ModerationAPI* | [**getLogs**](docs/ModerationAPI.md#getlogs) | **GET** /auth/my-account/moderate-comments/logs/{commentId} | -*ModerationAPI* | [**getManualBadges**](docs/ModerationAPI.md#getmanualbadges) | **GET** /auth/my-account/moderate-comments/get-manual-badges | -*ModerationAPI* | [**getManualBadgesForUser**](docs/ModerationAPI.md#getmanualbadgesforuser) | **GET** /auth/my-account/moderate-comments/get-manual-badges-for-user | -*ModerationAPI* | [**getModerationComment**](docs/ModerationAPI.md#getmoderationcomment) | **GET** /auth/my-account/moderate-comments/comment/{commentId} | -*ModerationAPI* | [**getModerationCommentText**](docs/ModerationAPI.md#getmoderationcommenttext) | **GET** /auth/my-account/moderate-comments/get-comment-text/{commentId} | -*ModerationAPI* | [**getPreBanSummary**](docs/ModerationAPI.md#getprebansummary) | **GET** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | -*ModerationAPI* | [**getSearchCommentsSummary**](docs/ModerationAPI.md#getsearchcommentssummary) | **GET** /auth/my-account/moderate-comments/search/comments/summary | -*ModerationAPI* | [**getSearchPages**](docs/ModerationAPI.md#getsearchpages) | **GET** /auth/my-account/moderate-comments/search/pages | -*ModerationAPI* | [**getSearchSites**](docs/ModerationAPI.md#getsearchsites) | **GET** /auth/my-account/moderate-comments/search/sites | -*ModerationAPI* | [**getSearchSuggest**](docs/ModerationAPI.md#getsearchsuggest) | **GET** /auth/my-account/moderate-comments/search/suggest | -*ModerationAPI* | [**getSearchUsers**](docs/ModerationAPI.md#getsearchusers) | **GET** /auth/my-account/moderate-comments/search/users | -*ModerationAPI* | [**getTrustFactor**](docs/ModerationAPI.md#gettrustfactor) | **GET** /auth/my-account/moderate-comments/get-trust-factor | -*ModerationAPI* | [**getUserBanPreference**](docs/ModerationAPI.md#getuserbanpreference) | **GET** /auth/my-account/moderate-comments/user-ban-preference | -*ModerationAPI* | [**getUserInternalProfile**](docs/ModerationAPI.md#getuserinternalprofile) | **GET** /auth/my-account/moderate-comments/get-user-internal-profile | -*ModerationAPI* | [**postAdjustCommentVotes**](docs/ModerationAPI.md#postadjustcommentvotes) | **POST** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | -*ModerationAPI* | [**postApiExport**](docs/ModerationAPI.md#postapiexport) | **POST** /auth/my-account/moderate-comments/api/export | -*ModerationAPI* | [**postBanUserFromComment**](docs/ModerationAPI.md#postbanuserfromcomment) | **POST** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | -*ModerationAPI* | [**postBanUserUndo**](docs/ModerationAPI.md#postbanuserundo) | **POST** /auth/my-account/moderate-comments/ban-user/undo | -*ModerationAPI* | [**postBulkPreBanSummary**](docs/ModerationAPI.md#postbulkprebansummary) | **POST** /auth/my-account/moderate-comments/bulk-pre-ban-summary | -*ModerationAPI* | [**postCommentsByIds**](docs/ModerationAPI.md#postcommentsbyids) | **POST** /auth/my-account/moderate-comments/comments-by-ids | -*ModerationAPI* | [**postFlagComment**](docs/ModerationAPI.md#postflagcomment) | **POST** /auth/my-account/moderate-comments/flag-comment/{commentId} | -*ModerationAPI* | [**postRemoveComment**](docs/ModerationAPI.md#postremovecomment) | **POST** /auth/my-account/moderate-comments/remove-comment/{commentId} | -*ModerationAPI* | [**postRestoreDeletedComment**](docs/ModerationAPI.md#postrestoredeletedcomment) | **POST** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | -*ModerationAPI* | [**postSetCommentApprovalStatus**](docs/ModerationAPI.md#postsetcommentapprovalstatus) | **POST** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | -*ModerationAPI* | [**postSetCommentReviewStatus**](docs/ModerationAPI.md#postsetcommentreviewstatus) | **POST** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | -*ModerationAPI* | [**postSetCommentSpamStatus**](docs/ModerationAPI.md#postsetcommentspamstatus) | **POST** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | -*ModerationAPI* | [**postSetCommentText**](docs/ModerationAPI.md#postsetcommenttext) | **POST** /auth/my-account/moderate-comments/set-comment-text/{commentId} | -*ModerationAPI* | [**postUnFlagComment**](docs/ModerationAPI.md#postunflagcomment) | **POST** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | -*ModerationAPI* | [**postVote**](docs/ModerationAPI.md#postvote) | **POST** /auth/my-account/moderate-comments/vote/{commentId} | -*ModerationAPI* | [**putAwardBadge**](docs/ModerationAPI.md#putawardbadge) | **PUT** /auth/my-account/moderate-comments/award-badge | -*ModerationAPI* | [**putCloseThread**](docs/ModerationAPI.md#putclosethread) | **PUT** /auth/my-account/moderate-comments/close-thread | -*ModerationAPI* | [**putRemoveBadge**](docs/ModerationAPI.md#putremovebadge) | **PUT** /auth/my-account/moderate-comments/remove-badge | -*ModerationAPI* | [**putReopenThread**](docs/ModerationAPI.md#putreopenthread) | **PUT** /auth/my-account/moderate-comments/reopen-thread | -*ModerationAPI* | [**setTrustFactor**](docs/ModerationAPI.md#settrustfactor) | **PUT** /auth/my-account/moderate-comments/set-trust-factor | +*ModerationAPI* | [**deleteModerationVote**](docs/ModerationAPI.md#deletemoderationvote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | +*ModerationAPI* | [**getApiComments**](docs/ModerationAPI.md#getapicomments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | +*ModerationAPI* | [**getApiExportStatus**](docs/ModerationAPI.md#getapiexportstatus) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | +*ModerationAPI* | [**getApiIds**](docs/ModerationAPI.md#getapiids) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | +*ModerationAPI* | [**getBanUsersFromComment**](docs/ModerationAPI.md#getbanusersfromcomment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | +*ModerationAPI* | [**getCommentBanStatus**](docs/ModerationAPI.md#getcommentbanstatus) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | +*ModerationAPI* | [**getCommentChildren**](docs/ModerationAPI.md#getcommentchildren) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | +*ModerationAPI* | [**getCount**](docs/ModerationAPI.md#getcount) | **GET** /auth/my-account/moderate-comments/mod_api/count | +*ModerationAPI* | [**getCounts**](docs/ModerationAPI.md#getcounts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | +*ModerationAPI* | [**getLogs**](docs/ModerationAPI.md#getlogs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | +*ModerationAPI* | [**getManualBadges**](docs/ModerationAPI.md#getmanualbadges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | +*ModerationAPI* | [**getManualBadgesForUser**](docs/ModerationAPI.md#getmanualbadgesforuser) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | +*ModerationAPI* | [**getModerationComment**](docs/ModerationAPI.md#getmoderationcomment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | +*ModerationAPI* | [**getModerationCommentText**](docs/ModerationAPI.md#getmoderationcommenttext) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | +*ModerationAPI* | [**getPreBanSummary**](docs/ModerationAPI.md#getprebansummary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | +*ModerationAPI* | [**getSearchCommentsSummary**](docs/ModerationAPI.md#getsearchcommentssummary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | +*ModerationAPI* | [**getSearchPages**](docs/ModerationAPI.md#getsearchpages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | +*ModerationAPI* | [**getSearchSites**](docs/ModerationAPI.md#getsearchsites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | +*ModerationAPI* | [**getSearchSuggest**](docs/ModerationAPI.md#getsearchsuggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | +*ModerationAPI* | [**getSearchUsers**](docs/ModerationAPI.md#getsearchusers) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | +*ModerationAPI* | [**getTrustFactor**](docs/ModerationAPI.md#gettrustfactor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | +*ModerationAPI* | [**getUserBanPreference**](docs/ModerationAPI.md#getuserbanpreference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | +*ModerationAPI* | [**getUserInternalProfile**](docs/ModerationAPI.md#getuserinternalprofile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | +*ModerationAPI* | [**postAdjustCommentVotes**](docs/ModerationAPI.md#postadjustcommentvotes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | +*ModerationAPI* | [**postApiExport**](docs/ModerationAPI.md#postapiexport) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | +*ModerationAPI* | [**postBanUserFromComment**](docs/ModerationAPI.md#postbanuserfromcomment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | +*ModerationAPI* | [**postBanUserUndo**](docs/ModerationAPI.md#postbanuserundo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | +*ModerationAPI* | [**postBulkPreBanSummary**](docs/ModerationAPI.md#postbulkprebansummary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | +*ModerationAPI* | [**postCommentsByIds**](docs/ModerationAPI.md#postcommentsbyids) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | +*ModerationAPI* | [**postFlagComment**](docs/ModerationAPI.md#postflagcomment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | +*ModerationAPI* | [**postRemoveComment**](docs/ModerationAPI.md#postremovecomment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | +*ModerationAPI* | [**postRestoreDeletedComment**](docs/ModerationAPI.md#postrestoredeletedcomment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | +*ModerationAPI* | [**postSetCommentApprovalStatus**](docs/ModerationAPI.md#postsetcommentapprovalstatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | +*ModerationAPI* | [**postSetCommentReviewStatus**](docs/ModerationAPI.md#postsetcommentreviewstatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | +*ModerationAPI* | [**postSetCommentSpamStatus**](docs/ModerationAPI.md#postsetcommentspamstatus) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | +*ModerationAPI* | [**postSetCommentText**](docs/ModerationAPI.md#postsetcommenttext) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | +*ModerationAPI* | [**postUnFlagComment**](docs/ModerationAPI.md#postunflagcomment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | +*ModerationAPI* | [**postVote**](docs/ModerationAPI.md#postvote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | +*ModerationAPI* | [**putAwardBadge**](docs/ModerationAPI.md#putawardbadge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | +*ModerationAPI* | [**putCloseThread**](docs/ModerationAPI.md#putclosethread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | +*ModerationAPI* | [**putRemoveBadge**](docs/ModerationAPI.md#putremovebadge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | +*ModerationAPI* | [**putReopenThread**](docs/ModerationAPI.md#putreopenthread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | +*ModerationAPI* | [**setTrustFactor**](docs/ModerationAPI.md#settrustfactor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | *PublicAPI* | [**blockFromCommentPublic**](docs/PublicAPI.md#blockfromcommentpublic) | **POST** /block-from-comment/{commentId} | *PublicAPI* | [**checkedCommentsForBlocked**](docs/PublicAPI.md#checkedcommentsforblocked) | **GET** /check-blocked-comments | *PublicAPI* | [**createCommentPublic**](docs/PublicAPI.md#createcommentpublic) | **POST** /comments/{tenantId} | @@ -498,7 +498,7 @@ Class | Method | HTTP request | Description - [PatchPageAPIResponse](docs/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) - - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) + - [PostRemoveCommentApiResponse](docs/PostRemoveCommentApiResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index 3785a8f..8ea3c4a 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -171,7 +171,7 @@ Name | Type | Description | Notes # **addHashTag** ```swift - open class func addHashTag(createHashTagBody: CreateHashTagBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) + open class func addHashTag(tenantId: String, createHashTagBody: CreateHashTagBody? = nil, completion: @escaping (_ data: CreateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -181,10 +181,10 @@ Name | Type | Description | Notes // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift -let tenantId = "tenantId_example" // String | (optional) +let tenantId = "tenantId_example" // String | let createHashTagBody = CreateHashTagBody(tenantId: "tenantId_example", tag: "tag_example", url: "url_example") // CreateHashTagBody | (optional) -DefaultAPI.addHashTag(createHashTagBody: createHashTagBody, tenantId: tenantId) { (response, error) in +DefaultAPI.addHashTag(tenantId: tenantId, createHashTagBody: createHashTagBody) { (response, error) in guard error == nil else { print(error) return @@ -200,7 +200,7 @@ DefaultAPI.addHashTag(createHashTagBody: createHashTagBody, tenantId: tenantId) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **String** | | [optional] + **tenantId** | **String** | | **createHashTagBody** | [**CreateHashTagBody**](CreateHashTagBody.md) | | [optional] ### Return type @@ -220,7 +220,7 @@ Name | Type | Description | Notes # **addHashTagsBulk** ```swift - open class func addHashTagsBulk(bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) + open class func addHashTagsBulk(tenantId: String, bulkCreateHashTagsBody: BulkCreateHashTagsBody? = nil, completion: @escaping (_ data: BulkCreateHashTagsResponse?, _ error: Error?) -> Void) ``` @@ -230,10 +230,10 @@ Name | Type | Description | Notes // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift -let tenantId = "tenantId_example" // String | (optional) +let tenantId = "tenantId_example" // String | let bulkCreateHashTagsBody = BulkCreateHashTagsBody(tenantId: "tenantId_example", tags: [BulkCreateHashTagsBody_tags_inner(url: "url_example", tag: "tag_example")]) // BulkCreateHashTagsBody | (optional) -DefaultAPI.addHashTagsBulk(bulkCreateHashTagsBody: bulkCreateHashTagsBody, tenantId: tenantId) { (response, error) in +DefaultAPI.addHashTagsBulk(tenantId: tenantId, bulkCreateHashTagsBody: bulkCreateHashTagsBody) { (response, error) in guard error == nil else { print(error) return @@ -249,7 +249,7 @@ DefaultAPI.addHashTagsBulk(bulkCreateHashTagsBody: bulkCreateHashTagsBody, tenan Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **String** | | [optional] + **tenantId** | **String** | | **bulkCreateHashTagsBody** | [**BulkCreateHashTagsBody**](BulkCreateHashTagsBody.md) | | [optional] ### Return type @@ -367,7 +367,7 @@ Name | Type | Description | Notes # **aggregate** ```swift - open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, options: ApiAggregateOptions = .init(), completion: @escaping (_ data: AggregateResponse?, _ error: Error?) -> Void) + open class func aggregate(tenantId: String, aggregationRequest: AggregationRequest, options: AggregateOptions = .init(), completion: @escaping (_ data: AggregateResponse?, _ error: Error?) -> Void) ``` @@ -384,7 +384,7 @@ let aggregationRequest = AggregationRequest(query: [QueryPredicate(key: "key_exa let parentTenantId = "parentTenantId_example" // String | (optional) let includeStats = true // Bool | (optional) -DefaultAPI.aggregate(tenantId: tenantId, aggregationRequest: aggregationRequest, options: DefaultAPI.ApiAggregateOptions(parentTenantId: parentTenantId, includeStats: includeStats)) { (response, error) in +DefaultAPI.aggregate(tenantId: tenantId, aggregationRequest: aggregationRequest, options: DefaultAPI.AggregateOptions(parentTenantId: parentTenantId, includeStats: includeStats)) { (response, error) in guard error == nil else { print(error) return @@ -422,7 +422,7 @@ Name | Type | Description | Notes # **aggregateQuestionResults** ```swift - open class func aggregateQuestionResults(tenantId: String, options: ApiAggregateQuestionResultsOptions = .init(), completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) + open class func aggregateQuestionResults(tenantId: String, options: AggregateQuestionResultsOptions = .init(), completion: @escaping (_ data: AggregateQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -440,7 +440,7 @@ let timeBucket = AggregateTimeBucket() // AggregateTimeBucket | (optional) let startDate = Date() // Date | (optional) let forceRecalculate = true // Bool | (optional) -DefaultAPI.aggregateQuestionResults(tenantId: tenantId, options: DefaultAPI.ApiAggregateQuestionResultsOptions(questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate)) { (response, error) in +DefaultAPI.aggregateQuestionResults(tenantId: tenantId, options: DefaultAPI.AggregateQuestionResultsOptions(questionId: questionId, questionIds: questionIds, urlId: urlId, timeBucket: timeBucket, startDate: startDate, forceRecalculate: forceRecalculate)) { (response, error) in guard error == nil else { print(error) return @@ -481,7 +481,7 @@ Name | Type | Description | Notes # **blockUserFromComment** ```swift - open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: ApiBlockUserFromCommentOptions = .init(), completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) + open class func blockUserFromComment(tenantId: String, id: String, blockFromCommentParams: BlockFromCommentParams, options: BlockUserFromCommentOptions = .init(), completion: @escaping (_ data: BlockSuccess?, _ error: Error?) -> Void) ``` @@ -497,7 +497,7 @@ let blockFromCommentParams = BlockFromCommentParams(commentIdsToCheck: ["comment let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.blockUserFromComment(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, options: DefaultAPI.ApiBlockUserFromCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.blockUserFromComment(tenantId: tenantId, id: id, blockFromCommentParams: blockFromCommentParams, options: DefaultAPI.BlockUserFromCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -640,7 +640,7 @@ Name | Type | Description | Notes # **combineCommentsWithQuestionResults** ```swift - open class func combineCommentsWithQuestionResults(tenantId: String, options: ApiCombineCommentsWithQuestionResultsOptions = .init(), completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) + open class func combineCommentsWithQuestionResults(tenantId: String, options: CombineCommentsWithQuestionResultsOptions = .init(), completion: @escaping (_ data: CombineQuestionResultsWithCommentsResponse?, _ error: Error?) -> Void) ``` @@ -660,7 +660,7 @@ let minValue = 987 // Double | (optional) let maxValue = 987 // Double | (optional) let limit = 987 // Double | (optional) -DefaultAPI.combineCommentsWithQuestionResults(tenantId: tenantId, options: DefaultAPI.ApiCombineCommentsWithQuestionResultsOptions(questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit)) { (response, error) in +DefaultAPI.combineCommentsWithQuestionResults(tenantId: tenantId, options: DefaultAPI.CombineCommentsWithQuestionResultsOptions(questionId: questionId, questionIds: questionIds, urlId: urlId, startDate: startDate, forceRecalculate: forceRecalculate, minValue: minValue, maxValue: maxValue, limit: limit)) { (response, error) in guard error == nil else { print(error) return @@ -752,7 +752,7 @@ Name | Type | Description | Notes # **createFeedPost** ```swift - open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostOptions = .init(), completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) + open class func createFeedPost(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostOptions = .init(), completion: @escaping (_ data: CreateFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -769,7 +769,7 @@ let isLive = true // Bool | (optional) let doSpamCheck = true // Bool | (optional) let skipDupCheck = true // Bool | (optional) -DefaultAPI.createFeedPost(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: DefaultAPI.ApiCreateFeedPostOptions(broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck)) { (response, error) in +DefaultAPI.createFeedPost(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: DefaultAPI.CreateFeedPostOptions(broadcastId: broadcastId, isLive: isLive, doSpamCheck: doSpamCheck, skipDupCheck: skipDupCheck)) { (response, error) in guard error == nil else { print(error) return @@ -1252,7 +1252,7 @@ Name | Type | Description | Notes # **createVote** ```swift - open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, options: ApiCreateVoteOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func createVote(tenantId: String, commentId: String, direction: Direction_createVote, options: CreateVoteOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -1268,7 +1268,7 @@ let direction = "direction_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.createVote(tenantId: tenantId, commentId: commentId, direction: direction, options: DefaultAPI.ApiCreateVoteOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.createVote(tenantId: tenantId, commentId: commentId, direction: direction, options: DefaultAPI.CreateVoteOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1307,7 +1307,7 @@ Name | Type | Description | Notes # **deleteComment** ```swift - open class func deleteComment(tenantId: String, id: String, options: ApiDeleteCommentOptions = .init(), completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) + open class func deleteComment(tenantId: String, id: String, options: DeleteCommentOptions = .init(), completion: @escaping (_ data: DeleteCommentResult?, _ error: Error?) -> Void) ``` @@ -1322,7 +1322,7 @@ let id = "id_example" // String | let contextUserId = "contextUserId_example" // String | (optional) let isLive = true // Bool | (optional) -DefaultAPI.deleteComment(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteCommentOptions(contextUserId: contextUserId, isLive: isLive)) { (response, error) in +DefaultAPI.deleteComment(tenantId: tenantId, id: id, options: DefaultAPI.DeleteCommentOptions(contextUserId: contextUserId, isLive: isLive)) { (response, error) in guard error == nil else { print(error) return @@ -1509,7 +1509,7 @@ Name | Type | Description | Notes # **deleteHashTag** ```swift - open class func deleteHashTag(tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteHashTag(tenantId: String, tag: String, deleteHashTagRequestBody: DeleteHashTagRequestBody? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1519,11 +1519,11 @@ Name | Type | Description | Notes // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let tag = "tag_example" // String | -let tenantId = "tenantId_example" // String | (optional) let deleteHashTagRequestBody = DeleteHashTagRequestBody(tenantId: "tenantId_example") // DeleteHashTagRequestBody | (optional) -DefaultAPI.deleteHashTag(tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody, tenantId: tenantId) { (response, error) in +DefaultAPI.deleteHashTag(tenantId: tenantId, tag: tag, deleteHashTagRequestBody: deleteHashTagRequestBody) { (response, error) in guard error == nil else { print(error) return @@ -1539,8 +1539,8 @@ DefaultAPI.deleteHashTag(tag: tag, deleteHashTagRequestBody: deleteHashTagReques Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **tag** | **String** | | - **tenantId** | **String** | | [optional] **deleteHashTagRequestBody** | [**DeleteHashTagRequestBody**](DeleteHashTagRequestBody.md) | | [optional] ### Return type @@ -1856,7 +1856,7 @@ Name | Type | Description | Notes # **deleteSSOUser** ```swift - open class func deleteSSOUser(tenantId: String, id: String, options: ApiDeleteSSOUserOptions = .init(), completion: @escaping (_ data: DeleteSSOUserAPIResponse?, _ error: Error?) -> Void) + open class func deleteSSOUser(tenantId: String, id: String, options: DeleteSSOUserOptions = .init(), completion: @escaping (_ data: DeleteSSOUserAPIResponse?, _ error: Error?) -> Void) ``` @@ -1871,7 +1871,7 @@ let id = "id_example" // String | let deleteComments = true // Bool | (optional) let commentDeleteMode = "commentDeleteMode_example" // String | (optional) -DefaultAPI.deleteSSOUser(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteSSOUserOptions(deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in +DefaultAPI.deleteSSOUser(tenantId: tenantId, id: id, options: DefaultAPI.DeleteSSOUserOptions(deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in guard error == nil else { print(error) return @@ -2060,7 +2060,7 @@ Name | Type | Description | Notes # **deleteTenantUser** ```swift - open class func deleteTenantUser(tenantId: String, id: String, options: ApiDeleteTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func deleteTenantUser(tenantId: String, id: String, options: DeleteTenantUserOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2075,7 +2075,7 @@ let id = "id_example" // String | let deleteComments = "deleteComments_example" // String | (optional) let commentDeleteMode = "commentDeleteMode_example" // String | (optional) -DefaultAPI.deleteTenantUser(tenantId: tenantId, id: id, options: DefaultAPI.ApiDeleteTenantUserOptions(deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in +DefaultAPI.deleteTenantUser(tenantId: tenantId, id: id, options: DefaultAPI.DeleteTenantUserOptions(deleteComments: deleteComments, commentDeleteMode: commentDeleteMode)) { (response, error) in guard error == nil else { print(error) return @@ -2213,7 +2213,7 @@ Name | Type | Description | Notes # **flagComment** ```swift - open class func flagComment(tenantId: String, id: String, options: ApiFlagCommentOptions = .init(), completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func flagComment(tenantId: String, id: String, options: FlagCommentOptions = .init(), completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -2228,7 +2228,7 @@ let id = "id_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.flagComment(tenantId: tenantId, id: id, options: DefaultAPI.ApiFlagCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.flagComment(tenantId: tenantId, id: id, options: DefaultAPI.FlagCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -2266,7 +2266,7 @@ Name | Type | Description | Notes # **getAuditLogs** ```swift - open class func getAuditLogs(tenantId: String, options: ApiGetAuditLogsOptions = .init(), completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) + open class func getAuditLogs(tenantId: String, options: GetAuditLogsOptions = .init(), completion: @escaping (_ data: GetAuditLogsResponse?, _ error: Error?) -> Void) ``` @@ -2283,7 +2283,7 @@ let order = SORT_DIR() // SORTDIR | (optional) let after = 987 // Double | (optional) let before = 987 // Double | (optional) -DefaultAPI.getAuditLogs(tenantId: tenantId, options: DefaultAPI.ApiGetAuditLogsOptions(limit: limit, skip: skip, order: order, after: after, before: before)) { (response, error) in +DefaultAPI.getAuditLogs(tenantId: tenantId, options: DefaultAPI.GetAuditLogsOptions(limit: limit, skip: skip, order: order, after: after, before: before)) { (response, error) in guard error == nil else { print(error) return @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes # **getComments** ```swift - open class func getComments(tenantId: String, options: ApiGetCommentsOptions = .init(), completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getComments(tenantId: String, options: GetCommentsOptions = .init(), completion: @escaping (_ data: APIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -2449,7 +2449,7 @@ let direction = SortDirections() // SortDirections | (optional) let fromDate = 987 // Int64 | (optional) let toDate = 987 // Int64 | (optional) -DefaultAPI.getComments(tenantId: tenantId, options: DefaultAPI.ApiGetCommentsOptions(page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate)) { (response, error) in +DefaultAPI.getComments(tenantId: tenantId, options: DefaultAPI.GetCommentsOptions(page: page, limit: limit, skip: skip, asTree: asTree, skipChildren: skipChildren, limitChildren: limitChildren, maxTreeDepth: maxTreeDepth, urlId: urlId, userId: userId, anonUserId: anonUserId, contextUserId: contextUserId, hashTag: hashTag, parentId: parentId, direction: direction, fromDate: fromDate, toDate: toDate)) { (response, error) in guard error == nil else { print(error) return @@ -2792,7 +2792,7 @@ Name | Type | Description | Notes # **getFeedPosts** ```swift - open class func getFeedPosts(tenantId: String, options: ApiGetFeedPostsOptions = .init(), completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPosts(tenantId: String, options: GetFeedPostsOptions = .init(), completion: @escaping (_ data: GetFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -2809,7 +2809,7 @@ let afterId = "afterId_example" // String | (optional) let limit = 987 // Int | (optional) let tags = ["inner_example"] // [String] | (optional) -DefaultAPI.getFeedPosts(tenantId: tenantId, options: DefaultAPI.ApiGetFeedPostsOptions(afterId: afterId, limit: limit, tags: tags)) { (response, error) in +DefaultAPI.getFeedPosts(tenantId: tenantId, options: DefaultAPI.GetFeedPostsOptions(afterId: afterId, limit: limit, tags: tags)) { (response, error) in guard error == nil else { print(error) return @@ -2994,7 +2994,7 @@ Name | Type | Description | Notes # **getNotificationCount** ```swift - open class func getNotificationCount(tenantId: String, options: ApiGetNotificationCountOptions = .init(), completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) + open class func getNotificationCount(tenantId: String, options: GetNotificationCountOptions = .init(), completion: @escaping (_ data: GetNotificationCountResponse?, _ error: Error?) -> Void) ``` @@ -3011,7 +3011,7 @@ let fromCommentId = "fromCommentId_example" // String | (optional) let viewed = true // Bool | (optional) let type = "type_example" // String | (optional) -DefaultAPI.getNotificationCount(tenantId: tenantId, options: DefaultAPI.ApiGetNotificationCountOptions(userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type)) { (response, error) in +DefaultAPI.getNotificationCount(tenantId: tenantId, options: DefaultAPI.GetNotificationCountOptions(userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type)) { (response, error) in guard error == nil else { print(error) return @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes # **getNotifications** ```swift - open class func getNotifications(tenantId: String, options: ApiGetNotificationsOptions = .init(), completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) + open class func getNotifications(tenantId: String, options: GetNotificationsOptions = .init(), completion: @escaping (_ data: GetNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -3069,7 +3069,7 @@ let viewed = true // Bool | (optional) let type = "type_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getNotifications(tenantId: tenantId, options: DefaultAPI.ApiGetNotificationsOptions(userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip)) { (response, error) in +DefaultAPI.getNotifications(tenantId: tenantId, options: DefaultAPI.GetNotificationsOptions(userId: userId, urlId: urlId, fromCommentId: fromCommentId, viewed: viewed, type: type, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3206,7 +3206,7 @@ Name | Type | Description | Notes # **getPendingWebhookEventCount** ```swift - open class func getPendingWebhookEventCount(tenantId: String, options: ApiGetPendingWebhookEventCountOptions = .init(), completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEventCount(tenantId: String, options: GetPendingWebhookEventCountOptions = .init(), completion: @escaping (_ data: GetPendingWebhookEventCountResponse?, _ error: Error?) -> Void) ``` @@ -3224,7 +3224,7 @@ let type = "type_example" // String | (optional) let domain = "domain_example" // String | (optional) let attemptCountGT = 987 // Double | (optional) -DefaultAPI.getPendingWebhookEventCount(tenantId: tenantId, options: DefaultAPI.ApiGetPendingWebhookEventCountOptions(commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT)) { (response, error) in +DefaultAPI.getPendingWebhookEventCount(tenantId: tenantId, options: DefaultAPI.GetPendingWebhookEventCountOptions(commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT)) { (response, error) in guard error == nil else { print(error) return @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes # **getPendingWebhookEvents** ```swift - open class func getPendingWebhookEvents(tenantId: String, options: ApiGetPendingWebhookEventsOptions = .init(), completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) + open class func getPendingWebhookEvents(tenantId: String, options: GetPendingWebhookEventsOptions = .init(), completion: @escaping (_ data: GetPendingWebhookEventsResponse?, _ error: Error?) -> Void) ``` @@ -3284,7 +3284,7 @@ let domain = "domain_example" // String | (optional) let attemptCountGT = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getPendingWebhookEvents(tenantId: tenantId, options: DefaultAPI.ApiGetPendingWebhookEventsOptions(commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip)) { (response, error) in +DefaultAPI.getPendingWebhookEvents(tenantId: tenantId, options: DefaultAPI.GetPendingWebhookEventsOptions(commentId: commentId, externalId: externalId, eventType: eventType, type: type, domain: domain, attemptCountGT: attemptCountGT, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3473,7 +3473,7 @@ Name | Type | Description | Notes # **getQuestionResults** ```swift - open class func getQuestionResults(tenantId: String, options: ApiGetQuestionResultsOptions = .init(), completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) + open class func getQuestionResults(tenantId: String, options: GetQuestionResultsOptions = .init(), completion: @escaping (_ data: GetQuestionResultsResponse?, _ error: Error?) -> Void) ``` @@ -3491,7 +3491,7 @@ let questionId = "questionId_example" // String | (optional) let questionIds = "questionIds_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getQuestionResults(tenantId: tenantId, options: DefaultAPI.ApiGetQuestionResultsOptions(urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip)) { (response, error) in +DefaultAPI.getQuestionResults(tenantId: tenantId, options: DefaultAPI.GetQuestionResultsOptions(urlId: urlId, userId: userId, startDate: startDate, questionId: questionId, questionIds: questionIds, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -3777,7 +3777,7 @@ Name | Type | Description | Notes # **getTenantDailyUsages** ```swift - open class func getTenantDailyUsages(tenantId: String, options: ApiGetTenantDailyUsagesOptions = .init(), completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) + open class func getTenantDailyUsages(tenantId: String, options: GetTenantDailyUsagesOptions = .init(), completion: @escaping (_ data: GetTenantDailyUsagesResponse?, _ error: Error?) -> Void) ``` @@ -3793,7 +3793,7 @@ let monthNumber = 987 // Double | (optional) let dayNumber = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getTenantDailyUsages(tenantId: tenantId, options: DefaultAPI.ApiGetTenantDailyUsagesOptions(yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip)) { (response, error) in +DefaultAPI.getTenantDailyUsages(tenantId: tenantId, options: DefaultAPI.GetTenantDailyUsagesOptions(yearNumber: yearNumber, monthNumber: monthNumber, dayNumber: dayNumber, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4028,7 +4028,7 @@ Name | Type | Description | Notes # **getTenants** ```swift - open class func getTenants(tenantId: String, options: ApiGetTenantsOptions = .init(), completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) + open class func getTenants(tenantId: String, options: GetTenantsOptions = .init(), completion: @escaping (_ data: GetTenantsResponse?, _ error: Error?) -> Void) ``` @@ -4042,7 +4042,7 @@ let tenantId = "tenantId_example" // String | let meta = "meta_example" // String | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getTenants(tenantId: tenantId, options: DefaultAPI.ApiGetTenantsOptions(meta: meta, skip: skip)) { (response, error) in +DefaultAPI.getTenants(tenantId: tenantId, options: DefaultAPI.GetTenantsOptions(meta: meta, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4130,7 +4130,7 @@ Name | Type | Description | Notes # **getTickets** ```swift - open class func getTickets(tenantId: String, options: ApiGetTicketsOptions = .init(), completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) + open class func getTickets(tenantId: String, options: GetTicketsOptions = .init(), completion: @escaping (_ data: GetTicketsResponse?, _ error: Error?) -> Void) ``` @@ -4146,7 +4146,7 @@ let state = 987 // Double | (optional) let skip = 987 // Double | (optional) let limit = 987 // Double | (optional) -DefaultAPI.getTickets(tenantId: tenantId, options: DefaultAPI.ApiGetTicketsOptions(userId: userId, state: state, skip: skip, limit: limit)) { (response, error) in +DefaultAPI.getTickets(tenantId: tenantId, options: DefaultAPI.GetTicketsOptions(userId: userId, state: state, skip: skip, limit: limit)) { (response, error) in guard error == nil else { print(error) return @@ -4381,7 +4381,7 @@ Name | Type | Description | Notes # **getUserBadgeProgressList** ```swift - open class func getUserBadgeProgressList(tenantId: String, options: ApiGetUserBadgeProgressListOptions = .init(), completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) + open class func getUserBadgeProgressList(tenantId: String, options: GetUserBadgeProgressListOptions = .init(), completion: @escaping (_ data: APIGetUserBadgeProgressListResponse?, _ error: Error?) -> Void) ``` @@ -4396,7 +4396,7 @@ let userId = "userId_example" // String | (optional) let limit = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getUserBadgeProgressList(tenantId: tenantId, options: DefaultAPI.ApiGetUserBadgeProgressListOptions(userId: userId, limit: limit, skip: skip)) { (response, error) in +DefaultAPI.getUserBadgeProgressList(tenantId: tenantId, options: DefaultAPI.GetUserBadgeProgressListOptions(userId: userId, limit: limit, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4434,7 +4434,7 @@ Name | Type | Description | Notes # **getUserBadges** ```swift - open class func getUserBadges(tenantId: String, options: ApiGetUserBadgesOptions = .init(), completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) + open class func getUserBadges(tenantId: String, options: GetUserBadgesOptions = .init(), completion: @escaping (_ data: APIGetUserBadgesResponse?, _ error: Error?) -> Void) ``` @@ -4452,7 +4452,7 @@ let displayedOnComments = true // Bool | (optional) let limit = 987 // Double | (optional) let skip = 987 // Double | (optional) -DefaultAPI.getUserBadges(tenantId: tenantId, options: DefaultAPI.ApiGetUserBadgesOptions(userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip)) { (response, error) in +DefaultAPI.getUserBadges(tenantId: tenantId, options: DefaultAPI.GetUserBadgesOptions(userId: userId, badgeId: badgeId, type: type, displayedOnComments: displayedOnComments, limit: limit, skip: skip)) { (response, error) in guard error == nil else { print(error) return @@ -4542,7 +4542,7 @@ Name | Type | Description | Notes # **getVotesForUser** ```swift - open class func getVotesForUser(tenantId: String, urlId: String, options: ApiGetVotesForUserOptions = .init(), completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) + open class func getVotesForUser(tenantId: String, urlId: String, options: GetVotesForUserOptions = .init(), completion: @escaping (_ data: GetVotesForUserResponse?, _ error: Error?) -> Void) ``` @@ -4557,7 +4557,7 @@ let urlId = "urlId_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.getVotesForUser(tenantId: tenantId, urlId: urlId, options: DefaultAPI.ApiGetVotesForUserOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.getVotesForUser(tenantId: tenantId, urlId: urlId, options: DefaultAPI.GetVotesForUserOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -4646,7 +4646,7 @@ Name | Type | Description | Notes # **patchHashTag** ```swift - open class func patchHashTag(tag: String, updateHashTagBody: UpdateHashTagBody? = nil, tenantId: String? = nil, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) + open class func patchHashTag(tenantId: String, tag: String, updateHashTagBody: UpdateHashTagBody? = nil, completion: @escaping (_ data: UpdateHashTagResponse?, _ error: Error?) -> Void) ``` @@ -4656,11 +4656,11 @@ Name | Type | Description | Notes // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let tag = "tag_example" // String | -let tenantId = "tenantId_example" // String | (optional) let updateHashTagBody = UpdateHashTagBody(tenantId: "tenantId_example", url: "url_example", tag: "tag_example") // UpdateHashTagBody | (optional) -DefaultAPI.patchHashTag(tag: tag, updateHashTagBody: updateHashTagBody, tenantId: tenantId) { (response, error) in +DefaultAPI.patchHashTag(tenantId: tenantId, tag: tag, updateHashTagBody: updateHashTagBody) { (response, error) in guard error == nil else { print(error) return @@ -4676,8 +4676,8 @@ DefaultAPI.patchHashTag(tag: tag, updateHashTagBody: updateHashTagBody, tenantId Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **tag** | **String** | | - **tenantId** | **String** | | [optional] **updateHashTagBody** | [**UpdateHashTagBody**](UpdateHashTagBody.md) | | [optional] ### Return type @@ -5060,7 +5060,7 @@ Name | Type | Description | Notes # **saveComment** ```swift - open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, options: ApiSaveCommentOptions = .init(), completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) + open class func saveComment(tenantId: String, createCommentParams: CreateCommentParams, options: SaveCommentOptions = .init(), completion: @escaping (_ data: APISaveCommentResponse?, _ error: Error?) -> Void) ``` @@ -5077,7 +5077,7 @@ let doSpamCheck = true // Bool | (optional) let sendEmails = true // Bool | (optional) let populateNotifications = true // Bool | (optional) -DefaultAPI.saveComment(tenantId: tenantId, createCommentParams: createCommentParams, options: DefaultAPI.ApiSaveCommentOptions(isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in +DefaultAPI.saveComment(tenantId: tenantId, createCommentParams: createCommentParams, options: DefaultAPI.SaveCommentOptions(isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in guard error == nil else { print(error) return @@ -5117,7 +5117,7 @@ Name | Type | Description | Notes # **saveCommentsBulk** ```swift - open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], options: ApiSaveCommentsBulkOptions = .init(), completion: @escaping (_ data: [SaveCommentsBulkResponse]?, _ error: Error?) -> Void) + open class func saveCommentsBulk(tenantId: String, createCommentParams: [CreateCommentParams], options: SaveCommentsBulkOptions = .init(), completion: @escaping (_ data: [SaveCommentsBulkResponse]?, _ error: Error?) -> Void) ``` @@ -5134,7 +5134,7 @@ let doSpamCheck = true // Bool | (optional) let sendEmails = true // Bool | (optional) let populateNotifications = true // Bool | (optional) -DefaultAPI.saveCommentsBulk(tenantId: tenantId, createCommentParams: createCommentParams, options: DefaultAPI.ApiSaveCommentsBulkOptions(isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in +DefaultAPI.saveCommentsBulk(tenantId: tenantId, createCommentParams: createCommentParams, options: DefaultAPI.SaveCommentsBulkOptions(isLive: isLive, doSpamCheck: doSpamCheck, sendEmails: sendEmails, populateNotifications: populateNotifications)) { (response, error) in guard error == nil else { print(error) return @@ -5276,7 +5276,7 @@ Name | Type | Description | Notes # **unBlockUserFromComment** ```swift - open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: ApiUnBlockUserFromCommentOptions = .init(), completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) + open class func unBlockUserFromComment(tenantId: String, id: String, unBlockFromCommentParams: UnBlockFromCommentParams, options: UnBlockUserFromCommentOptions = .init(), completion: @escaping (_ data: UnblockSuccess?, _ error: Error?) -> Void) ``` @@ -5292,7 +5292,7 @@ let unBlockFromCommentParams = UnBlockFromCommentParams(commentIdsToCheck: ["com let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.unBlockUserFromComment(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, options: DefaultAPI.ApiUnBlockUserFromCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.unBlockUserFromComment(tenantId: tenantId, id: id, unBlockFromCommentParams: unBlockFromCommentParams, options: DefaultAPI.UnBlockUserFromCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -5331,7 +5331,7 @@ Name | Type | Description | Notes # **unFlagComment** ```swift - open class func unFlagComment(tenantId: String, id: String, options: ApiUnFlagCommentOptions = .init(), completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) + open class func unFlagComment(tenantId: String, id: String, options: UnFlagCommentOptions = .init(), completion: @escaping (_ data: FlagCommentResponse?, _ error: Error?) -> Void) ``` @@ -5346,7 +5346,7 @@ let id = "id_example" // String | let userId = "userId_example" // String | (optional) let anonUserId = "anonUserId_example" // String | (optional) -DefaultAPI.unFlagComment(tenantId: tenantId, id: id, options: DefaultAPI.ApiUnFlagCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in +DefaultAPI.unFlagComment(tenantId: tenantId, id: id, options: DefaultAPI.UnFlagCommentOptions(userId: userId, anonUserId: anonUserId)) { (response, error) in guard error == nil else { print(error) return @@ -5384,7 +5384,7 @@ Name | Type | Description | Notes # **updateComment** ```swift - open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: ApiUpdateCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func updateComment(tenantId: String, id: String, updatableCommentParams: UpdatableCommentParams, options: UpdateCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -5401,7 +5401,7 @@ let contextUserId = "contextUserId_example" // String | (optional) let doSpamCheck = true // Bool | (optional) let isLive = true // Bool | (optional) -DefaultAPI.updateComment(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, options: DefaultAPI.ApiUpdateCommentOptions(contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive)) { (response, error) in +DefaultAPI.updateComment(tenantId: tenantId, id: id, updatableCommentParams: updatableCommentParams, options: DefaultAPI.UpdateCommentOptions(contextUserId: contextUserId, doSpamCheck: doSpamCheck, isLive: isLive)) { (response, error) in guard error == nil else { print(error) return diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index 062045f..7d32560 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/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** ```swift - open class func deleteModerationVote(commentId: String, voteId: String, options: ApiDeleteModerationVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteModerationVote(tenantId: String, commentId: String, voteId: String, options: DeleteModerationVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -61,13 +61,13 @@ Method | HTTP request | Description // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let voteId = "voteId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, options: ModerationAPI.ApiDeleteModerationVoteOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.deleteModerationVote(tenantId: tenantId, commentId: commentId, voteId: voteId, options: ModerationAPI.DeleteModerationVoteOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -83,9 +83,9 @@ ModerationAPI.deleteModerationVote(commentId: commentId, voteId: voteId, options Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **voteId** | **String** | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -106,7 +106,7 @@ No authorization required # **getApiComments** ```swift - open class func getApiComments(options: ApiGetApiCommentsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) + open class func getApiComments(tenantId: String, options: GetApiCommentsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetCommentsResponse?, _ error: Error?) -> Void) ``` @@ -116,6 +116,7 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let page = 987 // Double | (optional) let count = 987 // Double | (optional) let textSearch = "textSearch_example" // String | (optional) @@ -124,10 +125,9 @@ let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let sorts = "sorts_example" // String | (optional) let demo = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiComments(options: ModerationAPI.ApiGetApiCommentsOptions(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getApiComments(tenantId: tenantId, options: ModerationAPI.GetApiCommentsOptions(page: page, count: count, textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, demo: demo, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -143,6 +143,7 @@ ModerationAPI.getApiComments(options: ModerationAPI.ApiGetApiCommentsOptions(pag Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **page** | **Double** | | [optional] **count** | **Double** | | [optional] **textSearch** | **String** | | [optional] @@ -151,7 +152,6 @@ Name | Type | Description | Notes **searchFilters** | **String** | | [optional] **sorts** | **String** | | [optional] **demo** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -171,7 +171,7 @@ No authorization required # **getApiExportStatus** ```swift - open class func getApiExportStatus(options: ApiGetApiExportStatusOptions = .init(), completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) + open class func getApiExportStatus(tenantId: String, options: GetApiExportStatusOptions = .init(), completion: @escaping (_ data: ModerationExportStatusResponse?, _ error: Error?) -> Void) ``` @@ -181,11 +181,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let batchJobId = "batchJobId_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiExportStatus(options: ModerationAPI.ApiGetApiExportStatusOptions(batchJobId: batchJobId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getApiExportStatus(tenantId: tenantId, options: ModerationAPI.GetApiExportStatusOptions(batchJobId: batchJobId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -201,8 +201,8 @@ ModerationAPI.getApiExportStatus(options: ModerationAPI.ApiGetApiExportStatusOpt Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **batchJobId** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -222,7 +222,7 @@ No authorization required # **getApiIds** ```swift - open class func getApiIds(options: ApiGetApiIdsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) + open class func getApiIds(tenantId: String, options: GetApiIdsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetCommentIdsResponse?, _ error: Error?) -> Void) ``` @@ -232,16 +232,16 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let textSearch = "textSearch_example" // String | (optional) let byIPFromComment = "byIPFromComment_example" // String | (optional) let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let afterId = "afterId_example" // String | (optional) let demo = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getApiIds(options: ModerationAPI.ApiGetApiIdsOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getApiIds(tenantId: tenantId, options: ModerationAPI.GetApiIdsOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, afterId: afterId, demo: demo, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -257,13 +257,13 @@ ModerationAPI.getApiIds(options: ModerationAPI.ApiGetApiIdsOptions(textSearch: t Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **textSearch** | **String** | | [optional] **byIPFromComment** | **String** | | [optional] **filters** | **String** | | [optional] **searchFilters** | **String** | | [optional] **afterId** | **String** | | [optional] **demo** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -283,7 +283,7 @@ No authorization required # **getBanUsersFromComment** ```swift - open class func getBanUsersFromComment(commentId: String, options: ApiGetBanUsersFromCommentOptions = .init(), completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) + open class func getBanUsersFromComment(tenantId: String, commentId: String, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersFromCommentResponse?, _ error: Error?) -> Void) ``` @@ -293,11 +293,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getBanUsersFromComment(commentId: commentId, options: ModerationAPI.ApiGetBanUsersFromCommentOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getBanUsersFromComment(tenantId: tenantId, commentId: commentId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -313,8 +313,8 @@ ModerationAPI.getBanUsersFromComment(commentId: commentId, options: ModerationAP Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -334,7 +334,7 @@ No authorization required # **getCommentBanStatus** ```swift - open class func getCommentBanStatus(commentId: String, options: ApiGetCommentBanStatusOptions = .init(), completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) + open class func getCommentBanStatus(tenantId: String, commentId: String, sso: String? = nil, completion: @escaping (_ data: GetCommentBanStatusResponse?, _ error: Error?) -> Void) ``` @@ -344,11 +344,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentBanStatus(commentId: commentId, options: ModerationAPI.ApiGetCommentBanStatusOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCommentBanStatus(tenantId: tenantId, commentId: commentId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -364,8 +364,8 @@ ModerationAPI.getCommentBanStatus(commentId: commentId, options: ModerationAPI.A Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -385,7 +385,7 @@ No authorization required # **getCommentChildren** ```swift - open class func getCommentChildren(commentId: String, options: ApiGetCommentChildrenOptions = .init(), completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func getCommentChildren(tenantId: String, commentId: String, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -395,11 +395,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCommentChildren(commentId: commentId, options: ModerationAPI.ApiGetCommentChildrenOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCommentChildren(tenantId: tenantId, commentId: commentId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -415,8 +415,8 @@ ModerationAPI.getCommentChildren(commentId: commentId, options: ModerationAPI.Ap Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -436,7 +436,7 @@ No authorization required # **getCount** ```swift - open class func getCount(options: ApiGetCountOptions = .init(), completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) + open class func getCount(tenantId: String, options: GetCountOptions = .init(), completion: @escaping (_ data: ModerationAPICountCommentsResponse?, _ error: Error?) -> Void) ``` @@ -446,15 +446,15 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let textSearch = "textSearch_example" // String | (optional) let byIPFromComment = "byIPFromComment_example" // String | (optional) let filter = "filter_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let demo = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getCount(options: ModerationAPI.ApiGetCountOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCount(tenantId: tenantId, options: ModerationAPI.GetCountOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filter: filter, searchFilters: searchFilters, demo: demo, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -470,12 +470,12 @@ ModerationAPI.getCount(options: ModerationAPI.ApiGetCountOptions(textSearch: tex Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **textSearch** | **String** | | [optional] **byIPFromComment** | **String** | | [optional] **filter** | **String** | | [optional] **searchFilters** | **String** | | [optional] **demo** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -495,7 +495,7 @@ No authorization required # **getCounts** ```swift - open class func getCounts(options: ApiGetCountsOptions = .init(), completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) + open class func getCounts(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetBannedUsersCountResponse?, _ error: Error?) -> Void) ``` @@ -505,10 +505,10 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift -let tenantId = "tenantId_example" // String | (optional) +let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -ModerationAPI.getCounts(options: ModerationAPI.ApiGetCountsOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getCounts(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -524,7 +524,7 @@ ModerationAPI.getCounts(options: ModerationAPI.ApiGetCountsOptions(tenantId: ten Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **String** | | [optional] + **tenantId** | **String** | | **sso** | **String** | | [optional] ### Return type @@ -544,7 +544,7 @@ No authorization required # **getLogs** ```swift - open class func getLogs(commentId: String, options: ApiGetLogsOptions = .init(), completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) + open class func getLogs(tenantId: String, commentId: String, sso: String? = nil, completion: @escaping (_ data: ModerationAPIGetLogsResponse?, _ error: Error?) -> Void) ``` @@ -554,11 +554,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getLogs(commentId: commentId, options: ModerationAPI.ApiGetLogsOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getLogs(tenantId: tenantId, commentId: commentId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -574,8 +574,8 @@ ModerationAPI.getLogs(commentId: commentId, options: ModerationAPI.ApiGetLogsOpt Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -595,7 +595,7 @@ No authorization required # **getManualBadges** ```swift - open class func getManualBadges(options: ApiGetManualBadgesOptions = .init(), completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadges(tenantId: String, sso: String? = nil, completion: @escaping (_ data: GetTenantManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -605,10 +605,10 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift -let tenantId = "tenantId_example" // String | (optional) +let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadges(options: ModerationAPI.ApiGetManualBadgesOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getManualBadges(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -624,7 +624,7 @@ ModerationAPI.getManualBadges(options: ModerationAPI.ApiGetManualBadgesOptions(t Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **String** | | [optional] + **tenantId** | **String** | | **sso** | **String** | | [optional] ### Return type @@ -644,7 +644,7 @@ No authorization required # **getManualBadgesForUser** ```swift - open class func getManualBadgesForUser(options: ApiGetManualBadgesForUserOptions = .init(), completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) + open class func getManualBadgesForUser(tenantId: String, options: GetManualBadgesForUserOptions = .init(), completion: @escaping (_ data: GetUserManualBadgesResponse?, _ error: Error?) -> Void) ``` @@ -654,12 +654,12 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let badgesUserId = "badgesUserId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getManualBadgesForUser(options: ModerationAPI.ApiGetManualBadgesForUserOptions(badgesUserId: badgesUserId, commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getManualBadgesForUser(tenantId: tenantId, options: ModerationAPI.GetManualBadgesForUserOptions(badgesUserId: badgesUserId, commentId: commentId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -675,9 +675,9 @@ ModerationAPI.getManualBadgesForUser(options: ModerationAPI.ApiGetManualBadgesFo Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **badgesUserId** | **String** | | [optional] **commentId** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -697,7 +697,7 @@ No authorization required # **getModerationComment** ```swift - open class func getModerationComment(commentId: String, options: ApiGetModerationCommentOptions = .init(), completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) + open class func getModerationComment(tenantId: String, commentId: String, options: GetModerationCommentOptions = .init(), completion: @escaping (_ data: ModerationAPICommentResponse?, _ error: Error?) -> Void) ``` @@ -707,13 +707,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let includeEmail = true // Bool | (optional) let includeIP = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationComment(commentId: commentId, options: ModerationAPI.ApiGetModerationCommentOptions(includeEmail: includeEmail, includeIP: includeIP, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getModerationComment(tenantId: tenantId, commentId: commentId, options: ModerationAPI.GetModerationCommentOptions(includeEmail: includeEmail, includeIP: includeIP, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -729,10 +729,10 @@ ModerationAPI.getModerationComment(commentId: commentId, options: ModerationAPI. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **includeEmail** | **Bool** | | [optional] **includeIP** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -752,7 +752,7 @@ No authorization required # **getModerationCommentText** ```swift - open class func getModerationCommentText(commentId: String, options: ApiGetModerationCommentTextOptions = .init(), completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) + open class func getModerationCommentText(tenantId: String, commentId: String, sso: String? = nil, completion: @escaping (_ data: GetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -762,11 +762,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getModerationCommentText(commentId: commentId, options: ModerationAPI.ApiGetModerationCommentTextOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getModerationCommentText(tenantId: tenantId, commentId: commentId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -782,8 +782,8 @@ ModerationAPI.getModerationCommentText(commentId: commentId, options: Moderation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -803,7 +803,7 @@ No authorization required # **getPreBanSummary** ```swift - open class func getPreBanSummary(commentId: String, options: ApiGetPreBanSummaryOptions = .init(), completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) + open class func getPreBanSummary(tenantId: String, commentId: String, options: GetPreBanSummaryOptions = .init(), completion: @escaping (_ data: PreBanSummary?, _ error: Error?) -> Void) ``` @@ -813,14 +813,14 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let includeByUserIdAndEmail = true // Bool | (optional) let includeByIP = true // Bool | (optional) let includeByEmailDomain = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getPreBanSummary(commentId: commentId, options: ModerationAPI.ApiGetPreBanSummaryOptions(includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getPreBanSummary(tenantId: tenantId, commentId: commentId, options: ModerationAPI.GetPreBanSummaryOptions(includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -836,11 +836,11 @@ ModerationAPI.getPreBanSummary(commentId: commentId, options: ModerationAPI.ApiG Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **includeByUserIdAndEmail** | **Bool** | | [optional] **includeByIP** | **Bool** | | [optional] **includeByEmailDomain** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -860,7 +860,7 @@ No authorization required # **getSearchCommentsSummary** ```swift - open class func getSearchCommentsSummary(options: ApiGetSearchCommentsSummaryOptions = .init(), completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) + open class func getSearchCommentsSummary(tenantId: String, options: GetSearchCommentsSummaryOptions = .init(), completion: @escaping (_ data: ModerationCommentSearchResponse?, _ error: Error?) -> Void) ``` @@ -870,13 +870,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let value = "value_example" // String | (optional) let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchCommentsSummary(options: ModerationAPI.ApiGetSearchCommentsSummaryOptions(value: value, filters: filters, searchFilters: searchFilters, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchCommentsSummary(tenantId: tenantId, options: ModerationAPI.GetSearchCommentsSummaryOptions(value: value, filters: filters, searchFilters: searchFilters, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -892,10 +892,10 @@ ModerationAPI.getSearchCommentsSummary(options: ModerationAPI.ApiGetSearchCommen Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **value** | **String** | | [optional] **filters** | **String** | | [optional] **searchFilters** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -915,7 +915,7 @@ No authorization required # **getSearchPages** ```swift - open class func getSearchPages(options: ApiGetSearchPagesOptions = .init(), completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) + open class func getSearchPages(tenantId: String, options: GetSearchPagesOptions = .init(), completion: @escaping (_ data: ModerationPageSearchResponse?, _ error: Error?) -> Void) ``` @@ -925,11 +925,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let value = "value_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchPages(options: ModerationAPI.ApiGetSearchPagesOptions(value: value, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchPages(tenantId: tenantId, options: ModerationAPI.GetSearchPagesOptions(value: value, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -945,8 +945,8 @@ ModerationAPI.getSearchPages(options: ModerationAPI.ApiGetSearchPagesOptions(val Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **value** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -966,7 +966,7 @@ No authorization required # **getSearchSites** ```swift - open class func getSearchSites(options: ApiGetSearchSitesOptions = .init(), completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) + open class func getSearchSites(tenantId: String, options: GetSearchSitesOptions = .init(), completion: @escaping (_ data: ModerationSiteSearchResponse?, _ error: Error?) -> Void) ``` @@ -976,11 +976,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let value = "value_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSites(options: ModerationAPI.ApiGetSearchSitesOptions(value: value, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchSites(tenantId: tenantId, options: ModerationAPI.GetSearchSitesOptions(value: value, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -996,8 +996,8 @@ ModerationAPI.getSearchSites(options: ModerationAPI.ApiGetSearchSitesOptions(val Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **value** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1017,7 +1017,7 @@ No authorization required # **getSearchSuggest** ```swift - open class func getSearchSuggest(options: ApiGetSearchSuggestOptions = .init(), completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) + open class func getSearchSuggest(tenantId: String, options: GetSearchSuggestOptions = .init(), completion: @escaping (_ data: ModerationSuggestResponse?, _ error: Error?) -> Void) ``` @@ -1027,11 +1027,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let textSearch = "textSearch_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchSuggest(options: ModerationAPI.ApiGetSearchSuggestOptions(textSearch: textSearch, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchSuggest(tenantId: tenantId, options: ModerationAPI.GetSearchSuggestOptions(textSearch: textSearch, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1047,8 +1047,8 @@ ModerationAPI.getSearchSuggest(options: ModerationAPI.ApiGetSearchSuggestOptions Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **textSearch** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1068,7 +1068,7 @@ No authorization required # **getSearchUsers** ```swift - open class func getSearchUsers(options: ApiGetSearchUsersOptions = .init(), completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) + open class func getSearchUsers(tenantId: String, options: GetSearchUsersOptions = .init(), completion: @escaping (_ data: ModerationUserSearchResponse?, _ error: Error?) -> Void) ``` @@ -1078,11 +1078,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let value = "value_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getSearchUsers(options: ModerationAPI.ApiGetSearchUsersOptions(value: value, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getSearchUsers(tenantId: tenantId, options: ModerationAPI.GetSearchUsersOptions(value: value, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1098,8 +1098,8 @@ ModerationAPI.getSearchUsers(options: ModerationAPI.ApiGetSearchUsersOptions(val Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **value** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1119,7 +1119,7 @@ No authorization required # **getTrustFactor** ```swift - open class func getTrustFactor(options: ApiGetTrustFactorOptions = .init(), completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func getTrustFactor(tenantId: String, options: GetTrustFactorOptions = .init(), completion: @escaping (_ data: GetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -1129,11 +1129,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getTrustFactor(options: ModerationAPI.ApiGetTrustFactorOptions(userId: userId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getTrustFactor(tenantId: tenantId, options: ModerationAPI.GetTrustFactorOptions(userId: userId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1149,8 +1149,8 @@ ModerationAPI.getTrustFactor(options: ModerationAPI.ApiGetTrustFactorOptions(use Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **userId** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1170,7 +1170,7 @@ No authorization required # **getUserBanPreference** ```swift - open class func getUserBanPreference(options: ApiGetUserBanPreferenceOptions = .init(), completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) + open class func getUserBanPreference(tenantId: String, sso: String? = nil, completion: @escaping (_ data: APIModerateGetUserBanPreferencesResponse?, _ error: Error?) -> Void) ``` @@ -1180,10 +1180,10 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift -let tenantId = "tenantId_example" // String | (optional) +let tenantId = "tenantId_example" // String | let sso = "sso_example" // String | (optional) -ModerationAPI.getUserBanPreference(options: ModerationAPI.ApiGetUserBanPreferenceOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getUserBanPreference(tenantId: tenantId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1199,7 +1199,7 @@ ModerationAPI.getUserBanPreference(options: ModerationAPI.ApiGetUserBanPreferenc Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **String** | | [optional] + **tenantId** | **String** | | **sso** | **String** | | [optional] ### Return type @@ -1219,7 +1219,7 @@ No authorization required # **getUserInternalProfile** ```swift - open class func getUserInternalProfile(options: ApiGetUserInternalProfileOptions = .init(), completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) + open class func getUserInternalProfile(tenantId: String, options: GetUserInternalProfileOptions = .init(), completion: @escaping (_ data: GetUserInternalProfileResponse?, _ error: Error?) -> Void) ``` @@ -1229,11 +1229,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.getUserInternalProfile(options: ModerationAPI.ApiGetUserInternalProfileOptions(commentId: commentId, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.getUserInternalProfile(tenantId: tenantId, options: ModerationAPI.GetUserInternalProfileOptions(commentId: commentId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1249,8 +1249,8 @@ ModerationAPI.getUserInternalProfile(options: ModerationAPI.ApiGetUserInternalPr Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1270,7 +1270,7 @@ No authorization required # **postAdjustCommentVotes** ```swift - open class func postAdjustCommentVotes(commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: ApiPostAdjustCommentVotesOptions = .init(), completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) + open class func postAdjustCommentVotes(tenantId: String, commentId: String, adjustCommentVotesParams: AdjustCommentVotesParams, options: PostAdjustCommentVotesOptions = .init(), completion: @escaping (_ data: AdjustVotesResponse?, _ error: Error?) -> Void) ``` @@ -1280,13 +1280,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let adjustCommentVotesParams = AdjustCommentVotesParams(adjustVoteAmount: 123) // AdjustCommentVotesParams | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, options: ModerationAPI.ApiPostAdjustCommentVotesOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postAdjustCommentVotes(tenantId: tenantId, commentId: commentId, adjustCommentVotesParams: adjustCommentVotesParams, options: ModerationAPI.PostAdjustCommentVotesOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1302,9 +1302,9 @@ ModerationAPI.postAdjustCommentVotes(commentId: commentId, adjustCommentVotesPar Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **adjustCommentVotesParams** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1325,7 +1325,7 @@ No authorization required # **postApiExport** ```swift - open class func postApiExport(options: ApiPostApiExportOptions = .init(), completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) + open class func postApiExport(tenantId: String, options: PostApiExportOptions = .init(), completion: @escaping (_ data: ModerationExportResponse?, _ error: Error?) -> Void) ``` @@ -1335,15 +1335,15 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let textSearch = "textSearch_example" // String | (optional) let byIPFromComment = "byIPFromComment_example" // String | (optional) let filters = "filters_example" // String | (optional) let searchFilters = "searchFilters_example" // String | (optional) let sorts = "sorts_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postApiExport(options: ModerationAPI.ApiPostApiExportOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postApiExport(tenantId: tenantId, options: ModerationAPI.PostApiExportOptions(textSearch: textSearch, byIPFromComment: byIPFromComment, filters: filters, searchFilters: searchFilters, sorts: sorts, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1359,12 +1359,12 @@ ModerationAPI.postApiExport(options: ModerationAPI.ApiPostApiExportOptions(textS Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **textSearch** | **String** | | [optional] **byIPFromComment** | **String** | | [optional] **filters** | **String** | | [optional] **searchFilters** | **String** | | [optional] **sorts** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1384,7 +1384,7 @@ No authorization required # **postBanUserFromComment** ```swift - open class func postBanUserFromComment(commentId: String, options: ApiPostBanUserFromCommentOptions = .init(), completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) + open class func postBanUserFromComment(tenantId: String, commentId: String, options: PostBanUserFromCommentOptions = .init(), completion: @escaping (_ data: BanUserFromCommentResult?, _ error: Error?) -> Void) ``` @@ -1394,6 +1394,7 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let banEmail = true // Bool | (optional) let banEmailDomain = true // Bool | (optional) @@ -1403,10 +1404,9 @@ let bannedUntil = "bannedUntil_example" // String | (optional) let isShadowBan = true // Bool | (optional) let updateId = "updateId_example" // String | (optional) let banReason = "banReason_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserFromComment(commentId: commentId, options: ModerationAPI.ApiPostBanUserFromCommentOptions(banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postBanUserFromComment(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostBanUserFromCommentOptions(banEmail: banEmail, banEmailDomain: banEmailDomain, banIP: banIP, deleteAllUsersComments: deleteAllUsersComments, bannedUntil: bannedUntil, isShadowBan: isShadowBan, updateId: updateId, banReason: banReason, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1422,6 +1422,7 @@ ModerationAPI.postBanUserFromComment(commentId: commentId, options: ModerationAP Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **banEmail** | **Bool** | | [optional] **banEmailDomain** | **Bool** | | [optional] @@ -1431,7 +1432,6 @@ Name | Type | Description | Notes **isShadowBan** | **Bool** | | [optional] **updateId** | **String** | | [optional] **banReason** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1451,7 +1451,7 @@ No authorization required # **postBanUserUndo** ```swift - open class func postBanUserUndo(banUserUndoParams: BanUserUndoParams, options: ApiPostBanUserUndoOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postBanUserUndo(tenantId: String, banUserUndoParams: BanUserUndoParams, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1461,11 +1461,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let banUserUndoParams = BanUserUndoParams(changelog: APIBanUserChangeLog(createdBannedUserId: "createdBannedUserId_example", updatedBannedUserId: "updatedBannedUserId_example", deletedBannedUsers: [APIBannedUser(id: "id_example", tenantId: "tenantId_example", userId: "userId_example", email: "email_example", username: "username_example", ipHash: "ipHash_example", createdAt: Date(), bannedByUserId: "bannedByUserId_example", bannedCommentText: "bannedCommentText_example", banType: "banType_example", bannedUntil: Date(), hasEmailWildcard: false, banReason: "banReason_example")], changedValuesBefore: APIBanUserChangedValues(id: "id_example", tenantId: "tenantId_example", userId: "userId_example", email: "email_example", username: "username_example", ipHash: "ipHash_example", createdAt: Date(), bannedByUserId: "bannedByUserId_example", bannedCommentText: "bannedCommentText_example", banType: "banType_example", bannedUntil: Date(), hasEmailWildcard: false, banReason: "banReason_example"))) // BanUserUndoParams | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, options: ModerationAPI.ApiPostBanUserUndoOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postBanUserUndo(tenantId: tenantId, banUserUndoParams: banUserUndoParams, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1481,8 +1481,8 @@ ModerationAPI.postBanUserUndo(banUserUndoParams: banUserUndoParams, options: Mod Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **banUserUndoParams** | [**BanUserUndoParams**](BanUserUndoParams.md) | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1502,7 +1502,7 @@ No authorization required # **postBulkPreBanSummary** ```swift - open class func postBulkPreBanSummary(bulkPreBanParams: BulkPreBanParams, options: ApiPostBulkPreBanSummaryOptions = .init(), completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) + open class func postBulkPreBanSummary(tenantId: String, bulkPreBanParams: BulkPreBanParams, options: PostBulkPreBanSummaryOptions = .init(), completion: @escaping (_ data: BulkPreBanSummary?, _ error: Error?) -> Void) ``` @@ -1512,14 +1512,14 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let bulkPreBanParams = BulkPreBanParams(commentIds: ["commentIds_example"]) // BulkPreBanParams | let includeByUserIdAndEmail = true // Bool | (optional) let includeByIP = true // Bool | (optional) let includeByEmailDomain = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postBulkPreBanSummary(bulkPreBanParams: bulkPreBanParams, options: ModerationAPI.ApiPostBulkPreBanSummaryOptions(includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postBulkPreBanSummary(tenantId: tenantId, bulkPreBanParams: bulkPreBanParams, options: ModerationAPI.PostBulkPreBanSummaryOptions(includeByUserIdAndEmail: includeByUserIdAndEmail, includeByIP: includeByIP, includeByEmailDomain: includeByEmailDomain, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1535,11 +1535,11 @@ ModerationAPI.postBulkPreBanSummary(bulkPreBanParams: bulkPreBanParams, options: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **bulkPreBanParams** | [**BulkPreBanParams**](BulkPreBanParams.md) | | **includeByUserIdAndEmail** | **Bool** | | [optional] **includeByIP** | **Bool** | | [optional] **includeByEmailDomain** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1559,7 +1559,7 @@ No authorization required # **postCommentsByIds** ```swift - open class func postCommentsByIds(commentsByIdsParams: CommentsByIdsParams, options: ApiPostCommentsByIdsOptions = .init(), completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) + open class func postCommentsByIds(tenantId: String, commentsByIdsParams: CommentsByIdsParams, sso: String? = nil, completion: @escaping (_ data: ModerationAPIChildCommentsResponse?, _ error: Error?) -> Void) ``` @@ -1569,11 +1569,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentsByIdsParams = CommentsByIdsParams(ids: ["ids_example"]) // CommentsByIdsParams | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, options: ModerationAPI.ApiPostCommentsByIdsOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.postCommentsByIds(tenantId: tenantId, commentsByIdsParams: commentsByIdsParams, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -1589,8 +1589,8 @@ ModerationAPI.postCommentsByIds(commentsByIdsParams: commentsByIdsParams, option Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentsByIdsParams** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -1610,7 +1610,7 @@ No authorization required # **postFlagComment** ```swift - open class func postFlagComment(commentId: String, options: ApiPostFlagCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postFlagComment(tenantId: String, commentId: String, options: PostFlagCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1620,12 +1620,12 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postFlagComment(commentId: commentId, options: ModerationAPI.ApiPostFlagCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postFlagComment(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostFlagCommentOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1641,8 +1641,8 @@ ModerationAPI.postFlagComment(commentId: commentId, options: ModerationAPI.ApiPo Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1663,7 +1663,7 @@ No authorization required # **postRemoveComment** ```swift - open class func postRemoveComment(commentId: String, options: ApiPostRemoveCommentOptions = .init(), completion: @escaping (_ data: PostRemoveCommentResponse?, _ error: Error?) -> Void) + open class func postRemoveComment(tenantId: String, commentId: String, options: PostRemoveCommentOptions = .init(), completion: @escaping (_ data: PostRemoveCommentApiResponse?, _ error: Error?) -> Void) ``` @@ -1673,12 +1673,12 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRemoveComment(commentId: commentId, options: ModerationAPI.ApiPostRemoveCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postRemoveComment(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostRemoveCommentOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1694,14 +1694,14 @@ ModerationAPI.postRemoveComment(commentId: commentId, options: ModerationAPI.Api Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type -[**PostRemoveCommentResponse**](PostRemoveCommentResponse.md) +[**PostRemoveCommentApiResponse**](PostRemoveCommentApiResponse.md) ### Authorization @@ -1716,7 +1716,7 @@ No authorization required # **postRestoreDeletedComment** ```swift - open class func postRestoreDeletedComment(commentId: String, options: ApiPostRestoreDeletedCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postRestoreDeletedComment(tenantId: String, commentId: String, options: PostRestoreDeletedCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1726,12 +1726,12 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postRestoreDeletedComment(commentId: commentId, options: ModerationAPI.ApiPostRestoreDeletedCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postRestoreDeletedComment(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostRestoreDeletedCommentOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1747,8 +1747,8 @@ ModerationAPI.postRestoreDeletedComment(commentId: commentId, options: Moderatio Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1769,7 +1769,7 @@ No authorization required # **postSetCommentApprovalStatus** ```swift - open class func postSetCommentApprovalStatus(commentId: String, options: ApiPostSetCommentApprovalStatusOptions = .init(), completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) + open class func postSetCommentApprovalStatus(tenantId: String, commentId: String, options: PostSetCommentApprovalStatusOptions = .init(), completion: @escaping (_ data: SetCommentApprovedResponse?, _ error: Error?) -> Void) ``` @@ -1779,13 +1779,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let approved = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, options: ModerationAPI.ApiPostSetCommentApprovalStatusOptions(approved: approved, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentApprovalStatus(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostSetCommentApprovalStatusOptions(approved: approved, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1801,9 +1801,9 @@ ModerationAPI.postSetCommentApprovalStatus(commentId: commentId, options: Modera Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **approved** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1824,7 +1824,7 @@ No authorization required # **postSetCommentReviewStatus** ```swift - open class func postSetCommentReviewStatus(commentId: String, options: ApiPostSetCommentReviewStatusOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentReviewStatus(tenantId: String, commentId: String, options: PostSetCommentReviewStatusOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1834,13 +1834,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let reviewed = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentReviewStatus(commentId: commentId, options: ModerationAPI.ApiPostSetCommentReviewStatusOptions(reviewed: reviewed, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentReviewStatus(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostSetCommentReviewStatusOptions(reviewed: reviewed, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1856,9 +1856,9 @@ ModerationAPI.postSetCommentReviewStatus(commentId: commentId, options: Moderati Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **reviewed** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1879,7 +1879,7 @@ No authorization required # **postSetCommentSpamStatus** ```swift - open class func postSetCommentSpamStatus(commentId: String, options: ApiPostSetCommentSpamStatusOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postSetCommentSpamStatus(tenantId: String, commentId: String, options: PostSetCommentSpamStatusOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -1889,14 +1889,14 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let spam = true // Bool | (optional) let permNotSpam = true // Bool | (optional) -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentSpamStatus(commentId: commentId, options: ModerationAPI.ApiPostSetCommentSpamStatusOptions(spam: spam, permNotSpam: permNotSpam, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentSpamStatus(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostSetCommentSpamStatusOptions(spam: spam, permNotSpam: permNotSpam, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1912,10 +1912,10 @@ ModerationAPI.postSetCommentSpamStatus(commentId: commentId, options: Moderation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **spam** | **Bool** | | [optional] **permNotSpam** | **Bool** | | [optional] - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1936,7 +1936,7 @@ No authorization required # **postSetCommentText** ```swift - open class func postSetCommentText(commentId: String, setCommentTextParams: SetCommentTextParams, options: ApiPostSetCommentTextOptions = .init(), completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) + open class func postSetCommentText(tenantId: String, commentId: String, setCommentTextParams: SetCommentTextParams, options: PostSetCommentTextOptions = .init(), completion: @escaping (_ data: SetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -1946,13 +1946,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let setCommentTextParams = SetCommentTextParams(comment: "comment_example") // SetCommentTextParams | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: setCommentTextParams, options: ModerationAPI.ApiPostSetCommentTextOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postSetCommentText(tenantId: tenantId, commentId: commentId, setCommentTextParams: setCommentTextParams, options: ModerationAPI.PostSetCommentTextOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1968,9 +1968,9 @@ ModerationAPI.postSetCommentText(commentId: commentId, setCommentTextParams: set Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **setCommentTextParams** | [**SetCommentTextParams**](SetCommentTextParams.md) | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -1991,7 +1991,7 @@ No authorization required # **postUnFlagComment** ```swift - open class func postUnFlagComment(commentId: String, options: ApiPostUnFlagCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func postUnFlagComment(tenantId: String, commentId: String, options: PostUnFlagCommentOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2001,12 +2001,12 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postUnFlagComment(commentId: commentId, options: ModerationAPI.ApiPostUnFlagCommentOptions(tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postUnFlagComment(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostUnFlagCommentOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2022,8 +2022,8 @@ ModerationAPI.postUnFlagComment(commentId: commentId, options: ModerationAPI.Api Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -2044,7 +2044,7 @@ No authorization required # **postVote** ```swift - open class func postVote(commentId: String, options: ApiPostVoteOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func postVote(tenantId: String, commentId: String, options: PostVoteOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2054,13 +2054,13 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let commentId = "commentId_example" // String | let direction = "direction_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.postVote(commentId: commentId, options: ModerationAPI.ApiPostVoteOptions(direction: direction, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.postVote(tenantId: tenantId, commentId: commentId, options: ModerationAPI.PostVoteOptions(direction: direction, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2076,9 +2076,9 @@ ModerationAPI.postVote(commentId: commentId, options: ModerationAPI.ApiPostVoteO Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **commentId** | **String** | | **direction** | **String** | | [optional] - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -2099,7 +2099,7 @@ No authorization required # **putAwardBadge** ```swift - open class func putAwardBadge(badgeId: String, options: ApiPutAwardBadgeOptions = .init(), completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) + open class func putAwardBadge(tenantId: String, badgeId: String, options: PutAwardBadgeOptions = .init(), completion: @escaping (_ data: AwardUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2109,14 +2109,14 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let badgeId = "badgeId_example" // String | let userId = "userId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putAwardBadge(badgeId: badgeId, options: ModerationAPI.ApiPutAwardBadgeOptions(userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.putAwardBadge(tenantId: tenantId, badgeId: badgeId, options: ModerationAPI.PutAwardBadgeOptions(userId: userId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2132,10 +2132,10 @@ ModerationAPI.putAwardBadge(badgeId: badgeId, options: ModerationAPI.ApiPutAward Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **badgeId** | **String** | | **userId** | **String** | | [optional] **commentId** | **String** | | [optional] - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -2156,7 +2156,7 @@ No authorization required # **putCloseThread** ```swift - open class func putCloseThread(urlId: String, options: ApiPutCloseThreadOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putCloseThread(tenantId: String, urlId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2166,11 +2166,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putCloseThread(urlId: urlId, options: ModerationAPI.ApiPutCloseThreadOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.putCloseThread(tenantId: tenantId, urlId: urlId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2186,8 +2186,8 @@ ModerationAPI.putCloseThread(urlId: urlId, options: ModerationAPI.ApiPutCloseThr Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **urlId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -2207,7 +2207,7 @@ No authorization required # **putRemoveBadge** ```swift - open class func putRemoveBadge(badgeId: String, options: ApiPutRemoveBadgeOptions = .init(), completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) + open class func putRemoveBadge(tenantId: String, badgeId: String, options: PutRemoveBadgeOptions = .init(), completion: @escaping (_ data: RemoveUserBadgeResponse?, _ error: Error?) -> Void) ``` @@ -2217,14 +2217,14 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let badgeId = "badgeId_example" // String | let userId = "userId_example" // String | (optional) let commentId = "commentId_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putRemoveBadge(badgeId: badgeId, options: ModerationAPI.ApiPutRemoveBadgeOptions(userId: userId, commentId: commentId, tenantId: tenantId, broadcastId: broadcastId, sso: sso)) { (response, error) in +ModerationAPI.putRemoveBadge(tenantId: tenantId, badgeId: badgeId, options: ModerationAPI.PutRemoveBadgeOptions(userId: userId, commentId: commentId, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2240,10 +2240,10 @@ ModerationAPI.putRemoveBadge(badgeId: badgeId, options: ModerationAPI.ApiPutRemo Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **badgeId** | **String** | | **userId** | **String** | | [optional] **commentId** | **String** | | [optional] - **tenantId** | **String** | | [optional] **broadcastId** | **String** | | [optional] **sso** | **String** | | [optional] @@ -2264,7 +2264,7 @@ No authorization required # **putReopenThread** ```swift - open class func putReopenThread(urlId: String, options: ApiPutReopenThreadOptions = .init(), completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) + open class func putReopenThread(tenantId: String, urlId: String, sso: String? = nil, completion: @escaping (_ data: APIEmptyResponse?, _ error: Error?) -> Void) ``` @@ -2274,11 +2274,11 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let urlId = "urlId_example" // String | -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.putReopenThread(urlId: urlId, options: ModerationAPI.ApiPutReopenThreadOptions(tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.putReopenThread(tenantId: tenantId, urlId: urlId, sso: sso) { (response, error) in guard error == nil else { print(error) return @@ -2294,8 +2294,8 @@ ModerationAPI.putReopenThread(urlId: urlId, options: ModerationAPI.ApiPutReopenT Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **urlId** | **String** | | - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type @@ -2315,7 +2315,7 @@ No authorization required # **setTrustFactor** ```swift - open class func setTrustFactor(options: ApiSetTrustFactorOptions = .init(), completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) + open class func setTrustFactor(tenantId: String, options: SetTrustFactorOptions = .init(), completion: @escaping (_ data: SetUserTrustFactorResponse?, _ error: Error?) -> Void) ``` @@ -2325,12 +2325,12 @@ No authorization required // The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new import FastCommentsSwift +let tenantId = "tenantId_example" // String | let userId = "userId_example" // String | (optional) let trustFactor = "trustFactor_example" // String | (optional) -let tenantId = "tenantId_example" // String | (optional) let sso = "sso_example" // String | (optional) -ModerationAPI.setTrustFactor(options: ModerationAPI.ApiSetTrustFactorOptions(userId: userId, trustFactor: trustFactor, tenantId: tenantId, sso: sso)) { (response, error) in +ModerationAPI.setTrustFactor(tenantId: tenantId, options: ModerationAPI.SetTrustFactorOptions(userId: userId, trustFactor: trustFactor, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2346,9 +2346,9 @@ ModerationAPI.setTrustFactor(options: ModerationAPI.ApiSetTrustFactorOptions(use Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **String** | | **userId** | **String** | | [optional] **trustFactor** | **String** | | [optional] - **tenantId** | **String** | | [optional] **sso** | **String** | | [optional] ### Return type diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentApiResponse.md similarity index 91% rename from client/docs/PostRemoveCommentResponse.md rename to client/docs/PostRemoveCommentApiResponse.md index 22c6b35..00e9b34 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentApiResponse.md @@ -1,4 +1,4 @@ -# PostRemoveCommentResponse +# PostRemoveCommentApiResponse ## Properties Name | Type | Description | Notes diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index abf25ff..93ac69a 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -164,7 +164,7 @@ No authorization required # **createCommentPublic** ```swift - open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: ApiCreateCommentPublicOptions = .init(), completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) + open class func createCommentPublic(tenantId: String, urlId: String, broadcastId: String, commentData: CommentData, options: CreateCommentPublicOptions = .init(), completion: @escaping (_ data: SaveCommentsResponseWithPresence?, _ error: Error?) -> Void) ``` @@ -181,7 +181,7 @@ let commentData = CommentData(date: 123, localDateString: "localDateString_examp let sessionId = "sessionId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.createCommentPublic(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, options: PublicAPI.ApiCreateCommentPublicOptions(sessionId: sessionId, sso: sso)) { (response, error) in +PublicAPI.createCommentPublic(tenantId: tenantId, urlId: urlId, broadcastId: broadcastId, commentData: commentData, options: PublicAPI.CreateCommentPublicOptions(sessionId: sessionId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -221,7 +221,7 @@ No authorization required # **createFeedPostPublic** ```swift - open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: ApiCreateFeedPostPublicOptions = .init(), completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func createFeedPostPublic(tenantId: String, createFeedPostParams: CreateFeedPostParams, options: CreateFeedPostPublicOptions = .init(), completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -236,7 +236,7 @@ let createFeedPostParams = CreateFeedPostParams(title: "title_example", contentH let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.createFeedPostPublic(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: PublicAPI.ApiCreateFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.createFeedPostPublic(tenantId: tenantId, createFeedPostParams: createFeedPostParams, options: PublicAPI.CreateFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -378,7 +378,7 @@ No authorization required # **deleteCommentPublic** ```swift - open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, options: ApiDeleteCommentPublicOptions = .init(), completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) + open class func deleteCommentPublic(tenantId: String, commentId: String, broadcastId: String, options: DeleteCommentPublicOptions = .init(), completion: @escaping (_ data: PublicAPIDeleteCommentResponse?, _ error: Error?) -> Void) ``` @@ -394,7 +394,7 @@ let broadcastId = "broadcastId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteCommentPublic(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.ApiDeleteCommentPublicOptions(editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.deleteCommentPublic(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, options: PublicAPI.DeleteCommentPublicOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -433,7 +433,7 @@ No authorization required # **deleteCommentVote** ```swift - open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: ApiDeleteCommentVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) + open class func deleteCommentVote(tenantId: String, commentId: String, voteId: String, urlId: String, broadcastId: String, options: DeleteCommentVoteOptions = .init(), completion: @escaping (_ data: VoteDeleteResponse?, _ error: Error?) -> Void) ``` @@ -451,7 +451,7 @@ let broadcastId = "broadcastId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteCommentVote(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, options: PublicAPI.ApiDeleteCommentVoteOptions(editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.deleteCommentVote(tenantId: tenantId, commentId: commentId, voteId: voteId, urlId: urlId, broadcastId: broadcastId, options: PublicAPI.DeleteCommentVoteOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -492,7 +492,7 @@ No authorization required # **deleteFeedPostPublic** ```swift - open class func deleteFeedPostPublic(tenantId: String, postId: String, options: ApiDeleteFeedPostPublicOptions = .init(), completion: @escaping (_ data: DeleteFeedPostPublicResponse?, _ error: Error?) -> Void) + open class func deleteFeedPostPublic(tenantId: String, postId: String, options: DeleteFeedPostPublicOptions = .init(), completion: @escaping (_ data: DeleteFeedPostPublicResponse?, _ error: Error?) -> Void) ``` @@ -507,7 +507,7 @@ let postId = "postId_example" // String | let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.deleteFeedPostPublic(tenantId: tenantId, postId: postId, options: PublicAPI.ApiDeleteFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.deleteFeedPostPublic(tenantId: tenantId, postId: postId, options: PublicAPI.DeleteFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -698,7 +698,7 @@ No authorization required # **getCommentText** ```swift - open class func getCommentText(tenantId: String, commentId: String, options: ApiGetCommentTextOptions = .init(), completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) + open class func getCommentText(tenantId: String, commentId: String, options: GetCommentTextOptions = .init(), completion: @escaping (_ data: PublicAPIGetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -713,7 +713,7 @@ let commentId = "commentId_example" // String | let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getCommentText(tenantId: tenantId, commentId: commentId, options: PublicAPI.ApiGetCommentTextOptions(editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.getCommentText(tenantId: tenantId, commentId: commentId, options: PublicAPI.GetCommentTextOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -804,7 +804,7 @@ No authorization required # **getCommentsForUser** ```swift - open class func getCommentsForUser(options: ApiGetCommentsForUserOptions = .init(), completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) + open class func getCommentsForUser(options: GetCommentsForUserOptions = .init(), completion: @escaping (_ data: GetCommentsForUserResponse?, _ error: Error?) -> Void) ``` @@ -822,7 +822,7 @@ let includei10n = true // Bool | (optional) let locale = "locale_example" // String | (optional) let isCrawler = true // Bool | (optional) -PublicAPI.getCommentsForUser(options: PublicAPI.ApiGetCommentsForUserOptions(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler)) { (response, error) in +PublicAPI.getCommentsForUser(options: PublicAPI.GetCommentsForUserOptions(userId: userId, direction: direction, repliesToUserId: repliesToUserId, page: page, includei10n: includei10n, locale: locale, isCrawler: isCrawler)) { (response, error) in guard error == nil else { print(error) return @@ -863,7 +863,7 @@ No authorization required # **getCommentsPublic** ```swift - open class func getCommentsPublic(tenantId: String, urlId: String, options: ApiGetCommentsPublicOptions = .init(), completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) + open class func getCommentsPublic(tenantId: String, urlId: String, options: GetCommentsPublicOptions = .init(), completion: @escaping (_ data: GetCommentsResponseWithPresencePublicComment?, _ error: Error?) -> Void) ``` @@ -904,7 +904,7 @@ let customConfigStr = "customConfigStr_example" // String | (optional) let afterCommentId = "afterCommentId_example" // String | (optional) let beforeCommentId = "beforeCommentId_example" // String | (optional) -PublicAPI.getCommentsPublic(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiGetCommentsPublicOptions(page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId)) { (response, error) in +PublicAPI.getCommentsPublic(tenantId: tenantId, urlId: urlId, options: PublicAPI.GetCommentsPublicOptions(page: page, direction: direction, sso: sso, skip: skip, skipChildren: skipChildren, limit: limit, limitChildren: limitChildren, countChildren: countChildren, fetchPageForCommentId: fetchPageForCommentId, includeConfig: includeConfig, countAll: countAll, includei10n: includei10n, locale: locale, modules: modules, isCrawler: isCrawler, includeNotificationCount: includeNotificationCount, asTree: asTree, maxTreeDepth: maxTreeDepth, useFullTranslationIds: useFullTranslationIds, parentId: parentId, searchText: searchText, hashTags: hashTags, userId: userId, customConfigStr: customConfigStr, afterCommentId: afterCommentId, beforeCommentId: beforeCommentId)) { (response, error) in guard error == nil else { print(error) return @@ -1023,7 +1023,7 @@ No authorization required # **getFeedPostsPublic** ```swift - open class func getFeedPostsPublic(tenantId: String, options: ApiGetFeedPostsPublicOptions = .init(), completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) + open class func getFeedPostsPublic(tenantId: String, options: GetFeedPostsPublicOptions = .init(), completion: @escaping (_ data: PublicFeedPostsResponse?, _ error: Error?) -> Void) ``` @@ -1043,7 +1043,7 @@ let sso = "sso_example" // String | (optional) let isCrawler = true // Bool | (optional) let includeUserInfo = true // Bool | (optional) -PublicAPI.getFeedPostsPublic(tenantId: tenantId, options: PublicAPI.ApiGetFeedPostsPublicOptions(afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo)) { (response, error) in +PublicAPI.getFeedPostsPublic(tenantId: tenantId, options: PublicAPI.GetFeedPostsPublicOptions(afterId: afterId, limit: limit, tags: tags, sso: sso, isCrawler: isCrawler, includeUserInfo: includeUserInfo)) { (response, error) in guard error == nil else { print(error) return @@ -1184,7 +1184,7 @@ No authorization required # **getGifsSearch** ```swift - open class func getGifsSearch(tenantId: String, search: String, options: ApiGetGifsSearchOptions = .init(), completion: @escaping (_ data: GetGifsSearchResponse?, _ error: Error?) -> Void) + open class func getGifsSearch(tenantId: String, search: String, options: GetGifsSearchOptions = .init(), completion: @escaping (_ data: GetGifsSearchResponse?, _ error: Error?) -> Void) ``` @@ -1200,7 +1200,7 @@ let locale = "locale_example" // String | (optional) let rating = "rating_example" // String | (optional) let page = 987 // Double | (optional) -PublicAPI.getGifsSearch(tenantId: tenantId, search: search, options: PublicAPI.ApiGetGifsSearchOptions(locale: locale, rating: rating, page: page)) { (response, error) in +PublicAPI.getGifsSearch(tenantId: tenantId, search: search, options: PublicAPI.GetGifsSearchOptions(locale: locale, rating: rating, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -1239,7 +1239,7 @@ No authorization required # **getGifsTrending** ```swift - open class func getGifsTrending(tenantId: String, options: ApiGetGifsTrendingOptions = .init(), completion: @escaping (_ data: GetGifsTrendingResponse?, _ error: Error?) -> Void) + open class func getGifsTrending(tenantId: String, options: GetGifsTrendingOptions = .init(), completion: @escaping (_ data: GetGifsTrendingResponse?, _ error: Error?) -> Void) ``` @@ -1254,7 +1254,7 @@ let locale = "locale_example" // String | (optional) let rating = "rating_example" // String | (optional) let page = 987 // Double | (optional) -PublicAPI.getGifsTrending(tenantId: tenantId, options: PublicAPI.ApiGetGifsTrendingOptions(locale: locale, rating: rating, page: page)) { (response, error) in +PublicAPI.getGifsTrending(tenantId: tenantId, options: PublicAPI.GetGifsTrendingOptions(locale: locale, rating: rating, page: page)) { (response, error) in guard error == nil else { print(error) return @@ -1349,7 +1349,7 @@ No authorization required # **getOfflineUsers** ```swift - open class func getOfflineUsers(tenantId: String, urlId: String, options: ApiGetOfflineUsersOptions = .init(), completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) + open class func getOfflineUsers(tenantId: String, urlId: String, options: GetOfflineUsersOptions = .init(), completion: @escaping (_ data: PageUsersOfflineResponse?, _ error: Error?) -> Void) ``` @@ -1366,7 +1366,7 @@ let urlId = "urlId_example" // String | Page URL identifier (cleaned server-side let afterName = "afterName_example" // String | Cursor: pass nextAfterName from the previous response. (optional) let afterUserId = "afterUserId_example" // String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) -PublicAPI.getOfflineUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiGetOfflineUsersOptions(afterName: afterName, afterUserId: afterUserId)) { (response, error) in +PublicAPI.getOfflineUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.GetOfflineUsersOptions(afterName: afterName, afterUserId: afterUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1404,7 +1404,7 @@ No authorization required # **getOnlineUsers** ```swift - open class func getOnlineUsers(tenantId: String, urlId: String, options: ApiGetOnlineUsersOptions = .init(), completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) + open class func getOnlineUsers(tenantId: String, urlId: String, options: GetOnlineUsersOptions = .init(), completion: @escaping (_ data: PageUsersOnlineResponse?, _ error: Error?) -> Void) ``` @@ -1421,7 +1421,7 @@ let urlId = "urlId_example" // String | Page URL identifier (cleaned server-side let afterName = "afterName_example" // String | Cursor: pass nextAfterName from the previous response. (optional) let afterUserId = "afterUserId_example" // String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. (optional) -PublicAPI.getOnlineUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiGetOnlineUsersOptions(afterName: afterName, afterUserId: afterUserId)) { (response, error) in +PublicAPI.getOnlineUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.GetOnlineUsersOptions(afterName: afterName, afterUserId: afterUserId)) { (response, error) in guard error == nil else { print(error) return @@ -1459,7 +1459,7 @@ No authorization required # **getPagesPublic** ```swift - open class func getPagesPublic(tenantId: String, options: ApiGetPagesPublicOptions = .init(), completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) + open class func getPagesPublic(tenantId: String, options: GetPagesPublicOptions = .init(), completion: @escaping (_ data: GetPublicPagesResponse?, _ error: Error?) -> Void) ``` @@ -1478,7 +1478,7 @@ let q = "q_example" // String | Optional case-insensitive title prefix filter. ( let sortBy = PagesSortBy() // PagesSortBy | Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). (optional) let hasComments = true // Bool | If true, only return pages with at least one comment. (optional) -PublicAPI.getPagesPublic(tenantId: tenantId, options: PublicAPI.ApiGetPagesPublicOptions(cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments)) { (response, error) in +PublicAPI.getPagesPublic(tenantId: tenantId, options: PublicAPI.GetPagesPublicOptions(cursor: cursor, limit: limit, q: q, sortBy: sortBy, hasComments: hasComments)) { (response, error) in guard error == nil else { print(error) return @@ -1518,7 +1518,7 @@ No authorization required # **getTranslations** ```swift - open class func getTranslations(namespace: String, component: String, options: ApiGetTranslationsOptions = .init(), completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) + open class func getTranslations(namespace: String, component: String, options: GetTranslationsOptions = .init(), completion: @escaping (_ data: GetTranslationsResponse?, _ error: Error?) -> Void) ``` @@ -1533,7 +1533,7 @@ let component = "component_example" // String | let locale = "locale_example" // String | (optional) let useFullTranslationIds = true // Bool | (optional) -PublicAPI.getTranslations(namespace: namespace, component: component, options: PublicAPI.ApiGetTranslationsOptions(locale: locale, useFullTranslationIds: useFullTranslationIds)) { (response, error) in +PublicAPI.getTranslations(namespace: namespace, component: component, options: PublicAPI.GetTranslationsOptions(locale: locale, useFullTranslationIds: useFullTranslationIds)) { (response, error) in guard error == nil else { print(error) return @@ -1620,7 +1620,7 @@ No authorization required # **getUserNotifications** ```swift - open class func getUserNotifications(tenantId: String, options: ApiGetUserNotificationsOptions = .init(), completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) + open class func getUserNotifications(tenantId: String, options: GetUserNotificationsOptions = .init(), completion: @escaping (_ data: GetMyNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -1643,7 +1643,7 @@ let includeTranslations = true // Bool | (optional) let includeTenantNotifications = true // Bool | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getUserNotifications(tenantId: tenantId, options: PublicAPI.ApiGetUserNotificationsOptions(urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso)) { (response, error) in +PublicAPI.getUserNotifications(tenantId: tenantId, options: PublicAPI.GetUserNotificationsOptions(urlId: urlId, pageSize: pageSize, afterId: afterId, includeContext: includeContext, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, includeTranslations: includeTranslations, includeTenantNotifications: includeTenantNotifications, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -1740,7 +1740,7 @@ No authorization required # **getUserReactsPublic** ```swift - open class func getUserReactsPublic(tenantId: String, options: ApiGetUserReactsPublicOptions = .init(), completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) + open class func getUserReactsPublic(tenantId: String, options: GetUserReactsPublicOptions = .init(), completion: @escaping (_ data: UserReactsResponse?, _ error: Error?) -> Void) ``` @@ -1754,7 +1754,7 @@ let tenantId = "tenantId_example" // String | let postIds = ["inner_example"] // [String] | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.getUserReactsPublic(tenantId: tenantId, options: PublicAPI.ApiGetUserReactsPublicOptions(postIds: postIds, sso: sso)) { (response, error) in +PublicAPI.getUserReactsPublic(tenantId: tenantId, options: PublicAPI.GetUserReactsPublicOptions(postIds: postIds, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2140,7 +2140,7 @@ No authorization required # **reactFeedPostPublic** ```swift - open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ApiReactFeedPostPublicOptions = .init(), completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) + open class func reactFeedPostPublic(tenantId: String, postId: String, reactBodyParams: ReactBodyParams, options: ReactFeedPostPublicOptions = .init(), completion: @escaping (_ data: ReactFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2157,7 +2157,7 @@ let isUndo = true // Bool | (optional) let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.reactFeedPostPublic(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, options: PublicAPI.ApiReactFeedPostPublicOptions(isUndo: isUndo, broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.reactFeedPostPublic(tenantId: tenantId, postId: postId, reactBodyParams: reactBodyParams, options: PublicAPI.ReactFeedPostPublicOptions(isUndo: isUndo, broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2246,7 +2246,7 @@ No authorization required # **resetUserNotifications** ```swift - open class func resetUserNotifications(tenantId: String, options: ApiResetUserNotificationsOptions = .init(), completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) + open class func resetUserNotifications(tenantId: String, options: ResetUserNotificationsOptions = .init(), completion: @escaping (_ data: ResetUserNotificationsResponse?, _ error: Error?) -> Void) ``` @@ -2264,7 +2264,7 @@ let dmOnly = true // Bool | (optional) let noDm = true // Bool | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.resetUserNotifications(tenantId: tenantId, options: PublicAPI.ApiResetUserNotificationsOptions(afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso)) { (response, error) in +PublicAPI.resetUserNotifications(tenantId: tenantId, options: PublicAPI.ResetUserNotificationsOptions(afterId: afterId, afterCreatedAt: afterCreatedAt, unreadOnly: unreadOnly, dmOnly: dmOnly, noDm: noDm, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2305,7 +2305,7 @@ No authorization required # **searchUsers** ```swift - open class func searchUsers(tenantId: String, urlId: String, options: ApiSearchUsersOptions = .init(), completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) + open class func searchUsers(tenantId: String, urlId: String, options: SearchUsersOptions = .init(), completion: @escaping (_ data: SearchUsersResult?, _ error: Error?) -> Void) ``` @@ -2322,7 +2322,7 @@ let mentionGroupIds = ["inner_example"] // [String] | (optional) let sso = "sso_example" // String | (optional) let searchSection = "searchSection_example" // String | (optional) -PublicAPI.searchUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.ApiSearchUsersOptions(usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection)) { (response, error) in +PublicAPI.searchUsers(tenantId: tenantId, urlId: urlId, options: PublicAPI.SearchUsersOptions(usernameStartsWith: usernameStartsWith, mentionGroupIds: mentionGroupIds, sso: sso, searchSection: searchSection)) { (response, error) in guard error == nil else { print(error) return @@ -2362,7 +2362,7 @@ No authorization required # **setCommentText** ```swift - open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: ApiSetCommentTextOptions = .init(), completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) + open class func setCommentText(tenantId: String, commentId: String, broadcastId: String, commentTextUpdateRequest: CommentTextUpdateRequest, options: SetCommentTextOptions = .init(), completion: @escaping (_ data: PublicAPISetCommentTextResponse?, _ error: Error?) -> Void) ``` @@ -2379,7 +2379,7 @@ let commentTextUpdateRequest = CommentTextUpdateRequest(comment: "comment_exampl let editKey = "editKey_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.setCommentText(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, options: PublicAPI.ApiSetCommentTextOptions(editKey: editKey, sso: sso)) { (response, error) in +PublicAPI.setCommentText(tenantId: tenantId, commentId: commentId, broadcastId: broadcastId, commentTextUpdateRequest: commentTextUpdateRequest, options: PublicAPI.SetCommentTextOptions(editKey: editKey, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2578,7 +2578,7 @@ No authorization required # **updateFeedPostPublic** ```swift - open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: ApiUpdateFeedPostPublicOptions = .init(), completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) + open class func updateFeedPostPublic(tenantId: String, postId: String, updateFeedPostParams: UpdateFeedPostParams, options: UpdateFeedPostPublicOptions = .init(), completion: @escaping (_ data: CreateFeedPostResponse?, _ error: Error?) -> Void) ``` @@ -2594,7 +2594,7 @@ let updateFeedPostParams = UpdateFeedPostParams(title: "title_example", contentH let broadcastId = "broadcastId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.updateFeedPostPublic(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, options: PublicAPI.ApiUpdateFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in +PublicAPI.updateFeedPostPublic(tenantId: tenantId, postId: postId, updateFeedPostParams: updateFeedPostParams, options: PublicAPI.UpdateFeedPostPublicOptions(broadcastId: broadcastId, sso: sso)) { (response, error) in guard error == nil else { print(error) return @@ -2802,7 +2802,7 @@ No authorization required # **uploadImage** ```swift - open class func uploadImage(tenantId: String, file: URL, options: ApiUploadImageOptions = .init(), completion: @escaping (_ data: UploadImageResponse?, _ error: Error?) -> Void) + open class func uploadImage(tenantId: String, file: URL, options: UploadImageOptions = .init(), completion: @escaping (_ data: UploadImageResponse?, _ error: Error?) -> Void) ``` @@ -2819,7 +2819,7 @@ let file = URL(string: "https://example.com")! // URL | let sizePreset = SizePreset() // SizePreset | Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices) (optional) let urlId = "urlId_example" // String | Page id that upload is happening from, to configure (optional) -PublicAPI.uploadImage(tenantId: tenantId, file: file, options: PublicAPI.ApiUploadImageOptions(sizePreset: sizePreset, urlId: urlId)) { (response, error) in +PublicAPI.uploadImage(tenantId: tenantId, file: file, options: PublicAPI.UploadImageOptions(sizePreset: sizePreset, urlId: urlId)) { (response, error) in guard error == nil else { print(error) return @@ -2857,7 +2857,7 @@ No authorization required # **voteComment** ```swift - open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: ApiVoteCommentOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) + open class func voteComment(tenantId: String, commentId: String, urlId: String, broadcastId: String, voteBodyParams: VoteBodyParams, options: VoteCommentOptions = .init(), completion: @escaping (_ data: VoteResponse?, _ error: Error?) -> Void) ``` @@ -2875,7 +2875,7 @@ let voteBodyParams = VoteBodyParams(commenterEmail: "commenterEmail_example", co let sessionId = "sessionId_example" // String | (optional) let sso = "sso_example" // String | (optional) -PublicAPI.voteComment(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, options: PublicAPI.ApiVoteCommentOptions(sessionId: sessionId, sso: sso)) { (response, error) in +PublicAPI.voteComment(tenantId: tenantId, commentId: commentId, urlId: urlId, broadcastId: broadcastId, voteBodyParams: voteBodyParams, options: PublicAPI.VoteCommentOptions(sessionId: sessionId, sso: sso)) { (response, error) in guard error == nil else { print(error) return 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" } From 72f6e7f0a959370cf3fa407914afd065bd8d17de Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 10:39:44 -0700 Subject: [PATCH 09/10] README: shorten the ModerationApi description Replace the long capability enumeration with a concise summary. --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 9d81f1b..b5f9609 100644 --- a/README.md +++ b/README.md @@ -188,13 +188,7 @@ The `DefaultAPI` contains authenticated methods that require an API key. These m ### ModerationAPI - Moderator Dashboard Methods -The `ModerationAPI` contains methods that power the moderator dashboard. These methods cover: -- **Comment moderation** - list, count, search, retrieve logs, and export comments -- **Moderation actions** - remove/restore comments, flag, set review/spam/approval status, manage votes, and reopen/close threads -- **Bans** - ban a user from a comment, undo bans, fetch pre-ban summaries, check ban status and preferences, and read banned-user counts -- **Badges & trust** - award/remove badges, list manual badges, get/set a user's trust factor, and read a user's internal profile - -Every `ModerationAPI` method accepts an `sso` parameter so moderators can be authenticated via SSO. +The `ModerationAPI` provides an extensive suite of live and fast moderation APIs. Every `ModerationAPI` method accepts an `sso` parameter and can authenticate via SSO or a FastComments.com session cookie. **Example use case**: Building a moderation experience for moderators of your community From 46c6b44a25d3f4f64807af343b529f1904e508c1 Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 12:10:23 -0700 Subject: [PATCH 10/10] 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. --- README.md | 2 +- client/FastCommentsSwift.podspec | 4 ++-- client/project.yml | 2 +- config.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b5f9609..425a438 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Add the following to your `Package.swift` file: ```swift dependencies: [ - .package(url: "https://github.com/fastcomments/fastcomments-swift.git", from: "2.0.0") + .package(url: "https://github.com/fastcomments/fastcomments-swift.git", from: "3.0.0") ] ``` diff --git a/client/FastCommentsSwift.podspec b/client/FastCommentsSwift.podspec index 500b28c..6a06e43 100644 --- a/client/FastCommentsSwift.podspec +++ b/client/FastCommentsSwift.podspec @@ -4,8 +4,8 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.15' s.tvos.deployment_target = '13.0' s.watchos.deployment_target = '6.0' - s.version = '1.3.2' - s.source = {"git":"https://github.com/fastcomments/fastcomments-swift.git","tag":"1.3.2"} + s.version = '3.0.0' + s.source = {"git":"https://github.com/fastcomments/fastcomments-swift.git","tag":"3.0.0"} s.authors = 'FastComments' s.license = MIT s.homepage = 'https://fastcomments.com' diff --git a/client/project.yml b/client/project.yml index dbc06dc..8d71c6a 100644 --- a/client/project.yml +++ b/client/project.yml @@ -7,7 +7,7 @@ targets: sources: [FastCommentsSwift] info: path: ./Info.plist - version: 1.3.2 + version: 3.0.0 settings: APPLICATION_EXTENSION_API_ONLY: true scheme: {} diff --git a/config.json b/config.json index 63d369f..b2019f0 100644 --- a/config.json +++ b/config.json @@ -4,8 +4,8 @@ "podDescription": "FastComments API Client - A SDK for interacting with the FastComments API", "podHomepage": "https://fastcomments.com", "podLicense": "MIT", - "podSource": "{\"git\":\"https://github.com/fastcomments/fastcomments-swift.git\",\"tag\":\"1.3.2\"}", - "podVersion": "1.3.2", + "podSource": "{\"git\":\"https://github.com/fastcomments/fastcomments-swift.git\",\"tag\":\"3.0.0\"}", + "podVersion": "3.0.0", "swiftPackagePath": "FastCommentsSwift", "hideGenerationTimestamp": true, "useSingleRequestParameter": true,