import { Base } from "../../"; import { SP } from "../../"; /********************************************* * CrossGeoSync **********************************************/ export interface CrossGeoSync { Id4a81de82eeb94d6080ea5bf63e27023a?: string; } /********************************************* * CrossGeoSyncCollections **********************************************/ export interface CrossGeoSyncCollections { } /********************************************* * IFollowedContent **********************************************/ export interface IFollowedContent extends FollowedContentCollections, FollowedContentMethods, Base.IBaseQuery { } /********************************************* * IFollowedContentCollection **********************************************/ export interface IFollowedContentCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IFollowedContentQueryCollection **********************************************/ export interface IFollowedContentQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IFollowedContentQuery **********************************************/ export interface IFollowedContentQuery extends FollowedContentOData, FollowedContentMethods { } /********************************************* * FollowedContent **********************************************/ export interface FollowedContent extends Base.IBaseResult, FollowedContentProps, FollowedContentCollections, FollowedContentMethods { } /********************************************* * FollowedContentProps **********************************************/ export interface FollowedContentProps { FollowedDocumentsUrl?: string; FollowedSitesUrl?: string; } /********************************************* * FollowedContentPropMethods **********************************************/ export interface FollowedContentPropMethods { } /********************************************* * FollowedContentCollections **********************************************/ export interface FollowedContentCollections extends FollowedContentPropMethods { } /********************************************* * FollowedContentOData **********************************************/ export interface FollowedContentOData extends Base.IBaseResult, FollowedContentProps, FollowedContentMethods { } /********************************************* * FollowedContentMethods **********************************************/ export interface FollowedContentMethods { findAndUpdateFollowedGroup(groupId?: any): Base.IBaseExecution; findAndUpdateFollowedItem(url?: string): Base.IBaseExecution; followItem(item?: SP.UserProfiles.FollowedItem): Base.IBaseExecution; getFollowedStatus(url?: string): Base.IBaseExecution; getGroups(rowLimit?: number): Base.IBaseCollection; getItem(url?: string): Base.IBaseExecution; getItems(options?: number, subtype?: number): Base.IBaseCollection; hasGroupMembershipChangedAndSyncChanges(): Base.IBaseExecution; isFollowed(url?: string): Base.IBaseExecution; refreshFollowedItem(item?: SP.UserProfiles.FollowedItem): Base.IBaseExecution; setItemPinState(uri?: string, groupId?: any, pinState?: number): Base.IBaseExecution; stopFollowing(url?: string): Base.IBaseExecution; updateFollowedGroupForUser(contextUri?: string, groupId?: any, loginName?: string): Base.IBaseExecution; } /********************************************* * FollowedItemData **********************************************/ export interface FollowedItemData { Id4a81de82eeb94d6080ea5bf63e27023a?: string; Properties?: { results: Array }; } /********************************************* * FollowedItemDataCollections **********************************************/ export interface FollowedItemDataCollections { } /********************************************* * HashTagCollection **********************************************/ export interface HashTagCollection { Id4a81de82eeb94d6080ea5bf63e27023a?: string; Items?: { results: Array }; } /********************************************* * HashTagCollectionCollections **********************************************/ export interface HashTagCollectionCollections { } /********************************************* * IPeopleManager **********************************************/ export interface IPeopleManager extends PeopleManagerCollections, PeopleManagerMethods, Base.IBaseQuery { } /********************************************* * IPeopleManagerCollection **********************************************/ export interface IPeopleManagerCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IPeopleManagerQueryCollection **********************************************/ export interface IPeopleManagerQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IPeopleManagerQuery **********************************************/ export interface IPeopleManagerQuery extends PeopleManagerOData, PeopleManagerMethods { } /********************************************* * PeopleManager **********************************************/ export interface PeopleManager extends Base.IBaseResult, PeopleManagerProps, PeopleManagerCollections, PeopleManagerMethods { } /********************************************* * PeopleManagerProps **********************************************/ export interface PeopleManagerProps { EditProfileLink?: string; IsMyPeopleListPublic?: boolean; } /********************************************* * PeopleManagerPropMethods **********************************************/ export interface PeopleManagerPropMethods { } /********************************************* * PeopleManagerCollections **********************************************/ export interface PeopleManagerCollections extends PeopleManagerPropMethods { } /********************************************* * PeopleManagerOData **********************************************/ export interface PeopleManagerOData extends Base.IBaseResult, PeopleManagerProps, PeopleManagerMethods { } /********************************************* * PeopleManagerMethods **********************************************/ export interface PeopleManagerMethods { amIFollowedBy(accountName?: string): Base.IBaseExecution; amIFollowing(accountName?: string): Base.IBaseExecution; follow(accountName?: string): Base.IBaseExecution; followTag(value?: any): Base.IBaseExecution; getDefaultDocumentLibrary(accountName?: string, createSiteIfNotExists?: boolean, siteCreationPriority?: number): Base.IBaseExecution; getFollowedTags(cTagsToFetch?: number): Base.IBaseCollection; getFollowersFor(accountName?: string): Base.IBaseCollection; getMyFollowers(): Base.IBaseCollection; getMyProperties(): Base.IBaseExecution; getMySuggestions(): Base.IBaseCollection; getPeopleFollowedBy(accountName?: string): Base.IBaseCollection; getPeopleFollowedByMe(): Base.IBaseCollection; getPropertiesFor(accountName?: string): Base.IBaseExecution; getSPUserInformation(accountName?: string, siteId?: any): Base.IBaseCollection; getUserOneDriveQuotaMax(accountName?: string): Base.IBaseExecution; getUserProfileProperties(accountName?: string): Base.IBaseCollection; // getUserProfilePropertyFor(accountName?: string, propertyName?: string): Base.IBaseExecution; hardDeleteUserProfile(accountName?: string, userId?: any): Base.IBaseExecution; hideSuggestion(accountName?: string): Base.IBaseExecution; removeSPUserInformation(accountName?: string, siteId?: any, redactName?: string): Base.IBaseCollection; resetUserOneDriveQuotaToDefault(accountName?: string): Base.IBaseExecution; setMultiValuedProfileProperty(accountName?: string, propertyName?: string, propertyValues?: Array): Base.IBaseExecution; setMyProfilePicture(picture?: any): Base.IBaseExecution; setSingleValueProfileProperty(accountName?: string, propertyName?: string, propertyValue?: string): Base.IBaseExecution; setUserOneDriveQuota(accountName?: string, newQuota?: number, newQuotaWarning?: number): Base.IBaseExecution; stopFollowing(accountName?: string): Base.IBaseExecution; stopFollowingTag(value?: any): Base.IBaseExecution; getUserProfilePropertyFor(accountName?: string, propertyName?: string): Base.IBaseExecution<{ GetUserProfilePropertyFor: string }>; } /********************************************* * IPersonalCache **********************************************/ export interface IPersonalCache extends PersonalCacheCollections, PersonalCacheMethods, Base.IBaseQuery { } /********************************************* * IPersonalCacheCollection **********************************************/ export interface IPersonalCacheCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IPersonalCacheQueryCollection **********************************************/ export interface IPersonalCacheQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IPersonalCacheQuery **********************************************/ export interface IPersonalCacheQuery extends PersonalCacheOData, PersonalCacheMethods { } /********************************************* * PersonalCache **********************************************/ export interface PersonalCache extends Base.IBaseResult, PersonalCacheProps, PersonalCacheCollections, PersonalCacheMethods { } /********************************************* * PersonalCacheProps **********************************************/ export interface PersonalCacheProps { CacheName?: string; MySiteUrl?: string; RequireHtmlStorage?: boolean; } /********************************************* * PersonalCachePropMethods **********************************************/ export interface PersonalCachePropMethods { } /********************************************* * PersonalCacheCollections **********************************************/ export interface PersonalCacheCollections extends PersonalCachePropMethods { } /********************************************* * PersonalCacheOData **********************************************/ export interface PersonalCacheOData extends Base.IBaseResult, PersonalCacheProps, PersonalCacheMethods { } /********************************************* * PersonalCacheMethods **********************************************/ export interface PersonalCacheMethods { deleteCacheItemsAsync(cacheItems?: Array): Base.IBaseExecution; deleteCacheItemsAsync2(cacheItems?: Array, mySiteUrl?: string): Base.IBaseExecution; dispose(): Base.IBaseExecution; readCache(folderPath?: string): Base.IBaseCollection; readCache2(folderPath?: string, mySiteUrl?: string): Base.IBaseCollection; readCacheOrCreate(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array, createIfMissing?: boolean): Base.IBaseCollection; readCacheOrCreate2(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array, createIfMissing?: boolean, mySiteUrl?: string): Base.IBaseCollection; readCacheOrCreateOrderById(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array, createIfMissing?: boolean): Base.IBaseCollection; readCacheOrCreateOrderById2(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array, createIfMissing?: boolean, mySiteUrl?: string): Base.IBaseCollection; writeCache(cacheItems?: Array): Base.IBaseExecution; writeCache2(cacheItems?: Array, mySiteUrl?: string): Base.IBaseExecution; } /********************************************* * PersonProperties **********************************************/ export interface PersonProperties { AccountName?: string; DirectReports?: { results: Array }; DisplayName?: string; Email?: string; ExtendedManagers?: { results: Array }; ExtendedReports?: { results: Array }; IsFollowed?: boolean; LatestPost?: string; Peers?: { results: Array }; PersonalSiteHostUrl?: string; PersonalUrl?: string; PictureUrl?: string; Title?: string; UserProfileProperties?: { results: Array }; UserUrl?: string; } /********************************************* * PersonPropertiesCollections **********************************************/ export interface PersonPropertiesCollections { } /********************************************* * IProfileImageStore **********************************************/ export interface IProfileImageStore extends ProfileImageStoreCollections, ProfileImageStoreMethods, Base.IBaseQuery { } /********************************************* * IProfileImageStoreCollection **********************************************/ export interface IProfileImageStoreCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IProfileImageStoreQueryCollection **********************************************/ export interface IProfileImageStoreQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IProfileImageStoreQuery **********************************************/ export interface IProfileImageStoreQuery extends ProfileImageStoreOData, ProfileImageStoreMethods { } /********************************************* * ProfileImageStore **********************************************/ export interface ProfileImageStore extends Base.IBaseResult, ProfileImageStoreProps, ProfileImageStoreCollections, ProfileImageStoreMethods { } /********************************************* * ProfileImageStoreProps **********************************************/ export interface ProfileImageStoreProps { Id4a81de82eeb94d6080ea5bf63e27023a?: string; } /********************************************* * ProfileImageStorePropMethods **********************************************/ export interface ProfileImageStorePropMethods { } /********************************************* * ProfileImageStoreCollections **********************************************/ export interface ProfileImageStoreCollections extends ProfileImageStorePropMethods { } /********************************************* * ProfileImageStoreOData **********************************************/ export interface ProfileImageStoreOData extends Base.IBaseResult, ProfileImageStoreProps, ProfileImageStoreMethods { } /********************************************* * ProfileImageStoreMethods **********************************************/ export interface ProfileImageStoreMethods { saveUploadedFile(profileType?: number, fileNamePrefix?: string, isFeedAttachment?: boolean, clientFilePath?: string, fileSize?: number, fileStream?: any): Base.IBaseCollection; } /********************************************* * IProfileLoader **********************************************/ export interface IProfileLoader extends ProfileLoaderCollections, ProfileLoaderMethods, Base.IBaseQuery { } /********************************************* * IProfileLoaderCollection **********************************************/ export interface IProfileLoaderCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IProfileLoaderQueryCollection **********************************************/ export interface IProfileLoaderQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IProfileLoaderQuery **********************************************/ export interface IProfileLoaderQuery extends ProfileLoaderOData, ProfileLoaderMethods { } /********************************************* * ProfileLoader **********************************************/ export interface ProfileLoader extends Base.IBaseResult, ProfileLoaderProps, ProfileLoaderCollections, ProfileLoaderMethods { } /********************************************* * ProfileLoaderProps **********************************************/ export interface ProfileLoaderProps { Id4a81de82eeb94d6080ea5bf63e27023a?: string; } /********************************************* * ProfileLoaderPropMethods **********************************************/ export interface ProfileLoaderPropMethods { } /********************************************* * ProfileLoaderCollections **********************************************/ export interface ProfileLoaderCollections extends ProfileLoaderPropMethods { } /********************************************* * ProfileLoaderOData **********************************************/ export interface ProfileLoaderOData extends Base.IBaseResult, ProfileLoaderProps, ProfileLoaderMethods { } /********************************************* * ProfileLoaderMethods **********************************************/ export interface ProfileLoaderMethods { createPersonalSiteEnqueueBulk(emailIDs?: Array): Base.IBaseCollection; getUserProfile(): Base.IBaseQuery & SP.UserProfiles.UserProfileCollections & SP.UserProfiles.UserProfileMethods; } /********************************************* * IUserProfilePropertiesForUser **********************************************/ export interface IUserProfilePropertiesForUser extends UserProfilePropertiesForUserCollections, UserProfilePropertiesForUserMethods, Base.IBaseQuery { } /********************************************* * IUserProfilePropertiesForUserCollection **********************************************/ export interface IUserProfilePropertiesForUserCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IUserProfilePropertiesForUserQueryCollection **********************************************/ export interface IUserProfilePropertiesForUserQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IUserProfilePropertiesForUserQuery **********************************************/ export interface IUserProfilePropertiesForUserQuery extends UserProfilePropertiesForUserOData, UserProfilePropertiesForUserMethods { } /********************************************* * UserProfilePropertiesForUser **********************************************/ export interface UserProfilePropertiesForUser extends Base.IBaseResult, UserProfilePropertiesForUserProps, UserProfilePropertiesForUserCollections, UserProfilePropertiesForUserMethods { } /********************************************* * UserProfilePropertiesForUserProps **********************************************/ export interface UserProfilePropertiesForUserProps { AccountName?: string; } /********************************************* * UserProfilePropertiesForUserPropMethods **********************************************/ export interface UserProfilePropertiesForUserPropMethods { } /********************************************* * UserProfilePropertiesForUserCollections **********************************************/ export interface UserProfilePropertiesForUserCollections extends UserProfilePropertiesForUserPropMethods { } /********************************************* * UserProfilePropertiesForUserOData **********************************************/ export interface UserProfilePropertiesForUserOData extends Base.IBaseResult, UserProfilePropertiesForUserProps, UserProfilePropertiesForUserMethods { } /********************************************* * UserProfilePropertiesForUserMethods **********************************************/ export interface UserProfilePropertiesForUserMethods { getPropertyNames(): Base.IBaseCollection; } /********************************************* * IUserProfile **********************************************/ export interface IUserProfile extends UserProfileCollections, UserProfileMethods, Base.IBaseQuery { } /********************************************* * IUserProfileCollection **********************************************/ export interface IUserProfileCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IUserProfileQueryCollection **********************************************/ export interface IUserProfileQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * IUserProfileQuery **********************************************/ export interface IUserProfileQuery extends UserProfileOData, UserProfileMethods { } /********************************************* * UserProfile **********************************************/ export interface UserProfile extends Base.IBaseResult, UserProfileProps, UserProfileCollections, UserProfileMethods { } /********************************************* * UserProfileProps **********************************************/ export interface UserProfileProps { AccountName?: string; DisplayName?: string; FollowPersonalSiteUrl?: string; IsDefaultDocumentLibraryBlocked?: boolean; IsPeopleListPublic?: boolean; IsPrivacySettingOn?: boolean; IsSelf?: boolean; JobTitle?: string; MySiteFirstRunExperience?: number; MySiteHostUrl?: string; O15FirstRunExperience?: number; PersonalSiteCapabilities?: number; PersonalSiteFirstCreationError?: string; PersonalSiteFirstCreationTime?: any; PersonalSiteInstantiationState?: number; PersonalSiteLastCreationTime?: any; PersonalSiteNumberOfRetries?: number; PictureImportEnabled?: boolean; PictureUrl?: string; PublicUrl?: string; SipAddress?: string; UrlToCreatePersonalSite?: string; } /********************************************* * UserProfilePropMethods **********************************************/ export interface UserProfilePropMethods { FollowedContent(): Base.IBaseExecution & SP.UserProfiles.FollowedContentCollections & SP.UserProfiles.FollowedContentMethods; PersonalSite(): Base.IBaseQuery & SP.SiteCollections & SP.SiteMethods; } /********************************************* * UserProfileCollections **********************************************/ export interface UserProfileCollections extends UserProfilePropMethods { } /********************************************* * UserProfileOData **********************************************/ export interface UserProfileOData extends Base.IBaseResult, UserProfileProps, UserProfileMethods { FollowedContent: SP.UserProfiles.FollowedContent & SP.UserProfiles.FollowedContentCollections; PersonalSite: SP.Site & SP.SiteCollections; } /********************************************* * UserProfileMethods **********************************************/ export interface UserProfileMethods { createPersonalSite(lcid?: number): Base.IBaseExecution; createPersonalSiteEnque(isInteractive?: boolean): Base.IBaseExecution; createPersonalSiteFromWorkItem(workItemType?: any): Base.IBaseExecution; setMySiteFirstRunExperience(value?: number): Base.IBaseExecution; shareAllSocialData(shareAll?: boolean): Base.IBaseExecution; }