PSA.types.ps1xml
<?xml version="1.0" encoding="utf-16"?> <!-- Generated with EZOut 2.0.1: Install-Module EZOut or https://github.com/StartAutomating/EZOut --> <Types> <Type> <Name>com.atproto.server.createSession</Name> <Members> <ScriptProperty> <Name>MaskedEmail</Name> <GetScriptBlock> <# .SYNOPSIS Masks an email .DESCRIPTION Masks an email, displaying only the first 3 letters of the address and domain. #> $this.email -replace '(?<u>.{3}).+?@(?<d>.{3}).+?(?<s>\..+)$','${u}***@${d}***${s}' </GetScriptBlock> </ScriptProperty> <ScriptProperty> <Name>Profile</Name> <GetScriptBlock> <# .SYNOPSIS Gets the profile attached to a session .DESCRIPTION Gets the profile of the logged-in user. #> Get-BlueSkyActorProfile -Actor $this.handle -Cache </GetScriptBlock> </ScriptProperty> <NoteProperty> <Name>README</Name> <Value> The `com.atproto.server.createSession` object is a connection to the At Protocol. It contains: * The .Handle of the actor * The .Email of the actor * The .DID of the actor * An .AccessJWT (JavaScript Web Token) * A .RefreshJWT (JavaScript Web Token)</Value> </NoteProperty> </Members> </Type> <Type> <Name>feed</Name> <Members> </Members> </Type> <Type> <Name>app.bsky.feed.getActorFeeds</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getActorFeeds -Cache. #> $this | app.bsky.feed.getActorFeeds -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getActorLikes</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getActorLikes -Cache. #> $this | app.bsky.feed.getActorLikes -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getAuthorFeed</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getAuthorFeed -Cache. #> $this | app.bsky.feed.getAuthorFeed -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getBlocks</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getBlocks -Cache. #> $this | app.bsky.graph.getBlocks -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getFeed</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getFeed -Cache. #> $this | app.bsky.feed.getFeed -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getFeedSkeleton</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getFeedSkeleton -Cache. #> $this | app.bsky.feed.getFeedSkeleton -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getFollowers</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getFollowers -Cache. #> $this | app.bsky.graph.getFollowers -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getFollows</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getFollows -Cache. #> $this | app.bsky.graph.getFollows -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.admin.getInviteCodes</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.admin.getInviteCodes -Cache. #> $this | com.atproto.admin.getInviteCodes -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getLikes</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getLikes -Cache. #> $this | app.bsky.feed.getLikes -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getList</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getList -Cache. #> $this | app.bsky.graph.getList -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getListBlocks</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getListBlocks -Cache. #> $this | app.bsky.graph.getListBlocks -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getListFeed</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getListFeed -Cache. #> $this | app.bsky.feed.getListFeed -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getListMutes</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getListMutes -Cache. #> $this | app.bsky.graph.getListMutes -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getLists</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getLists -Cache. #> $this | app.bsky.graph.getLists -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.admin.getModerationActions</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.admin.getModerationActions -Cache. #> $this | com.atproto.admin.getModerationActions -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.admin.getModerationReports</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.admin.getModerationReports -Cache. #> $this | com.atproto.admin.getModerationReports -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.getMutes</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.graph.getMutes -Cache. #> $this | app.bsky.graph.getMutes -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.unspecced.getPopular</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.unspecced.getPopular -Cache. #> $this | app.bsky.unspecced.getPopular -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.unspecced.getPopularFeedGenerators</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.unspecced.getPopularFeedGenerators -Cache. #> $this | app.bsky.unspecced.getPopularFeedGenerators -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.actor.getProfile</Name> <Members> <AliasProperty> <Name>Actor</Name> <ReferencedMemberName>Handle</ReferencedMemberName> </AliasProperty> <AliasProperty> <Name>Followers</Name> <ReferencedMemberName>Follower</ReferencedMemberName> </AliasProperty> <AliasProperty> <Name>Likes</Name> <ReferencedMemberName>Like</ReferencedMemberName> </AliasProperty> <AliasProperty> <Name>Posts</Name> <ReferencedMemberName>Post</ReferencedMemberName> </AliasProperty> <ScriptMethod> <Name>Follow</Name> <Script> <# .SYNOPSIS Follow .DESCRIPTION Follows this profile. #> param() $myBlueSkySession = Get-AtprotoServerSession if (-not $myBlueSkySession) { return } if (-not $this.did) { return } Add-AtprotoRepoRecord -Repo $myBlueSkySession.did -Collection 'app.bsky.graph.follow' -Record ([PSCustomObject][Ordered]@{ '$type' = 'app.bsky.graph.follow' createdAt = [DateTime]::Now.ToString('o') subject=$this.did }) </Script> </ScriptMethod> <ScriptProperty> <Name>Follower</Name> <GetScriptBlock> $this | app.bsky.graph.getFollowers </GetScriptBlock> </ScriptProperty> <ScriptProperty> <Name>Follows</Name> <GetScriptBlock> $this | app.bsky.graph.getFollows </GetScriptBlock> </ScriptProperty> <ScriptProperty> <Name>Like</Name> <GetScriptBlock> $this | app.bsky.feed.getActorLikes -Cache </GetScriptBlock> </ScriptProperty> <ScriptProperty> <Name>MarkdownDescription</Name> <GetScriptBlock> $this.Description -replace "(?<Link>https?://.+?(?=\z|\s))",'[${Link}](${Link})' </GetScriptBlock> </ScriptProperty> <ScriptProperty> <Name>Post</Name> <GetScriptBlock> $this | Get-BskyFeedAuthorFeed -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getRepostedBy</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getRepostedBy -Cache. #> $this | app.bsky.feed.getRepostedBy -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getSuggestedFeeds</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getSuggestedFeeds -Cache. #> $this | app.bsky.feed.getSuggestedFeeds -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.actor.getSuggestions</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.actor.getSuggestions -Cache. #> $this | app.bsky.actor.getSuggestions -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.getTimeline</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.getTimeline -Cache. #> $this | app.bsky.feed.getTimeline -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.unspecced.getTimelineSkeleton</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.unspecced.getTimelineSkeleton -Cache. #> $this | app.bsky.unspecced.getTimelineSkeleton -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.sync.listBlobs</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.sync.listBlobs -Cache. #> $this | com.atproto.sync.listBlobs -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.notification.listNotifications</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.notification.listNotifications -Cache. #> $this | app.bsky.notification.listNotifications -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.repo.listRecords</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.repo.listRecords -Cache. #> $this | com.atproto.repo.listRecords -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.sync.listRepos</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.sync.listRepos -Cache. #> $this | com.atproto.sync.listRepos -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.graph.defs#postView</Name> <Members> </Members> </Type> <Type> <Name>app.bsky.feed.defs#postView</Name> <Members> </Members> </Type> <Type> <Name>app.bsky.actor.defs#profileView</Name> <Members> <ScriptMethod> <Name>Follow</Name> <Script> param() (Get-BskyActorProfile -Cache -Actor $this.did).Follow() </Script> </ScriptMethod> </Members> </Type> <Type> <Name>com.atproto.label.queryLabels</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.label.queryLabels -Cache. #> $this | com.atproto.label.queryLabels -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.actor.searchActors</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.actor.searchActors -Cache. #> $this | app.bsky.actor.searchActors -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.unspecced.searchActorsSkeleton</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.unspecced.searchActorsSkeleton -Cache. #> $this | app.bsky.unspecced.searchActorsSkeleton -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.feed.searchPosts</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.feed.searchPosts -Cache. #> $this | app.bsky.feed.searchPosts -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>app.bsky.unspecced.searchPostsSkeleton</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of app.bsky.unspecced.searchPostsSkeleton -Cache. #> $this | app.bsky.unspecced.searchPostsSkeleton -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.admin.searchRepos</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.admin.searchRepos -Cache. #> $this | com.atproto.admin.searchRepos -Cache </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.label.subscribeLabels</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.label.subscribeLabels. #> $this | com.atproto.label.subscribeLabels </GetScriptBlock> </ScriptProperty> </Members> </Type> <Type> <Name>com.atproto.sync.subscribeRepos</Name> <Members> <ScriptProperty> <Name>More</Name> <GetScriptBlock> <# .SYNOPSIS Gets additional results. .DESCRIPTION Gets the next page of results of com.atproto.sync.subscribeRepos. #> $this | com.atproto.sync.subscribeRepos </GetScriptBlock> </ScriptProperty> </Members> </Type> </Types> |