fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
3,083 lines • 116 kB
TypeScript
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { BlockFromCommentPublic200Response } from '../model';
import type { CheckedCommentsForBlocked200Response } from '../model';
import type { CommentData } from '../model';
import type { CommentTextUpdateRequest } from '../model';
import type { CreateCommentPublic200Response } from '../model';
import type { CreateFeedPostParams } from '../model';
import type { CreateFeedPostPublic200Response } from '../model';
import type { DeleteCommentPublic200Response } from '../model';
import type { DeleteCommentVote200Response } from '../model';
import type { DeleteFeedPostPublic200Response } from '../model';
import type { FlagCommentPublic200Response } from '../model';
import type { GetCommentText200Response } from '../model';
import type { GetCommentVoteUserNames200Response } from '../model';
import type { GetCommentsPublic200Response } from '../model';
import type { GetEventLog200Response } from '../model';
import type { GetFeedPostsPublic200Response } from '../model';
import type { GetFeedPostsStats200Response } from '../model';
import type { GetUserNotificationCount200Response } from '../model';
import type { GetUserNotifications200Response } from '../model';
import type { GetUserPresenceStatuses200Response } from '../model';
import type { GetUserReactsPublic200Response } from '../model';
import type { LockComment200Response } from '../model';
import type { PinComment200Response } from '../model';
import type { PublicBlockFromCommentParams } from '../model';
import type { ReactBodyParams } from '../model';
import type { ReactFeedPostPublic200Response } from '../model';
import type { ResetUserNotifications200Response } from '../model';
import type { SearchUsers200Response } from '../model';
import type { SetCommentText200Response } from '../model';
import type { SizePreset } from '../model';
import type { SortDirections } from '../model';
import type { UnBlockCommentPublic200Response } from '../model';
import type { UpdateFeedPostParams } from '../model';
import type { UpdateUserNotificationStatus200Response } from '../model';
import type { UploadImageResponse } from '../model';
import type { VoteBodyParams } from '../model';
import type { VoteComment200Response } from '../model';
/**
* PublicApi - axios parameter creator
* @export
*/
export declare const PublicApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
blockFromCommentPublic: (tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentIds A comma separated list of comment ids.
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
checkedCommentsForBlocked: (tenantId: string, commentIds: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} urlId
* @param {string} broadcastId
* @param {CommentData} commentData
* @param {string} [sessionId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommentPublic: (tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {CreateFeedPostParams} createFeedPostParams
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createFeedPostPublic: (tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommentPublic: (tenantId: string, commentId: string, broadcastId: string, editKey?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} voteId
* @param {string} urlId
* @param {string} broadcastId
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommentVote: (tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} postId
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteFeedPostPublic: (tenantId: string, postId: string, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {boolean} isFlagged
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
flagCommentPublic: (tenantId: string, commentId: string, isFlagged: boolean, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentText: (tenantId: string, commentId: string, editKey?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {number} dir
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentVoteUserNames: (tenantId: string, commentId: string, dir: number, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* req tenantId urlId
* @param {string} tenantId
* @param {string} urlId
* @param {number} [page]
* @param {SortDirections} [direction]
* @param {string} [sso]
* @param {number} [skip]
* @param {number} [skipChildren]
* @param {number} [limit]
* @param {number} [limitChildren]
* @param {boolean} [countChildren]
* @param {string} [fetchPageForCommentId]
* @param {boolean} [includeConfig]
* @param {boolean} [countAll]
* @param {boolean} [includei10n]
* @param {string} [locale]
* @param {string} [modules]
* @param {boolean} [isCrawler]
* @param {boolean} [includeNotificationCount]
* @param {boolean} [asTree]
* @param {number} [maxTreeDepth]
* @param {boolean} [useFullTranslationIds]
* @param {string} [parentId]
* @param {string} [searchText]
* @param {Array<string>} [hashTags]
* @param {string} [userId]
* @param {string} [customConfigStr]
* @param {string} [afterCommentId]
* @param {string} [beforeCommentId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentsPublic: (tenantId: string, urlId: string, page?: number, direction?: SortDirections, sso?: string, skip?: number, skipChildren?: number, limit?: number, limitChildren?: number, countChildren?: boolean, fetchPageForCommentId?: string, includeConfig?: boolean, countAll?: boolean, includei10n?: boolean, locale?: string, modules?: string, isCrawler?: boolean, includeNotificationCount?: boolean, asTree?: boolean, maxTreeDepth?: number, useFullTranslationIds?: boolean, parentId?: string, searchText?: string, hashTags?: Array<string>, userId?: string, customConfigStr?: string, afterCommentId?: string, beforeCommentId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* req tenantId urlId userIdWS
* @param {string} tenantId
* @param {string} urlId
* @param {string} userIdWS
* @param {number} startTime
* @param {number} endTime
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getEventLog: (tenantId: string, urlId: string, userIdWS: string, startTime: number, endTime: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* req tenantId afterId
* @param {string} tenantId
* @param {string} [afterId]
* @param {number} [limit]
* @param {Array<string>} [tags]
* @param {string} [sso]
* @param {boolean} [isCrawler]
* @param {boolean} [includeUserInfo]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPostsPublic: (tenantId: string, afterId?: string, limit?: number, tags?: Array<string>, sso?: string, isCrawler?: boolean, includeUserInfo?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {Array<string>} postIds
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPostsStats: (tenantId: string, postIds: Array<string>, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* req tenantId urlId userIdWS
* @param {string} tenantId
* @param {string} urlId
* @param {string} userIdWS
* @param {number} startTime
* @param {number} endTime
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getGlobalEventLog: (tenantId: string, urlId: string, userIdWS: string, startTime: number, endTime: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserNotificationCount: (tenantId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {number} [pageSize] Defaults to 20.
* @param {string} [afterId]
* @param {boolean} [includeContext]
* @param {number} [afterCreatedAt]
* @param {boolean} [unreadOnly]
* @param {boolean} [dmOnly]
* @param {boolean} [noDm]
* @param {boolean} [includeTranslations]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserNotifications: (tenantId: string, pageSize?: number, afterId?: string, includeContext?: boolean, afterCreatedAt?: number, unreadOnly?: boolean, dmOnly?: boolean, noDm?: boolean, includeTranslations?: boolean, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} urlIdWS
* @param {string} userIds
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserPresenceStatuses: (tenantId: string, urlIdWS: string, userIds: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {Array<string>} [postIds]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserReactsPublic: (tenantId: string, postIds?: Array<string>, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
lockComment: (tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
pinComment: (tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} postId
* @param {ReactBodyParams} reactBodyParams
* @param {boolean} [isUndo]
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
reactFeedPostPublic: (tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo?: boolean, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resetUserNotificationCount: (tenantId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [afterId]
* @param {number} [afterCreatedAt]
* @param {boolean} [unreadOnly]
* @param {boolean} [dmOnly]
* @param {boolean} [noDm]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resetUserNotifications: (tenantId: string, afterId?: string, afterCreatedAt?: number, unreadOnly?: boolean, dmOnly?: boolean, noDm?: boolean, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} urlId
* @param {string} usernameStartsWith
* @param {Array<string>} [mentionGroupIds]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
searchUsers: (tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds?: Array<string>, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {CommentTextUpdateRequest} commentTextUpdateRequest
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
setCommentText: (tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unBlockCommentPublic: (tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unLockComment: (tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unPinComment: (tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} postId
* @param {UpdateFeedPostParams} updateFeedPostParams
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateFeedPostPublic: (tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Enable or disable notifications for a specific comment.
* @param {string} tenantId
* @param {string} notificationId
* @param {UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum} optedInOrOut
* @param {string} commentId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationCommentSubscriptionStatus: (tenantId: string, notificationId: string, optedInOrOut: UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum, commentId: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
* @param {string} tenantId
* @param {string} urlId
* @param {string} url
* @param {string} pageTitle
* @param {UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum} subscribedOrUnsubscribed
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationPageSubscriptionStatus: (tenantId: string, urlId: string, url: string, pageTitle: string, subscribedOrUnsubscribed: UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} notificationId
* @param {UpdateUserNotificationStatusNewStatusEnum} newStatus
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationStatus: (tenantId: string, notificationId: string, newStatus: UpdateUserNotificationStatusNewStatusEnum, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Upload and resize an image
* @param {string} tenantId
* @param {File} file
* @param {SizePreset} [sizePreset] Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices)
* @param {string} [urlId] Page id that upload is happening from, to configure
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
uploadImage: (tenantId: string, file: File, sizePreset?: SizePreset, urlId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} urlId
* @param {string} broadcastId
* @param {VoteBodyParams} voteBodyParams
* @param {string} [sessionId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
voteComment: (tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId?: string, sso?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* PublicApi - functional programming interface
* @export
*/
export declare const PublicApiFp: (configuration?: Configuration) => {
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
blockFromCommentPublic(tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockFromCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentIds A comma separated list of comment ids.
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
checkedCommentsForBlocked(tenantId: string, commentIds: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckedCommentsForBlocked200Response>>;
/**
*
* @param {string} tenantId
* @param {string} urlId
* @param {string} broadcastId
* @param {CommentData} commentData
* @param {string} [sessionId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommentPublic(tenantId: string, urlId: string, broadcastId: string, commentData: CommentData, sessionId?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {CreateFeedPostParams} createFeedPostParams
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createFeedPostPublic(tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFeedPostPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommentPublic(tenantId: string, commentId: string, broadcastId: string, editKey?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} voteId
* @param {string} urlId
* @param {string} broadcastId
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommentVote(tenantId: string, commentId: string, voteId: string, urlId: string, broadcastId: string, editKey?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteCommentVote200Response>>;
/**
*
* @param {string} tenantId
* @param {string} postId
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteFeedPostPublic(tenantId: string, postId: string, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteFeedPostPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {boolean} isFlagged
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
flagCommentPublic(tenantId: string, commentId: string, isFlagged: boolean, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentText(tenantId: string, commentId: string, editKey?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommentText200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {number} dir
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentVoteUserNames(tenantId: string, commentId: string, dir: number, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommentVoteUserNames200Response>>;
/**
* req tenantId urlId
* @param {string} tenantId
* @param {string} urlId
* @param {number} [page]
* @param {SortDirections} [direction]
* @param {string} [sso]
* @param {number} [skip]
* @param {number} [skipChildren]
* @param {number} [limit]
* @param {number} [limitChildren]
* @param {boolean} [countChildren]
* @param {string} [fetchPageForCommentId]
* @param {boolean} [includeConfig]
* @param {boolean} [countAll]
* @param {boolean} [includei10n]
* @param {string} [locale]
* @param {string} [modules]
* @param {boolean} [isCrawler]
* @param {boolean} [includeNotificationCount]
* @param {boolean} [asTree]
* @param {number} [maxTreeDepth]
* @param {boolean} [useFullTranslationIds]
* @param {string} [parentId]
* @param {string} [searchText]
* @param {Array<string>} [hashTags]
* @param {string} [userId]
* @param {string} [customConfigStr]
* @param {string} [afterCommentId]
* @param {string} [beforeCommentId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentsPublic(tenantId: string, urlId: string, page?: number, direction?: SortDirections, sso?: string, skip?: number, skipChildren?: number, limit?: number, limitChildren?: number, countChildren?: boolean, fetchPageForCommentId?: string, includeConfig?: boolean, countAll?: boolean, includei10n?: boolean, locale?: string, modules?: string, isCrawler?: boolean, includeNotificationCount?: boolean, asTree?: boolean, maxTreeDepth?: number, useFullTranslationIds?: boolean, parentId?: string, searchText?: string, hashTags?: Array<string>, userId?: string, customConfigStr?: string, afterCommentId?: string, beforeCommentId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommentsPublic200Response>>;
/**
* req tenantId urlId userIdWS
* @param {string} tenantId
* @param {string} urlId
* @param {string} userIdWS
* @param {number} startTime
* @param {number} endTime
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getEventLog(tenantId: string, urlId: string, userIdWS: string, startTime: number, endTime: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventLog200Response>>;
/**
* req tenantId afterId
* @param {string} tenantId
* @param {string} [afterId]
* @param {number} [limit]
* @param {Array<string>} [tags]
* @param {string} [sso]
* @param {boolean} [isCrawler]
* @param {boolean} [includeUserInfo]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPostsPublic(tenantId: string, afterId?: string, limit?: number, tags?: Array<string>, sso?: string, isCrawler?: boolean, includeUserInfo?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFeedPostsPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {Array<string>} postIds
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPostsStats(tenantId: string, postIds: Array<string>, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFeedPostsStats200Response>>;
/**
* req tenantId urlId userIdWS
* @param {string} tenantId
* @param {string} urlId
* @param {string} userIdWS
* @param {number} startTime
* @param {number} endTime
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getGlobalEventLog(tenantId: string, urlId: string, userIdWS: string, startTime: number, endTime: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventLog200Response>>;
/**
*
* @param {string} tenantId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserNotificationCount(tenantId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserNotificationCount200Response>>;
/**
*
* @param {string} tenantId
* @param {number} [pageSize] Defaults to 20.
* @param {string} [afterId]
* @param {boolean} [includeContext]
* @param {number} [afterCreatedAt]
* @param {boolean} [unreadOnly]
* @param {boolean} [dmOnly]
* @param {boolean} [noDm]
* @param {boolean} [includeTranslations]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserNotifications(tenantId: string, pageSize?: number, afterId?: string, includeContext?: boolean, afterCreatedAt?: number, unreadOnly?: boolean, dmOnly?: boolean, noDm?: boolean, includeTranslations?: boolean, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserNotifications200Response>>;
/**
*
* @param {string} tenantId
* @param {string} urlIdWS
* @param {string} userIds
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserPresenceStatuses(tenantId: string, urlIdWS: string, userIds: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPresenceStatuses200Response>>;
/**
*
* @param {string} tenantId
* @param {Array<string>} [postIds]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserReactsPublic(tenantId: string, postIds?: Array<string>, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserReactsPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
lockComment(tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LockComment200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
pinComment(tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PinComment200Response>>;
/**
*
* @param {string} tenantId
* @param {string} postId
* @param {ReactBodyParams} reactBodyParams
* @param {boolean} [isUndo]
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
reactFeedPostPublic(tenantId: string, postId: string, reactBodyParams: ReactBodyParams, isUndo?: boolean, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReactFeedPostPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resetUserNotificationCount(tenantId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResetUserNotifications200Response>>;
/**
*
* @param {string} tenantId
* @param {string} [afterId]
* @param {number} [afterCreatedAt]
* @param {boolean} [unreadOnly]
* @param {boolean} [dmOnly]
* @param {boolean} [noDm]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resetUserNotifications(tenantId: string, afterId?: string, afterCreatedAt?: number, unreadOnly?: boolean, dmOnly?: boolean, noDm?: boolean, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResetUserNotifications200Response>>;
/**
*
* @param {string} tenantId
* @param {string} urlId
* @param {string} usernameStartsWith
* @param {Array<string>} [mentionGroupIds]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
searchUsers(tenantId: string, urlId: string, usernameStartsWith: string, mentionGroupIds?: Array<string>, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchUsers200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {CommentTextUpdateRequest} commentTextUpdateRequest
* @param {string} [editKey]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
setCommentText(tenantId: string, commentId: string, broadcastId: string, commentTextUpdateRequest: CommentTextUpdateRequest, editKey?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetCommentText200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {PublicBlockFromCommentParams} publicBlockFromCommentParams
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unBlockCommentPublic(tenantId: string, commentId: string, publicBlockFromCommentParams: PublicBlockFromCommentParams, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnBlockCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unLockComment(tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LockComment200Response>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} broadcastId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unPinComment(tenantId: string, commentId: string, broadcastId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PinComment200Response>>;
/**
*
* @param {string} tenantId
* @param {string} postId
* @param {UpdateFeedPostParams} updateFeedPostParams
* @param {string} [broadcastId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateFeedPostPublic(tenantId: string, postId: string, updateFeedPostParams: UpdateFeedPostParams, broadcastId?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFeedPostPublic200Response>>;
/**
* Enable or disable notifications for a specific comment.
* @param {string} tenantId
* @param {string} notificationId
* @param {UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum} optedInOrOut
* @param {string} commentId
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationCommentSubscriptionStatus(tenantId: string, notificationId: string, optedInOrOut: UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum, commentId: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserNotificationStatus200Response>>;
/**
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
* @param {string} tenantId
* @param {string} urlId
* @param {string} url
* @param {string} pageTitle
* @param {UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum} subscribedOrUnsubscribed
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationPageSubscriptionStatus(tenantId: string, urlId: string, url: string, pageTitle: string, subscribedOrUnsubscribed: UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserNotificationStatus200Response>>;
/**
*
* @param {string} tenantId
* @param {string} notificationId
* @param {UpdateUserNotificationStatusNewStatusEnum} newStatus
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationStatus(tenantId: string, notificationId: string, newStatus: UpdateUserNotificationStatusNewStatusEnum, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserNotificationStatus200Response>>;
/**
* Upload and resize an image
* @param {string} tenantId
* @param {File} file
* @param {SizePreset} [sizePreset] Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices)
* @param {string} [urlId] Page id that upload is happening from, to configure
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
uploadImage(tenantId: string, file: File, sizePreset?: SizePreset, urlId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadImageResponse>>;
/**
*
* @param {string} tenantId
* @param {string} commentId
* @param {string} urlId
* @param {string} broadcastId
* @param {VoteBodyParams} voteBodyParams
* @param {string} [sessionId]
* @param {string} [sso]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
voteComment(tenantId: string, commentId: string, urlId: string, broadcastId: string, voteBodyParams: VoteBodyParams, sessionId?: string, sso?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoteComment200Response>>;
};
/**
* PublicApi - factory interface
* @export
*/
export declare const PublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @param {PublicApiBlockFromCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
blockFromCommentPublic(requestParameters: PublicApiBlockFromCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlockFromCommentPublic200Response>;
/**
*
* @param {PublicApiCheckedCommentsForBlockedRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
checkedCommentsForBlocked(requestParameters: PublicApiCheckedCommentsForBlockedRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckedCommentsForBlocked200Response>;
/**
*
* @param {PublicApiCreateCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommentPublic(requestParameters: PublicApiCreateCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateCommentPublic200Response>;
/**
*
* @param {PublicApiCreateFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createFeedPostPublic(requestParameters: PublicApiCreateFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedPostPublic200Response>;
/**
*
* @param {PublicApiDeleteCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommentPublic(requestParameters: PublicApiDeleteCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCommentPublic200Response>;
/**
*
* @param {PublicApiDeleteCommentVoteRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommentVote(requestParameters: PublicApiDeleteCommentVoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCommentVote200Response>;
/**
*
* @param {PublicApiDeleteFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteFeedPostPublic(requestParameters: PublicApiDeleteFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteFeedPostPublic200Response>;
/**
*
* @param {PublicApiFlagCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
flagCommentPublic(requestParameters: PublicApiFlagCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagCommentPublic200Response>;
/**
*
* @param {PublicApiGetCommentTextRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentText(requestParameters: PublicApiGetCommentTextRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCommentText200Response>;
/**
*
* @param {PublicApiGetCommentVoteUserNamesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentVoteUserNames(requestParameters: PublicApiGetCommentVoteUserNamesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCommentVoteUserNames200Response>;
/**
* req tenantId urlId
* @param {PublicApiGetCommentsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommentsPublic(requestParameters: PublicApiGetCommentsPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCommentsPublic200Response>;
/**
* req tenantId urlId userIdWS
* @param {PublicApiGetEventLogRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getEventLog(requestParameters: PublicApiGetEventLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventLog200Response>;
/**
* req tenantId afterId
* @param {PublicApiGetFeedPostsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPostsPublic(requestParameters: PublicApiGetFeedPostsPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeedPostsPublic200Response>;
/**
*
* @param {PublicApiGetFeedPostsStatsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPostsStats(requestParameters: PublicApiGetFeedPostsStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeedPostsStats200Response>;
/**
* req tenantId urlId userIdWS
* @param {PublicApiGetGlobalEventLogRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getGlobalEventLog(requestParameters: PublicApiGetGlobalEventLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventLog200Response>;
/**
*
* @param {PublicApiGetUserNotificationCountRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserNotificationCount(requestParameters: PublicApiGetUserNotificationCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserNotificationCount200Response>;
/**
*
* @param {PublicApiGetUserNotificationsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserNotifications(requestParameters: PublicApiGetUserNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserNotifications200Response>;
/**
*
* @param {PublicApiGetUserPresenceStatusesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserPresenceStatuses(requestParameters: PublicApiGetUserPresenceStatusesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPresenceStatuses200Response>;
/**
*
* @param {PublicApiGetUserReactsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserReactsPublic(requestParameters: PublicApiGetUserReactsPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserReactsPublic200Response>;
/**
*
* @param {PublicApiLockCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
lockComment(requestParameters: PublicApiLockCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<LockComment200Response>;
/**
*
* @param {PublicApiPinCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
pinComment(requestParameters: PublicApiPinCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PinComment200Response>;
/**
*
* @param {PublicApiReactFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
reactFeedPostPublic(requestParameters: PublicApiReactFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReactFeedPostPublic200Response>;
/**
*
* @param {PublicApiResetUserNotificationCountRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resetUserNotificationCount(requestParameters: PublicApiResetUserNotificationCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResetUserNotifications200Response>;
/**
*
* @param {PublicApiResetUserNotificationsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
resetUserNotifications(requestParameters: PublicApiResetUserNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResetUserNotifications200Response>;
/**
*
* @param {PublicApiSearchUsersRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
searchUsers(requestParameters: PublicApiSearchUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchUsers200Response>;
/**
*
* @param {PublicApiSetCommentTextRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
setCommentText(requestParameters: PublicApiSetCommentTextRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetCommentText200Response>;
/**
*
* @param {PublicApiUnBlockCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unBlockCommentPublic(requestParameters: PublicApiUnBlockCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<UnBlockCommentPublic200Response>;
/**
*
* @param {PublicApiUnLockCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unLockComment(requestParameters: PublicApiUnLockCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<LockComment200Response>;
/**
*
* @param {PublicApiUnPinCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unPinComment(requestParameters: PublicApiUnPinCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PinComment200Response>;
/**
*
* @param {PublicApiUpdateFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateFeedPostPublic(requestParameters: PublicApiUpdateFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedPostPublic200Response>;
/**
* Enable or disable notifications for a specific comment.
* @param {PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationCommentSubscriptionStatus(requestParameters: PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserNotificationStatus200Response>;
/**
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
* @param {PublicApiUpdateUserNotificationPageSubscriptionStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationPageSubscriptionStatus(requestParameters: PublicApiUpdateUserNotificationPageSubscriptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserNotificationStatus200Response>;
/**
*
* @param {PublicApiUpdateUserNotificationStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserNotificationStatus(requestParameters: PublicApiUpdateUserNotificationStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserNotificationStatus200Response>;
/**
* Upload and resize an image
* @param {PublicApiUploadImageRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
uploadImage(requestParameters: PublicApiUploadImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<UploadImageResponse>;
/**
*
* @param {PublicApiVoteCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
voteComment(requestParameters: PublicApiVoteCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<VoteComment200Response>;
};
/**
* PublicApi - interface
* @export
* @interface PublicApi
*/
export interface PublicApiInterface {
/**
*
* @param {PublicApiBlockFromCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
blockFromCommentPublic(requestParameters: PublicApiBlockFromCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlockFromCommentPublic200Response>;
/**
*
* @param {PublicApiCheckedCommentsForBlockedRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
checkedCommentsForBlocked(requestParameters: PublicApiCheckedCommentsForBlockedRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckedCommentsForBlocked200Response>;
/**
*
* @param {PublicApiCreateCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
createCommentPublic(requestParameters: PublicApiCreateCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateCommentPublic200Response>;
/**
*
* @param {PublicApiCreateFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
createFeedPostPublic(requestParameters: PublicApiCreateFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedPostPublic200Response>;
/**
*
* @param {PublicApiDeleteCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
deleteCommentPublic(requestParameters: PublicApiDeleteCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCommentPublic200Response>;
/**
*
* @param {PublicApiDeleteCommentVoteRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
deleteCommentVote(requestParameters: PublicApiDeleteCommentVoteRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCommentVote200Response>;
/**
*
* @param {PublicApiDeleteFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
deleteFeedPostPublic(requestParameters: PublicApiDeleteFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteFeedPostPublic200Response>;
/**
*
* @param {PublicApiFlagCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
flagCommentPublic(requestParameters: PublicApiFlagCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagCommentPublic200Response>;
/**
*
* @param {PublicApiGetCommentTextRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getCommentText(requestParameters: PublicApiGetCommentTextRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCommentText200Response>;
/**
*
* @param {PublicApiGetCommentVoteUserNamesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getCommentVoteUserNames(requestParameters: PublicApiGetCommentVoteUserNamesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCommentVoteUserNames200Response>;
/**
* req tenantId urlId
* @param {PublicApiGetCommentsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getCommentsPublic(requestParameters: PublicApiGetCommentsPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCommentsPublic200Response>;
/**
* req tenantId urlId userIdWS
* @param {PublicApiGetEventLogRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getEventLog(requestParameters: PublicApiGetEventLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventLog200Response>;
/**
* req tenantId afterId
* @param {PublicApiGetFeedPostsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getFeedPostsPublic(requestParameters: PublicApiGetFeedPostsPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeedPostsPublic200Response>;
/**
*
* @param {PublicApiGetFeedPostsStatsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getFeedPostsStats(requestParameters: PublicApiGetFeedPostsStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeedPostsStats200Response>;
/**
* req tenantId urlId userIdWS
* @param {PublicApiGetGlobalEventLogRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getGlobalEventLog(requestParameters: PublicApiGetGlobalEventLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventLog200Response>;
/**
*
* @param {PublicApiGetUserNotificationCountRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getUserNotificationCount(requestParameters: PublicApiGetUserNotificationCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserNotificationCount200Response>;
/**
*
* @param {PublicApiGetUserNotificationsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getUserNotifications(requestParameters: PublicApiGetUserNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserNotifications200Response>;
/**
*
* @param {PublicApiGetUserPresenceStatusesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getUserPresenceStatuses(requestParameters: PublicApiGetUserPresenceStatusesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPresenceStatuses200Response>;
/**
*
* @param {PublicApiGetUserReactsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
getUserReactsPublic(requestParameters: PublicApiGetUserReactsPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserReactsPublic200Response>;
/**
*
* @param {PublicApiLockCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
lockComment(requestParameters: PublicApiLockCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<LockComment200Response>;
/**
*
* @param {PublicApiPinCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
pinComment(requestParameters: PublicApiPinCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PinComment200Response>;
/**
*
* @param {PublicApiReactFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
reactFeedPostPublic(requestParameters: PublicApiReactFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReactFeedPostPublic200Response>;
/**
*
* @param {PublicApiResetUserNotificationCountRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
resetUserNotificationCount(requestParameters: PublicApiResetUserNotificationCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResetUserNotifications200Response>;
/**
*
* @param {PublicApiResetUserNotificationsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
resetUserNotifications(requestParameters: PublicApiResetUserNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ResetUserNotifications200Response>;
/**
*
* @param {PublicApiSearchUsersRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
searchUsers(requestParameters: PublicApiSearchUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchUsers200Response>;
/**
*
* @param {PublicApiSetCommentTextRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
setCommentText(requestParameters: PublicApiSetCommentTextRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetCommentText200Response>;
/**
*
* @param {PublicApiUnBlockCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
unBlockCommentPublic(requestParameters: PublicApiUnBlockCommentPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<UnBlockCommentPublic200Response>;
/**
*
* @param {PublicApiUnLockCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
unLockComment(requestParameters: PublicApiUnLockCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<LockComment200Response>;
/**
*
* @param {PublicApiUnPinCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
unPinComment(requestParameters: PublicApiUnPinCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PinComment200Response>;
/**
*
* @param {PublicApiUpdateFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
updateFeedPostPublic(requestParameters: PublicApiUpdateFeedPostPublicRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedPostPublic200Response>;
/**
* Enable or disable notifications for a specific comment.
* @param {PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
updateUserNotificationCommentSubscriptionStatus(requestParameters: PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserNotificationStatus200Response>;
/**
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
* @param {PublicApiUpdateUserNotificationPageSubscriptionStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
updateUserNotificationPageSubscriptionStatus(requestParameters: PublicApiUpdateUserNotificationPageSubscriptionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserNotificationStatus200Response>;
/**
*
* @param {PublicApiUpdateUserNotificationStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
updateUserNotificationStatus(requestParameters: PublicApiUpdateUserNotificationStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserNotificationStatus200Response>;
/**
* Upload and resize an image
* @param {PublicApiUploadImageRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
uploadImage(requestParameters: PublicApiUploadImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<UploadImageResponse>;
/**
*
* @param {PublicApiVoteCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApiInterface
*/
voteComment(requestParameters: PublicApiVoteCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<VoteComment200Response>;
}
/**
* Request parameters for blockFromCommentPublic operation in PublicApi.
* @export
* @interface PublicApiBlockFromCommentPublicRequest
*/
export interface PublicApiBlockFromCommentPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiBlockFromCommentPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiBlockFromCommentPublic
*/
readonly commentId: string;
/**
*
* @type {PublicBlockFromCommentParams}
* @memberof PublicApiBlockFromCommentPublic
*/
readonly publicBlockFromCommentParams: PublicBlockFromCommentParams;
/**
*
* @type {string}
* @memberof PublicApiBlockFromCommentPublic
*/
readonly sso?: string;
}
/**
* Request parameters for checkedCommentsForBlocked operation in PublicApi.
* @export
* @interface PublicApiCheckedCommentsForBlockedRequest
*/
export interface PublicApiCheckedCommentsForBlockedRequest {
/**
*
* @type {string}
* @memberof PublicApiCheckedCommentsForBlocked
*/
readonly tenantId: string;
/**
* A comma separated list of comment ids.
* @type {string}
* @memberof PublicApiCheckedCommentsForBlocked
*/
readonly commentIds: string;
/**
*
* @type {string}
* @memberof PublicApiCheckedCommentsForBlocked
*/
readonly sso?: string;
}
/**
* Request parameters for createCommentPublic operation in PublicApi.
* @export
* @interface PublicApiCreateCommentPublicRequest
*/
export interface PublicApiCreateCommentPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiCreateCommentPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiCreateCommentPublic
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiCreateCommentPublic
*/
readonly broadcastId: string;
/**
*
* @type {CommentData}
* @memberof PublicApiCreateCommentPublic
*/
readonly commentData: CommentData;
/**
*
* @type {string}
* @memberof PublicApiCreateCommentPublic
*/
readonly sessionId?: string;
/**
*
* @type {string}
* @memberof PublicApiCreateCommentPublic
*/
readonly sso?: string;
}
/**
* Request parameters for createFeedPostPublic operation in PublicApi.
* @export
* @interface PublicApiCreateFeedPostPublicRequest
*/
export interface PublicApiCreateFeedPostPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiCreateFeedPostPublic
*/
readonly tenantId: string;
/**
*
* @type {CreateFeedPostParams}
* @memberof PublicApiCreateFeedPostPublic
*/
readonly createFeedPostParams: CreateFeedPostParams;
/**
*
* @type {string}
* @memberof PublicApiCreateFeedPostPublic
*/
readonly broadcastId?: string;
/**
*
* @type {string}
* @memberof PublicApiCreateFeedPostPublic
*/
readonly sso?: string;
}
/**
* Request parameters for deleteCommentPublic operation in PublicApi.
* @export
* @interface PublicApiDeleteCommentPublicRequest
*/
export interface PublicApiDeleteCommentPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentPublic
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentPublic
*/
readonly broadcastId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentPublic
*/
readonly editKey?: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentPublic
*/
readonly sso?: string;
}
/**
* Request parameters for deleteCommentVote operation in PublicApi.
* @export
* @interface PublicApiDeleteCommentVoteRequest
*/
export interface PublicApiDeleteCommentVoteRequest {
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly voteId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly broadcastId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly editKey?: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteCommentVote
*/
readonly sso?: string;
}
/**
* Request parameters for deleteFeedPostPublic operation in PublicApi.
* @export
* @interface PublicApiDeleteFeedPostPublicRequest
*/
export interface PublicApiDeleteFeedPostPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiDeleteFeedPostPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteFeedPostPublic
*/
readonly postId: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteFeedPostPublic
*/
readonly broadcastId?: string;
/**
*
* @type {string}
* @memberof PublicApiDeleteFeedPostPublic
*/
readonly sso?: string;
}
/**
* Request parameters for flagCommentPublic operation in PublicApi.
* @export
* @interface PublicApiFlagCommentPublicRequest
*/
export interface PublicApiFlagCommentPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiFlagCommentPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiFlagCommentPublic
*/
readonly commentId: string;
/**
*
* @type {boolean}
* @memberof PublicApiFlagCommentPublic
*/
readonly isFlagged: boolean;
/**
*
* @type {string}
* @memberof PublicApiFlagCommentPublic
*/
readonly sso?: string;
}
/**
* Request parameters for getCommentText operation in PublicApi.
* @export
* @interface PublicApiGetCommentTextRequest
*/
export interface PublicApiGetCommentTextRequest {
/**
*
* @type {string}
* @memberof PublicApiGetCommentText
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentText
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentText
*/
readonly editKey?: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentText
*/
readonly sso?: string;
}
/**
* Request parameters for getCommentVoteUserNames operation in PublicApi.
* @export
* @interface PublicApiGetCommentVoteUserNamesRequest
*/
export interface PublicApiGetCommentVoteUserNamesRequest {
/**
*
* @type {string}
* @memberof PublicApiGetCommentVoteUserNames
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentVoteUserNames
*/
readonly commentId: string;
/**
*
* @type {number}
* @memberof PublicApiGetCommentVoteUserNames
*/
readonly dir: number;
/**
*
* @type {string}
* @memberof PublicApiGetCommentVoteUserNames
*/
readonly sso?: string;
}
/**
* Request parameters for getCommentsPublic operation in PublicApi.
* @export
* @interface PublicApiGetCommentsPublicRequest
*/
export interface PublicApiGetCommentsPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly urlId: string;
/**
*
* @type {number}
* @memberof PublicApiGetCommentsPublic
*/
readonly page?: number;
/**
*
* @type {SortDirections}
* @memberof PublicApiGetCommentsPublic
*/
readonly direction?: SortDirections;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly sso?: string;
/**
*
* @type {number}
* @memberof PublicApiGetCommentsPublic
*/
readonly skip?: number;
/**
*
* @type {number}
* @memberof PublicApiGetCommentsPublic
*/
readonly skipChildren?: number;
/**
*
* @type {number}
* @memberof PublicApiGetCommentsPublic
*/
readonly limit?: number;
/**
*
* @type {number}
* @memberof PublicApiGetCommentsPublic
*/
readonly limitChildren?: number;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly countChildren?: boolean;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly fetchPageForCommentId?: string;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly includeConfig?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly countAll?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly includei10n?: boolean;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly locale?: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly modules?: string;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly isCrawler?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly includeNotificationCount?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly asTree?: boolean;
/**
*
* @type {number}
* @memberof PublicApiGetCommentsPublic
*/
readonly maxTreeDepth?: number;
/**
*
* @type {boolean}
* @memberof PublicApiGetCommentsPublic
*/
readonly useFullTranslationIds?: boolean;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly parentId?: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly searchText?: string;
/**
*
* @type {Array<string>}
* @memberof PublicApiGetCommentsPublic
*/
readonly hashTags?: Array<string>;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly customConfigStr?: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly afterCommentId?: string;
/**
*
* @type {string}
* @memberof PublicApiGetCommentsPublic
*/
readonly beforeCommentId?: string;
}
/**
* Request parameters for getEventLog operation in PublicApi.
* @export
* @interface PublicApiGetEventLogRequest
*/
export interface PublicApiGetEventLogRequest {
/**
*
* @type {string}
* @memberof PublicApiGetEventLog
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetEventLog
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiGetEventLog
*/
readonly userIdWS: string;
/**
*
* @type {number}
* @memberof PublicApiGetEventLog
*/
readonly startTime: number;
/**
*
* @type {number}
* @memberof PublicApiGetEventLog
*/
readonly endTime: number;
}
/**
* Request parameters for getFeedPostsPublic operation in PublicApi.
* @export
* @interface PublicApiGetFeedPostsPublicRequest
*/
export interface PublicApiGetFeedPostsPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly afterId?: string;
/**
*
* @type {number}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly limit?: number;
/**
*
* @type {Array<string>}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly tags?: Array<string>;
/**
*
* @type {string}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly sso?: string;
/**
*
* @type {boolean}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly isCrawler?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetFeedPostsPublic
*/
readonly includeUserInfo?: boolean;
}
/**
* Request parameters for getFeedPostsStats operation in PublicApi.
* @export
* @interface PublicApiGetFeedPostsStatsRequest
*/
export interface PublicApiGetFeedPostsStatsRequest {
/**
*
* @type {string}
* @memberof PublicApiGetFeedPostsStats
*/
readonly tenantId: string;
/**
*
* @type {Array<string>}
* @memberof PublicApiGetFeedPostsStats
*/
readonly postIds: Array<string>;
/**
*
* @type {string}
* @memberof PublicApiGetFeedPostsStats
*/
readonly sso?: string;
}
/**
* Request parameters for getGlobalEventLog operation in PublicApi.
* @export
* @interface PublicApiGetGlobalEventLogRequest
*/
export interface PublicApiGetGlobalEventLogRequest {
/**
*
* @type {string}
* @memberof PublicApiGetGlobalEventLog
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetGlobalEventLog
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiGetGlobalEventLog
*/
readonly userIdWS: string;
/**
*
* @type {number}
* @memberof PublicApiGetGlobalEventLog
*/
readonly startTime: number;
/**
*
* @type {number}
* @memberof PublicApiGetGlobalEventLog
*/
readonly endTime: number;
}
/**
* Request parameters for getUserNotificationCount operation in PublicApi.
* @export
* @interface PublicApiGetUserNotificationCountRequest
*/
export interface PublicApiGetUserNotificationCountRequest {
/**
*
* @type {string}
* @memberof PublicApiGetUserNotificationCount
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetUserNotificationCount
*/
readonly sso?: string;
}
/**
* Request parameters for getUserNotifications operation in PublicApi.
* @export
* @interface PublicApiGetUserNotificationsRequest
*/
export interface PublicApiGetUserNotificationsRequest {
/**
*
* @type {string}
* @memberof PublicApiGetUserNotifications
*/
readonly tenantId: string;
/**
* Defaults to 20.
* @type {number}
* @memberof PublicApiGetUserNotifications
*/
readonly pageSize?: number;
/**
*
* @type {string}
* @memberof PublicApiGetUserNotifications
*/
readonly afterId?: string;
/**
*
* @type {boolean}
* @memberof PublicApiGetUserNotifications
*/
readonly includeContext?: boolean;
/**
*
* @type {number}
* @memberof PublicApiGetUserNotifications
*/
readonly afterCreatedAt?: number;
/**
*
* @type {boolean}
* @memberof PublicApiGetUserNotifications
*/
readonly unreadOnly?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetUserNotifications
*/
readonly dmOnly?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetUserNotifications
*/
readonly noDm?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiGetUserNotifications
*/
readonly includeTranslations?: boolean;
/**
*
* @type {string}
* @memberof PublicApiGetUserNotifications
*/
readonly sso?: string;
}
/**
* Request parameters for getUserPresenceStatuses operation in PublicApi.
* @export
* @interface PublicApiGetUserPresenceStatusesRequest
*/
export interface PublicApiGetUserPresenceStatusesRequest {
/**
*
* @type {string}
* @memberof PublicApiGetUserPresenceStatuses
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiGetUserPresenceStatuses
*/
readonly urlIdWS: string;
/**
*
* @type {string}
* @memberof PublicApiGetUserPresenceStatuses
*/
readonly userIds: string;
}
/**
* Request parameters for getUserReactsPublic operation in PublicApi.
* @export
* @interface PublicApiGetUserReactsPublicRequest
*/
export interface PublicApiGetUserReactsPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiGetUserReactsPublic
*/
readonly tenantId: string;
/**
*
* @type {Array<string>}
* @memberof PublicApiGetUserReactsPublic
*/
readonly postIds?: Array<string>;
/**
*
* @type {string}
* @memberof PublicApiGetUserReactsPublic
*/
readonly sso?: string;
}
/**
* Request parameters for lockComment operation in PublicApi.
* @export
* @interface PublicApiLockCommentRequest
*/
export interface PublicApiLockCommentRequest {
/**
*
* @type {string}
* @memberof PublicApiLockComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiLockComment
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiLockComment
*/
readonly broadcastId: string;
/**
*
* @type {string}
* @memberof PublicApiLockComment
*/
readonly sso?: string;
}
/**
* Request parameters for pinComment operation in PublicApi.
* @export
* @interface PublicApiPinCommentRequest
*/
export interface PublicApiPinCommentRequest {
/**
*
* @type {string}
* @memberof PublicApiPinComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiPinComment
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiPinComment
*/
readonly broadcastId: string;
/**
*
* @type {string}
* @memberof PublicApiPinComment
*/
readonly sso?: string;
}
/**
* Request parameters for reactFeedPostPublic operation in PublicApi.
* @export
* @interface PublicApiReactFeedPostPublicRequest
*/
export interface PublicApiReactFeedPostPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiReactFeedPostPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiReactFeedPostPublic
*/
readonly postId: string;
/**
*
* @type {ReactBodyParams}
* @memberof PublicApiReactFeedPostPublic
*/
readonly reactBodyParams: ReactBodyParams;
/**
*
* @type {boolean}
* @memberof PublicApiReactFeedPostPublic
*/
readonly isUndo?: boolean;
/**
*
* @type {string}
* @memberof PublicApiReactFeedPostPublic
*/
readonly broadcastId?: string;
/**
*
* @type {string}
* @memberof PublicApiReactFeedPostPublic
*/
readonly sso?: string;
}
/**
* Request parameters for resetUserNotificationCount operation in PublicApi.
* @export
* @interface PublicApiResetUserNotificationCountRequest
*/
export interface PublicApiResetUserNotificationCountRequest {
/**
*
* @type {string}
* @memberof PublicApiResetUserNotificationCount
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiResetUserNotificationCount
*/
readonly sso?: string;
}
/**
* Request parameters for resetUserNotifications operation in PublicApi.
* @export
* @interface PublicApiResetUserNotificationsRequest
*/
export interface PublicApiResetUserNotificationsRequest {
/**
*
* @type {string}
* @memberof PublicApiResetUserNotifications
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiResetUserNotifications
*/
readonly afterId?: string;
/**
*
* @type {number}
* @memberof PublicApiResetUserNotifications
*/
readonly afterCreatedAt?: number;
/**
*
* @type {boolean}
* @memberof PublicApiResetUserNotifications
*/
readonly unreadOnly?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiResetUserNotifications
*/
readonly dmOnly?: boolean;
/**
*
* @type {boolean}
* @memberof PublicApiResetUserNotifications
*/
readonly noDm?: boolean;
/**
*
* @type {string}
* @memberof PublicApiResetUserNotifications
*/
readonly sso?: string;
}
/**
* Request parameters for searchUsers operation in PublicApi.
* @export
* @interface PublicApiSearchUsersRequest
*/
export interface PublicApiSearchUsersRequest {
/**
*
* @type {string}
* @memberof PublicApiSearchUsers
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiSearchUsers
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiSearchUsers
*/
readonly usernameStartsWith: string;
/**
*
* @type {Array<string>}
* @memberof PublicApiSearchUsers
*/
readonly mentionGroupIds?: Array<string>;
/**
*
* @type {string}
* @memberof PublicApiSearchUsers
*/
readonly sso?: string;
}
/**
* Request parameters for setCommentText operation in PublicApi.
* @export
* @interface PublicApiSetCommentTextRequest
*/
export interface PublicApiSetCommentTextRequest {
/**
*
* @type {string}
* @memberof PublicApiSetCommentText
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiSetCommentText
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiSetCommentText
*/
readonly broadcastId: string;
/**
*
* @type {CommentTextUpdateRequest}
* @memberof PublicApiSetCommentText
*/
readonly commentTextUpdateRequest: CommentTextUpdateRequest;
/**
*
* @type {string}
* @memberof PublicApiSetCommentText
*/
readonly editKey?: string;
/**
*
* @type {string}
* @memberof PublicApiSetCommentText
*/
readonly sso?: string;
}
/**
* Request parameters for unBlockCommentPublic operation in PublicApi.
* @export
* @interface PublicApiUnBlockCommentPublicRequest
*/
export interface PublicApiUnBlockCommentPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiUnBlockCommentPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUnBlockCommentPublic
*/
readonly commentId: string;
/**
*
* @type {PublicBlockFromCommentParams}
* @memberof PublicApiUnBlockCommentPublic
*/
readonly publicBlockFromCommentParams: PublicBlockFromCommentParams;
/**
*
* @type {string}
* @memberof PublicApiUnBlockCommentPublic
*/
readonly sso?: string;
}
/**
* Request parameters for unLockComment operation in PublicApi.
* @export
* @interface PublicApiUnLockCommentRequest
*/
export interface PublicApiUnLockCommentRequest {
/**
*
* @type {string}
* @memberof PublicApiUnLockComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUnLockComment
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiUnLockComment
*/
readonly broadcastId: string;
/**
*
* @type {string}
* @memberof PublicApiUnLockComment
*/
readonly sso?: string;
}
/**
* Request parameters for unPinComment operation in PublicApi.
* @export
* @interface PublicApiUnPinCommentRequest
*/
export interface PublicApiUnPinCommentRequest {
/**
*
* @type {string}
* @memberof PublicApiUnPinComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUnPinComment
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiUnPinComment
*/
readonly broadcastId: string;
/**
*
* @type {string}
* @memberof PublicApiUnPinComment
*/
readonly sso?: string;
}
/**
* Request parameters for updateFeedPostPublic operation in PublicApi.
* @export
* @interface PublicApiUpdateFeedPostPublicRequest
*/
export interface PublicApiUpdateFeedPostPublicRequest {
/**
*
* @type {string}
* @memberof PublicApiUpdateFeedPostPublic
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateFeedPostPublic
*/
readonly postId: string;
/**
*
* @type {UpdateFeedPostParams}
* @memberof PublicApiUpdateFeedPostPublic
*/
readonly updateFeedPostParams: UpdateFeedPostParams;
/**
*
* @type {string}
* @memberof PublicApiUpdateFeedPostPublic
*/
readonly broadcastId?: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateFeedPostPublic
*/
readonly sso?: string;
}
/**
* Request parameters for updateUserNotificationCommentSubscriptionStatus operation in PublicApi.
* @export
* @interface PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest
*/
export interface PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest {
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationCommentSubscriptionStatus
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationCommentSubscriptionStatus
*/
readonly notificationId: string;
/**
*
* @type {'in' | 'out'}
* @memberof PublicApiUpdateUserNotificationCommentSubscriptionStatus
*/
readonly optedInOrOut: UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationCommentSubscriptionStatus
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationCommentSubscriptionStatus
*/
readonly sso?: string;
}
/**
* Request parameters for updateUserNotificationPageSubscriptionStatus operation in PublicApi.
* @export
* @interface PublicApiUpdateUserNotificationPageSubscriptionStatusRequest
*/
export interface PublicApiUpdateUserNotificationPageSubscriptionStatusRequest {
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationPageSubscriptionStatus
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationPageSubscriptionStatus
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationPageSubscriptionStatus
*/
readonly url: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationPageSubscriptionStatus
*/
readonly pageTitle: string;
/**
*
* @type {'subscribe' | 'unsubscribe'}
* @memberof PublicApiUpdateUserNotificationPageSubscriptionStatus
*/
readonly subscribedOrUnsubscribed: UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationPageSubscriptionStatus
*/
readonly sso?: string;
}
/**
* Request parameters for updateUserNotificationStatus operation in PublicApi.
* @export
* @interface PublicApiUpdateUserNotificationStatusRequest
*/
export interface PublicApiUpdateUserNotificationStatusRequest {
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationStatus
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationStatus
*/
readonly notificationId: string;
/**
*
* @type {'read' | 'unread'}
* @memberof PublicApiUpdateUserNotificationStatus
*/
readonly newStatus: UpdateUserNotificationStatusNewStatusEnum;
/**
*
* @type {string}
* @memberof PublicApiUpdateUserNotificationStatus
*/
readonly sso?: string;
}
/**
* Request parameters for uploadImage operation in PublicApi.
* @export
* @interface PublicApiUploadImageRequest
*/
export interface PublicApiUploadImageRequest {
/**
*
* @type {string}
* @memberof PublicApiUploadImage
*/
readonly tenantId: string;
/**
*
* @type {File}
* @memberof PublicApiUploadImage
*/
readonly file: File;
/**
* Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices)
* @type {SizePreset}
* @memberof PublicApiUploadImage
*/
readonly sizePreset?: SizePreset;
/**
* Page id that upload is happening from, to configure
* @type {string}
* @memberof PublicApiUploadImage
*/
readonly urlId?: string;
}
/**
* Request parameters for voteComment operation in PublicApi.
* @export
* @interface PublicApiVoteCommentRequest
*/
export interface PublicApiVoteCommentRequest {
/**
*
* @type {string}
* @memberof PublicApiVoteComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof PublicApiVoteComment
*/
readonly commentId: string;
/**
*
* @type {string}
* @memberof PublicApiVoteComment
*/
readonly urlId: string;
/**
*
* @type {string}
* @memberof PublicApiVoteComment
*/
readonly broadcastId: string;
/**
*
* @type {VoteBodyParams}
* @memberof PublicApiVoteComment
*/
readonly voteBodyParams: VoteBodyParams;
/**
*
* @type {string}
* @memberof PublicApiVoteComment
*/
readonly sessionId?: string;
/**
*
* @type {string}
* @memberof PublicApiVoteComment
*/
readonly sso?: string;
}
/**
* PublicApi - object-oriented interface
* @export
* @class PublicApi
* @extends {BaseAPI}
*/
export declare class PublicApi extends BaseAPI implements PublicApiInterface {
/**
*
* @param {PublicApiBlockFromCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
blockFromCommentPublic(requestParameters: PublicApiBlockFromCommentPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlockFromCommentPublic200Response, any>>;
/**
*
* @param {PublicApiCheckedCommentsForBlockedRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
checkedCommentsForBlocked(requestParameters: PublicApiCheckedCommentsForBlockedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckedCommentsForBlocked200Response, any>>;
/**
*
* @param {PublicApiCreateCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
createCommentPublic(requestParameters: PublicApiCreateCommentPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommentPublic200Response, any>>;
/**
*
* @param {PublicApiCreateFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
createFeedPostPublic(requestParameters: PublicApiCreateFeedPostPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFeedPostPublic200Response, any>>;
/**
*
* @param {PublicApiDeleteCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
deleteCommentPublic(requestParameters: PublicApiDeleteCommentPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteCommentPublic200Response, any>>;
/**
*
* @param {PublicApiDeleteCommentVoteRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
deleteCommentVote(requestParameters: PublicApiDeleteCommentVoteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteCommentVote200Response, any>>;
/**
*
* @param {PublicApiDeleteFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
deleteFeedPostPublic(requestParameters: PublicApiDeleteFeedPostPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteFeedPostPublic200Response, any>>;
/**
*
* @param {PublicApiFlagCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
flagCommentPublic(requestParameters: PublicApiFlagCommentPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FlagCommentPublic200Response, any>>;
/**
*
* @param {PublicApiGetCommentTextRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getCommentText(requestParameters: PublicApiGetCommentTextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommentText200Response, any>>;
/**
*
* @param {PublicApiGetCommentVoteUserNamesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getCommentVoteUserNames(requestParameters: PublicApiGetCommentVoteUserNamesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommentVoteUserNames200Response, any>>;
/**
* req tenantId urlId
* @param {PublicApiGetCommentsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getCommentsPublic(requestParameters: PublicApiGetCommentsPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommentsPublic200Response, any>>;
/**
* req tenantId urlId userIdWS
* @param {PublicApiGetEventLogRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getEventLog(requestParameters: PublicApiGetEventLogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventLog200Response, any>>;
/**
* req tenantId afterId
* @param {PublicApiGetFeedPostsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getFeedPostsPublic(requestParameters: PublicApiGetFeedPostsPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFeedPostsPublic200Response, any>>;
/**
*
* @param {PublicApiGetFeedPostsStatsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getFeedPostsStats(requestParameters: PublicApiGetFeedPostsStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFeedPostsStats200Response, any>>;
/**
* req tenantId urlId userIdWS
* @param {PublicApiGetGlobalEventLogRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getGlobalEventLog(requestParameters: PublicApiGetGlobalEventLogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventLog200Response, any>>;
/**
*
* @param {PublicApiGetUserNotificationCountRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getUserNotificationCount(requestParameters: PublicApiGetUserNotificationCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserNotificationCount200Response, any>>;
/**
*
* @param {PublicApiGetUserNotificationsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getUserNotifications(requestParameters: PublicApiGetUserNotificationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserNotifications200Response, any>>;
/**
*
* @param {PublicApiGetUserPresenceStatusesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getUserPresenceStatuses(requestParameters: PublicApiGetUserPresenceStatusesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPresenceStatuses200Response, any>>;
/**
*
* @param {PublicApiGetUserReactsPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
getUserReactsPublic(requestParameters: PublicApiGetUserReactsPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserReactsPublic200Response, any>>;
/**
*
* @param {PublicApiLockCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
lockComment(requestParameters: PublicApiLockCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LockComment200Response, any>>;
/**
*
* @param {PublicApiPinCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
pinComment(requestParameters: PublicApiPinCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PinComment200Response, any>>;
/**
*
* @param {PublicApiReactFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
reactFeedPostPublic(requestParameters: PublicApiReactFeedPostPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReactFeedPostPublic200Response, any>>;
/**
*
* @param {PublicApiResetUserNotificationCountRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
resetUserNotificationCount(requestParameters: PublicApiResetUserNotificationCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResetUserNotifications200Response, any>>;
/**
*
* @param {PublicApiResetUserNotificationsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
resetUserNotifications(requestParameters: PublicApiResetUserNotificationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResetUserNotifications200Response, any>>;
/**
*
* @param {PublicApiSearchUsersRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
searchUsers(requestParameters: PublicApiSearchUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchUsers200Response, any>>;
/**
*
* @param {PublicApiSetCommentTextRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
setCommentText(requestParameters: PublicApiSetCommentTextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetCommentText200Response, any>>;
/**
*
* @param {PublicApiUnBlockCommentPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
unBlockCommentPublic(requestParameters: PublicApiUnBlockCommentPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnBlockCommentPublic200Response, any>>;
/**
*
* @param {PublicApiUnLockCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
unLockComment(requestParameters: PublicApiUnLockCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LockComment200Response, any>>;
/**
*
* @param {PublicApiUnPinCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
unPinComment(requestParameters: PublicApiUnPinCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PinComment200Response, any>>;
/**
*
* @param {PublicApiUpdateFeedPostPublicRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
updateFeedPostPublic(requestParameters: PublicApiUpdateFeedPostPublicRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFeedPostPublic200Response, any>>;
/**
* Enable or disable notifications for a specific comment.
* @param {PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
updateUserNotificationCommentSubscriptionStatus(requestParameters: PublicApiUpdateUserNotificationCommentSubscriptionStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserNotificationStatus200Response, any>>;
/**
* Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
* @param {PublicApiUpdateUserNotificationPageSubscriptionStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
updateUserNotificationPageSubscriptionStatus(requestParameters: PublicApiUpdateUserNotificationPageSubscriptionStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserNotificationStatus200Response, any>>;
/**
*
* @param {PublicApiUpdateUserNotificationStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
updateUserNotificationStatus(requestParameters: PublicApiUpdateUserNotificationStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserNotificationStatus200Response, any>>;
/**
* Upload and resize an image
* @param {PublicApiUploadImageRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
uploadImage(requestParameters: PublicApiUploadImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadImageResponse, any>>;
/**
*
* @param {PublicApiVoteCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof PublicApi
*/
voteComment(requestParameters: PublicApiVoteCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoteComment200Response, any>>;
}
/**
* @export
* @enum {string}
*/
export declare enum UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum {
in = "in",
out = "out"
}
/**
* @export
* @enum {string}
*/
export declare enum UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum {
subscribe = "subscribe",
unsubscribe = "unsubscribe"
}
/**
* @export
* @enum {string}
*/
export declare enum UpdateUserNotificationStatusNewStatusEnum {
read = "read",
unread = "unread"
}
//# sourceMappingURL=public-api.d.ts.map