import { Base } from "../../"; import { SP } from "../../"; /********************************************* * SocialAnnouncementManager **********************************************/ export interface SocialAnnouncementManager { Id4a81de82eeb94d6080ea5bf63e27023a?: string; } /********************************************* * SocialAnnouncementManagerCollections **********************************************/ export interface SocialAnnouncementManagerCollections { } /********************************************* * ISocialFeedManager **********************************************/ export interface ISocialFeedManager extends SocialFeedManagerCollections, SocialFeedManagerMethods, Base.IBaseQuery { } /********************************************* * ISocialFeedManagerCollection **********************************************/ export interface ISocialFeedManagerCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialFeedManagerQueryCollection **********************************************/ export interface ISocialFeedManagerQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialFeedManagerQuery **********************************************/ export interface ISocialFeedManagerQuery extends SocialFeedManagerOData, SocialFeedManagerMethods { } /********************************************* * SocialFeedManager **********************************************/ export interface SocialFeedManager extends Base.IBaseResult, SocialFeedManagerProps, SocialFeedManagerCollections, SocialFeedManagerMethods { } /********************************************* * SocialFeedManagerProps **********************************************/ export interface SocialFeedManagerProps { Owner?: SP.Social.SocialActor; PersonalSitePortalUri?: string; } /********************************************* * SocialFeedManagerPropMethods **********************************************/ export interface SocialFeedManagerPropMethods { } /********************************************* * SocialFeedManagerCollections **********************************************/ export interface SocialFeedManagerCollections extends SocialFeedManagerPropMethods { } /********************************************* * SocialFeedManagerOData **********************************************/ export interface SocialFeedManagerOData extends Base.IBaseResult, SocialFeedManagerProps, SocialFeedManagerMethods { } /********************************************* * SocialFeedManagerMethods **********************************************/ export interface SocialFeedManagerMethods { createFileAttachment(name?: string, description?: string, fileData?: any): Base.IBaseExecution; createImageAttachment(name?: string, description?: string, imageData?: any): Base.IBaseExecution; createPost(targetId?: string, creationData?: SP.Social.SocialPostCreationData): Base.IBaseExecution; deletePost(postId?: string): Base.IBaseExecution; getAllLikers(postId?: string): Base.IBaseCollection; getFeed(type?: number, options?: SP.Social.SocialFeedOptions): Base.IBaseExecution; getFeedFor(actorId?: string, options?: SP.Social.SocialFeedOptions): Base.IBaseExecution; getFullThread(threadId?: string): Base.IBaseExecution; getMentions(clearUnreadMentions?: boolean, options?: SP.Social.SocialFeedOptions): Base.IBaseExecution; getPreview(itemUrl?: string): Base.IBaseExecution; getPreviewImage(url?: string, key?: string, iv?: string): Base.IBaseExecution; getUnreadMentionCount(): Base.IBaseExecution; likePost(postId?: string): Base.IBaseExecution; lockThread(threadId?: string): Base.IBaseExecution; suppressThreadNotifications(threadId?: string): Base.IBaseExecution; unlikePost(postId?: string): Base.IBaseExecution; unlockThread(threadId?: string): Base.IBaseExecution; } /********************************************* * ISocialFollowingManager **********************************************/ export interface ISocialFollowingManager extends SocialFollowingManagerCollections, SocialFollowingManagerMethods, Base.IBaseQuery { } /********************************************* * ISocialFollowingManagerCollection **********************************************/ export interface ISocialFollowingManagerCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialFollowingManagerQueryCollection **********************************************/ export interface ISocialFollowingManagerQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialFollowingManagerQuery **********************************************/ export interface ISocialFollowingManagerQuery extends SocialFollowingManagerOData, SocialFollowingManagerMethods { } /********************************************* * SocialFollowingManager **********************************************/ export interface SocialFollowingManager extends Base.IBaseResult, SocialFollowingManagerProps, SocialFollowingManagerCollections, SocialFollowingManagerMethods { } /********************************************* * SocialFollowingManagerProps **********************************************/ export interface SocialFollowingManagerProps { FollowedDocumentsUri?: string; FollowedSitesUri?: string; } /********************************************* * SocialFollowingManagerPropMethods **********************************************/ export interface SocialFollowingManagerPropMethods { } /********************************************* * SocialFollowingManagerCollections **********************************************/ export interface SocialFollowingManagerCollections extends SocialFollowingManagerPropMethods { } /********************************************* * SocialFollowingManagerOData **********************************************/ export interface SocialFollowingManagerOData extends Base.IBaseResult, SocialFollowingManagerProps, SocialFollowingManagerMethods { } /********************************************* * SocialFollowingManagerMethods **********************************************/ export interface SocialFollowingManagerMethods { follow(actor?: SP.Social.SocialActorInfo): Base.IBaseExecution; getFollowed(types?: number): Base.IBaseCollection; getFollowedCount(types?: number): Base.IBaseExecution; getFollowers(): Base.IBaseCollection; getSuggestions(): Base.IBaseCollection; isFollowed(actor?: SP.Social.SocialActorInfo): Base.IBaseExecution; mergeFollowedSites(followedSites?: string): Base.IBaseExecution; stopFollowing(actor?: SP.Social.SocialActorInfo): Base.IBaseExecution; } /********************************************* * ISocialRestActor **********************************************/ export interface ISocialRestActor extends SocialRestActorCollections, SocialRestActorMethods, Base.IBaseQuery { } /********************************************* * ISocialRestActorCollection **********************************************/ export interface ISocialRestActorCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestActorQueryCollection **********************************************/ export interface ISocialRestActorQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestActorQuery **********************************************/ export interface ISocialRestActorQuery extends SocialRestActorOData, SocialRestActorMethods { } /********************************************* * SocialRestActor **********************************************/ export interface SocialRestActor extends Base.IBaseResult, SocialRestActorProps, SocialRestActorCollections, SocialRestActorMethods { } /********************************************* * SocialRestActorProps **********************************************/ export interface SocialRestActorProps { FollowableItem?: string; FollowableItemActor?: SP.Social.SocialActor; Me?: SP.Social.SocialActor; } /********************************************* * SocialRestActorPropMethods **********************************************/ export interface SocialRestActorPropMethods { } /********************************************* * SocialRestActorCollections **********************************************/ export interface SocialRestActorCollections extends SocialRestActorPropMethods { } /********************************************* * SocialRestActorOData **********************************************/ export interface SocialRestActorOData extends Base.IBaseResult, SocialRestActorProps, SocialRestActorMethods { } /********************************************* * SocialRestActorMethods **********************************************/ export interface SocialRestActorMethods { feed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; likes(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; mentionFeed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; news(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; organizationFeed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; timelineFeed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; unreadMentionCount(): Base.IBaseExecution; } /********************************************* * ISocialRestFeedManager **********************************************/ export interface ISocialRestFeedManager extends SocialRestFeedManagerCollections, SocialRestFeedManagerMethods, Base.IBaseQuery { } /********************************************* * ISocialRestFeedManagerCollection **********************************************/ export interface ISocialRestFeedManagerCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestFeedManagerQueryCollection **********************************************/ export interface ISocialRestFeedManagerQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestFeedManagerQuery **********************************************/ export interface ISocialRestFeedManagerQuery extends SocialRestFeedManagerOData, SocialRestFeedManagerMethods { } /********************************************* * SocialRestFeedManager **********************************************/ export interface SocialRestFeedManager extends Base.IBaseResult, SocialRestFeedManagerProps, SocialRestFeedManagerCollections, SocialRestFeedManagerMethods { } /********************************************* * SocialRestFeedManagerProps **********************************************/ export interface SocialRestFeedManagerProps { Id4a81de82eeb94d6080ea5bf63e27023a?: string; } /********************************************* * SocialRestFeedManagerPropMethods **********************************************/ export interface SocialRestFeedManagerPropMethods { } /********************************************* * SocialRestFeedManagerCollections **********************************************/ export interface SocialRestFeedManagerCollections extends SocialRestFeedManagerPropMethods { } /********************************************* * SocialRestFeedManagerOData **********************************************/ export interface SocialRestFeedManagerOData extends Base.IBaseResult, SocialRestFeedManagerProps, SocialRestFeedManagerMethods { } /********************************************* * SocialRestFeedManagerMethods **********************************************/ export interface SocialRestFeedManagerMethods { actor(item?: string): Base.IBaseExecution; my(): Base.IBaseExecution; post(ID?: string): Base.IBaseExecution; } /********************************************* * ISocialRestFeed **********************************************/ export interface ISocialRestFeed extends SocialRestFeedCollections, SocialRestFeedMethods, Base.IBaseQuery { } /********************************************* * ISocialRestFeedCollection **********************************************/ export interface ISocialRestFeedCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestFeedQueryCollection **********************************************/ export interface ISocialRestFeedQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestFeedQuery **********************************************/ export interface ISocialRestFeedQuery extends SocialRestFeedOData, SocialRestFeedMethods { } /********************************************* * SocialRestFeed **********************************************/ export interface SocialRestFeed extends Base.IBaseResult, SocialRestFeedProps, SocialRestFeedCollections, SocialRestFeedMethods { } /********************************************* * SocialRestFeedProps **********************************************/ export interface SocialRestFeedProps { Id4a81de82eeb94d6080ea5bf63e27023a?: string; SocialFeed?: SP.Social.SocialFeed; } /********************************************* * SocialRestFeedPropMethods **********************************************/ export interface SocialRestFeedPropMethods { } /********************************************* * SocialRestFeedCollections **********************************************/ export interface SocialRestFeedCollections extends SocialRestFeedPropMethods { } /********************************************* * SocialRestFeedOData **********************************************/ export interface SocialRestFeedOData extends Base.IBaseResult, SocialRestFeedProps, SocialRestFeedMethods { } /********************************************* * SocialRestFeedMethods **********************************************/ export interface SocialRestFeedMethods { clearUnReadMentionCount(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): Base.IBaseExecution; post(restCreationData?: SP.Social.SocialRestPostCreationData): Base.IBaseExecution; } /********************************************* * ISocialRestFollowingManager **********************************************/ export interface ISocialRestFollowingManager extends SocialRestFollowingManagerCollections, SocialRestFollowingManagerMethods, Base.IBaseQuery { } /********************************************* * ISocialRestFollowingManagerCollection **********************************************/ export interface ISocialRestFollowingManagerCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestFollowingManagerQueryCollection **********************************************/ export interface ISocialRestFollowingManagerQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestFollowingManagerQuery **********************************************/ export interface ISocialRestFollowingManagerQuery extends SocialRestFollowingManagerOData, SocialRestFollowingManagerMethods { } /********************************************* * SocialRestFollowingManager **********************************************/ export interface SocialRestFollowingManager extends Base.IBaseResult, SocialRestFollowingManagerProps, SocialRestFollowingManagerCollections, SocialRestFollowingManagerMethods { } /********************************************* * SocialRestFollowingManagerProps **********************************************/ export interface SocialRestFollowingManagerProps { FollowedDocumentsUri?: string; FollowedSitesUri?: string; MyFollowedDocumentsUri?: string; MyFollowedSitesUri?: string; SocialActor?: SP.Social.SocialActor; } /********************************************* * SocialRestFollowingManagerPropMethods **********************************************/ export interface SocialRestFollowingManagerPropMethods { } /********************************************* * SocialRestFollowingManagerCollections **********************************************/ export interface SocialRestFollowingManagerCollections extends SocialRestFollowingManagerPropMethods { } /********************************************* * SocialRestFollowingManagerOData **********************************************/ export interface SocialRestFollowingManagerOData extends Base.IBaseResult, SocialRestFollowingManagerProps, SocialRestFollowingManagerMethods { } /********************************************* * SocialRestFollowingManagerMethods **********************************************/ export interface SocialRestFollowingManagerMethods { follow(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): Base.IBaseExecution; followed(types?: number, count?: number): Base.IBaseCollection; followedCount(types?: number): Base.IBaseExecution; followers(): Base.IBaseCollection; isFollowed(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): Base.IBaseExecution; mergeFollowedSites(followedSites?: string): Base.IBaseExecution; my(): Base.IBaseExecution; stopFollowing(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): Base.IBaseExecution; suggestions(): Base.IBaseCollection; } /********************************************* * ISocialRestThread **********************************************/ export interface ISocialRestThread extends SocialRestThreadCollections, SocialRestThreadMethods, Base.IBaseQuery { } /********************************************* * ISocialRestThreadCollection **********************************************/ export interface ISocialRestThreadCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestThreadQueryCollection **********************************************/ export interface ISocialRestThreadQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISocialRestThreadQuery **********************************************/ export interface ISocialRestThreadQuery extends SocialRestThreadOData, SocialRestThreadMethods { } /********************************************* * SocialRestThread **********************************************/ export interface SocialRestThread extends Base.IBaseResult, SocialRestThreadProps, SocialRestThreadCollections, SocialRestThreadMethods { } /********************************************* * SocialRestThreadProps **********************************************/ export interface SocialRestThreadProps { ID?: string; SocialThread?: SP.Social.SocialThread; } /********************************************* * SocialRestThreadPropMethods **********************************************/ export interface SocialRestThreadPropMethods { } /********************************************* * SocialRestThreadCollections **********************************************/ export interface SocialRestThreadCollections extends SocialRestThreadPropMethods { } /********************************************* * SocialRestThreadOData **********************************************/ export interface SocialRestThreadOData extends Base.IBaseResult, SocialRestThreadProps, SocialRestThreadMethods { } /********************************************* * SocialRestThreadMethods **********************************************/ export interface SocialRestThreadMethods { delete(ID?: string): Base.IBaseExecution; like(ID?: string): Base.IBaseExecution; likers(ID?: string): Base.IBaseCollection; lock(ID?: string): Base.IBaseExecution; reply(restCreationData?: SP.Social.SocialRestPostCreationData): Base.IBaseExecution; unLike(ID?: string): Base.IBaseExecution; unLock(ID?: string): Base.IBaseExecution; }