/** * User Service API * Solomon AI User Service API - Manages user profiles and authentication * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@solomon-ai.co * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /// import http from 'http'; import { AcceptFollowProfileResponse } from '../model/acceptFollowProfileResponse'; import { AddCommentQualityScoreResponse } from '../model/addCommentQualityScoreResponse'; import { AddPostQualityScoreResponse } from '../model/addPostQualityScoreResponse'; import { AddPostToPublicationResponse } from '../model/addPostToPublicationResponse'; import { AddPostToThreadResponse } from '../model/addPostToThreadResponse'; import { AddPublicationEditorResponse } from '../model/addPublicationEditorResponse'; import { BlockUserProfileResponse } from '../model/blockUserProfileResponse'; import { BookmarkPostResponse } from '../model/bookmarkPostResponse'; import { BookmarkPublicationResponse } from '../model/bookmarkPublicationResponse'; import { Comment } from '../model/comment'; import { CommunityProfile } from '../model/communityProfile'; import { CreateCommentReplyBody } from '../model/createCommentReplyBody'; import { CreateCommentReplyResponse } from '../model/createCommentReplyResponse'; import { CreateCommentResponse } from '../model/createCommentResponse'; import { CreateCommunityProfileBody } from '../model/createCommunityProfileBody'; import { CreateCommunityProfileResponse } from '../model/createCommunityProfileResponse'; import { CreateNoteBody } from '../model/createNoteBody'; import { CreateNoteResponse } from '../model/createNoteResponse'; import { CreatePollResponse } from '../model/createPollResponse'; import { CreatePostResponse } from '../model/createPostResponse'; import { CreatePublicationResponse } from '../model/createPublicationResponse'; import { CreateTopicResponse } from '../model/createTopicResponse'; import { CreateUserProfileRequest } from '../model/createUserProfileRequest'; import { CreateUserProfileResponse } from '../model/createUserProfileResponse'; import { DeleteCommentReplyResponse } from '../model/deleteCommentReplyResponse'; import { DeleteCommunityProfileResponse } from '../model/deleteCommunityProfileResponse'; import { DeleteNoteResponse } from '../model/deleteNoteResponse'; import { DeletePollResponse } from '../model/deletePollResponse'; import { DeletePostFromPublicationResponse } from '../model/deletePostFromPublicationResponse'; import { DeletePostResponse } from '../model/deletePostResponse'; import { DeletePublicationEditorResponse } from '../model/deletePublicationEditorResponse'; import { DeletePublicationResponse } from '../model/deletePublicationResponse'; import { DeleteUserProfileResponse } from '../model/deleteUserProfileResponse'; import { DiscoverProfilesResponse } from '../model/discoverProfilesResponse'; import { EditCommentReplyBody } from '../model/editCommentReplyBody'; import { EditCommentReplyResponse } from '../model/editCommentReplyResponse'; import { EditCommunityProfileRequest } from '../model/editCommunityProfileRequest'; import { EditNoteResponse } from '../model/editNoteResponse'; import { EditPostResponse } from '../model/editPostResponse'; import { EditUserProfileResponse } from '../model/editUserProfileResponse'; import { FollowCommunityProfileResponse } from '../model/followCommunityProfileResponse'; import { FollowProfileResponse } from '../model/followProfileResponse'; import { GetAccountsFollowingResponse } from '../model/getAccountsFollowingResponse'; import { GetBlogPostsByTagResponse } from '../model/getBlogPostsByTagResponse'; import { GetBookmarkedPostsResponse } from '../model/getBookmarkedPostsResponse'; import { GetCannyUserSSOTokenResponse } from '../model/getCannyUserSSOTokenResponse'; import { GetCommentRepliesResponse } from '../model/getCommentRepliesResponse'; import { GetCommunitiesUserFollowsResponse } from '../model/getCommunitiesUserFollowsResponse'; import { GetCommunityBlogPostsResponse } from '../model/getCommunityBlogPostsResponse'; import { GetCommunityFeedResponse } from '../model/getCommunityFeedResponse'; import { GetCommunityProfileResponse } from '../model/getCommunityProfileResponse'; import { GetCommunityProfilesResponse } from '../model/getCommunityProfilesResponse'; import { GetFollowersResponse } from '../model/getFollowersResponse'; import { GetPendingFollowsResponse } from '../model/getPendingFollowsResponse'; import { GetPollResponse } from '../model/getPollResponse'; import { GetPollsResponse } from '../model/getPollsResponse'; import { GetPostResponse } from '../model/getPostResponse'; import { GetPostThreadResponse } from '../model/getPostThreadResponse'; import { GetPostsByCategoryResponse } from '../model/getPostsByCategoryResponse'; import { GetPostsByTopicResponse } from '../model/getPostsByTopicResponse'; import { GetPostsResponse } from '../model/getPostsResponse'; import { GetPublicationResponse } from '../model/getPublicationResponse'; import { GetTopicsOfCommunitiesUserFollowsResponse } from '../model/getTopicsOfCommunitiesUserFollowsResponse'; import { GetUserFeedResponse } from '../model/getUserFeedResponse'; import { GetUserProfileResponse } from '../model/getUserProfileResponse'; import { GetUserProfilesResponse } from '../model/getUserProfilesResponse'; import { HealthCheckResponse1 } from '../model/healthCheckResponse1'; import { Note } from '../model/note'; import { PollPost } from '../model/pollPost'; import { Post } from '../model/post'; import { Publication } from '../model/publication'; import { ReactToCommentReplyResponse } from '../model/reactToCommentReplyResponse'; import { ReactToCommentResponse } from '../model/reactToCommentResponse'; import { ReactToPostResponse } from '../model/reactToPostResponse'; import { ReadynessCheckResponse1 } from '../model/readynessCheckResponse1'; import { RemoveBookmarkedPostResponse } from '../model/removeBookmarkedPostResponse'; import { RemovePostFromThreadResponse } from '../model/removePostFromThreadResponse'; import { ReportCommentBody } from '../model/reportCommentBody'; import { ReportCommentReplyBody } from '../model/reportCommentReplyBody'; import { ReportCommentReplyResponse } from '../model/reportCommentReplyResponse'; import { ReportCommentResponse } from '../model/reportCommentResponse'; import { ReportPostResponse } from '../model/reportPostResponse'; import { RespondToPollBody } from '../model/respondToPollBody'; import { RespondToPollResponse } from '../model/respondToPollResponse'; import { SharePostResponse } from '../model/sharePostResponse'; import { Topic } from '../model/topic'; import { UserProfile } from '../model/userProfile'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum SocialServiceApiApiKeys { ApiKeyAuth = 0, Bearer = 1 } export declare class SocialServiceApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; ApiKeyAuth: ApiKeyAuth; Bearer: ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: SocialServiceApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; /** * This endpoint enables a client to accept a follow request from a source a user profile * @summary Accepts a user\'s follow request * @param followRecordId The id of the follow record | type: uint64 * @param userId * @param orgId * @param tenantId */ acceptFollowProfile(followRecordId: string, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: AcceptFollowProfileResponse; }>; /** * This endpoint enables a client to add a quality score to a comment * @summary Add Comment Quality Score * @param userId * @param postId * @param commentId * @param postType The type of post being reacted to | type: string * @param orgId * @param tenantId * @param body */ addCommentQualityScore(userId: string, postId: string, commentId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, body: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: AddCommentQualityScoreResponse; }>; /** * This endpoint enables a client add a quality score to a post * @summary Adds a quality score to a post * @param userId * @param postId * @param postType The type of post being reacted to | type: string * @param orgId * @param tenantId * @param body */ addPostQualityScore(userId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, body: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: AddPostQualityScoreResponse; }>; /** * This endpoint enables a client to add a post to a publication * @summary Add a post to a publication * @param editorUserId * @param publicationId * @param orgId * @param tenantId * @param post */ addPostToPublication(editorUserId: string, publicationId: string, orgId: string, tenantId: string, post: Post, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: AddPostToPublicationResponse; }>; /** * This endpoint enables a client to add a post to a thread * @summary Adds A Post To A Thread * @param userId * @param parentPostId * @param postType * @param orgId * @param tenantId * @param post */ addPostToThread(userId: string, parentPostId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, post: Post, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: AddPostToThreadResponse; }>; /** * This endpoint enables a client to add an editor to a publication * @summary Adds an editor to a publication * @param adminUserId * @param publicationId * @param editorUserId * @param orgId * @param tenantId */ addPublicationEditor(adminUserId: string, publicationId: string, editorUserId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: AddPublicationEditorResponse; }>; /** * This endpoint enables a client to block a user profile * @summary blocks a user profile * @param sourceUserId the user ID trying to block another user (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param targetUserId the user ID being blocked by another user (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId */ blockUserProfile(sourceUserId: string, targetUserId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: BlockUserProfileResponse; }>; /** * This endpoint enables a client to bookmark a post * @summary Bookmarks a post * @param userId * @param postId * @param orgId * @param tenantId */ bookmarkPost(userId: string, postId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: BookmarkPostResponse; }>; /** * This endpoint enables a client to bookmark a publication * @summary Bookmarks a publication * @param userId * @param publicationId * @param orgId * @param tenantId */ bookmarkPublication(userId: string, publicationId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: BookmarkPublicationResponse; }>; /** * This endpoint enables a client to create a comment * @summary Create A Commnet * @param userId the user ID trying to create a comment (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param postId The ID of the post to whom to add the comment | type: string * @param accountType The type of account making the request to create a comment | type: string * @param postType The type of post being reacted to | type: string * @param orgId * @param tenantId * @param comment The actual comment payload | type: json_object * @param communityProfileId The ID of the community trying to create a comment | type: uint64 */ createComment(userId: string, postId: string, accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, comment: Comment, communityProfileId?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateCommentResponse; }>; /** * This endpoint enables a client to reply to a comment * @summary Reply To A Comment * @param userId * @param postId * @param commentId * @param createCommentReplyBody */ createCommentReply(userId: string, postId: string, commentId: string, createCommentReplyBody: CreateCommentReplyBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateCommentReplyResponse; }>; /** * This endpoint enables a client to create a community profile * @summary Create a community Profile * @param userId the user ID trying to create this community profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param createCommunityProfileBody */ createCommunityProfile(userId: string, createCommunityProfileBody: CreateCommunityProfileBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateCommunityProfileResponse; }>; /** * This endpoint enables a client to create and associate a not to a post * @summary Creates and associates a note to a given post * @param userId * @param postId * @param createNoteBody */ createNote(userId: string, postId: string, createNoteBody: CreateNoteBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateNoteResponse; }>; /** * This endpoint enables a client to create a poll * @summary Create a poll * @param userId the user ID trying to create a post (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId * @param pollPost The post payload | type: json_object */ createPoll(userId: string, orgId: string, tenantId: string, pollPost: PollPost, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreatePollResponse; }>; /** * This endpoint enables a client to create a post * @summary Create a post * @param userId the user ID trying to create a post (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param accountType The type of profile making the request | type: string * @param orgId * @param tenantId * @param post The post payload | type: json_object * @param communityProfileId The ID of the community profile attempting to create the post | type: uint64 */ createPost(userId: string, accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', orgId: string, tenantId: string, post: Post, communityProfileId?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreatePostResponse; }>; /** * This endpoint enables a client to creare a publication * @summary Creates a publication * @param userId * @param orgId * @param tenantId * @param publication */ createPublication(userId: string, orgId: string, tenantId: string, publication: Publication, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreatePublicationResponse; }>; /** * This endpoint enables a client to create a topic * @summary Create A Topic * @param userId the user ID trying to whom the community is tied to (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param communityProfileId the community profile to associate the topic to | type: uint64 * @param orgId * @param tenantId * @param topic topic payload | type: json_object */ createTopic(userId: string, communityProfileId: string, orgId: string, tenantId: string, topic: Topic, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateTopicResponse; }>; /** * This endpoint enables a client to create a user profile * @summary creates a user profile * @param createUserProfileRequest CreateUserProfileRequest represents the request object for creating a user profile in the social service. This message encapsulates the essential information needed to establish a new social user profile, including identification, contact details, and profile preferences. */ createUserProfile(createUserProfileRequest: CreateUserProfileRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateUserProfileResponse; }>; /** * This endpoint enables a client to delete a comment * @summary Delete A Comment * @param postId The ID of the post trying to be deleted | type: string * @param commentId The ID of the comment trying to be delete | type: string * @param postType The type of post being reacted to | type: string * @param userId * @param orgId * @param tenantId */ deleteComment(postId: string, commentId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreateCommentResponse; }>; /** * This endpoint enables a client to delete a comment reply * @summary Delete A Comment Reply * @param userId * @param postId * @param commentId * @param replyId * @param postType * @param orgId * @param tenantId */ deleteCommentReply(userId: string, postId: string, commentId: string, replyId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeleteCommentReplyResponse; }>; /** * This endpoint enables a client to delete a community profile * @summary Delete Community Profile * @param userId the user ID trying to delete this community profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param communityProfileId * @param orgId * @param tenantId */ deleteCommunityProfile(userId: string, communityProfileId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeleteCommunityProfileResponse; }>; /** * This endpoint enables a client to delete a note * @summary Delete a note * @param userId * @param postId * @param noteId * @param postType * @param orgId * @param tenantId */ deleteNote(userId: string, postId: string, noteId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeleteNoteResponse; }>; /** * This endpoint enables a client to delete a poll * @summary Delete a poll * @param userId the user ID trying to delete this user profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param postId The ID of the post attempted to be delete | type: string * @param orgId * @param tenantId */ deletePoll(userId: string, postId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeletePollResponse; }>; /** * This endpoint enables a client to delete a post * @summary Delete a post * @param userId the user ID trying to delete a post (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param postId The ID of the post attempted to be delete | type: string * @param postType * @param orgId * @param tenantId */ deletePost(userId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeletePostResponse; }>; /** * This endpoint enables a client to delete a post from a publication * @summary Deletes a post from a publication * @param editorUserId * @param publicationId * @param postId * @param postType * @param orgId * @param tenantId */ deletePostFromPublication(editorUserId: string, publicationId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeletePostFromPublicationResponse; }>; /** * This endpoint enables a client to delete a publication * @summary Deletes a publication * @param adminUserId * @param publicationId * @param orgId * @param tenantId */ deletePublication(adminUserId: string, publicationId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeletePublicationResponse; }>; /** * This endpoint enables a client to add an editor to a publication * @summary Deletes an editor to a publication * @param adminUserId * @param publicationId * @param editorUserId * @param orgId * @param tenantId */ deletePublicationEditor(adminUserId: string, publicationId: string, editorUserId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeletePublicationEditorResponse; }>; /** * This endpoint enables a client to delete a user profile * @summary deletes a user profile * @param userId the user ID trying to delete this user profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId */ deleteUserProfile(userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DeleteUserProfileResponse; }>; /** * This endpoint enables a client to discover a set of profiles he/she does not follow * @summary Discover Profiles * @param userId * @param limit * @param orgId * @param tenantId */ discoverProfiles(userId: string, limit: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: DiscoverProfilesResponse; }>; /** * This endpoint enables a client to edit a comment reply * @summary Edit A Comment Reply * @param userId * @param postId * @param commentId * @param replyId * @param editCommentReplyBody */ editCommentReply(userId: string, postId: string, commentId: string, replyId: string, editCommentReplyBody: EditCommentReplyBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: EditCommentReplyResponse; }>; /** * This endpoint enables a client to update a community profile * @summary Edit a community Profile * @param userId the user ID trying to update this community profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param communityProfileId The community profile ID of the community being updated | type: uint64 * @param orgId * @param tenantId * @param communityProfile The community profile being updated | type: json_object */ editCommunityProfile(userId: string, communityProfileId: string, orgId: string, tenantId: string, communityProfile: CommunityProfile, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: EditCommunityProfileRequest; }>; /** * This endpoint enables a client to update a note * @summary Update a note * @param userId * @param postId * @param noteId * @param postType * @param orgId * @param tenantId * @param note */ editNote(userId: string, postId: string, noteId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, note: Note, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: EditNoteResponse; }>; /** * This endpoint enables a client to edit a post by id * @summary Edits a post by id * @param postId The ID of the post to be updated | type: string * @param postType * @param userId * @param orgId * @param tenantId * @param post The post payload | type: json_object */ editPost(postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', userId: string, orgId: string, tenantId: string, post: Post, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: EditPostResponse; }>; /** * This endpoint performs an updates operation on a user profile based on the provided parametersThis update operation can span multiple services on specific cases (such as when the client is explicitly attempting to update the email of the user)All update operations are atomic by nature hence we should not expect any form of divergent state * @summary update a user profile * @param userId the user ID trying to update this user profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId * @param userProfile the profile payload | type: json_object */ editUserProfile(userId: string, orgId: string, tenantId: string, userProfile: UserProfile, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: EditUserProfileResponse; }>; /** * This endpoint enables a client to follow a community profile * @summary Follows A Community Profile * @param sourceUserId the user ID trying to follow another user (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param targetCommunityProfileId the targetCommunityProfileID ID being followed by another user * @param orgId * @param tenantId */ followCommunityProfile(sourceUserId: string, targetCommunityProfileId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FollowCommunityProfileResponse; }>; /** * This endpoint enables a client to follow a user profile * @summary follow a user profile * @param sourceUserId the user ID trying to follow another user (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param targetUserId the user ID being followed by another user (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId */ followProfile(sourceUserId: string, targetUserId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FollowProfileResponse; }>; /** * This endpoint enables a client to get all the accounts a given user follows * @summary Get Communities and users you are following * @param userId * @param profileId * @param accountType the account type of the user whoses followers are being requested * @param limit * @param orgId * @param tenantId */ getAccountsFollowing(userId: string, profileId: string, accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', limit: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetAccountsFollowingResponse; }>; /** * This endpoint enables a client to query a set of blog posts tied to a tag * @summary Get blog posts by tag * @param tag * @param postType The type of post being reacted to | type: string * @param userId * @param orgId * @param tenantId */ getBlogPostsByTag(tag: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetBlogPostsByTagResponse; }>; /** * This endpoint enables a client to get all bookmarked posts of a given user * @summary Get Bookmarked Posts * @param userId * @param orgId * @param tenantId */ getBookmarkedPosts(userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetBookmarkedPostsResponse; }>; /** * Fetches a user sso token for canny * @summary Retrieves user sso token for canny * @param userId * @param email * @param orgId * @param tenantId */ getCannyUserSSOToken1(userId: string, email: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCannyUserSSOTokenResponse; }>; /** * This endpoint enables a client to get comment replies * @summary Get Comment Replies * @param userId * @param postId * @param commentId * @param postType * @param orgId * @param tenantId */ getCommentReplies(userId: string, postId: string, commentId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCommentRepliesResponse; }>; /** * This endpoint enables a client to get all the communities a user follows * @summary Gets all the communities a user follows * @param userId the user ID who\'s communities follow set we want to obtain (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param limit the max number of communities to return | type: uint64 * @param orgId * @param tenantId */ getCommunitiesUserFollows(userId: string, limit: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCommunitiesUserFollowsResponse; }>; /** * This endpoint enables a client to get community blog posts * @summary Get community blog posts * @param communityProfileId * @param userId * @param orgId * @param tenantId */ getCommunityBlogPosts(communityProfileId: string, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCommunityBlogPostsResponse; }>; /** * This endpoint enables a client query a community feed * @summary Gets A Community Feed * @param communityProfileId The ID of the community we are trying to obtain the feed for | type: uint64 * @param feedType The type of feed aiming to be obtained | type: string - FEED_TYPE_PERSONAL: UserFeed is a profile\'s personal feed - FEED_TYPE_NEWS: NewsFeed is a profile\'s timeline - FEED_TYPE_NOTIFICATION: NotificationFeed encompasses a profile\'s notification feed * @param accountType The type of account making the request to obtain the feed | type: string * @param userId * @param orgId * @param tenantId * @param nextPageToken */ getCommunityFeed(communityProfileId: string, feedType: 'FEED_TYPE_UNSPECIFIED' | 'FEED_TYPE_PERSONAL' | 'FEED_TYPE_NEWS' | 'FEED_TYPE_NOTIFICATION', accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', userId: string, orgId: string, tenantId: string, nextPageToken?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCommunityFeedResponse; }>; /** * This endpoint enables a client to get a community profile * @summary Get a community Profile * @param communityId The communityID associated with the community being requested | type: uint64 * @param requestorProfileId The RequestorProfileID is an optional parameter used to check if the profileID (requestor) making a request for the record actually follows the record * @param requestorProfileType The RequestorProfileType is an optional parameter which tells us what type of profile is the requestor * @param userId * @param orgId * @param tenantId */ getCommunityProfile(communityId: string, requestorProfileId: string, requestorProfileType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCommunityProfileResponse; }>; /** * This endpoint enables a client to get community profiles * @summary Get Community Profiles * @param pageSize * @param pageNumber * @param userId * @param orgId * @param tenantId */ getCommunityProfiles(pageSize: number, pageNumber: number, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCommunityProfilesResponse; }>; /** * This endpoint enables a client to get all the followers following a given user * @summary Get Users Following you * @param userId * @param profileId * @param limit * @param orgId * @param tenantId */ getFollowers(userId: string, profileId: string, limit: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetFollowersResponse; }>; /** * This endpoint enables a client to get all the pending follow requests * @summary Get Pending Follow Requests * @param userId the user ID who\'s pending request we want to obtain (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId */ getPendingFollows(userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPendingFollowsResponse; }>; /** * This endpoint enables a client to query a poll by id * @summary Get a poll * @param userId the user ID trying to delete this user profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param postId The ID of the post attempted to be delete | type: string * @param orgId * @param tenantId */ getPoll(userId: string, postId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPollResponse; }>; /** * This endpoint enables a client to query all polls tied to a given user id * @summary Get all the polls of a given user * @param userId the user ID trying to delete this user profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId */ getPolls(userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPollsResponse; }>; /** * This endpoint enables a client to get a post * @summary Get a post * @param userId the user ID trying to obtain a post (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param postId The ID of the post to obtain | type: string * @param postType * @param orgId * @param tenantId */ getPost(userId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPostResponse; }>; /** * This endpoint enables a client to query a post\'s thread * @summary Gets A Post\'s Thread * @param userId * @param postId * @param postType * @param orgId * @param tenantId */ getPostThread(userId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPostThreadResponse; }>; /** * This endpoint enables a client to query all posts tied to a given user id * @summary Get all the posts of a given user * @param userId the user ID trying to delete this user profile (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param orgId * @param tenantId */ getPosts(userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPostsResponse; }>; /** * This endpoint enables a client to get all posts tied to a category * @summary Get all posts associated with a category * @param userId * @param category * @param postType * @param limit * @param offset * @param orgId * @param tenantId */ getPostsByCategory(userId: string, category: 'CATEGORY_UNSPECIFIED' | 'CATEGORY_WORLD' | 'CATEGORY_BUSINESS' | 'CATEGORY_ECONOMICS' | 'CATEGORY_FOREIGN_POLICY' | 'CATEGORY_POLITICS' | 'CATEGORY_TECHNOLOGY' | 'CATEGORY_OTHER', postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', limit: string, offset: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPostsByCategoryResponse; }>; /** * This endpoint enables a client to get all posts tied to a topic * @summary Get all posts associated with a topic * @param communityProfileId the community profile to associate the topic to | type: uint64 * @param topicName the name of a given topic | type: string * @param userId * @param orgId * @param tenantId */ getPostsByTopic(communityProfileId: string, topicName: string, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPostsByTopicResponse; }>; /** * This endpoint enables a client to get a publication * @summary Gets a publication * @param userId * @param publicationId * @param orgId * @param tenantId */ getPublication(userId: string, publicationId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPublicationResponse; }>; /** * This endpoint enables a client to get topics of communities a user follows * @summary Get Topics Of Communities User Follows * @param userId the user ID whose communities topics follow set we want to obtain (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param limit * @param orgId * @param tenantId */ getTopicsOfCommunitiesUserFollows(userId: string, limit: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetTopicsOfCommunitiesUserFollowsResponse; }>; /** * This endpoint enables a client query a user feed * @summary Gets A Userfeed * @param userId the user ID trying to obtain a given feed (NOTE: userID refers to the ID from the vantage point of the user service. This ID is the single source of truth for a given user across our suite of services) | type: uint64 * @param feedType The type of feed aiming to be obtained | type: string - FEED_TYPE_PERSONAL: UserFeed is a profile\'s personal feed - FEED_TYPE_NEWS: NewsFeed is a profile\'s timeline - FEED_TYPE_NOTIFICATION: NotificationFeed encompasses a profile\'s notification feed * @param accountType The type of account making the request to obtain the feed | type: string * @param orgId * @param tenantId * @param nextPageToken */ getUserFeed(userId: string, feedType: 'FEED_TYPE_UNSPECIFIED' | 'FEED_TYPE_PERSONAL' | 'FEED_TYPE_NEWS' | 'FEED_TYPE_NOTIFICATION', accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', orgId: string, tenantId: string, nextPageToken?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetUserFeedResponse; }>; /** * This endpoint performs a query against the social service to obtain a user profile * @summary gets a user profile * @param userId The user ID associated with the profile we want to get | type: uint64 * @param orgId * @param tenantId * @param requestorProfileId The RequestorProfileID is an optional parameter used to check if the profileID (requestor) making a request for the record actually follows the record * @param requestorProfileType The RequestorProfileType is an optional parameter which tells us what type of profile is the requestor */ getUserProfile(userId: string, orgId: string, tenantId: string, requestorProfileId?: string, requestorProfileType?: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetUserProfileResponse; }>; /** * This endpoint enables a client to get a number of user profiles in a paginated manner * @summary Gets a set of user profiles * @param pageSize * @param pageNumber * @param userId * @param orgId * @param tenantId */ getUserProfiles(pageSize: number, pageNumber: number, userId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetUserProfilesResponse; }>; /** * This endpoint performs a healc check on the service * @summary health check */ healthCheck1(options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: HealthCheckResponse1; }>; /** * This endpoint enables a client to react to a comment * @summary Reacts to a comment * @param userId * @param postId * @param commentId * @param accountType * @param reaction * @param postType * @param orgId * @param tenantId */ reactToComment(userId: string, postId: string, commentId: string, accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', reaction: 'REACTION_UNSPECIFIED' | 'REACTION_LIKE' | 'REACTION_LOVE' | 'REACTION_HAHA' | 'REACTION_WOW' | 'REACTION_SAD' | 'REACTION_ANGRY' | 'REACTION_DISLIKE', postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReactToCommentResponse; }>; /** * This endpoint enables a client to react to a comment reply * @summary Reacts to a comment reply * @param userId * @param postId * @param commentId * @param replyId * @param accountType * @param reaction * @param postType * @param orgId * @param tenantId */ reactToCommentReply(userId: string, postId: string, commentId: string, replyId: string, accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', reaction: 'REACTION_UNSPECIFIED' | 'REACTION_LIKE' | 'REACTION_LOVE' | 'REACTION_HAHA' | 'REACTION_WOW' | 'REACTION_SAD' | 'REACTION_ANGRY' | 'REACTION_DISLIKE', postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReactToCommentReplyResponse; }>; /** * This endpoint enables a client to react to a post * @summary Reacts to a post * @param userId * @param postId * @param accountType * @param reaction * @param postType * @param orgId * @param tenantId */ reactToPost(userId: string, postId: string, accountType: 'ACCOUNT_TYPE_UNSPECIFIED' | 'ACCOUNT_TYPE_USER' | 'ACCOUNT_TYPE_COMMUNITY', reaction: 'REACTION_UNSPECIFIED' | 'REACTION_LIKE' | 'REACTION_LOVE' | 'REACTION_HAHA' | 'REACTION_WOW' | 'REACTION_SAD' | 'REACTION_ANGRY' | 'REACTION_DISLIKE', postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReactToPostResponse; }>; /** * This endpoint performs a readiness check on the service * @summary readyness check */ readynessCheck1(options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReadynessCheckResponse1; }>; /** * This endpoint enables a client to delete a bookmarked post * @summary Deletes A Bookmarked Post * @param userId * @param postId * @param postType * @param orgId * @param tenantId */ removeBookmarkedPost(userId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: RemoveBookmarkedPostResponse; }>; /** * This endpoint enables a client to delete a bookmarked publication * @summary Deletes A Bookmarked Publication * @param userId * @param publicationId * @param orgId * @param tenantId */ removeBookmarkedPublication(userId: string, publicationId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: RemoveBookmarkedPostResponse; }>; /** * This endpoint enables a client to delete a post from a thread * @summary Deletes A Post From A Thread * @param userId * @param parentPostId * @param postType * @param participantPostId * @param orgId * @param tenantId */ removePostFromThread(userId: string, parentPostId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', participantPostId: string, orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: RemovePostFromThreadResponse; }>; /** * This endpoint enables a client to report a comment * @summary Report A Comment * @param userId * @param postId * @param commentId * @param reportCommentBody */ reportComment(userId: string, postId: string, commentId: string, reportCommentBody: ReportCommentBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReportCommentResponse; }>; /** * This endpoint enables a client to report a comment reply * @summary Report A Comment Reply * @param userId * @param postId * @param commentId * @param replyId * @param reportCommentReplyBody */ reportCommentReply(userId: string, postId: string, commentId: string, replyId: string, reportCommentReplyBody: ReportCommentReplyBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReportCommentReplyResponse; }>; /** * This endpoint enables a client to report a post * @summary Report a post * @param userId * @param postId * @param postType * @param orgId * @param tenantId */ reportPost(userId: string, postId: string, postType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: ReportPostResponse; }>; /** * This endpoint enables a client to response to a poll * @summary Adds a user response to a given poll by a user * @param userId * @param pollId * @param respondToPollBody */ respondToPoll(userId: string, pollId: string, respondToPollBody: RespondToPollBody, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: RespondToPollResponse; }>; /** * This endpoint enables a client to share a post * @summary Share a post * @param userId * @param parentPostId * @param parentPostType * @param orgId * @param tenantId * @param body */ sharePost(userId: string, parentPostId: string, parentPostType: 'POST_TYPE_UNSPECIFIED' | 'POST_TYPE_POST' | 'POST_TYPE_REPOST' | 'POST_TYPE_QUESTION' | 'POST_TYPE_ACHIEVEMENT' | 'POST_TYPE_ANNOUNCEMENT' | 'POST_TYPE_POLL' | 'POST_TYPE_ARTICLE' | 'POST_TYPE_SHORT_STORY', orgId: string, tenantId: string, body: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: SharePostResponse; }>; }