@atproto/api 0.12.25 → 0.13.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/OAUTH.md +273 -0
- package/README.md +79 -42
- package/dist/agent.d.ts +159 -107
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +1019 -341
- package/dist/agent.js.map +1 -1
- package/dist/atp-agent.d.ts +97 -0
- package/dist/atp-agent.d.ts.map +1 -0
- package/dist/atp-agent.js +439 -0
- package/dist/atp-agent.js.map +1 -0
- package/dist/atp-client.d.ts +57 -0
- package/dist/atp-client.d.ts.map +1 -0
- package/dist/atp-client.js +177 -0
- package/dist/atp-client.js.map +1 -0
- package/dist/bsky-agent.d.ts +3 -121
- package/dist/bsky-agent.d.ts.map +1 -1
- package/dist/bsky-agent.js +8 -1125
- package/dist/bsky-agent.js.map +1 -1
- package/dist/client/index.d.ts +95 -101
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +400 -1037
- package/dist/client/index.js.map +1 -1
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts +4 -3
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getPreferences.js +0 -6
- package/dist/client/types/app/bsky/actor/getPreferences.js.map +1 -1
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +4 -3
- package/dist/client/types/app/bsky/actor/getProfile.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getProfile.js +0 -6
- package/dist/client/types/app/bsky/actor/getProfile.js.map +1 -1
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +4 -3
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getProfiles.js +0 -6
- package/dist/client/types/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +4 -3
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.js +0 -6
- package/dist/client/types/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/client/types/app/bsky/actor/putPreferences.d.ts +5 -4
- package/dist/client/types/app/bsky/actor/putPreferences.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/putPreferences.js +0 -6
- package/dist/client/types/app/bsky/actor/putPreferences.js.map +1 -1
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +4 -3
- package/dist/client/types/app/bsky/actor/searchActors.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/searchActors.js +0 -6
- package/dist/client/types/app/bsky/actor/searchActors.js.map +1 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +4 -3
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.js +0 -6
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.js +0 -6
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getActorFeeds.js +0 -6
- package/dist/client/types/app/bsky/feed/getActorFeeds.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.js +2 -2
- package/dist/client/types/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.js +2 -2
- package/dist/client/types/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeed.js +1 -1
- package/dist/client/types/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.js +0 -6
- package/dist/client/types/app/bsky/feed/getFeedGenerator.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.js +0 -6
- package/dist/client/types/app/bsky/feed/getFeedGenerators.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.js +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getLikes.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getLikes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getLikes.js +0 -6
- package/dist/client/types/app/bsky/feed/getLikes.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.js +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.js +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getPosts.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getPosts.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getPosts.js +0 -6
- package/dist/client/types/app/bsky/feed/getPosts.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.js +0 -6
- package/dist/client/types/app/bsky/feed/getRepostedBy.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.js +0 -6
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.js +0 -6
- package/dist/client/types/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts +4 -3
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.js +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts +5 -4
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.js +0 -6
- package/dist/client/types/app/bsky/feed/sendInteractions.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getActorStarterPacks.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getActorStarterPacks.js +0 -6
- package/dist/client/types/app/bsky/graph/getActorStarterPacks.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getBlocks.js +0 -6
- package/dist/client/types/app/bsky/graph/getBlocks.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getFollowers.js +0 -6
- package/dist/client/types/app/bsky/graph/getFollowers.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getFollows.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getFollows.js +0 -6
- package/dist/client/types/app/bsky/graph/getFollows.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getKnownFollowers.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getKnownFollowers.js +0 -6
- package/dist/client/types/app/bsky/graph/getKnownFollowers.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getList.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getList.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getList.js +0 -6
- package/dist/client/types/app/bsky/graph/getList.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.js +0 -6
- package/dist/client/types/app/bsky/graph/getListBlocks.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getListMutes.js +0 -6
- package/dist/client/types/app/bsky/graph/getListMutes.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getLists.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getLists.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getLists.js +0 -6
- package/dist/client/types/app/bsky/graph/getLists.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getMutes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getMutes.js +0 -6
- package/dist/client/types/app/bsky/graph/getMutes.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getRelationships.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getRelationships.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getRelationships.js +1 -1
- package/dist/client/types/app/bsky/graph/getRelationships.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPack.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getStarterPack.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPack.js +0 -6
- package/dist/client/types/app/bsky/graph/getStarterPack.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPacks.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPacks.js +0 -6
- package/dist/client/types/app/bsky/graph/getStarterPacks.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +4 -3
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js +0 -6
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.d.ts +5 -4
- package/dist/client/types/app/bsky/graph/muteActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.js +0 -6
- package/dist/client/types/app/bsky/graph/muteActor.js.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActorList.d.ts +5 -4
- package/dist/client/types/app/bsky/graph/muteActorList.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActorList.js +0 -6
- package/dist/client/types/app/bsky/graph/muteActorList.js.map +1 -1
- package/dist/client/types/app/bsky/graph/muteThread.d.ts +5 -4
- package/dist/client/types/app/bsky/graph/muteThread.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/muteThread.js +0 -6
- package/dist/client/types/app/bsky/graph/muteThread.js.map +1 -1
- package/dist/client/types/app/bsky/graph/unmuteActor.d.ts +5 -4
- package/dist/client/types/app/bsky/graph/unmuteActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/unmuteActor.js +0 -6
- package/dist/client/types/app/bsky/graph/unmuteActor.js.map +1 -1
- package/dist/client/types/app/bsky/graph/unmuteActorList.d.ts +5 -4
- package/dist/client/types/app/bsky/graph/unmuteActorList.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/unmuteActorList.js +0 -6
- package/dist/client/types/app/bsky/graph/unmuteActorList.js.map +1 -1
- package/dist/client/types/app/bsky/graph/unmuteThread.d.ts +5 -4
- package/dist/client/types/app/bsky/graph/unmuteThread.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/unmuteThread.js +0 -6
- package/dist/client/types/app/bsky/graph/unmuteThread.js.map +1 -1
- package/dist/client/types/app/bsky/labeler/getServices.d.ts +4 -3
- package/dist/client/types/app/bsky/labeler/getServices.d.ts.map +1 -1
- package/dist/client/types/app/bsky/labeler/getServices.js +0 -6
- package/dist/client/types/app/bsky/labeler/getServices.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +4 -3
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.js +0 -6
- package/dist/client/types/app/bsky/notification/getUnreadCount.js.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +4 -3
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js +0 -6
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/client/types/app/bsky/notification/putPreferences.d.ts +5 -4
- package/dist/client/types/app/bsky/notification/putPreferences.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/putPreferences.js +0 -6
- package/dist/client/types/app/bsky/notification/putPreferences.js.map +1 -1
- package/dist/client/types/app/bsky/notification/registerPush.d.ts +5 -4
- package/dist/client/types/app/bsky/notification/registerPush.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/registerPush.js +0 -6
- package/dist/client/types/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/client/types/app/bsky/notification/updateSeen.d.ts +5 -4
- package/dist/client/types/app/bsky/notification/updateSeen.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/updateSeen.js +0 -6
- package/dist/client/types/app/bsky/notification/updateSeen.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +4 -3
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.js +0 -6
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +4 -3
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js +0 -6
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +4 -3
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.js +0 -6
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +4 -3
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.js +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +4 -3
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.js +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.js.map +1 -1
- package/dist/client/types/chat/bsky/actor/deleteAccount.d.ts +4 -3
- package/dist/client/types/chat/bsky/actor/deleteAccount.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/deleteAccount.js +0 -6
- package/dist/client/types/chat/bsky/actor/deleteAccount.js.map +1 -1
- package/dist/client/types/chat/bsky/actor/exportAccountData.d.ts +4 -3
- package/dist/client/types/chat/bsky/actor/exportAccountData.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/exportAccountData.js +0 -6
- package/dist/client/types/chat/bsky/actor/exportAccountData.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.js +0 -6
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvo.d.ts +4 -3
- package/dist/client/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvo.js +0 -6
- package/dist/client/types/chat/bsky/convo/getConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +4 -3
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.js +0 -6
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts +4 -3
- package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.js +0 -6
- package/dist/client/types/chat/bsky/convo/getLog.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getMessages.d.ts +4 -3
- package/dist/client/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getMessages.js +0 -6
- package/dist/client/types/chat/bsky/convo/getMessages.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/leaveConvo.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/leaveConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/leaveConvo.js +0 -6
- package/dist/client/types/chat/bsky/convo/leaveConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/listConvos.d.ts +4 -3
- package/dist/client/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/listConvos.js +0 -6
- package/dist/client/types/chat/bsky/convo/listConvos.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/muteConvo.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/muteConvo.js +0 -6
- package/dist/client/types/chat/bsky/convo/muteConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.js +0 -6
- package/dist/client/types/chat/bsky/convo/sendMessage.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.js +0 -6
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/unmuteConvo.js +0 -6
- package/dist/client/types/chat/bsky/convo/unmuteConvo.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/updateRead.d.ts +5 -4
- package/dist/client/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/updateRead.js +0 -6
- package/dist/client/types/chat/bsky/convo/updateRead.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getActorMetadata.d.ts +4 -3
- package/dist/client/types/chat/bsky/moderation/getActorMetadata.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getActorMetadata.js +0 -6
- package/dist/client/types/chat/bsky/moderation/getActorMetadata.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +4 -3
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.js +0 -6
- package/dist/client/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/updateActorAccess.d.ts +5 -4
- package/dist/client/types/chat/bsky/moderation/updateActorAccess.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/updateActorAccess.js +0 -6
- package/dist/client/types/chat/bsky/moderation/updateActorAccess.js.map +1 -1
- package/dist/client/types/com/atproto/admin/deleteAccount.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/deleteAccount.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/deleteAccount.js +0 -6
- package/dist/client/types/com/atproto/admin/deleteAccount.js.map +1 -1
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/disableAccountInvites.js +0 -6
- package/dist/client/types/com/atproto/admin/disableAccountInvites.js.map +1 -1
- package/dist/client/types/com/atproto/admin/disableInviteCodes.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/disableInviteCodes.js +0 -6
- package/dist/client/types/com/atproto/admin/disableInviteCodes.js.map +1 -1
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/enableAccountInvites.js +0 -6
- package/dist/client/types/com/atproto/admin/enableAccountInvites.js.map +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +4 -3
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.js +0 -6
- package/dist/client/types/com/atproto/admin/getAccountInfo.js.map +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts +4 -3
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfos.js +0 -6
- package/dist/client/types/com/atproto/admin/getAccountInfos.js.map +1 -1
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +4 -3
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getInviteCodes.js +0 -6
- package/dist/client/types/com/atproto/admin/getInviteCodes.js.map +1 -1
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +4 -3
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getSubjectStatus.js +0 -6
- package/dist/client/types/com/atproto/admin/getSubjectStatus.js.map +1 -1
- package/dist/client/types/com/atproto/admin/searchAccounts.d.ts +4 -3
- package/dist/client/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/searchAccounts.js +0 -6
- package/dist/client/types/com/atproto/admin/searchAccounts.js.map +1 -1
- package/dist/client/types/com/atproto/admin/sendEmail.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/sendEmail.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/sendEmail.js +0 -6
- package/dist/client/types/com/atproto/admin/sendEmail.js.map +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountEmail.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountEmail.js +0 -6
- package/dist/client/types/com/atproto/admin/updateAccountEmail.js.map +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountHandle.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountHandle.js +0 -6
- package/dist/client/types/com/atproto/admin/updateAccountHandle.js.map +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountPassword.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountPassword.js +0 -6
- package/dist/client/types/com/atproto/admin/updateAccountPassword.js.map +1 -1
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts +5 -4
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.js +0 -6
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.js.map +1 -1
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +4 -3
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.js +0 -6
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.d.ts +4 -3
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.js +0 -6
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
- package/dist/client/types/com/atproto/identity/resolveHandle.d.ts +4 -3
- package/dist/client/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/client/types/com/atproto/identity/resolveHandle.js +0 -6
- package/dist/client/types/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/client/types/com/atproto/identity/signPlcOperation.d.ts +5 -4
- package/dist/client/types/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
- package/dist/client/types/com/atproto/identity/signPlcOperation.js +0 -6
- package/dist/client/types/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/client/types/com/atproto/identity/submitPlcOperation.d.ts +5 -4
- package/dist/client/types/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
- package/dist/client/types/com/atproto/identity/submitPlcOperation.js +0 -6
- package/dist/client/types/com/atproto/identity/submitPlcOperation.js.map +1 -1
- package/dist/client/types/com/atproto/identity/updateHandle.d.ts +5 -4
- package/dist/client/types/com/atproto/identity/updateHandle.d.ts.map +1 -1
- package/dist/client/types/com/atproto/identity/updateHandle.js +0 -6
- package/dist/client/types/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/client/types/com/atproto/label/queryLabels.d.ts +4 -3
- package/dist/client/types/com/atproto/label/queryLabels.d.ts.map +1 -1
- package/dist/client/types/com/atproto/label/queryLabels.js +0 -6
- package/dist/client/types/com/atproto/label/queryLabels.js.map +1 -1
- package/dist/client/types/com/atproto/moderation/createReport.d.ts +5 -4
- package/dist/client/types/com/atproto/moderation/createReport.d.ts.map +1 -1
- package/dist/client/types/com/atproto/moderation/createReport.js +0 -6
- package/dist/client/types/com/atproto/moderation/createReport.js.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts +5 -4
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.js +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/client/types/com/atproto/repo/createRecord.d.ts +5 -4
- package/dist/client/types/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/createRecord.js +1 -1
- package/dist/client/types/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +5 -4
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.js +1 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts +4 -3
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/describeRepo.js +0 -6
- package/dist/client/types/com/atproto/repo/describeRepo.js.map +1 -1
- package/dist/client/types/com/atproto/repo/getRecord.d.ts +4 -3
- package/dist/client/types/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/getRecord.js +0 -6
- package/dist/client/types/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +6 -5
- package/dist/client/types/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/importRepo.js +0 -6
- package/dist/client/types/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/client/types/com/atproto/repo/listMissingBlobs.d.ts +4 -3
- package/dist/client/types/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/listMissingBlobs.js +0 -6
- package/dist/client/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/client/types/com/atproto/repo/listRecords.d.ts +4 -3
- package/dist/client/types/com/atproto/repo/listRecords.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/listRecords.js +0 -6
- package/dist/client/types/com/atproto/repo/listRecords.js.map +1 -1
- package/dist/client/types/com/atproto/repo/putRecord.d.ts +5 -4
- package/dist/client/types/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/putRecord.js +1 -1
- package/dist/client/types/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts +6 -5
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/uploadBlob.js +0 -6
- package/dist/client/types/com/atproto/repo/uploadBlob.js.map +1 -1
- package/dist/client/types/com/atproto/server/activateAccount.d.ts +4 -3
- package/dist/client/types/com/atproto/server/activateAccount.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/activateAccount.js +0 -6
- package/dist/client/types/com/atproto/server/activateAccount.js.map +1 -1
- package/dist/client/types/com/atproto/server/checkAccountStatus.d.ts +4 -3
- package/dist/client/types/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/checkAccountStatus.js +0 -6
- package/dist/client/types/com/atproto/server/checkAccountStatus.js.map +1 -1
- package/dist/client/types/com/atproto/server/confirmEmail.d.ts +5 -4
- package/dist/client/types/com/atproto/server/confirmEmail.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/confirmEmail.js +4 -4
- package/dist/client/types/com/atproto/server/confirmEmail.js.map +1 -1
- package/dist/client/types/com/atproto/server/createAccount.d.ts +5 -4
- package/dist/client/types/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/createAccount.js +7 -7
- package/dist/client/types/com/atproto/server/createAccount.js.map +1 -1
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts +5 -4
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/createAppPassword.js +1 -1
- package/dist/client/types/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/client/types/com/atproto/server/createInviteCode.d.ts +5 -4
- package/dist/client/types/com/atproto/server/createInviteCode.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/createInviteCode.js +0 -6
- package/dist/client/types/com/atproto/server/createInviteCode.js.map +1 -1
- package/dist/client/types/com/atproto/server/createInviteCodes.d.ts +5 -4
- package/dist/client/types/com/atproto/server/createInviteCodes.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/createInviteCodes.js +0 -6
- package/dist/client/types/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/client/types/com/atproto/server/createSession.d.ts +5 -4
- package/dist/client/types/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/createSession.js +2 -2
- package/dist/client/types/com/atproto/server/createSession.js.map +1 -1
- package/dist/client/types/com/atproto/server/deactivateAccount.d.ts +5 -4
- package/dist/client/types/com/atproto/server/deactivateAccount.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/deactivateAccount.js +0 -6
- package/dist/client/types/com/atproto/server/deactivateAccount.js.map +1 -1
- package/dist/client/types/com/atproto/server/deleteAccount.d.ts +5 -4
- package/dist/client/types/com/atproto/server/deleteAccount.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/deleteAccount.js +2 -2
- package/dist/client/types/com/atproto/server/deleteAccount.js.map +1 -1
- package/dist/client/types/com/atproto/server/deleteSession.d.ts +4 -3
- package/dist/client/types/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/deleteSession.js +0 -6
- package/dist/client/types/com/atproto/server/deleteSession.js.map +1 -1
- package/dist/client/types/com/atproto/server/describeServer.d.ts +4 -3
- package/dist/client/types/com/atproto/server/describeServer.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/describeServer.js +0 -6
- package/dist/client/types/com/atproto/server/describeServer.js.map +1 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +4 -3
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.js +1 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/client/types/com/atproto/server/getServiceAuth.d.ts +4 -3
- package/dist/client/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/getServiceAuth.js +0 -6
- package/dist/client/types/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/client/types/com/atproto/server/getSession.d.ts +4 -3
- package/dist/client/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/getSession.js +0 -6
- package/dist/client/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts +4 -3
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/listAppPasswords.js +1 -1
- package/dist/client/types/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +4 -3
- package/dist/client/types/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/refreshSession.js +1 -1
- package/dist/client/types/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +4 -3
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/requestAccountDelete.js +0 -6
- package/dist/client/types/com/atproto/server/requestAccountDelete.js.map +1 -1
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts +4 -3
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.js +0 -6
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.js.map +1 -1
- package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts +4 -3
- package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/requestEmailUpdate.js +0 -6
- package/dist/client/types/com/atproto/server/requestEmailUpdate.js.map +1 -1
- package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts +5 -4
- package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/requestPasswordReset.js +0 -6
- package/dist/client/types/com/atproto/server/requestPasswordReset.js.map +1 -1
- package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts +5 -4
- package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/reserveSigningKey.js +0 -6
- package/dist/client/types/com/atproto/server/reserveSigningKey.js.map +1 -1
- package/dist/client/types/com/atproto/server/resetPassword.d.ts +5 -4
- package/dist/client/types/com/atproto/server/resetPassword.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/resetPassword.js +2 -2
- package/dist/client/types/com/atproto/server/resetPassword.js.map +1 -1
- package/dist/client/types/com/atproto/server/revokeAppPassword.d.ts +5 -4
- package/dist/client/types/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/revokeAppPassword.js +0 -6
- package/dist/client/types/com/atproto/server/revokeAppPassword.js.map +1 -1
- package/dist/client/types/com/atproto/server/updateEmail.d.ts +5 -4
- package/dist/client/types/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/updateEmail.js +3 -3
- package/dist/client/types/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlob.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlob.js +5 -5
- package/dist/client/types/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlocks.js +5 -5
- package/dist/client/types/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getCheckout.js +0 -6
- package/dist/client/types/com/atproto/sync/getCheckout.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getHead.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getHead.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getHead.js +1 -1
- package/dist/client/types/com/atproto/sync/getHead.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.js +4 -4
- package/dist/client/types/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.js +5 -5
- package/dist/client/types/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.js +4 -4
- package/dist/client/types/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepoStatus.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepoStatus.js +1 -1
- package/dist/client/types/com/atproto/sync/getRepoStatus.js.map +1 -1
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/listBlobs.js +4 -4
- package/dist/client/types/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/client/types/com/atproto/sync/listRepos.d.ts +4 -3
- package/dist/client/types/com/atproto/sync/listRepos.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/listRepos.js +0 -6
- package/dist/client/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +5 -4
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.js +0 -6
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.js.map +1 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +5 -4
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.js +0 -6
- package/dist/client/types/com/atproto/sync/requestCrawl.js.map +1 -1
- package/dist/client/types/com/atproto/temp/checkSignupQueue.d.ts +4 -3
- package/dist/client/types/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/checkSignupQueue.js +0 -6
- package/dist/client/types/com/atproto/temp/checkSignupQueue.js.map +1 -1
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts +4 -3
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/fetchLabels.js +0 -6
- package/dist/client/types/com/atproto/temp/fetchLabels.js.map +1 -1
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.d.ts +5 -4
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.js +0 -6
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.js.map +1 -1
- package/dist/client/types/tools/ozone/communication/createTemplate.d.ts +5 -4
- package/dist/client/types/tools/ozone/communication/createTemplate.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/createTemplate.js +0 -6
- package/dist/client/types/tools/ozone/communication/createTemplate.js.map +1 -1
- package/dist/client/types/tools/ozone/communication/deleteTemplate.d.ts +5 -4
- package/dist/client/types/tools/ozone/communication/deleteTemplate.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/deleteTemplate.js +0 -6
- package/dist/client/types/tools/ozone/communication/deleteTemplate.js.map +1 -1
- package/dist/client/types/tools/ozone/communication/listTemplates.d.ts +4 -3
- package/dist/client/types/tools/ozone/communication/listTemplates.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/listTemplates.js +0 -6
- package/dist/client/types/tools/ozone/communication/listTemplates.js.map +1 -1
- package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts +5 -4
- package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/updateTemplate.js +0 -6
- package/dist/client/types/tools/ozone/communication/updateTemplate.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +5 -4
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getEvent.d.ts +4 -3
- package/dist/client/types/tools/ozone/moderation/getEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getEvent.js +0 -6
- package/dist/client/types/tools/ozone/moderation/getEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecord.d.ts +4 -3
- package/dist/client/types/tools/ozone/moderation/getRecord.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecord.js +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecord.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepo.d.ts +4 -3
- package/dist/client/types/tools/ozone/moderation/getRepo.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepo.js +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepo.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +4 -3
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.js +0 -6
- package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +4 -3
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js +0 -6
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts +4 -3
- package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/searchRepos.js +0 -6
- package/dist/client/types/tools/ozone/moderation/searchRepos.js.map +1 -1
- package/dist/client/types/tools/ozone/server/getConfig.d.ts +4 -3
- package/dist/client/types/tools/ozone/server/getConfig.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/server/getConfig.js +0 -6
- package/dist/client/types/tools/ozone/server/getConfig.js.map +1 -1
- package/dist/client/types/tools/ozone/team/addMember.d.ts +5 -4
- package/dist/client/types/tools/ozone/team/addMember.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/addMember.js +1 -1
- package/dist/client/types/tools/ozone/team/addMember.js.map +1 -1
- package/dist/client/types/tools/ozone/team/deleteMember.d.ts +5 -4
- package/dist/client/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/deleteMember.js +2 -2
- package/dist/client/types/tools/ozone/team/deleteMember.js.map +1 -1
- package/dist/client/types/tools/ozone/team/listMembers.d.ts +4 -3
- package/dist/client/types/tools/ozone/team/listMembers.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/listMembers.js +0 -6
- package/dist/client/types/tools/ozone/team/listMembers.js.map +1 -1
- package/dist/client/types/tools/ozone/team/updateMember.d.ts +5 -4
- package/dist/client/types/tools/ozone/team/updateMember.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/updateMember.js +1 -1
- package/dist/client/types/tools/ozone/team/updateMember.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/rich-text/rich-text.d.ts +2 -2
- package/dist/rich-text/rich-text.d.ts.map +1 -1
- package/dist/rich-text/rich-text.js.map +1 -1
- package/dist/types.d.ts +2 -19
- package/dist/types.d.ts.map +1 -1
- package/dist/util.d.ts +2 -0
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +4 -1
- package/dist/util.js.map +1 -1
- package/docs/moderation.md +2 -2
- package/package.json +5 -5
- package/src/agent.ts +1263 -362
- package/src/atp-agent.ts +502 -0
- package/src/atp-client.ts +164 -0
- package/src/bsky-agent.ts +8 -1365
- package/src/client/index.ts +949 -929
- package/src/client/types/app/bsky/actor/getPreferences.ts +4 -5
- package/src/client/types/app/bsky/actor/getProfile.ts +4 -5
- package/src/client/types/app/bsky/actor/getProfiles.ts +4 -5
- package/src/client/types/app/bsky/actor/getSuggestions.ts +4 -5
- package/src/client/types/app/bsky/actor/putPreferences.ts +5 -6
- package/src/client/types/app/bsky/actor/searchActors.ts +4 -5
- package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +4 -5
- package/src/client/types/app/bsky/feed/describeFeedGenerator.ts +4 -5
- package/src/client/types/app/bsky/feed/getActorFeeds.ts +4 -5
- package/src/client/types/app/bsky/feed/getActorLikes.ts +7 -5
- package/src/client/types/app/bsky/feed/getAuthorFeed.ts +7 -5
- package/src/client/types/app/bsky/feed/getFeed.ts +6 -4
- package/src/client/types/app/bsky/feed/getFeedGenerator.ts +4 -5
- package/src/client/types/app/bsky/feed/getFeedGenerators.ts +4 -5
- package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +6 -4
- package/src/client/types/app/bsky/feed/getLikes.ts +4 -5
- package/src/client/types/app/bsky/feed/getListFeed.ts +6 -4
- package/src/client/types/app/bsky/feed/getPostThread.ts +6 -4
- package/src/client/types/app/bsky/feed/getPosts.ts +4 -5
- package/src/client/types/app/bsky/feed/getRepostedBy.ts +4 -5
- package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +4 -5
- package/src/client/types/app/bsky/feed/getTimeline.ts +4 -5
- package/src/client/types/app/bsky/feed/searchPosts.ts +6 -4
- package/src/client/types/app/bsky/feed/sendInteractions.ts +5 -6
- package/src/client/types/app/bsky/graph/getActorStarterPacks.ts +4 -5
- package/src/client/types/app/bsky/graph/getBlocks.ts +4 -5
- package/src/client/types/app/bsky/graph/getFollowers.ts +4 -5
- package/src/client/types/app/bsky/graph/getFollows.ts +4 -5
- package/src/client/types/app/bsky/graph/getKnownFollowers.ts +4 -5
- package/src/client/types/app/bsky/graph/getList.ts +4 -5
- package/src/client/types/app/bsky/graph/getListBlocks.ts +4 -5
- package/src/client/types/app/bsky/graph/getListMutes.ts +4 -5
- package/src/client/types/app/bsky/graph/getLists.ts +4 -5
- package/src/client/types/app/bsky/graph/getMutes.ts +4 -5
- package/src/client/types/app/bsky/graph/getRelationships.ts +6 -4
- package/src/client/types/app/bsky/graph/getStarterPack.ts +4 -5
- package/src/client/types/app/bsky/graph/getStarterPacks.ts +4 -5
- package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +4 -5
- package/src/client/types/app/bsky/graph/muteActor.ts +5 -6
- package/src/client/types/app/bsky/graph/muteActorList.ts +5 -6
- package/src/client/types/app/bsky/graph/muteThread.ts +5 -6
- package/src/client/types/app/bsky/graph/unmuteActor.ts +5 -6
- package/src/client/types/app/bsky/graph/unmuteActorList.ts +5 -6
- package/src/client/types/app/bsky/graph/unmuteThread.ts +5 -6
- package/src/client/types/app/bsky/labeler/getServices.ts +4 -5
- package/src/client/types/app/bsky/notification/getUnreadCount.ts +4 -5
- package/src/client/types/app/bsky/notification/listNotifications.ts +4 -5
- package/src/client/types/app/bsky/notification/putPreferences.ts +5 -6
- package/src/client/types/app/bsky/notification/registerPush.ts +5 -6
- package/src/client/types/app/bsky/notification/updateSeen.ts +5 -6
- package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +4 -5
- package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +4 -5
- package/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts +4 -5
- package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +6 -4
- package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +6 -4
- package/src/client/types/chat/bsky/actor/deleteAccount.ts +4 -5
- package/src/client/types/chat/bsky/actor/exportAccountData.ts +4 -5
- package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +5 -6
- package/src/client/types/chat/bsky/convo/getConvo.ts +4 -5
- package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +4 -5
- package/src/client/types/chat/bsky/convo/getLog.ts +4 -5
- package/src/client/types/chat/bsky/convo/getMessages.ts +4 -5
- package/src/client/types/chat/bsky/convo/leaveConvo.ts +5 -6
- package/src/client/types/chat/bsky/convo/listConvos.ts +4 -5
- package/src/client/types/chat/bsky/convo/muteConvo.ts +5 -6
- package/src/client/types/chat/bsky/convo/sendMessage.ts +5 -6
- package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +5 -6
- package/src/client/types/chat/bsky/convo/unmuteConvo.ts +5 -6
- package/src/client/types/chat/bsky/convo/updateRead.ts +5 -6
- package/src/client/types/chat/bsky/moderation/getActorMetadata.ts +4 -5
- package/src/client/types/chat/bsky/moderation/getMessageContext.ts +4 -5
- package/src/client/types/chat/bsky/moderation/updateActorAccess.ts +5 -6
- package/src/client/types/com/atproto/admin/deleteAccount.ts +5 -6
- package/src/client/types/com/atproto/admin/disableAccountInvites.ts +5 -6
- package/src/client/types/com/atproto/admin/disableInviteCodes.ts +5 -6
- package/src/client/types/com/atproto/admin/enableAccountInvites.ts +5 -6
- package/src/client/types/com/atproto/admin/getAccountInfo.ts +4 -5
- package/src/client/types/com/atproto/admin/getAccountInfos.ts +4 -5
- package/src/client/types/com/atproto/admin/getInviteCodes.ts +4 -5
- package/src/client/types/com/atproto/admin/getSubjectStatus.ts +4 -5
- package/src/client/types/com/atproto/admin/searchAccounts.ts +4 -5
- package/src/client/types/com/atproto/admin/sendEmail.ts +5 -6
- package/src/client/types/com/atproto/admin/updateAccountEmail.ts +5 -6
- package/src/client/types/com/atproto/admin/updateAccountHandle.ts +5 -6
- package/src/client/types/com/atproto/admin/updateAccountPassword.ts +5 -6
- package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +5 -6
- package/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts +4 -5
- package/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts +4 -5
- package/src/client/types/com/atproto/identity/resolveHandle.ts +4 -5
- package/src/client/types/com/atproto/identity/signPlcOperation.ts +5 -6
- package/src/client/types/com/atproto/identity/submitPlcOperation.ts +5 -6
- package/src/client/types/com/atproto/identity/updateHandle.ts +5 -6
- package/src/client/types/com/atproto/label/queryLabels.ts +4 -5
- package/src/client/types/com/atproto/label/subscribeLabels.ts +1 -1
- package/src/client/types/com/atproto/moderation/createReport.ts +5 -6
- package/src/client/types/com/atproto/repo/applyWrites.ts +7 -5
- package/src/client/types/com/atproto/repo/createRecord.ts +7 -5
- package/src/client/types/com/atproto/repo/deleteRecord.ts +7 -5
- package/src/client/types/com/atproto/repo/describeRepo.ts +4 -5
- package/src/client/types/com/atproto/repo/getRecord.ts +4 -5
- package/src/client/types/com/atproto/repo/importRepo.ts +6 -7
- package/src/client/types/com/atproto/repo/listMissingBlobs.ts +4 -5
- package/src/client/types/com/atproto/repo/listRecords.ts +4 -5
- package/src/client/types/com/atproto/repo/putRecord.ts +7 -5
- package/src/client/types/com/atproto/repo/uploadBlob.ts +6 -7
- package/src/client/types/com/atproto/server/activateAccount.ts +4 -5
- package/src/client/types/com/atproto/server/checkAccountStatus.ts +4 -5
- package/src/client/types/com/atproto/server/confirmEmail.ts +10 -8
- package/src/client/types/com/atproto/server/createAccount.ts +13 -11
- package/src/client/types/com/atproto/server/createAppPassword.ts +7 -5
- package/src/client/types/com/atproto/server/createInviteCode.ts +5 -6
- package/src/client/types/com/atproto/server/createInviteCodes.ts +5 -6
- package/src/client/types/com/atproto/server/createSession.ts +8 -6
- package/src/client/types/com/atproto/server/deactivateAccount.ts +5 -6
- package/src/client/types/com/atproto/server/deleteAccount.ts +8 -6
- package/src/client/types/com/atproto/server/deleteSession.ts +4 -5
- package/src/client/types/com/atproto/server/describeServer.ts +4 -5
- package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +6 -4
- package/src/client/types/com/atproto/server/getServiceAuth.ts +4 -5
- package/src/client/types/com/atproto/server/getSession.ts +4 -5
- package/src/client/types/com/atproto/server/listAppPasswords.ts +6 -4
- package/src/client/types/com/atproto/server/refreshSession.ts +6 -4
- package/src/client/types/com/atproto/server/requestAccountDelete.ts +4 -5
- package/src/client/types/com/atproto/server/requestEmailConfirmation.ts +4 -5
- package/src/client/types/com/atproto/server/requestEmailUpdate.ts +4 -5
- package/src/client/types/com/atproto/server/requestPasswordReset.ts +5 -6
- package/src/client/types/com/atproto/server/reserveSigningKey.ts +5 -6
- package/src/client/types/com/atproto/server/resetPassword.ts +8 -6
- package/src/client/types/com/atproto/server/revokeAppPassword.ts +5 -6
- package/src/client/types/com/atproto/server/updateEmail.ts +9 -7
- package/src/client/types/com/atproto/sync/getBlob.ts +10 -8
- package/src/client/types/com/atproto/sync/getBlocks.ts +10 -8
- package/src/client/types/com/atproto/sync/getCheckout.ts +4 -5
- package/src/client/types/com/atproto/sync/getHead.ts +6 -4
- package/src/client/types/com/atproto/sync/getLatestCommit.ts +9 -7
- package/src/client/types/com/atproto/sync/getRecord.ts +10 -8
- package/src/client/types/com/atproto/sync/getRepo.ts +9 -7
- package/src/client/types/com/atproto/sync/getRepoStatus.ts +6 -4
- package/src/client/types/com/atproto/sync/listBlobs.ts +9 -7
- package/src/client/types/com/atproto/sync/listRepos.ts +4 -5
- package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +5 -6
- package/src/client/types/com/atproto/sync/requestCrawl.ts +5 -6
- package/src/client/types/com/atproto/sync/subscribeRepos.ts +1 -1
- package/src/client/types/com/atproto/temp/checkSignupQueue.ts +4 -5
- package/src/client/types/com/atproto/temp/fetchLabels.ts +4 -5
- package/src/client/types/com/atproto/temp/requestPhoneVerification.ts +5 -6
- package/src/client/types/tools/ozone/communication/createTemplate.ts +5 -6
- package/src/client/types/tools/ozone/communication/deleteTemplate.ts +5 -6
- package/src/client/types/tools/ozone/communication/listTemplates.ts +4 -5
- package/src/client/types/tools/ozone/communication/updateTemplate.ts +5 -6
- package/src/client/types/tools/ozone/moderation/emitEvent.ts +7 -5
- package/src/client/types/tools/ozone/moderation/getEvent.ts +4 -5
- package/src/client/types/tools/ozone/moderation/getRecord.ts +6 -4
- package/src/client/types/tools/ozone/moderation/getRepo.ts +6 -4
- package/src/client/types/tools/ozone/moderation/queryEvents.ts +4 -5
- package/src/client/types/tools/ozone/moderation/queryStatuses.ts +4 -5
- package/src/client/types/tools/ozone/moderation/searchRepos.ts +4 -5
- package/src/client/types/tools/ozone/server/getConfig.ts +4 -5
- package/src/client/types/tools/ozone/team/addMember.ts +7 -5
- package/src/client/types/tools/ozone/team/deleteMember.ts +8 -6
- package/src/client/types/tools/ozone/team/listMembers.ts +4 -5
- package/src/client/types/tools/ozone/team/updateMember.ts +7 -5
- package/src/index.ts +7 -2
- package/src/rich-text/rich-text.ts +2 -2
- package/src/types.ts +2 -26
- package/src/util.ts +6 -0
- package/tests/bsky-agent.test.ts +13 -24
- package/tests/{agent.test.ts → dispatcher.test.ts} +67 -118
- package/tests/moderation-prefs.test.ts +18 -22
- package/docs/rn-fetch-handler.ts +0 -88
- package/tests/util/index.ts +0 -26
package/dist/client/index.js
CHANGED
|
@@ -27,171 +27,49 @@ exports.ComAtprotoServerDescribeServer = exports.ComAtprotoServerDeleteSession =
|
|
|
27
27
|
exports.AppBskyFeedGetFeedGenerator = exports.AppBskyFeedGetFeed = exports.AppBskyFeedGetAuthorFeed = exports.AppBskyFeedGetActorLikes = exports.AppBskyFeedGetActorFeeds = exports.AppBskyFeedGenerator = exports.AppBskyFeedDescribeFeedGenerator = exports.AppBskyFeedDefs = exports.AppBskyEmbedRecordWithMedia = exports.AppBskyEmbedRecord = exports.AppBskyEmbedImages = exports.AppBskyEmbedExternal = exports.AppBskyActorSearchActorsTypeahead = exports.AppBskyActorSearchActors = exports.AppBskyActorPutPreferences = exports.AppBskyActorProfile = exports.AppBskyActorGetSuggestions = exports.AppBskyActorGetProfiles = exports.AppBskyActorGetProfile = exports.AppBskyActorGetPreferences = exports.AppBskyActorDefs = exports.ComAtprotoTempRequestPhoneVerification = exports.ComAtprotoTempFetchLabels = exports.ComAtprotoTempCheckSignupQueue = exports.ComAtprotoSyncSubscribeRepos = exports.ComAtprotoSyncRequestCrawl = exports.ComAtprotoSyncNotifyOfUpdate = exports.ComAtprotoSyncListRepos = exports.ComAtprotoSyncListBlobs = exports.ComAtprotoSyncGetRepoStatus = exports.ComAtprotoSyncGetRepo = exports.ComAtprotoSyncGetRecord = exports.ComAtprotoSyncGetLatestCommit = exports.ComAtprotoSyncGetHead = exports.ComAtprotoSyncGetCheckout = exports.ComAtprotoSyncGetBlocks = exports.ComAtprotoSyncGetBlob = exports.ComAtprotoServerUpdateEmail = exports.ComAtprotoServerRevokeAppPassword = exports.ComAtprotoServerResetPassword = exports.ComAtprotoServerReserveSigningKey = exports.ComAtprotoServerRequestPasswordReset = exports.ComAtprotoServerRequestEmailUpdate = exports.ComAtprotoServerRequestEmailConfirmation = exports.ComAtprotoServerRequestAccountDelete = exports.ComAtprotoServerRefreshSession = exports.ComAtprotoServerListAppPasswords = exports.ComAtprotoServerGetSession = exports.ComAtprotoServerGetServiceAuth = exports.ComAtprotoServerGetAccountInviteCodes = void 0;
|
|
28
28
|
exports.AppBskyNotificationUpdateSeen = exports.AppBskyNotificationRegisterPush = exports.AppBskyNotificationPutPreferences = exports.AppBskyNotificationListNotifications = exports.AppBskyNotificationGetUnreadCount = exports.AppBskyLabelerService = exports.AppBskyLabelerGetServices = exports.AppBskyLabelerDefs = exports.AppBskyGraphUnmuteThread = exports.AppBskyGraphUnmuteActorList = exports.AppBskyGraphUnmuteActor = exports.AppBskyGraphStarterpack = exports.AppBskyGraphMuteThread = exports.AppBskyGraphMuteActorList = exports.AppBskyGraphMuteActor = exports.AppBskyGraphListitem = exports.AppBskyGraphListblock = exports.AppBskyGraphList = exports.AppBskyGraphGetSuggestedFollowsByActor = exports.AppBskyGraphGetStarterPacks = exports.AppBskyGraphGetStarterPack = exports.AppBskyGraphGetRelationships = exports.AppBskyGraphGetMutes = exports.AppBskyGraphGetLists = exports.AppBskyGraphGetListMutes = exports.AppBskyGraphGetListBlocks = exports.AppBskyGraphGetList = exports.AppBskyGraphGetKnownFollowers = exports.AppBskyGraphGetFollows = exports.AppBskyGraphGetFollowers = exports.AppBskyGraphGetBlocks = exports.AppBskyGraphGetActorStarterPacks = exports.AppBskyGraphFollow = exports.AppBskyGraphDefs = exports.AppBskyGraphBlock = exports.AppBskyFeedThreadgate = exports.AppBskyFeedSendInteractions = exports.AppBskyFeedSearchPosts = exports.AppBskyFeedRepost = exports.AppBskyFeedPost = exports.AppBskyFeedLike = exports.AppBskyFeedGetTimeline = exports.AppBskyFeedGetSuggestedFeeds = exports.AppBskyFeedGetRepostedBy = exports.AppBskyFeedGetPosts = exports.AppBskyFeedGetPostThread = exports.AppBskyFeedGetListFeed = exports.AppBskyFeedGetLikes = exports.AppBskyFeedGetFeedSkeleton = exports.AppBskyFeedGetFeedGenerators = void 0;
|
|
29
29
|
exports.TOOLS_OZONE_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.COM_ATPROTO_MODERATION = exports.ToolsOzoneTeamUpdateMember = exports.ToolsOzoneTeamListMembers = exports.ToolsOzoneTeamDeleteMember = exports.ToolsOzoneTeamDefs = exports.ToolsOzoneTeamAddMember = exports.ToolsOzoneServerGetConfig = exports.ToolsOzoneModerationSearchRepos = exports.ToolsOzoneModerationQueryStatuses = exports.ToolsOzoneModerationQueryEvents = exports.ToolsOzoneModerationGetRepo = exports.ToolsOzoneModerationGetRecord = exports.ToolsOzoneModerationGetEvent = exports.ToolsOzoneModerationEmitEvent = exports.ToolsOzoneModerationDefs = exports.ToolsOzoneCommunicationUpdateTemplate = exports.ToolsOzoneCommunicationListTemplates = exports.ToolsOzoneCommunicationDeleteTemplate = exports.ToolsOzoneCommunicationDefs = exports.ToolsOzoneCommunicationCreateTemplate = exports.ChatBskyModerationUpdateActorAccess = exports.ChatBskyModerationGetMessageContext = exports.ChatBskyModerationGetActorMetadata = exports.ChatBskyConvoUpdateRead = exports.ChatBskyConvoUnmuteConvo = exports.ChatBskyConvoSendMessageBatch = exports.ChatBskyConvoSendMessage = exports.ChatBskyConvoMuteConvo = exports.ChatBskyConvoListConvos = exports.ChatBskyConvoLeaveConvo = exports.ChatBskyConvoGetMessages = exports.ChatBskyConvoGetLog = exports.ChatBskyConvoGetConvoForMembers = exports.ChatBskyConvoGetConvo = exports.ChatBskyConvoDeleteMessageForSelf = exports.ChatBskyConvoDefs = exports.ChatBskyActorExportAccountData = exports.ChatBskyActorDeleteAccount = exports.ChatBskyActorDefs = exports.ChatBskyActorDeclaration = exports.AppBskyUnspeccedSearchPostsSkeleton = exports.AppBskyUnspeccedSearchActorsSkeleton = exports.AppBskyUnspeccedGetTaggedSuggestions = exports.AppBskyUnspeccedGetSuggestionsSkeleton = exports.AppBskyUnspeccedGetPopularFeedGenerators = exports.AppBskyUnspeccedDefs = exports.AppBskyRichtextFacet = void 0;
|
|
30
|
-
exports.ToolsOzoneTeamNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.DeclarationRecord = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.ServiceRecord = exports.AppBskyLabelerNS = exports.StarterpackRecord = exports.ListitemRecord = exports.ListblockRecord = exports.ListRecord = exports.FollowRecord = exports.BlockRecord = exports.AppBskyGraphNS = exports.ThreadgateRecord = exports.RepostRecord = exports.PostRecord = exports.LikeRecord = exports.GeneratorRecord = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.ProfileRecord = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.
|
|
30
|
+
exports.ToolsOzoneTeamNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.DeclarationRecord = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.ServiceRecord = exports.AppBskyLabelerNS = exports.StarterpackRecord = exports.ListitemRecord = exports.ListblockRecord = exports.ListRecord = exports.FollowRecord = exports.BlockRecord = exports.AppBskyGraphNS = exports.ThreadgateRecord = exports.RepostRecord = exports.PostRecord = exports.LikeRecord = exports.GeneratorRecord = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.ProfileRecord = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.AtpBaseClient = exports.TOOLS_OZONE_TEAM = void 0;
|
|
31
31
|
/**
|
|
32
32
|
* GENERATED CODE - DO NOT MODIFY
|
|
33
33
|
*/
|
|
34
34
|
const xrpc_1 = require("@atproto/xrpc");
|
|
35
35
|
const lexicons_1 = require("./lexicons");
|
|
36
|
-
const ComAtprotoAdminDeleteAccount = __importStar(require("./types/com/atproto/admin/deleteAccount"));
|
|
37
|
-
const ComAtprotoAdminDisableAccountInvites = __importStar(require("./types/com/atproto/admin/disableAccountInvites"));
|
|
38
|
-
const ComAtprotoAdminDisableInviteCodes = __importStar(require("./types/com/atproto/admin/disableInviteCodes"));
|
|
39
|
-
const ComAtprotoAdminEnableAccountInvites = __importStar(require("./types/com/atproto/admin/enableAccountInvites"));
|
|
40
|
-
const ComAtprotoAdminGetAccountInfo = __importStar(require("./types/com/atproto/admin/getAccountInfo"));
|
|
41
|
-
const ComAtprotoAdminGetAccountInfos = __importStar(require("./types/com/atproto/admin/getAccountInfos"));
|
|
42
|
-
const ComAtprotoAdminGetInviteCodes = __importStar(require("./types/com/atproto/admin/getInviteCodes"));
|
|
43
|
-
const ComAtprotoAdminGetSubjectStatus = __importStar(require("./types/com/atproto/admin/getSubjectStatus"));
|
|
44
|
-
const ComAtprotoAdminSearchAccounts = __importStar(require("./types/com/atproto/admin/searchAccounts"));
|
|
45
|
-
const ComAtprotoAdminSendEmail = __importStar(require("./types/com/atproto/admin/sendEmail"));
|
|
46
|
-
const ComAtprotoAdminUpdateAccountEmail = __importStar(require("./types/com/atproto/admin/updateAccountEmail"));
|
|
47
|
-
const ComAtprotoAdminUpdateAccountHandle = __importStar(require("./types/com/atproto/admin/updateAccountHandle"));
|
|
48
|
-
const ComAtprotoAdminUpdateAccountPassword = __importStar(require("./types/com/atproto/admin/updateAccountPassword"));
|
|
49
|
-
const ComAtprotoAdminUpdateSubjectStatus = __importStar(require("./types/com/atproto/admin/updateSubjectStatus"));
|
|
50
|
-
const ComAtprotoIdentityGetRecommendedDidCredentials = __importStar(require("./types/com/atproto/identity/getRecommendedDidCredentials"));
|
|
51
|
-
const ComAtprotoIdentityRequestPlcOperationSignature = __importStar(require("./types/com/atproto/identity/requestPlcOperationSignature"));
|
|
52
|
-
const ComAtprotoIdentityResolveHandle = __importStar(require("./types/com/atproto/identity/resolveHandle"));
|
|
53
|
-
const ComAtprotoIdentitySignPlcOperation = __importStar(require("./types/com/atproto/identity/signPlcOperation"));
|
|
54
|
-
const ComAtprotoIdentitySubmitPlcOperation = __importStar(require("./types/com/atproto/identity/submitPlcOperation"));
|
|
55
|
-
const ComAtprotoIdentityUpdateHandle = __importStar(require("./types/com/atproto/identity/updateHandle"));
|
|
56
|
-
const ComAtprotoLabelQueryLabels = __importStar(require("./types/com/atproto/label/queryLabels"));
|
|
57
|
-
const ComAtprotoModerationCreateReport = __importStar(require("./types/com/atproto/moderation/createReport"));
|
|
58
36
|
const ComAtprotoRepoApplyWrites = __importStar(require("./types/com/atproto/repo/applyWrites"));
|
|
59
37
|
const ComAtprotoRepoCreateRecord = __importStar(require("./types/com/atproto/repo/createRecord"));
|
|
60
38
|
const ComAtprotoRepoDeleteRecord = __importStar(require("./types/com/atproto/repo/deleteRecord"));
|
|
61
|
-
const ComAtprotoRepoDescribeRepo = __importStar(require("./types/com/atproto/repo/describeRepo"));
|
|
62
|
-
const ComAtprotoRepoGetRecord = __importStar(require("./types/com/atproto/repo/getRecord"));
|
|
63
|
-
const ComAtprotoRepoImportRepo = __importStar(require("./types/com/atproto/repo/importRepo"));
|
|
64
|
-
const ComAtprotoRepoListMissingBlobs = __importStar(require("./types/com/atproto/repo/listMissingBlobs"));
|
|
65
|
-
const ComAtprotoRepoListRecords = __importStar(require("./types/com/atproto/repo/listRecords"));
|
|
66
39
|
const ComAtprotoRepoPutRecord = __importStar(require("./types/com/atproto/repo/putRecord"));
|
|
67
|
-
const ComAtprotoRepoUploadBlob = __importStar(require("./types/com/atproto/repo/uploadBlob"));
|
|
68
|
-
const ComAtprotoServerActivateAccount = __importStar(require("./types/com/atproto/server/activateAccount"));
|
|
69
|
-
const ComAtprotoServerCheckAccountStatus = __importStar(require("./types/com/atproto/server/checkAccountStatus"));
|
|
70
40
|
const ComAtprotoServerConfirmEmail = __importStar(require("./types/com/atproto/server/confirmEmail"));
|
|
71
41
|
const ComAtprotoServerCreateAccount = __importStar(require("./types/com/atproto/server/createAccount"));
|
|
72
42
|
const ComAtprotoServerCreateAppPassword = __importStar(require("./types/com/atproto/server/createAppPassword"));
|
|
73
|
-
const ComAtprotoServerCreateInviteCode = __importStar(require("./types/com/atproto/server/createInviteCode"));
|
|
74
|
-
const ComAtprotoServerCreateInviteCodes = __importStar(require("./types/com/atproto/server/createInviteCodes"));
|
|
75
43
|
const ComAtprotoServerCreateSession = __importStar(require("./types/com/atproto/server/createSession"));
|
|
76
|
-
const ComAtprotoServerDeactivateAccount = __importStar(require("./types/com/atproto/server/deactivateAccount"));
|
|
77
44
|
const ComAtprotoServerDeleteAccount = __importStar(require("./types/com/atproto/server/deleteAccount"));
|
|
78
|
-
const ComAtprotoServerDeleteSession = __importStar(require("./types/com/atproto/server/deleteSession"));
|
|
79
|
-
const ComAtprotoServerDescribeServer = __importStar(require("./types/com/atproto/server/describeServer"));
|
|
80
45
|
const ComAtprotoServerGetAccountInviteCodes = __importStar(require("./types/com/atproto/server/getAccountInviteCodes"));
|
|
81
|
-
const ComAtprotoServerGetServiceAuth = __importStar(require("./types/com/atproto/server/getServiceAuth"));
|
|
82
|
-
const ComAtprotoServerGetSession = __importStar(require("./types/com/atproto/server/getSession"));
|
|
83
46
|
const ComAtprotoServerListAppPasswords = __importStar(require("./types/com/atproto/server/listAppPasswords"));
|
|
84
47
|
const ComAtprotoServerRefreshSession = __importStar(require("./types/com/atproto/server/refreshSession"));
|
|
85
|
-
const ComAtprotoServerRequestAccountDelete = __importStar(require("./types/com/atproto/server/requestAccountDelete"));
|
|
86
|
-
const ComAtprotoServerRequestEmailConfirmation = __importStar(require("./types/com/atproto/server/requestEmailConfirmation"));
|
|
87
|
-
const ComAtprotoServerRequestEmailUpdate = __importStar(require("./types/com/atproto/server/requestEmailUpdate"));
|
|
88
|
-
const ComAtprotoServerRequestPasswordReset = __importStar(require("./types/com/atproto/server/requestPasswordReset"));
|
|
89
|
-
const ComAtprotoServerReserveSigningKey = __importStar(require("./types/com/atproto/server/reserveSigningKey"));
|
|
90
48
|
const ComAtprotoServerResetPassword = __importStar(require("./types/com/atproto/server/resetPassword"));
|
|
91
|
-
const ComAtprotoServerRevokeAppPassword = __importStar(require("./types/com/atproto/server/revokeAppPassword"));
|
|
92
49
|
const ComAtprotoServerUpdateEmail = __importStar(require("./types/com/atproto/server/updateEmail"));
|
|
93
50
|
const ComAtprotoSyncGetBlob = __importStar(require("./types/com/atproto/sync/getBlob"));
|
|
94
51
|
const ComAtprotoSyncGetBlocks = __importStar(require("./types/com/atproto/sync/getBlocks"));
|
|
95
|
-
const ComAtprotoSyncGetCheckout = __importStar(require("./types/com/atproto/sync/getCheckout"));
|
|
96
52
|
const ComAtprotoSyncGetHead = __importStar(require("./types/com/atproto/sync/getHead"));
|
|
97
53
|
const ComAtprotoSyncGetLatestCommit = __importStar(require("./types/com/atproto/sync/getLatestCommit"));
|
|
98
54
|
const ComAtprotoSyncGetRecord = __importStar(require("./types/com/atproto/sync/getRecord"));
|
|
99
55
|
const ComAtprotoSyncGetRepo = __importStar(require("./types/com/atproto/sync/getRepo"));
|
|
100
56
|
const ComAtprotoSyncGetRepoStatus = __importStar(require("./types/com/atproto/sync/getRepoStatus"));
|
|
101
57
|
const ComAtprotoSyncListBlobs = __importStar(require("./types/com/atproto/sync/listBlobs"));
|
|
102
|
-
const ComAtprotoSyncListRepos = __importStar(require("./types/com/atproto/sync/listRepos"));
|
|
103
|
-
const ComAtprotoSyncNotifyOfUpdate = __importStar(require("./types/com/atproto/sync/notifyOfUpdate"));
|
|
104
|
-
const ComAtprotoSyncRequestCrawl = __importStar(require("./types/com/atproto/sync/requestCrawl"));
|
|
105
|
-
const ComAtprotoTempCheckSignupQueue = __importStar(require("./types/com/atproto/temp/checkSignupQueue"));
|
|
106
|
-
const ComAtprotoTempFetchLabels = __importStar(require("./types/com/atproto/temp/fetchLabels"));
|
|
107
|
-
const ComAtprotoTempRequestPhoneVerification = __importStar(require("./types/com/atproto/temp/requestPhoneVerification"));
|
|
108
|
-
const AppBskyActorGetPreferences = __importStar(require("./types/app/bsky/actor/getPreferences"));
|
|
109
|
-
const AppBskyActorGetProfile = __importStar(require("./types/app/bsky/actor/getProfile"));
|
|
110
|
-
const AppBskyActorGetProfiles = __importStar(require("./types/app/bsky/actor/getProfiles"));
|
|
111
|
-
const AppBskyActorGetSuggestions = __importStar(require("./types/app/bsky/actor/getSuggestions"));
|
|
112
|
-
const AppBskyActorPutPreferences = __importStar(require("./types/app/bsky/actor/putPreferences"));
|
|
113
|
-
const AppBskyActorSearchActors = __importStar(require("./types/app/bsky/actor/searchActors"));
|
|
114
|
-
const AppBskyActorSearchActorsTypeahead = __importStar(require("./types/app/bsky/actor/searchActorsTypeahead"));
|
|
115
|
-
const AppBskyFeedDescribeFeedGenerator = __importStar(require("./types/app/bsky/feed/describeFeedGenerator"));
|
|
116
|
-
const AppBskyFeedGetActorFeeds = __importStar(require("./types/app/bsky/feed/getActorFeeds"));
|
|
117
58
|
const AppBskyFeedGetActorLikes = __importStar(require("./types/app/bsky/feed/getActorLikes"));
|
|
118
59
|
const AppBskyFeedGetAuthorFeed = __importStar(require("./types/app/bsky/feed/getAuthorFeed"));
|
|
119
60
|
const AppBskyFeedGetFeed = __importStar(require("./types/app/bsky/feed/getFeed"));
|
|
120
|
-
const AppBskyFeedGetFeedGenerator = __importStar(require("./types/app/bsky/feed/getFeedGenerator"));
|
|
121
|
-
const AppBskyFeedGetFeedGenerators = __importStar(require("./types/app/bsky/feed/getFeedGenerators"));
|
|
122
61
|
const AppBskyFeedGetFeedSkeleton = __importStar(require("./types/app/bsky/feed/getFeedSkeleton"));
|
|
123
|
-
const AppBskyFeedGetLikes = __importStar(require("./types/app/bsky/feed/getLikes"));
|
|
124
62
|
const AppBskyFeedGetListFeed = __importStar(require("./types/app/bsky/feed/getListFeed"));
|
|
125
63
|
const AppBskyFeedGetPostThread = __importStar(require("./types/app/bsky/feed/getPostThread"));
|
|
126
|
-
const AppBskyFeedGetPosts = __importStar(require("./types/app/bsky/feed/getPosts"));
|
|
127
|
-
const AppBskyFeedGetRepostedBy = __importStar(require("./types/app/bsky/feed/getRepostedBy"));
|
|
128
|
-
const AppBskyFeedGetSuggestedFeeds = __importStar(require("./types/app/bsky/feed/getSuggestedFeeds"));
|
|
129
|
-
const AppBskyFeedGetTimeline = __importStar(require("./types/app/bsky/feed/getTimeline"));
|
|
130
64
|
const AppBskyFeedSearchPosts = __importStar(require("./types/app/bsky/feed/searchPosts"));
|
|
131
|
-
const AppBskyFeedSendInteractions = __importStar(require("./types/app/bsky/feed/sendInteractions"));
|
|
132
|
-
const AppBskyGraphGetActorStarterPacks = __importStar(require("./types/app/bsky/graph/getActorStarterPacks"));
|
|
133
|
-
const AppBskyGraphGetBlocks = __importStar(require("./types/app/bsky/graph/getBlocks"));
|
|
134
|
-
const AppBskyGraphGetFollowers = __importStar(require("./types/app/bsky/graph/getFollowers"));
|
|
135
|
-
const AppBskyGraphGetFollows = __importStar(require("./types/app/bsky/graph/getFollows"));
|
|
136
|
-
const AppBskyGraphGetKnownFollowers = __importStar(require("./types/app/bsky/graph/getKnownFollowers"));
|
|
137
|
-
const AppBskyGraphGetList = __importStar(require("./types/app/bsky/graph/getList"));
|
|
138
|
-
const AppBskyGraphGetListBlocks = __importStar(require("./types/app/bsky/graph/getListBlocks"));
|
|
139
|
-
const AppBskyGraphGetListMutes = __importStar(require("./types/app/bsky/graph/getListMutes"));
|
|
140
|
-
const AppBskyGraphGetLists = __importStar(require("./types/app/bsky/graph/getLists"));
|
|
141
|
-
const AppBskyGraphGetMutes = __importStar(require("./types/app/bsky/graph/getMutes"));
|
|
142
65
|
const AppBskyGraphGetRelationships = __importStar(require("./types/app/bsky/graph/getRelationships"));
|
|
143
|
-
const AppBskyGraphGetStarterPack = __importStar(require("./types/app/bsky/graph/getStarterPack"));
|
|
144
|
-
const AppBskyGraphGetStarterPacks = __importStar(require("./types/app/bsky/graph/getStarterPacks"));
|
|
145
|
-
const AppBskyGraphGetSuggestedFollowsByActor = __importStar(require("./types/app/bsky/graph/getSuggestedFollowsByActor"));
|
|
146
|
-
const AppBskyGraphMuteActor = __importStar(require("./types/app/bsky/graph/muteActor"));
|
|
147
|
-
const AppBskyGraphMuteActorList = __importStar(require("./types/app/bsky/graph/muteActorList"));
|
|
148
|
-
const AppBskyGraphMuteThread = __importStar(require("./types/app/bsky/graph/muteThread"));
|
|
149
|
-
const AppBskyGraphUnmuteActor = __importStar(require("./types/app/bsky/graph/unmuteActor"));
|
|
150
|
-
const AppBskyGraphUnmuteActorList = __importStar(require("./types/app/bsky/graph/unmuteActorList"));
|
|
151
|
-
const AppBskyGraphUnmuteThread = __importStar(require("./types/app/bsky/graph/unmuteThread"));
|
|
152
|
-
const AppBskyLabelerGetServices = __importStar(require("./types/app/bsky/labeler/getServices"));
|
|
153
|
-
const AppBskyNotificationGetUnreadCount = __importStar(require("./types/app/bsky/notification/getUnreadCount"));
|
|
154
|
-
const AppBskyNotificationListNotifications = __importStar(require("./types/app/bsky/notification/listNotifications"));
|
|
155
|
-
const AppBskyNotificationPutPreferences = __importStar(require("./types/app/bsky/notification/putPreferences"));
|
|
156
|
-
const AppBskyNotificationRegisterPush = __importStar(require("./types/app/bsky/notification/registerPush"));
|
|
157
|
-
const AppBskyNotificationUpdateSeen = __importStar(require("./types/app/bsky/notification/updateSeen"));
|
|
158
|
-
const AppBskyUnspeccedGetPopularFeedGenerators = __importStar(require("./types/app/bsky/unspecced/getPopularFeedGenerators"));
|
|
159
|
-
const AppBskyUnspeccedGetSuggestionsSkeleton = __importStar(require("./types/app/bsky/unspecced/getSuggestionsSkeleton"));
|
|
160
|
-
const AppBskyUnspeccedGetTaggedSuggestions = __importStar(require("./types/app/bsky/unspecced/getTaggedSuggestions"));
|
|
161
66
|
const AppBskyUnspeccedSearchActorsSkeleton = __importStar(require("./types/app/bsky/unspecced/searchActorsSkeleton"));
|
|
162
67
|
const AppBskyUnspeccedSearchPostsSkeleton = __importStar(require("./types/app/bsky/unspecced/searchPostsSkeleton"));
|
|
163
|
-
const ChatBskyActorDeleteAccount = __importStar(require("./types/chat/bsky/actor/deleteAccount"));
|
|
164
|
-
const ChatBskyActorExportAccountData = __importStar(require("./types/chat/bsky/actor/exportAccountData"));
|
|
165
|
-
const ChatBskyConvoDeleteMessageForSelf = __importStar(require("./types/chat/bsky/convo/deleteMessageForSelf"));
|
|
166
|
-
const ChatBskyConvoGetConvo = __importStar(require("./types/chat/bsky/convo/getConvo"));
|
|
167
|
-
const ChatBskyConvoGetConvoForMembers = __importStar(require("./types/chat/bsky/convo/getConvoForMembers"));
|
|
168
|
-
const ChatBskyConvoGetLog = __importStar(require("./types/chat/bsky/convo/getLog"));
|
|
169
|
-
const ChatBskyConvoGetMessages = __importStar(require("./types/chat/bsky/convo/getMessages"));
|
|
170
|
-
const ChatBskyConvoLeaveConvo = __importStar(require("./types/chat/bsky/convo/leaveConvo"));
|
|
171
|
-
const ChatBskyConvoListConvos = __importStar(require("./types/chat/bsky/convo/listConvos"));
|
|
172
|
-
const ChatBskyConvoMuteConvo = __importStar(require("./types/chat/bsky/convo/muteConvo"));
|
|
173
|
-
const ChatBskyConvoSendMessage = __importStar(require("./types/chat/bsky/convo/sendMessage"));
|
|
174
|
-
const ChatBskyConvoSendMessageBatch = __importStar(require("./types/chat/bsky/convo/sendMessageBatch"));
|
|
175
|
-
const ChatBskyConvoUnmuteConvo = __importStar(require("./types/chat/bsky/convo/unmuteConvo"));
|
|
176
|
-
const ChatBskyConvoUpdateRead = __importStar(require("./types/chat/bsky/convo/updateRead"));
|
|
177
|
-
const ChatBskyModerationGetActorMetadata = __importStar(require("./types/chat/bsky/moderation/getActorMetadata"));
|
|
178
|
-
const ChatBskyModerationGetMessageContext = __importStar(require("./types/chat/bsky/moderation/getMessageContext"));
|
|
179
|
-
const ChatBskyModerationUpdateActorAccess = __importStar(require("./types/chat/bsky/moderation/updateActorAccess"));
|
|
180
|
-
const ToolsOzoneCommunicationCreateTemplate = __importStar(require("./types/tools/ozone/communication/createTemplate"));
|
|
181
|
-
const ToolsOzoneCommunicationDeleteTemplate = __importStar(require("./types/tools/ozone/communication/deleteTemplate"));
|
|
182
|
-
const ToolsOzoneCommunicationListTemplates = __importStar(require("./types/tools/ozone/communication/listTemplates"));
|
|
183
|
-
const ToolsOzoneCommunicationUpdateTemplate = __importStar(require("./types/tools/ozone/communication/updateTemplate"));
|
|
184
68
|
const ToolsOzoneModerationEmitEvent = __importStar(require("./types/tools/ozone/moderation/emitEvent"));
|
|
185
|
-
const ToolsOzoneModerationGetEvent = __importStar(require("./types/tools/ozone/moderation/getEvent"));
|
|
186
69
|
const ToolsOzoneModerationGetRecord = __importStar(require("./types/tools/ozone/moderation/getRecord"));
|
|
187
70
|
const ToolsOzoneModerationGetRepo = __importStar(require("./types/tools/ozone/moderation/getRepo"));
|
|
188
|
-
const ToolsOzoneModerationQueryEvents = __importStar(require("./types/tools/ozone/moderation/queryEvents"));
|
|
189
|
-
const ToolsOzoneModerationQueryStatuses = __importStar(require("./types/tools/ozone/moderation/queryStatuses"));
|
|
190
|
-
const ToolsOzoneModerationSearchRepos = __importStar(require("./types/tools/ozone/moderation/searchRepos"));
|
|
191
|
-
const ToolsOzoneServerGetConfig = __importStar(require("./types/tools/ozone/server/getConfig"));
|
|
192
71
|
const ToolsOzoneTeamAddMember = __importStar(require("./types/tools/ozone/team/addMember"));
|
|
193
72
|
const ToolsOzoneTeamDeleteMember = __importStar(require("./types/tools/ozone/team/deleteMember"));
|
|
194
|
-
const ToolsOzoneTeamListMembers = __importStar(require("./types/tools/ozone/team/listMembers"));
|
|
195
73
|
const ToolsOzoneTeamUpdateMember = __importStar(require("./types/tools/ozone/team/updateMember"));
|
|
196
74
|
exports.ComAtprotoAdminDefs = __importStar(require("./types/com/atproto/admin/defs"));
|
|
197
75
|
exports.ComAtprotoAdminDeleteAccount = __importStar(require("./types/com/atproto/admin/deleteAccount"));
|
|
@@ -428,35 +306,9 @@ exports.TOOLS_OZONE_TEAM = {
|
|
|
428
306
|
DefsRoleModerator: 'tools.ozone.team.defs#roleModerator',
|
|
429
307
|
DefsRoleTriage: 'tools.ozone.team.defs#roleTriage',
|
|
430
308
|
};
|
|
431
|
-
class AtpBaseClient {
|
|
432
|
-
constructor() {
|
|
433
|
-
|
|
434
|
-
enumerable: true,
|
|
435
|
-
configurable: true,
|
|
436
|
-
writable: true,
|
|
437
|
-
value: new xrpc_1.Client()
|
|
438
|
-
});
|
|
439
|
-
this.xrpc.addLexicons(lexicons_1.schemas);
|
|
440
|
-
}
|
|
441
|
-
service(serviceUri) {
|
|
442
|
-
return new AtpServiceClient(this, this.xrpc.service(serviceUri));
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
exports.AtpBaseClient = AtpBaseClient;
|
|
446
|
-
class AtpServiceClient {
|
|
447
|
-
constructor(baseClient, xrpcService) {
|
|
448
|
-
Object.defineProperty(this, "_baseClient", {
|
|
449
|
-
enumerable: true,
|
|
450
|
-
configurable: true,
|
|
451
|
-
writable: true,
|
|
452
|
-
value: void 0
|
|
453
|
-
});
|
|
454
|
-
Object.defineProperty(this, "xrpc", {
|
|
455
|
-
enumerable: true,
|
|
456
|
-
configurable: true,
|
|
457
|
-
writable: true,
|
|
458
|
-
value: void 0
|
|
459
|
-
});
|
|
309
|
+
class AtpBaseClient extends xrpc_1.XrpcClient {
|
|
310
|
+
constructor(options) {
|
|
311
|
+
super(options, lexicons_1.schemas);
|
|
460
312
|
Object.defineProperty(this, "com", {
|
|
461
313
|
enumerable: true,
|
|
462
314
|
configurable: true,
|
|
@@ -481,21 +333,20 @@ class AtpServiceClient {
|
|
|
481
333
|
writable: true,
|
|
482
334
|
value: void 0
|
|
483
335
|
});
|
|
484
|
-
this._baseClient = baseClient;
|
|
485
|
-
this.xrpc = xrpcService;
|
|
486
336
|
this.com = new ComNS(this);
|
|
487
337
|
this.app = new AppNS(this);
|
|
488
338
|
this.chat = new ChatNS(this);
|
|
489
339
|
this.tools = new ToolsNS(this);
|
|
490
340
|
}
|
|
491
|
-
|
|
492
|
-
|
|
341
|
+
/** @deprecated use `this` instead */
|
|
342
|
+
get xrpc() {
|
|
343
|
+
return this;
|
|
493
344
|
}
|
|
494
345
|
}
|
|
495
|
-
exports.
|
|
346
|
+
exports.AtpBaseClient = AtpBaseClient;
|
|
496
347
|
class ComNS {
|
|
497
|
-
constructor(
|
|
498
|
-
Object.defineProperty(this, "
|
|
348
|
+
constructor(client) {
|
|
349
|
+
Object.defineProperty(this, "_client", {
|
|
499
350
|
enumerable: true,
|
|
500
351
|
configurable: true,
|
|
501
352
|
writable: true,
|
|
@@ -507,14 +358,14 @@ class ComNS {
|
|
|
507
358
|
writable: true,
|
|
508
359
|
value: void 0
|
|
509
360
|
});
|
|
510
|
-
this.
|
|
511
|
-
this.atproto = new ComAtprotoNS(
|
|
361
|
+
this._client = client;
|
|
362
|
+
this.atproto = new ComAtprotoNS(client);
|
|
512
363
|
}
|
|
513
364
|
}
|
|
514
365
|
exports.ComNS = ComNS;
|
|
515
366
|
class ComAtprotoNS {
|
|
516
|
-
constructor(
|
|
517
|
-
Object.defineProperty(this, "
|
|
367
|
+
constructor(client) {
|
|
368
|
+
Object.defineProperty(this, "_client", {
|
|
518
369
|
enumerable: true,
|
|
519
370
|
configurable: true,
|
|
520
371
|
writable: true,
|
|
@@ -568,482 +419,310 @@ class ComAtprotoNS {
|
|
|
568
419
|
writable: true,
|
|
569
420
|
value: void 0
|
|
570
421
|
});
|
|
571
|
-
this.
|
|
572
|
-
this.admin = new ComAtprotoAdminNS(
|
|
573
|
-
this.identity = new ComAtprotoIdentityNS(
|
|
574
|
-
this.label = new ComAtprotoLabelNS(
|
|
575
|
-
this.moderation = new ComAtprotoModerationNS(
|
|
576
|
-
this.repo = new ComAtprotoRepoNS(
|
|
577
|
-
this.server = new ComAtprotoServerNS(
|
|
578
|
-
this.sync = new ComAtprotoSyncNS(
|
|
579
|
-
this.temp = new ComAtprotoTempNS(
|
|
422
|
+
this._client = client;
|
|
423
|
+
this.admin = new ComAtprotoAdminNS(client);
|
|
424
|
+
this.identity = new ComAtprotoIdentityNS(client);
|
|
425
|
+
this.label = new ComAtprotoLabelNS(client);
|
|
426
|
+
this.moderation = new ComAtprotoModerationNS(client);
|
|
427
|
+
this.repo = new ComAtprotoRepoNS(client);
|
|
428
|
+
this.server = new ComAtprotoServerNS(client);
|
|
429
|
+
this.sync = new ComAtprotoSyncNS(client);
|
|
430
|
+
this.temp = new ComAtprotoTempNS(client);
|
|
580
431
|
}
|
|
581
432
|
}
|
|
582
433
|
exports.ComAtprotoNS = ComAtprotoNS;
|
|
583
434
|
class ComAtprotoAdminNS {
|
|
584
|
-
constructor(
|
|
585
|
-
Object.defineProperty(this, "
|
|
435
|
+
constructor(client) {
|
|
436
|
+
Object.defineProperty(this, "_client", {
|
|
586
437
|
enumerable: true,
|
|
587
438
|
configurable: true,
|
|
588
439
|
writable: true,
|
|
589
440
|
value: void 0
|
|
590
441
|
});
|
|
591
|
-
this.
|
|
442
|
+
this._client = client;
|
|
592
443
|
}
|
|
593
444
|
deleteAccount(data, opts) {
|
|
594
|
-
return this.
|
|
595
|
-
.call('com.atproto.admin.deleteAccount', opts?.qp, data, opts)
|
|
596
|
-
.catch((e) => {
|
|
597
|
-
throw ComAtprotoAdminDeleteAccount.toKnownErr(e);
|
|
598
|
-
});
|
|
445
|
+
return this._client.call('com.atproto.admin.deleteAccount', opts?.qp, data, opts);
|
|
599
446
|
}
|
|
600
447
|
disableAccountInvites(data, opts) {
|
|
601
|
-
return this.
|
|
602
|
-
.call('com.atproto.admin.disableAccountInvites', opts?.qp, data, opts)
|
|
603
|
-
.catch((e) => {
|
|
604
|
-
throw ComAtprotoAdminDisableAccountInvites.toKnownErr(e);
|
|
605
|
-
});
|
|
448
|
+
return this._client.call('com.atproto.admin.disableAccountInvites', opts?.qp, data, opts);
|
|
606
449
|
}
|
|
607
450
|
disableInviteCodes(data, opts) {
|
|
608
|
-
return this.
|
|
609
|
-
.call('com.atproto.admin.disableInviteCodes', opts?.qp, data, opts)
|
|
610
|
-
.catch((e) => {
|
|
611
|
-
throw ComAtprotoAdminDisableInviteCodes.toKnownErr(e);
|
|
612
|
-
});
|
|
451
|
+
return this._client.call('com.atproto.admin.disableInviteCodes', opts?.qp, data, opts);
|
|
613
452
|
}
|
|
614
453
|
enableAccountInvites(data, opts) {
|
|
615
|
-
return this.
|
|
616
|
-
.call('com.atproto.admin.enableAccountInvites', opts?.qp, data, opts)
|
|
617
|
-
.catch((e) => {
|
|
618
|
-
throw ComAtprotoAdminEnableAccountInvites.toKnownErr(e);
|
|
619
|
-
});
|
|
454
|
+
return this._client.call('com.atproto.admin.enableAccountInvites', opts?.qp, data, opts);
|
|
620
455
|
}
|
|
621
456
|
getAccountInfo(params, opts) {
|
|
622
|
-
return this.
|
|
623
|
-
.call('com.atproto.admin.getAccountInfo', params, undefined, opts)
|
|
624
|
-
.catch((e) => {
|
|
625
|
-
throw ComAtprotoAdminGetAccountInfo.toKnownErr(e);
|
|
626
|
-
});
|
|
457
|
+
return this._client.call('com.atproto.admin.getAccountInfo', params, undefined, opts);
|
|
627
458
|
}
|
|
628
459
|
getAccountInfos(params, opts) {
|
|
629
|
-
return this.
|
|
630
|
-
.call('com.atproto.admin.getAccountInfos', params, undefined, opts)
|
|
631
|
-
.catch((e) => {
|
|
632
|
-
throw ComAtprotoAdminGetAccountInfos.toKnownErr(e);
|
|
633
|
-
});
|
|
460
|
+
return this._client.call('com.atproto.admin.getAccountInfos', params, undefined, opts);
|
|
634
461
|
}
|
|
635
462
|
getInviteCodes(params, opts) {
|
|
636
|
-
return this.
|
|
637
|
-
.call('com.atproto.admin.getInviteCodes', params, undefined, opts)
|
|
638
|
-
.catch((e) => {
|
|
639
|
-
throw ComAtprotoAdminGetInviteCodes.toKnownErr(e);
|
|
640
|
-
});
|
|
463
|
+
return this._client.call('com.atproto.admin.getInviteCodes', params, undefined, opts);
|
|
641
464
|
}
|
|
642
465
|
getSubjectStatus(params, opts) {
|
|
643
|
-
return this.
|
|
644
|
-
.call('com.atproto.admin.getSubjectStatus', params, undefined, opts)
|
|
645
|
-
.catch((e) => {
|
|
646
|
-
throw ComAtprotoAdminGetSubjectStatus.toKnownErr(e);
|
|
647
|
-
});
|
|
466
|
+
return this._client.call('com.atproto.admin.getSubjectStatus', params, undefined, opts);
|
|
648
467
|
}
|
|
649
468
|
searchAccounts(params, opts) {
|
|
650
|
-
return this.
|
|
651
|
-
.call('com.atproto.admin.searchAccounts', params, undefined, opts)
|
|
652
|
-
.catch((e) => {
|
|
653
|
-
throw ComAtprotoAdminSearchAccounts.toKnownErr(e);
|
|
654
|
-
});
|
|
469
|
+
return this._client.call('com.atproto.admin.searchAccounts', params, undefined, opts);
|
|
655
470
|
}
|
|
656
471
|
sendEmail(data, opts) {
|
|
657
|
-
return this.
|
|
658
|
-
.call('com.atproto.admin.sendEmail', opts?.qp, data, opts)
|
|
659
|
-
.catch((e) => {
|
|
660
|
-
throw ComAtprotoAdminSendEmail.toKnownErr(e);
|
|
661
|
-
});
|
|
472
|
+
return this._client.call('com.atproto.admin.sendEmail', opts?.qp, data, opts);
|
|
662
473
|
}
|
|
663
474
|
updateAccountEmail(data, opts) {
|
|
664
|
-
return this.
|
|
665
|
-
.call('com.atproto.admin.updateAccountEmail', opts?.qp, data, opts)
|
|
666
|
-
.catch((e) => {
|
|
667
|
-
throw ComAtprotoAdminUpdateAccountEmail.toKnownErr(e);
|
|
668
|
-
});
|
|
475
|
+
return this._client.call('com.atproto.admin.updateAccountEmail', opts?.qp, data, opts);
|
|
669
476
|
}
|
|
670
477
|
updateAccountHandle(data, opts) {
|
|
671
|
-
return this.
|
|
672
|
-
.call('com.atproto.admin.updateAccountHandle', opts?.qp, data, opts)
|
|
673
|
-
.catch((e) => {
|
|
674
|
-
throw ComAtprotoAdminUpdateAccountHandle.toKnownErr(e);
|
|
675
|
-
});
|
|
478
|
+
return this._client.call('com.atproto.admin.updateAccountHandle', opts?.qp, data, opts);
|
|
676
479
|
}
|
|
677
480
|
updateAccountPassword(data, opts) {
|
|
678
|
-
return this.
|
|
679
|
-
.call('com.atproto.admin.updateAccountPassword', opts?.qp, data, opts)
|
|
680
|
-
.catch((e) => {
|
|
681
|
-
throw ComAtprotoAdminUpdateAccountPassword.toKnownErr(e);
|
|
682
|
-
});
|
|
481
|
+
return this._client.call('com.atproto.admin.updateAccountPassword', opts?.qp, data, opts);
|
|
683
482
|
}
|
|
684
483
|
updateSubjectStatus(data, opts) {
|
|
685
|
-
return this.
|
|
686
|
-
.call('com.atproto.admin.updateSubjectStatus', opts?.qp, data, opts)
|
|
687
|
-
.catch((e) => {
|
|
688
|
-
throw ComAtprotoAdminUpdateSubjectStatus.toKnownErr(e);
|
|
689
|
-
});
|
|
484
|
+
return this._client.call('com.atproto.admin.updateSubjectStatus', opts?.qp, data, opts);
|
|
690
485
|
}
|
|
691
486
|
}
|
|
692
487
|
exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
|
|
693
488
|
class ComAtprotoIdentityNS {
|
|
694
|
-
constructor(
|
|
695
|
-
Object.defineProperty(this, "
|
|
489
|
+
constructor(client) {
|
|
490
|
+
Object.defineProperty(this, "_client", {
|
|
696
491
|
enumerable: true,
|
|
697
492
|
configurable: true,
|
|
698
493
|
writable: true,
|
|
699
494
|
value: void 0
|
|
700
495
|
});
|
|
701
|
-
this.
|
|
496
|
+
this._client = client;
|
|
702
497
|
}
|
|
703
498
|
getRecommendedDidCredentials(params, opts) {
|
|
704
|
-
return this.
|
|
705
|
-
.call('com.atproto.identity.getRecommendedDidCredentials', params, undefined, opts)
|
|
706
|
-
.catch((e) => {
|
|
707
|
-
throw ComAtprotoIdentityGetRecommendedDidCredentials.toKnownErr(e);
|
|
708
|
-
});
|
|
499
|
+
return this._client.call('com.atproto.identity.getRecommendedDidCredentials', params, undefined, opts);
|
|
709
500
|
}
|
|
710
501
|
requestPlcOperationSignature(data, opts) {
|
|
711
|
-
return this.
|
|
712
|
-
.call('com.atproto.identity.requestPlcOperationSignature', opts?.qp, data, opts)
|
|
713
|
-
.catch((e) => {
|
|
714
|
-
throw ComAtprotoIdentityRequestPlcOperationSignature.toKnownErr(e);
|
|
715
|
-
});
|
|
502
|
+
return this._client.call('com.atproto.identity.requestPlcOperationSignature', opts?.qp, data, opts);
|
|
716
503
|
}
|
|
717
504
|
resolveHandle(params, opts) {
|
|
718
|
-
return this.
|
|
719
|
-
.call('com.atproto.identity.resolveHandle', params, undefined, opts)
|
|
720
|
-
.catch((e) => {
|
|
721
|
-
throw ComAtprotoIdentityResolveHandle.toKnownErr(e);
|
|
722
|
-
});
|
|
505
|
+
return this._client.call('com.atproto.identity.resolveHandle', params, undefined, opts);
|
|
723
506
|
}
|
|
724
507
|
signPlcOperation(data, opts) {
|
|
725
|
-
return this.
|
|
726
|
-
.call('com.atproto.identity.signPlcOperation', opts?.qp, data, opts)
|
|
727
|
-
.catch((e) => {
|
|
728
|
-
throw ComAtprotoIdentitySignPlcOperation.toKnownErr(e);
|
|
729
|
-
});
|
|
508
|
+
return this._client.call('com.atproto.identity.signPlcOperation', opts?.qp, data, opts);
|
|
730
509
|
}
|
|
731
510
|
submitPlcOperation(data, opts) {
|
|
732
|
-
return this.
|
|
733
|
-
.call('com.atproto.identity.submitPlcOperation', opts?.qp, data, opts)
|
|
734
|
-
.catch((e) => {
|
|
735
|
-
throw ComAtprotoIdentitySubmitPlcOperation.toKnownErr(e);
|
|
736
|
-
});
|
|
511
|
+
return this._client.call('com.atproto.identity.submitPlcOperation', opts?.qp, data, opts);
|
|
737
512
|
}
|
|
738
513
|
updateHandle(data, opts) {
|
|
739
|
-
return this.
|
|
740
|
-
.call('com.atproto.identity.updateHandle', opts?.qp, data, opts)
|
|
741
|
-
.catch((e) => {
|
|
742
|
-
throw ComAtprotoIdentityUpdateHandle.toKnownErr(e);
|
|
743
|
-
});
|
|
514
|
+
return this._client.call('com.atproto.identity.updateHandle', opts?.qp, data, opts);
|
|
744
515
|
}
|
|
745
516
|
}
|
|
746
517
|
exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
|
|
747
518
|
class ComAtprotoLabelNS {
|
|
748
|
-
constructor(
|
|
749
|
-
Object.defineProperty(this, "
|
|
519
|
+
constructor(client) {
|
|
520
|
+
Object.defineProperty(this, "_client", {
|
|
750
521
|
enumerable: true,
|
|
751
522
|
configurable: true,
|
|
752
523
|
writable: true,
|
|
753
524
|
value: void 0
|
|
754
525
|
});
|
|
755
|
-
this.
|
|
526
|
+
this._client = client;
|
|
756
527
|
}
|
|
757
528
|
queryLabels(params, opts) {
|
|
758
|
-
return this.
|
|
759
|
-
.call('com.atproto.label.queryLabels', params, undefined, opts)
|
|
760
|
-
.catch((e) => {
|
|
761
|
-
throw ComAtprotoLabelQueryLabels.toKnownErr(e);
|
|
762
|
-
});
|
|
529
|
+
return this._client.call('com.atproto.label.queryLabels', params, undefined, opts);
|
|
763
530
|
}
|
|
764
531
|
}
|
|
765
532
|
exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
|
|
766
533
|
class ComAtprotoModerationNS {
|
|
767
|
-
constructor(
|
|
768
|
-
Object.defineProperty(this, "
|
|
534
|
+
constructor(client) {
|
|
535
|
+
Object.defineProperty(this, "_client", {
|
|
769
536
|
enumerable: true,
|
|
770
537
|
configurable: true,
|
|
771
538
|
writable: true,
|
|
772
539
|
value: void 0
|
|
773
540
|
});
|
|
774
|
-
this.
|
|
541
|
+
this._client = client;
|
|
775
542
|
}
|
|
776
543
|
createReport(data, opts) {
|
|
777
|
-
return this.
|
|
778
|
-
.call('com.atproto.moderation.createReport', opts?.qp, data, opts)
|
|
779
|
-
.catch((e) => {
|
|
780
|
-
throw ComAtprotoModerationCreateReport.toKnownErr(e);
|
|
781
|
-
});
|
|
544
|
+
return this._client.call('com.atproto.moderation.createReport', opts?.qp, data, opts);
|
|
782
545
|
}
|
|
783
546
|
}
|
|
784
547
|
exports.ComAtprotoModerationNS = ComAtprotoModerationNS;
|
|
785
548
|
class ComAtprotoRepoNS {
|
|
786
|
-
constructor(
|
|
787
|
-
Object.defineProperty(this, "
|
|
549
|
+
constructor(client) {
|
|
550
|
+
Object.defineProperty(this, "_client", {
|
|
788
551
|
enumerable: true,
|
|
789
552
|
configurable: true,
|
|
790
553
|
writable: true,
|
|
791
554
|
value: void 0
|
|
792
555
|
});
|
|
793
|
-
this.
|
|
556
|
+
this._client = client;
|
|
794
557
|
}
|
|
795
558
|
applyWrites(data, opts) {
|
|
796
|
-
return this.
|
|
559
|
+
return this._client
|
|
797
560
|
.call('com.atproto.repo.applyWrites', opts?.qp, data, opts)
|
|
798
561
|
.catch((e) => {
|
|
799
562
|
throw ComAtprotoRepoApplyWrites.toKnownErr(e);
|
|
800
563
|
});
|
|
801
564
|
}
|
|
802
565
|
createRecord(data, opts) {
|
|
803
|
-
return this.
|
|
566
|
+
return this._client
|
|
804
567
|
.call('com.atproto.repo.createRecord', opts?.qp, data, opts)
|
|
805
568
|
.catch((e) => {
|
|
806
569
|
throw ComAtprotoRepoCreateRecord.toKnownErr(e);
|
|
807
570
|
});
|
|
808
571
|
}
|
|
809
572
|
deleteRecord(data, opts) {
|
|
810
|
-
return this.
|
|
573
|
+
return this._client
|
|
811
574
|
.call('com.atproto.repo.deleteRecord', opts?.qp, data, opts)
|
|
812
575
|
.catch((e) => {
|
|
813
576
|
throw ComAtprotoRepoDeleteRecord.toKnownErr(e);
|
|
814
577
|
});
|
|
815
578
|
}
|
|
816
579
|
describeRepo(params, opts) {
|
|
817
|
-
return this.
|
|
818
|
-
.call('com.atproto.repo.describeRepo', params, undefined, opts)
|
|
819
|
-
.catch((e) => {
|
|
820
|
-
throw ComAtprotoRepoDescribeRepo.toKnownErr(e);
|
|
821
|
-
});
|
|
580
|
+
return this._client.call('com.atproto.repo.describeRepo', params, undefined, opts);
|
|
822
581
|
}
|
|
823
582
|
getRecord(params, opts) {
|
|
824
|
-
return this.
|
|
825
|
-
.call('com.atproto.repo.getRecord', params, undefined, opts)
|
|
826
|
-
.catch((e) => {
|
|
827
|
-
throw ComAtprotoRepoGetRecord.toKnownErr(e);
|
|
828
|
-
});
|
|
583
|
+
return this._client.call('com.atproto.repo.getRecord', params, undefined, opts);
|
|
829
584
|
}
|
|
830
585
|
importRepo(data, opts) {
|
|
831
|
-
return this.
|
|
832
|
-
.call('com.atproto.repo.importRepo', opts?.qp, data, opts)
|
|
833
|
-
.catch((e) => {
|
|
834
|
-
throw ComAtprotoRepoImportRepo.toKnownErr(e);
|
|
835
|
-
});
|
|
586
|
+
return this._client.call('com.atproto.repo.importRepo', opts?.qp, data, opts);
|
|
836
587
|
}
|
|
837
588
|
listMissingBlobs(params, opts) {
|
|
838
|
-
return this.
|
|
839
|
-
.call('com.atproto.repo.listMissingBlobs', params, undefined, opts)
|
|
840
|
-
.catch((e) => {
|
|
841
|
-
throw ComAtprotoRepoListMissingBlobs.toKnownErr(e);
|
|
842
|
-
});
|
|
589
|
+
return this._client.call('com.atproto.repo.listMissingBlobs', params, undefined, opts);
|
|
843
590
|
}
|
|
844
591
|
listRecords(params, opts) {
|
|
845
|
-
return this.
|
|
846
|
-
.call('com.atproto.repo.listRecords', params, undefined, opts)
|
|
847
|
-
.catch((e) => {
|
|
848
|
-
throw ComAtprotoRepoListRecords.toKnownErr(e);
|
|
849
|
-
});
|
|
592
|
+
return this._client.call('com.atproto.repo.listRecords', params, undefined, opts);
|
|
850
593
|
}
|
|
851
594
|
putRecord(data, opts) {
|
|
852
|
-
return this.
|
|
595
|
+
return this._client
|
|
853
596
|
.call('com.atproto.repo.putRecord', opts?.qp, data, opts)
|
|
854
597
|
.catch((e) => {
|
|
855
598
|
throw ComAtprotoRepoPutRecord.toKnownErr(e);
|
|
856
599
|
});
|
|
857
600
|
}
|
|
858
601
|
uploadBlob(data, opts) {
|
|
859
|
-
return this.
|
|
860
|
-
.call('com.atproto.repo.uploadBlob', opts?.qp, data, opts)
|
|
861
|
-
.catch((e) => {
|
|
862
|
-
throw ComAtprotoRepoUploadBlob.toKnownErr(e);
|
|
863
|
-
});
|
|
602
|
+
return this._client.call('com.atproto.repo.uploadBlob', opts?.qp, data, opts);
|
|
864
603
|
}
|
|
865
604
|
}
|
|
866
605
|
exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
|
|
867
606
|
class ComAtprotoServerNS {
|
|
868
|
-
constructor(
|
|
869
|
-
Object.defineProperty(this, "
|
|
607
|
+
constructor(client) {
|
|
608
|
+
Object.defineProperty(this, "_client", {
|
|
870
609
|
enumerable: true,
|
|
871
610
|
configurable: true,
|
|
872
611
|
writable: true,
|
|
873
612
|
value: void 0
|
|
874
613
|
});
|
|
875
|
-
this.
|
|
614
|
+
this._client = client;
|
|
876
615
|
}
|
|
877
616
|
activateAccount(data, opts) {
|
|
878
|
-
return this.
|
|
879
|
-
.call('com.atproto.server.activateAccount', opts?.qp, data, opts)
|
|
880
|
-
.catch((e) => {
|
|
881
|
-
throw ComAtprotoServerActivateAccount.toKnownErr(e);
|
|
882
|
-
});
|
|
617
|
+
return this._client.call('com.atproto.server.activateAccount', opts?.qp, data, opts);
|
|
883
618
|
}
|
|
884
619
|
checkAccountStatus(params, opts) {
|
|
885
|
-
return this.
|
|
886
|
-
.call('com.atproto.server.checkAccountStatus', params, undefined, opts)
|
|
887
|
-
.catch((e) => {
|
|
888
|
-
throw ComAtprotoServerCheckAccountStatus.toKnownErr(e);
|
|
889
|
-
});
|
|
620
|
+
return this._client.call('com.atproto.server.checkAccountStatus', params, undefined, opts);
|
|
890
621
|
}
|
|
891
622
|
confirmEmail(data, opts) {
|
|
892
|
-
return this.
|
|
623
|
+
return this._client
|
|
893
624
|
.call('com.atproto.server.confirmEmail', opts?.qp, data, opts)
|
|
894
625
|
.catch((e) => {
|
|
895
626
|
throw ComAtprotoServerConfirmEmail.toKnownErr(e);
|
|
896
627
|
});
|
|
897
628
|
}
|
|
898
629
|
createAccount(data, opts) {
|
|
899
|
-
return this.
|
|
630
|
+
return this._client
|
|
900
631
|
.call('com.atproto.server.createAccount', opts?.qp, data, opts)
|
|
901
632
|
.catch((e) => {
|
|
902
633
|
throw ComAtprotoServerCreateAccount.toKnownErr(e);
|
|
903
634
|
});
|
|
904
635
|
}
|
|
905
636
|
createAppPassword(data, opts) {
|
|
906
|
-
return this.
|
|
637
|
+
return this._client
|
|
907
638
|
.call('com.atproto.server.createAppPassword', opts?.qp, data, opts)
|
|
908
639
|
.catch((e) => {
|
|
909
640
|
throw ComAtprotoServerCreateAppPassword.toKnownErr(e);
|
|
910
641
|
});
|
|
911
642
|
}
|
|
912
643
|
createInviteCode(data, opts) {
|
|
913
|
-
return this.
|
|
914
|
-
.call('com.atproto.server.createInviteCode', opts?.qp, data, opts)
|
|
915
|
-
.catch((e) => {
|
|
916
|
-
throw ComAtprotoServerCreateInviteCode.toKnownErr(e);
|
|
917
|
-
});
|
|
644
|
+
return this._client.call('com.atproto.server.createInviteCode', opts?.qp, data, opts);
|
|
918
645
|
}
|
|
919
646
|
createInviteCodes(data, opts) {
|
|
920
|
-
return this.
|
|
921
|
-
.call('com.atproto.server.createInviteCodes', opts?.qp, data, opts)
|
|
922
|
-
.catch((e) => {
|
|
923
|
-
throw ComAtprotoServerCreateInviteCodes.toKnownErr(e);
|
|
924
|
-
});
|
|
647
|
+
return this._client.call('com.atproto.server.createInviteCodes', opts?.qp, data, opts);
|
|
925
648
|
}
|
|
926
649
|
createSession(data, opts) {
|
|
927
|
-
return this.
|
|
650
|
+
return this._client
|
|
928
651
|
.call('com.atproto.server.createSession', opts?.qp, data, opts)
|
|
929
652
|
.catch((e) => {
|
|
930
653
|
throw ComAtprotoServerCreateSession.toKnownErr(e);
|
|
931
654
|
});
|
|
932
655
|
}
|
|
933
656
|
deactivateAccount(data, opts) {
|
|
934
|
-
return this.
|
|
935
|
-
.call('com.atproto.server.deactivateAccount', opts?.qp, data, opts)
|
|
936
|
-
.catch((e) => {
|
|
937
|
-
throw ComAtprotoServerDeactivateAccount.toKnownErr(e);
|
|
938
|
-
});
|
|
657
|
+
return this._client.call('com.atproto.server.deactivateAccount', opts?.qp, data, opts);
|
|
939
658
|
}
|
|
940
659
|
deleteAccount(data, opts) {
|
|
941
|
-
return this.
|
|
660
|
+
return this._client
|
|
942
661
|
.call('com.atproto.server.deleteAccount', opts?.qp, data, opts)
|
|
943
662
|
.catch((e) => {
|
|
944
663
|
throw ComAtprotoServerDeleteAccount.toKnownErr(e);
|
|
945
664
|
});
|
|
946
665
|
}
|
|
947
666
|
deleteSession(data, opts) {
|
|
948
|
-
return this.
|
|
949
|
-
.call('com.atproto.server.deleteSession', opts?.qp, data, opts)
|
|
950
|
-
.catch((e) => {
|
|
951
|
-
throw ComAtprotoServerDeleteSession.toKnownErr(e);
|
|
952
|
-
});
|
|
667
|
+
return this._client.call('com.atproto.server.deleteSession', opts?.qp, data, opts);
|
|
953
668
|
}
|
|
954
669
|
describeServer(params, opts) {
|
|
955
|
-
return this.
|
|
956
|
-
.call('com.atproto.server.describeServer', params, undefined, opts)
|
|
957
|
-
.catch((e) => {
|
|
958
|
-
throw ComAtprotoServerDescribeServer.toKnownErr(e);
|
|
959
|
-
});
|
|
670
|
+
return this._client.call('com.atproto.server.describeServer', params, undefined, opts);
|
|
960
671
|
}
|
|
961
672
|
getAccountInviteCodes(params, opts) {
|
|
962
|
-
return this.
|
|
673
|
+
return this._client
|
|
963
674
|
.call('com.atproto.server.getAccountInviteCodes', params, undefined, opts)
|
|
964
675
|
.catch((e) => {
|
|
965
676
|
throw ComAtprotoServerGetAccountInviteCodes.toKnownErr(e);
|
|
966
677
|
});
|
|
967
678
|
}
|
|
968
679
|
getServiceAuth(params, opts) {
|
|
969
|
-
return this.
|
|
970
|
-
.call('com.atproto.server.getServiceAuth', params, undefined, opts)
|
|
971
|
-
.catch((e) => {
|
|
972
|
-
throw ComAtprotoServerGetServiceAuth.toKnownErr(e);
|
|
973
|
-
});
|
|
680
|
+
return this._client.call('com.atproto.server.getServiceAuth', params, undefined, opts);
|
|
974
681
|
}
|
|
975
682
|
getSession(params, opts) {
|
|
976
|
-
return this.
|
|
977
|
-
.call('com.atproto.server.getSession', params, undefined, opts)
|
|
978
|
-
.catch((e) => {
|
|
979
|
-
throw ComAtprotoServerGetSession.toKnownErr(e);
|
|
980
|
-
});
|
|
683
|
+
return this._client.call('com.atproto.server.getSession', params, undefined, opts);
|
|
981
684
|
}
|
|
982
685
|
listAppPasswords(params, opts) {
|
|
983
|
-
return this.
|
|
686
|
+
return this._client
|
|
984
687
|
.call('com.atproto.server.listAppPasswords', params, undefined, opts)
|
|
985
688
|
.catch((e) => {
|
|
986
689
|
throw ComAtprotoServerListAppPasswords.toKnownErr(e);
|
|
987
690
|
});
|
|
988
691
|
}
|
|
989
692
|
refreshSession(data, opts) {
|
|
990
|
-
return this.
|
|
693
|
+
return this._client
|
|
991
694
|
.call('com.atproto.server.refreshSession', opts?.qp, data, opts)
|
|
992
695
|
.catch((e) => {
|
|
993
696
|
throw ComAtprotoServerRefreshSession.toKnownErr(e);
|
|
994
697
|
});
|
|
995
698
|
}
|
|
996
699
|
requestAccountDelete(data, opts) {
|
|
997
|
-
return this.
|
|
998
|
-
.call('com.atproto.server.requestAccountDelete', opts?.qp, data, opts)
|
|
999
|
-
.catch((e) => {
|
|
1000
|
-
throw ComAtprotoServerRequestAccountDelete.toKnownErr(e);
|
|
1001
|
-
});
|
|
700
|
+
return this._client.call('com.atproto.server.requestAccountDelete', opts?.qp, data, opts);
|
|
1002
701
|
}
|
|
1003
702
|
requestEmailConfirmation(data, opts) {
|
|
1004
|
-
return this.
|
|
1005
|
-
.call('com.atproto.server.requestEmailConfirmation', opts?.qp, data, opts)
|
|
1006
|
-
.catch((e) => {
|
|
1007
|
-
throw ComAtprotoServerRequestEmailConfirmation.toKnownErr(e);
|
|
1008
|
-
});
|
|
703
|
+
return this._client.call('com.atproto.server.requestEmailConfirmation', opts?.qp, data, opts);
|
|
1009
704
|
}
|
|
1010
705
|
requestEmailUpdate(data, opts) {
|
|
1011
|
-
return this.
|
|
1012
|
-
.call('com.atproto.server.requestEmailUpdate', opts?.qp, data, opts)
|
|
1013
|
-
.catch((e) => {
|
|
1014
|
-
throw ComAtprotoServerRequestEmailUpdate.toKnownErr(e);
|
|
1015
|
-
});
|
|
706
|
+
return this._client.call('com.atproto.server.requestEmailUpdate', opts?.qp, data, opts);
|
|
1016
707
|
}
|
|
1017
708
|
requestPasswordReset(data, opts) {
|
|
1018
|
-
return this.
|
|
1019
|
-
.call('com.atproto.server.requestPasswordReset', opts?.qp, data, opts)
|
|
1020
|
-
.catch((e) => {
|
|
1021
|
-
throw ComAtprotoServerRequestPasswordReset.toKnownErr(e);
|
|
1022
|
-
});
|
|
709
|
+
return this._client.call('com.atproto.server.requestPasswordReset', opts?.qp, data, opts);
|
|
1023
710
|
}
|
|
1024
711
|
reserveSigningKey(data, opts) {
|
|
1025
|
-
return this.
|
|
1026
|
-
.call('com.atproto.server.reserveSigningKey', opts?.qp, data, opts)
|
|
1027
|
-
.catch((e) => {
|
|
1028
|
-
throw ComAtprotoServerReserveSigningKey.toKnownErr(e);
|
|
1029
|
-
});
|
|
712
|
+
return this._client.call('com.atproto.server.reserveSigningKey', opts?.qp, data, opts);
|
|
1030
713
|
}
|
|
1031
714
|
resetPassword(data, opts) {
|
|
1032
|
-
return this.
|
|
715
|
+
return this._client
|
|
1033
716
|
.call('com.atproto.server.resetPassword', opts?.qp, data, opts)
|
|
1034
717
|
.catch((e) => {
|
|
1035
718
|
throw ComAtprotoServerResetPassword.toKnownErr(e);
|
|
1036
719
|
});
|
|
1037
720
|
}
|
|
1038
721
|
revokeAppPassword(data, opts) {
|
|
1039
|
-
return this.
|
|
1040
|
-
.call('com.atproto.server.revokeAppPassword', opts?.qp, data, opts)
|
|
1041
|
-
.catch((e) => {
|
|
1042
|
-
throw ComAtprotoServerRevokeAppPassword.toKnownErr(e);
|
|
1043
|
-
});
|
|
722
|
+
return this._client.call('com.atproto.server.revokeAppPassword', opts?.qp, data, opts);
|
|
1044
723
|
}
|
|
1045
724
|
updateEmail(data, opts) {
|
|
1046
|
-
return this.
|
|
725
|
+
return this._client
|
|
1047
726
|
.call('com.atproto.server.updateEmail', opts?.qp, data, opts)
|
|
1048
727
|
.catch((e) => {
|
|
1049
728
|
throw ComAtprotoServerUpdateEmail.toKnownErr(e);
|
|
@@ -1052,137 +731,109 @@ class ComAtprotoServerNS {
|
|
|
1052
731
|
}
|
|
1053
732
|
exports.ComAtprotoServerNS = ComAtprotoServerNS;
|
|
1054
733
|
class ComAtprotoSyncNS {
|
|
1055
|
-
constructor(
|
|
1056
|
-
Object.defineProperty(this, "
|
|
734
|
+
constructor(client) {
|
|
735
|
+
Object.defineProperty(this, "_client", {
|
|
1057
736
|
enumerable: true,
|
|
1058
737
|
configurable: true,
|
|
1059
738
|
writable: true,
|
|
1060
739
|
value: void 0
|
|
1061
740
|
});
|
|
1062
|
-
this.
|
|
741
|
+
this._client = client;
|
|
1063
742
|
}
|
|
1064
743
|
getBlob(params, opts) {
|
|
1065
|
-
return this.
|
|
744
|
+
return this._client
|
|
1066
745
|
.call('com.atproto.sync.getBlob', params, undefined, opts)
|
|
1067
746
|
.catch((e) => {
|
|
1068
747
|
throw ComAtprotoSyncGetBlob.toKnownErr(e);
|
|
1069
748
|
});
|
|
1070
749
|
}
|
|
1071
750
|
getBlocks(params, opts) {
|
|
1072
|
-
return this.
|
|
751
|
+
return this._client
|
|
1073
752
|
.call('com.atproto.sync.getBlocks', params, undefined, opts)
|
|
1074
753
|
.catch((e) => {
|
|
1075
754
|
throw ComAtprotoSyncGetBlocks.toKnownErr(e);
|
|
1076
755
|
});
|
|
1077
756
|
}
|
|
1078
757
|
getCheckout(params, opts) {
|
|
1079
|
-
return this.
|
|
1080
|
-
.call('com.atproto.sync.getCheckout', params, undefined, opts)
|
|
1081
|
-
.catch((e) => {
|
|
1082
|
-
throw ComAtprotoSyncGetCheckout.toKnownErr(e);
|
|
1083
|
-
});
|
|
758
|
+
return this._client.call('com.atproto.sync.getCheckout', params, undefined, opts);
|
|
1084
759
|
}
|
|
1085
760
|
getHead(params, opts) {
|
|
1086
|
-
return this.
|
|
761
|
+
return this._client
|
|
1087
762
|
.call('com.atproto.sync.getHead', params, undefined, opts)
|
|
1088
763
|
.catch((e) => {
|
|
1089
764
|
throw ComAtprotoSyncGetHead.toKnownErr(e);
|
|
1090
765
|
});
|
|
1091
766
|
}
|
|
1092
767
|
getLatestCommit(params, opts) {
|
|
1093
|
-
return this.
|
|
768
|
+
return this._client
|
|
1094
769
|
.call('com.atproto.sync.getLatestCommit', params, undefined, opts)
|
|
1095
770
|
.catch((e) => {
|
|
1096
771
|
throw ComAtprotoSyncGetLatestCommit.toKnownErr(e);
|
|
1097
772
|
});
|
|
1098
773
|
}
|
|
1099
774
|
getRecord(params, opts) {
|
|
1100
|
-
return this.
|
|
775
|
+
return this._client
|
|
1101
776
|
.call('com.atproto.sync.getRecord', params, undefined, opts)
|
|
1102
777
|
.catch((e) => {
|
|
1103
778
|
throw ComAtprotoSyncGetRecord.toKnownErr(e);
|
|
1104
779
|
});
|
|
1105
780
|
}
|
|
1106
781
|
getRepo(params, opts) {
|
|
1107
|
-
return this.
|
|
782
|
+
return this._client
|
|
1108
783
|
.call('com.atproto.sync.getRepo', params, undefined, opts)
|
|
1109
784
|
.catch((e) => {
|
|
1110
785
|
throw ComAtprotoSyncGetRepo.toKnownErr(e);
|
|
1111
786
|
});
|
|
1112
787
|
}
|
|
1113
788
|
getRepoStatus(params, opts) {
|
|
1114
|
-
return this.
|
|
789
|
+
return this._client
|
|
1115
790
|
.call('com.atproto.sync.getRepoStatus', params, undefined, opts)
|
|
1116
791
|
.catch((e) => {
|
|
1117
792
|
throw ComAtprotoSyncGetRepoStatus.toKnownErr(e);
|
|
1118
793
|
});
|
|
1119
794
|
}
|
|
1120
795
|
listBlobs(params, opts) {
|
|
1121
|
-
return this.
|
|
796
|
+
return this._client
|
|
1122
797
|
.call('com.atproto.sync.listBlobs', params, undefined, opts)
|
|
1123
798
|
.catch((e) => {
|
|
1124
799
|
throw ComAtprotoSyncListBlobs.toKnownErr(e);
|
|
1125
800
|
});
|
|
1126
801
|
}
|
|
1127
802
|
listRepos(params, opts) {
|
|
1128
|
-
return this.
|
|
1129
|
-
.call('com.atproto.sync.listRepos', params, undefined, opts)
|
|
1130
|
-
.catch((e) => {
|
|
1131
|
-
throw ComAtprotoSyncListRepos.toKnownErr(e);
|
|
1132
|
-
});
|
|
803
|
+
return this._client.call('com.atproto.sync.listRepos', params, undefined, opts);
|
|
1133
804
|
}
|
|
1134
805
|
notifyOfUpdate(data, opts) {
|
|
1135
|
-
return this.
|
|
1136
|
-
.call('com.atproto.sync.notifyOfUpdate', opts?.qp, data, opts)
|
|
1137
|
-
.catch((e) => {
|
|
1138
|
-
throw ComAtprotoSyncNotifyOfUpdate.toKnownErr(e);
|
|
1139
|
-
});
|
|
806
|
+
return this._client.call('com.atproto.sync.notifyOfUpdate', opts?.qp, data, opts);
|
|
1140
807
|
}
|
|
1141
808
|
requestCrawl(data, opts) {
|
|
1142
|
-
return this.
|
|
1143
|
-
.call('com.atproto.sync.requestCrawl', opts?.qp, data, opts)
|
|
1144
|
-
.catch((e) => {
|
|
1145
|
-
throw ComAtprotoSyncRequestCrawl.toKnownErr(e);
|
|
1146
|
-
});
|
|
809
|
+
return this._client.call('com.atproto.sync.requestCrawl', opts?.qp, data, opts);
|
|
1147
810
|
}
|
|
1148
811
|
}
|
|
1149
812
|
exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
|
|
1150
813
|
class ComAtprotoTempNS {
|
|
1151
|
-
constructor(
|
|
1152
|
-
Object.defineProperty(this, "
|
|
814
|
+
constructor(client) {
|
|
815
|
+
Object.defineProperty(this, "_client", {
|
|
1153
816
|
enumerable: true,
|
|
1154
817
|
configurable: true,
|
|
1155
818
|
writable: true,
|
|
1156
819
|
value: void 0
|
|
1157
820
|
});
|
|
1158
|
-
this.
|
|
821
|
+
this._client = client;
|
|
1159
822
|
}
|
|
1160
823
|
checkSignupQueue(params, opts) {
|
|
1161
|
-
return this.
|
|
1162
|
-
.call('com.atproto.temp.checkSignupQueue', params, undefined, opts)
|
|
1163
|
-
.catch((e) => {
|
|
1164
|
-
throw ComAtprotoTempCheckSignupQueue.toKnownErr(e);
|
|
1165
|
-
});
|
|
824
|
+
return this._client.call('com.atproto.temp.checkSignupQueue', params, undefined, opts);
|
|
1166
825
|
}
|
|
1167
826
|
fetchLabels(params, opts) {
|
|
1168
|
-
return this.
|
|
1169
|
-
.call('com.atproto.temp.fetchLabels', params, undefined, opts)
|
|
1170
|
-
.catch((e) => {
|
|
1171
|
-
throw ComAtprotoTempFetchLabels.toKnownErr(e);
|
|
1172
|
-
});
|
|
827
|
+
return this._client.call('com.atproto.temp.fetchLabels', params, undefined, opts);
|
|
1173
828
|
}
|
|
1174
829
|
requestPhoneVerification(data, opts) {
|
|
1175
|
-
return this.
|
|
1176
|
-
.call('com.atproto.temp.requestPhoneVerification', opts?.qp, data, opts)
|
|
1177
|
-
.catch((e) => {
|
|
1178
|
-
throw ComAtprotoTempRequestPhoneVerification.toKnownErr(e);
|
|
1179
|
-
});
|
|
830
|
+
return this._client.call('com.atproto.temp.requestPhoneVerification', opts?.qp, data, opts);
|
|
1180
831
|
}
|
|
1181
832
|
}
|
|
1182
833
|
exports.ComAtprotoTempNS = ComAtprotoTempNS;
|
|
1183
834
|
class AppNS {
|
|
1184
|
-
constructor(
|
|
1185
|
-
Object.defineProperty(this, "
|
|
835
|
+
constructor(client) {
|
|
836
|
+
Object.defineProperty(this, "_client", {
|
|
1186
837
|
enumerable: true,
|
|
1187
838
|
configurable: true,
|
|
1188
839
|
writable: true,
|
|
@@ -1194,14 +845,14 @@ class AppNS {
|
|
|
1194
845
|
writable: true,
|
|
1195
846
|
value: void 0
|
|
1196
847
|
});
|
|
1197
|
-
this.
|
|
1198
|
-
this.bsky = new AppBskyNS(
|
|
848
|
+
this._client = client;
|
|
849
|
+
this.bsky = new AppBskyNS(client);
|
|
1199
850
|
}
|
|
1200
851
|
}
|
|
1201
852
|
exports.AppNS = AppNS;
|
|
1202
853
|
class AppBskyNS {
|
|
1203
|
-
constructor(
|
|
1204
|
-
Object.defineProperty(this, "
|
|
854
|
+
constructor(client) {
|
|
855
|
+
Object.defineProperty(this, "_client", {
|
|
1205
856
|
enumerable: true,
|
|
1206
857
|
configurable: true,
|
|
1207
858
|
writable: true,
|
|
@@ -1255,21 +906,21 @@ class AppBskyNS {
|
|
|
1255
906
|
writable: true,
|
|
1256
907
|
value: void 0
|
|
1257
908
|
});
|
|
1258
|
-
this.
|
|
1259
|
-
this.actor = new AppBskyActorNS(
|
|
1260
|
-
this.embed = new AppBskyEmbedNS(
|
|
1261
|
-
this.feed = new AppBskyFeedNS(
|
|
1262
|
-
this.graph = new AppBskyGraphNS(
|
|
1263
|
-
this.labeler = new AppBskyLabelerNS(
|
|
1264
|
-
this.notification = new AppBskyNotificationNS(
|
|
1265
|
-
this.richtext = new AppBskyRichtextNS(
|
|
1266
|
-
this.unspecced = new AppBskyUnspeccedNS(
|
|
909
|
+
this._client = client;
|
|
910
|
+
this.actor = new AppBskyActorNS(client);
|
|
911
|
+
this.embed = new AppBskyEmbedNS(client);
|
|
912
|
+
this.feed = new AppBskyFeedNS(client);
|
|
913
|
+
this.graph = new AppBskyGraphNS(client);
|
|
914
|
+
this.labeler = new AppBskyLabelerNS(client);
|
|
915
|
+
this.notification = new AppBskyNotificationNS(client);
|
|
916
|
+
this.richtext = new AppBskyRichtextNS(client);
|
|
917
|
+
this.unspecced = new AppBskyUnspeccedNS(client);
|
|
1267
918
|
}
|
|
1268
919
|
}
|
|
1269
920
|
exports.AppBskyNS = AppBskyNS;
|
|
1270
921
|
class AppBskyActorNS {
|
|
1271
|
-
constructor(
|
|
1272
|
-
Object.defineProperty(this, "
|
|
922
|
+
constructor(client) {
|
|
923
|
+
Object.defineProperty(this, "_client", {
|
|
1273
924
|
enumerable: true,
|
|
1274
925
|
configurable: true,
|
|
1275
926
|
writable: true,
|
|
@@ -1281,79 +932,51 @@ class AppBskyActorNS {
|
|
|
1281
932
|
writable: true,
|
|
1282
933
|
value: void 0
|
|
1283
934
|
});
|
|
1284
|
-
this.
|
|
1285
|
-
this.profile = new ProfileRecord(
|
|
935
|
+
this._client = client;
|
|
936
|
+
this.profile = new ProfileRecord(client);
|
|
1286
937
|
}
|
|
1287
938
|
getPreferences(params, opts) {
|
|
1288
|
-
return this.
|
|
1289
|
-
.call('app.bsky.actor.getPreferences', params, undefined, opts)
|
|
1290
|
-
.catch((e) => {
|
|
1291
|
-
throw AppBskyActorGetPreferences.toKnownErr(e);
|
|
1292
|
-
});
|
|
939
|
+
return this._client.call('app.bsky.actor.getPreferences', params, undefined, opts);
|
|
1293
940
|
}
|
|
1294
941
|
getProfile(params, opts) {
|
|
1295
|
-
return this.
|
|
1296
|
-
.call('app.bsky.actor.getProfile', params, undefined, opts)
|
|
1297
|
-
.catch((e) => {
|
|
1298
|
-
throw AppBskyActorGetProfile.toKnownErr(e);
|
|
1299
|
-
});
|
|
942
|
+
return this._client.call('app.bsky.actor.getProfile', params, undefined, opts);
|
|
1300
943
|
}
|
|
1301
944
|
getProfiles(params, opts) {
|
|
1302
|
-
return this.
|
|
1303
|
-
.call('app.bsky.actor.getProfiles', params, undefined, opts)
|
|
1304
|
-
.catch((e) => {
|
|
1305
|
-
throw AppBskyActorGetProfiles.toKnownErr(e);
|
|
1306
|
-
});
|
|
945
|
+
return this._client.call('app.bsky.actor.getProfiles', params, undefined, opts);
|
|
1307
946
|
}
|
|
1308
947
|
getSuggestions(params, opts) {
|
|
1309
|
-
return this.
|
|
1310
|
-
.call('app.bsky.actor.getSuggestions', params, undefined, opts)
|
|
1311
|
-
.catch((e) => {
|
|
1312
|
-
throw AppBskyActorGetSuggestions.toKnownErr(e);
|
|
1313
|
-
});
|
|
948
|
+
return this._client.call('app.bsky.actor.getSuggestions', params, undefined, opts);
|
|
1314
949
|
}
|
|
1315
950
|
putPreferences(data, opts) {
|
|
1316
|
-
return this.
|
|
1317
|
-
.call('app.bsky.actor.putPreferences', opts?.qp, data, opts)
|
|
1318
|
-
.catch((e) => {
|
|
1319
|
-
throw AppBskyActorPutPreferences.toKnownErr(e);
|
|
1320
|
-
});
|
|
951
|
+
return this._client.call('app.bsky.actor.putPreferences', opts?.qp, data, opts);
|
|
1321
952
|
}
|
|
1322
953
|
searchActors(params, opts) {
|
|
1323
|
-
return this.
|
|
1324
|
-
.call('app.bsky.actor.searchActors', params, undefined, opts)
|
|
1325
|
-
.catch((e) => {
|
|
1326
|
-
throw AppBskyActorSearchActors.toKnownErr(e);
|
|
1327
|
-
});
|
|
954
|
+
return this._client.call('app.bsky.actor.searchActors', params, undefined, opts);
|
|
1328
955
|
}
|
|
1329
956
|
searchActorsTypeahead(params, opts) {
|
|
1330
|
-
return this.
|
|
1331
|
-
.call('app.bsky.actor.searchActorsTypeahead', params, undefined, opts)
|
|
1332
|
-
.catch((e) => {
|
|
1333
|
-
throw AppBskyActorSearchActorsTypeahead.toKnownErr(e);
|
|
1334
|
-
});
|
|
957
|
+
return this._client.call('app.bsky.actor.searchActorsTypeahead', params, undefined, opts);
|
|
1335
958
|
}
|
|
1336
959
|
}
|
|
1337
960
|
exports.AppBskyActorNS = AppBskyActorNS;
|
|
1338
961
|
class ProfileRecord {
|
|
1339
|
-
constructor(
|
|
1340
|
-
Object.defineProperty(this, "
|
|
962
|
+
constructor(client) {
|
|
963
|
+
Object.defineProperty(this, "_client", {
|
|
1341
964
|
enumerable: true,
|
|
1342
965
|
configurable: true,
|
|
1343
966
|
writable: true,
|
|
1344
967
|
value: void 0
|
|
1345
968
|
});
|
|
1346
|
-
this.
|
|
969
|
+
this._client = client;
|
|
1347
970
|
}
|
|
1348
971
|
async list(params) {
|
|
1349
|
-
const res = await this.
|
|
972
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1350
973
|
collection: 'app.bsky.actor.profile',
|
|
1351
974
|
...params,
|
|
1352
975
|
});
|
|
1353
976
|
return res.data;
|
|
1354
977
|
}
|
|
1355
978
|
async get(params) {
|
|
1356
|
-
const res = await this.
|
|
979
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1357
980
|
collection: 'app.bsky.actor.profile',
|
|
1358
981
|
...params,
|
|
1359
982
|
});
|
|
@@ -1361,29 +984,29 @@ class ProfileRecord {
|
|
|
1361
984
|
}
|
|
1362
985
|
async create(params, record, headers) {
|
|
1363
986
|
record.$type = 'app.bsky.actor.profile';
|
|
1364
|
-
const res = await this.
|
|
987
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.actor.profile', rkey: 'self', ...params, record }, { encoding: 'application/json', headers });
|
|
1365
988
|
return res.data;
|
|
1366
989
|
}
|
|
1367
990
|
async delete(params, headers) {
|
|
1368
|
-
await this.
|
|
991
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.actor.profile', ...params }, { headers });
|
|
1369
992
|
}
|
|
1370
993
|
}
|
|
1371
994
|
exports.ProfileRecord = ProfileRecord;
|
|
1372
995
|
class AppBskyEmbedNS {
|
|
1373
|
-
constructor(
|
|
1374
|
-
Object.defineProperty(this, "
|
|
996
|
+
constructor(client) {
|
|
997
|
+
Object.defineProperty(this, "_client", {
|
|
1375
998
|
enumerable: true,
|
|
1376
999
|
configurable: true,
|
|
1377
1000
|
writable: true,
|
|
1378
1001
|
value: void 0
|
|
1379
1002
|
});
|
|
1380
|
-
this.
|
|
1003
|
+
this._client = client;
|
|
1381
1004
|
}
|
|
1382
1005
|
}
|
|
1383
1006
|
exports.AppBskyEmbedNS = AppBskyEmbedNS;
|
|
1384
1007
|
class AppBskyFeedNS {
|
|
1385
|
-
constructor(
|
|
1386
|
-
Object.defineProperty(this, "
|
|
1008
|
+
constructor(client) {
|
|
1009
|
+
Object.defineProperty(this, "_client", {
|
|
1387
1010
|
enumerable: true,
|
|
1388
1011
|
configurable: true,
|
|
1389
1012
|
writable: true,
|
|
@@ -1419,153 +1042,113 @@ class AppBskyFeedNS {
|
|
|
1419
1042
|
writable: true,
|
|
1420
1043
|
value: void 0
|
|
1421
1044
|
});
|
|
1422
|
-
this.
|
|
1423
|
-
this.generator = new GeneratorRecord(
|
|
1424
|
-
this.like = new LikeRecord(
|
|
1425
|
-
this.post = new PostRecord(
|
|
1426
|
-
this.repost = new RepostRecord(
|
|
1427
|
-
this.threadgate = new ThreadgateRecord(
|
|
1045
|
+
this._client = client;
|
|
1046
|
+
this.generator = new GeneratorRecord(client);
|
|
1047
|
+
this.like = new LikeRecord(client);
|
|
1048
|
+
this.post = new PostRecord(client);
|
|
1049
|
+
this.repost = new RepostRecord(client);
|
|
1050
|
+
this.threadgate = new ThreadgateRecord(client);
|
|
1428
1051
|
}
|
|
1429
1052
|
describeFeedGenerator(params, opts) {
|
|
1430
|
-
return this.
|
|
1431
|
-
.call('app.bsky.feed.describeFeedGenerator', params, undefined, opts)
|
|
1432
|
-
.catch((e) => {
|
|
1433
|
-
throw AppBskyFeedDescribeFeedGenerator.toKnownErr(e);
|
|
1434
|
-
});
|
|
1053
|
+
return this._client.call('app.bsky.feed.describeFeedGenerator', params, undefined, opts);
|
|
1435
1054
|
}
|
|
1436
1055
|
getActorFeeds(params, opts) {
|
|
1437
|
-
return this.
|
|
1438
|
-
.call('app.bsky.feed.getActorFeeds', params, undefined, opts)
|
|
1439
|
-
.catch((e) => {
|
|
1440
|
-
throw AppBskyFeedGetActorFeeds.toKnownErr(e);
|
|
1441
|
-
});
|
|
1056
|
+
return this._client.call('app.bsky.feed.getActorFeeds', params, undefined, opts);
|
|
1442
1057
|
}
|
|
1443
1058
|
getActorLikes(params, opts) {
|
|
1444
|
-
return this.
|
|
1059
|
+
return this._client
|
|
1445
1060
|
.call('app.bsky.feed.getActorLikes', params, undefined, opts)
|
|
1446
1061
|
.catch((e) => {
|
|
1447
1062
|
throw AppBskyFeedGetActorLikes.toKnownErr(e);
|
|
1448
1063
|
});
|
|
1449
1064
|
}
|
|
1450
1065
|
getAuthorFeed(params, opts) {
|
|
1451
|
-
return this.
|
|
1066
|
+
return this._client
|
|
1452
1067
|
.call('app.bsky.feed.getAuthorFeed', params, undefined, opts)
|
|
1453
1068
|
.catch((e) => {
|
|
1454
1069
|
throw AppBskyFeedGetAuthorFeed.toKnownErr(e);
|
|
1455
1070
|
});
|
|
1456
1071
|
}
|
|
1457
1072
|
getFeed(params, opts) {
|
|
1458
|
-
return this.
|
|
1073
|
+
return this._client
|
|
1459
1074
|
.call('app.bsky.feed.getFeed', params, undefined, opts)
|
|
1460
1075
|
.catch((e) => {
|
|
1461
1076
|
throw AppBskyFeedGetFeed.toKnownErr(e);
|
|
1462
1077
|
});
|
|
1463
1078
|
}
|
|
1464
1079
|
getFeedGenerator(params, opts) {
|
|
1465
|
-
return this.
|
|
1466
|
-
.call('app.bsky.feed.getFeedGenerator', params, undefined, opts)
|
|
1467
|
-
.catch((e) => {
|
|
1468
|
-
throw AppBskyFeedGetFeedGenerator.toKnownErr(e);
|
|
1469
|
-
});
|
|
1080
|
+
return this._client.call('app.bsky.feed.getFeedGenerator', params, undefined, opts);
|
|
1470
1081
|
}
|
|
1471
1082
|
getFeedGenerators(params, opts) {
|
|
1472
|
-
return this.
|
|
1473
|
-
.call('app.bsky.feed.getFeedGenerators', params, undefined, opts)
|
|
1474
|
-
.catch((e) => {
|
|
1475
|
-
throw AppBskyFeedGetFeedGenerators.toKnownErr(e);
|
|
1476
|
-
});
|
|
1083
|
+
return this._client.call('app.bsky.feed.getFeedGenerators', params, undefined, opts);
|
|
1477
1084
|
}
|
|
1478
1085
|
getFeedSkeleton(params, opts) {
|
|
1479
|
-
return this.
|
|
1086
|
+
return this._client
|
|
1480
1087
|
.call('app.bsky.feed.getFeedSkeleton', params, undefined, opts)
|
|
1481
1088
|
.catch((e) => {
|
|
1482
1089
|
throw AppBskyFeedGetFeedSkeleton.toKnownErr(e);
|
|
1483
1090
|
});
|
|
1484
1091
|
}
|
|
1485
1092
|
getLikes(params, opts) {
|
|
1486
|
-
return this.
|
|
1487
|
-
.call('app.bsky.feed.getLikes', params, undefined, opts)
|
|
1488
|
-
.catch((e) => {
|
|
1489
|
-
throw AppBskyFeedGetLikes.toKnownErr(e);
|
|
1490
|
-
});
|
|
1093
|
+
return this._client.call('app.bsky.feed.getLikes', params, undefined, opts);
|
|
1491
1094
|
}
|
|
1492
1095
|
getListFeed(params, opts) {
|
|
1493
|
-
return this.
|
|
1096
|
+
return this._client
|
|
1494
1097
|
.call('app.bsky.feed.getListFeed', params, undefined, opts)
|
|
1495
1098
|
.catch((e) => {
|
|
1496
1099
|
throw AppBskyFeedGetListFeed.toKnownErr(e);
|
|
1497
1100
|
});
|
|
1498
1101
|
}
|
|
1499
1102
|
getPostThread(params, opts) {
|
|
1500
|
-
return this.
|
|
1103
|
+
return this._client
|
|
1501
1104
|
.call('app.bsky.feed.getPostThread', params, undefined, opts)
|
|
1502
1105
|
.catch((e) => {
|
|
1503
1106
|
throw AppBskyFeedGetPostThread.toKnownErr(e);
|
|
1504
1107
|
});
|
|
1505
1108
|
}
|
|
1506
1109
|
getPosts(params, opts) {
|
|
1507
|
-
return this.
|
|
1508
|
-
.call('app.bsky.feed.getPosts', params, undefined, opts)
|
|
1509
|
-
.catch((e) => {
|
|
1510
|
-
throw AppBskyFeedGetPosts.toKnownErr(e);
|
|
1511
|
-
});
|
|
1110
|
+
return this._client.call('app.bsky.feed.getPosts', params, undefined, opts);
|
|
1512
1111
|
}
|
|
1513
1112
|
getRepostedBy(params, opts) {
|
|
1514
|
-
return this.
|
|
1515
|
-
.call('app.bsky.feed.getRepostedBy', params, undefined, opts)
|
|
1516
|
-
.catch((e) => {
|
|
1517
|
-
throw AppBskyFeedGetRepostedBy.toKnownErr(e);
|
|
1518
|
-
});
|
|
1113
|
+
return this._client.call('app.bsky.feed.getRepostedBy', params, undefined, opts);
|
|
1519
1114
|
}
|
|
1520
1115
|
getSuggestedFeeds(params, opts) {
|
|
1521
|
-
return this.
|
|
1522
|
-
.call('app.bsky.feed.getSuggestedFeeds', params, undefined, opts)
|
|
1523
|
-
.catch((e) => {
|
|
1524
|
-
throw AppBskyFeedGetSuggestedFeeds.toKnownErr(e);
|
|
1525
|
-
});
|
|
1116
|
+
return this._client.call('app.bsky.feed.getSuggestedFeeds', params, undefined, opts);
|
|
1526
1117
|
}
|
|
1527
1118
|
getTimeline(params, opts) {
|
|
1528
|
-
return this.
|
|
1529
|
-
.call('app.bsky.feed.getTimeline', params, undefined, opts)
|
|
1530
|
-
.catch((e) => {
|
|
1531
|
-
throw AppBskyFeedGetTimeline.toKnownErr(e);
|
|
1532
|
-
});
|
|
1119
|
+
return this._client.call('app.bsky.feed.getTimeline', params, undefined, opts);
|
|
1533
1120
|
}
|
|
1534
1121
|
searchPosts(params, opts) {
|
|
1535
|
-
return this.
|
|
1122
|
+
return this._client
|
|
1536
1123
|
.call('app.bsky.feed.searchPosts', params, undefined, opts)
|
|
1537
1124
|
.catch((e) => {
|
|
1538
1125
|
throw AppBskyFeedSearchPosts.toKnownErr(e);
|
|
1539
1126
|
});
|
|
1540
1127
|
}
|
|
1541
1128
|
sendInteractions(data, opts) {
|
|
1542
|
-
return this.
|
|
1543
|
-
.call('app.bsky.feed.sendInteractions', opts?.qp, data, opts)
|
|
1544
|
-
.catch((e) => {
|
|
1545
|
-
throw AppBskyFeedSendInteractions.toKnownErr(e);
|
|
1546
|
-
});
|
|
1129
|
+
return this._client.call('app.bsky.feed.sendInteractions', opts?.qp, data, opts);
|
|
1547
1130
|
}
|
|
1548
1131
|
}
|
|
1549
1132
|
exports.AppBskyFeedNS = AppBskyFeedNS;
|
|
1550
1133
|
class GeneratorRecord {
|
|
1551
|
-
constructor(
|
|
1552
|
-
Object.defineProperty(this, "
|
|
1134
|
+
constructor(client) {
|
|
1135
|
+
Object.defineProperty(this, "_client", {
|
|
1553
1136
|
enumerable: true,
|
|
1554
1137
|
configurable: true,
|
|
1555
1138
|
writable: true,
|
|
1556
1139
|
value: void 0
|
|
1557
1140
|
});
|
|
1558
|
-
this.
|
|
1141
|
+
this._client = client;
|
|
1559
1142
|
}
|
|
1560
1143
|
async list(params) {
|
|
1561
|
-
const res = await this.
|
|
1144
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1562
1145
|
collection: 'app.bsky.feed.generator',
|
|
1563
1146
|
...params,
|
|
1564
1147
|
});
|
|
1565
1148
|
return res.data;
|
|
1566
1149
|
}
|
|
1567
1150
|
async get(params) {
|
|
1568
|
-
const res = await this.
|
|
1151
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1569
1152
|
collection: 'app.bsky.feed.generator',
|
|
1570
1153
|
...params,
|
|
1571
1154
|
});
|
|
@@ -1573,33 +1156,33 @@ class GeneratorRecord {
|
|
|
1573
1156
|
}
|
|
1574
1157
|
async create(params, record, headers) {
|
|
1575
1158
|
record.$type = 'app.bsky.feed.generator';
|
|
1576
|
-
const res = await this.
|
|
1159
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.feed.generator', ...params, record }, { encoding: 'application/json', headers });
|
|
1577
1160
|
return res.data;
|
|
1578
1161
|
}
|
|
1579
1162
|
async delete(params, headers) {
|
|
1580
|
-
await this.
|
|
1163
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.generator', ...params }, { headers });
|
|
1581
1164
|
}
|
|
1582
1165
|
}
|
|
1583
1166
|
exports.GeneratorRecord = GeneratorRecord;
|
|
1584
1167
|
class LikeRecord {
|
|
1585
|
-
constructor(
|
|
1586
|
-
Object.defineProperty(this, "
|
|
1168
|
+
constructor(client) {
|
|
1169
|
+
Object.defineProperty(this, "_client", {
|
|
1587
1170
|
enumerable: true,
|
|
1588
1171
|
configurable: true,
|
|
1589
1172
|
writable: true,
|
|
1590
1173
|
value: void 0
|
|
1591
1174
|
});
|
|
1592
|
-
this.
|
|
1175
|
+
this._client = client;
|
|
1593
1176
|
}
|
|
1594
1177
|
async list(params) {
|
|
1595
|
-
const res = await this.
|
|
1178
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1596
1179
|
collection: 'app.bsky.feed.like',
|
|
1597
1180
|
...params,
|
|
1598
1181
|
});
|
|
1599
1182
|
return res.data;
|
|
1600
1183
|
}
|
|
1601
1184
|
async get(params) {
|
|
1602
|
-
const res = await this.
|
|
1185
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1603
1186
|
collection: 'app.bsky.feed.like',
|
|
1604
1187
|
...params,
|
|
1605
1188
|
});
|
|
@@ -1607,33 +1190,33 @@ class LikeRecord {
|
|
|
1607
1190
|
}
|
|
1608
1191
|
async create(params, record, headers) {
|
|
1609
1192
|
record.$type = 'app.bsky.feed.like';
|
|
1610
|
-
const res = await this.
|
|
1193
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.feed.like', ...params, record }, { encoding: 'application/json', headers });
|
|
1611
1194
|
return res.data;
|
|
1612
1195
|
}
|
|
1613
1196
|
async delete(params, headers) {
|
|
1614
|
-
await this.
|
|
1197
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.like', ...params }, { headers });
|
|
1615
1198
|
}
|
|
1616
1199
|
}
|
|
1617
1200
|
exports.LikeRecord = LikeRecord;
|
|
1618
1201
|
class PostRecord {
|
|
1619
|
-
constructor(
|
|
1620
|
-
Object.defineProperty(this, "
|
|
1202
|
+
constructor(client) {
|
|
1203
|
+
Object.defineProperty(this, "_client", {
|
|
1621
1204
|
enumerable: true,
|
|
1622
1205
|
configurable: true,
|
|
1623
1206
|
writable: true,
|
|
1624
1207
|
value: void 0
|
|
1625
1208
|
});
|
|
1626
|
-
this.
|
|
1209
|
+
this._client = client;
|
|
1627
1210
|
}
|
|
1628
1211
|
async list(params) {
|
|
1629
|
-
const res = await this.
|
|
1212
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1630
1213
|
collection: 'app.bsky.feed.post',
|
|
1631
1214
|
...params,
|
|
1632
1215
|
});
|
|
1633
1216
|
return res.data;
|
|
1634
1217
|
}
|
|
1635
1218
|
async get(params) {
|
|
1636
|
-
const res = await this.
|
|
1219
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1637
1220
|
collection: 'app.bsky.feed.post',
|
|
1638
1221
|
...params,
|
|
1639
1222
|
});
|
|
@@ -1641,33 +1224,33 @@ class PostRecord {
|
|
|
1641
1224
|
}
|
|
1642
1225
|
async create(params, record, headers) {
|
|
1643
1226
|
record.$type = 'app.bsky.feed.post';
|
|
1644
|
-
const res = await this.
|
|
1227
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.feed.post', ...params, record }, { encoding: 'application/json', headers });
|
|
1645
1228
|
return res.data;
|
|
1646
1229
|
}
|
|
1647
1230
|
async delete(params, headers) {
|
|
1648
|
-
await this.
|
|
1231
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.post', ...params }, { headers });
|
|
1649
1232
|
}
|
|
1650
1233
|
}
|
|
1651
1234
|
exports.PostRecord = PostRecord;
|
|
1652
1235
|
class RepostRecord {
|
|
1653
|
-
constructor(
|
|
1654
|
-
Object.defineProperty(this, "
|
|
1236
|
+
constructor(client) {
|
|
1237
|
+
Object.defineProperty(this, "_client", {
|
|
1655
1238
|
enumerable: true,
|
|
1656
1239
|
configurable: true,
|
|
1657
1240
|
writable: true,
|
|
1658
1241
|
value: void 0
|
|
1659
1242
|
});
|
|
1660
|
-
this.
|
|
1243
|
+
this._client = client;
|
|
1661
1244
|
}
|
|
1662
1245
|
async list(params) {
|
|
1663
|
-
const res = await this.
|
|
1246
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1664
1247
|
collection: 'app.bsky.feed.repost',
|
|
1665
1248
|
...params,
|
|
1666
1249
|
});
|
|
1667
1250
|
return res.data;
|
|
1668
1251
|
}
|
|
1669
1252
|
async get(params) {
|
|
1670
|
-
const res = await this.
|
|
1253
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1671
1254
|
collection: 'app.bsky.feed.repost',
|
|
1672
1255
|
...params,
|
|
1673
1256
|
});
|
|
@@ -1675,33 +1258,33 @@ class RepostRecord {
|
|
|
1675
1258
|
}
|
|
1676
1259
|
async create(params, record, headers) {
|
|
1677
1260
|
record.$type = 'app.bsky.feed.repost';
|
|
1678
|
-
const res = await this.
|
|
1261
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.feed.repost', ...params, record }, { encoding: 'application/json', headers });
|
|
1679
1262
|
return res.data;
|
|
1680
1263
|
}
|
|
1681
1264
|
async delete(params, headers) {
|
|
1682
|
-
await this.
|
|
1265
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.repost', ...params }, { headers });
|
|
1683
1266
|
}
|
|
1684
1267
|
}
|
|
1685
1268
|
exports.RepostRecord = RepostRecord;
|
|
1686
1269
|
class ThreadgateRecord {
|
|
1687
|
-
constructor(
|
|
1688
|
-
Object.defineProperty(this, "
|
|
1270
|
+
constructor(client) {
|
|
1271
|
+
Object.defineProperty(this, "_client", {
|
|
1689
1272
|
enumerable: true,
|
|
1690
1273
|
configurable: true,
|
|
1691
1274
|
writable: true,
|
|
1692
1275
|
value: void 0
|
|
1693
1276
|
});
|
|
1694
|
-
this.
|
|
1277
|
+
this._client = client;
|
|
1695
1278
|
}
|
|
1696
1279
|
async list(params) {
|
|
1697
|
-
const res = await this.
|
|
1280
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1698
1281
|
collection: 'app.bsky.feed.threadgate',
|
|
1699
1282
|
...params,
|
|
1700
1283
|
});
|
|
1701
1284
|
return res.data;
|
|
1702
1285
|
}
|
|
1703
1286
|
async get(params) {
|
|
1704
|
-
const res = await this.
|
|
1287
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1705
1288
|
collection: 'app.bsky.feed.threadgate',
|
|
1706
1289
|
...params,
|
|
1707
1290
|
});
|
|
@@ -1709,17 +1292,17 @@ class ThreadgateRecord {
|
|
|
1709
1292
|
}
|
|
1710
1293
|
async create(params, record, headers) {
|
|
1711
1294
|
record.$type = 'app.bsky.feed.threadgate';
|
|
1712
|
-
const res = await this.
|
|
1295
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.feed.threadgate', ...params, record }, { encoding: 'application/json', headers });
|
|
1713
1296
|
return res.data;
|
|
1714
1297
|
}
|
|
1715
1298
|
async delete(params, headers) {
|
|
1716
|
-
await this.
|
|
1299
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.threadgate', ...params }, { headers });
|
|
1717
1300
|
}
|
|
1718
1301
|
}
|
|
1719
1302
|
exports.ThreadgateRecord = ThreadgateRecord;
|
|
1720
1303
|
class AppBskyGraphNS {
|
|
1721
|
-
constructor(
|
|
1722
|
-
Object.defineProperty(this, "
|
|
1304
|
+
constructor(client) {
|
|
1305
|
+
Object.defineProperty(this, "_client", {
|
|
1723
1306
|
enumerable: true,
|
|
1724
1307
|
configurable: true,
|
|
1725
1308
|
writable: true,
|
|
@@ -1761,175 +1344,99 @@ class AppBskyGraphNS {
|
|
|
1761
1344
|
writable: true,
|
|
1762
1345
|
value: void 0
|
|
1763
1346
|
});
|
|
1764
|
-
this.
|
|
1765
|
-
this.block = new BlockRecord(
|
|
1766
|
-
this.follow = new FollowRecord(
|
|
1767
|
-
this.list = new ListRecord(
|
|
1768
|
-
this.listblock = new ListblockRecord(
|
|
1769
|
-
this.listitem = new ListitemRecord(
|
|
1770
|
-
this.starterpack = new StarterpackRecord(
|
|
1347
|
+
this._client = client;
|
|
1348
|
+
this.block = new BlockRecord(client);
|
|
1349
|
+
this.follow = new FollowRecord(client);
|
|
1350
|
+
this.list = new ListRecord(client);
|
|
1351
|
+
this.listblock = new ListblockRecord(client);
|
|
1352
|
+
this.listitem = new ListitemRecord(client);
|
|
1353
|
+
this.starterpack = new StarterpackRecord(client);
|
|
1771
1354
|
}
|
|
1772
1355
|
getActorStarterPacks(params, opts) {
|
|
1773
|
-
return this.
|
|
1774
|
-
.call('app.bsky.graph.getActorStarterPacks', params, undefined, opts)
|
|
1775
|
-
.catch((e) => {
|
|
1776
|
-
throw AppBskyGraphGetActorStarterPacks.toKnownErr(e);
|
|
1777
|
-
});
|
|
1356
|
+
return this._client.call('app.bsky.graph.getActorStarterPacks', params, undefined, opts);
|
|
1778
1357
|
}
|
|
1779
1358
|
getBlocks(params, opts) {
|
|
1780
|
-
return this.
|
|
1781
|
-
.call('app.bsky.graph.getBlocks', params, undefined, opts)
|
|
1782
|
-
.catch((e) => {
|
|
1783
|
-
throw AppBskyGraphGetBlocks.toKnownErr(e);
|
|
1784
|
-
});
|
|
1359
|
+
return this._client.call('app.bsky.graph.getBlocks', params, undefined, opts);
|
|
1785
1360
|
}
|
|
1786
1361
|
getFollowers(params, opts) {
|
|
1787
|
-
return this.
|
|
1788
|
-
.call('app.bsky.graph.getFollowers', params, undefined, opts)
|
|
1789
|
-
.catch((e) => {
|
|
1790
|
-
throw AppBskyGraphGetFollowers.toKnownErr(e);
|
|
1791
|
-
});
|
|
1362
|
+
return this._client.call('app.bsky.graph.getFollowers', params, undefined, opts);
|
|
1792
1363
|
}
|
|
1793
1364
|
getFollows(params, opts) {
|
|
1794
|
-
return this.
|
|
1795
|
-
.call('app.bsky.graph.getFollows', params, undefined, opts)
|
|
1796
|
-
.catch((e) => {
|
|
1797
|
-
throw AppBskyGraphGetFollows.toKnownErr(e);
|
|
1798
|
-
});
|
|
1365
|
+
return this._client.call('app.bsky.graph.getFollows', params, undefined, opts);
|
|
1799
1366
|
}
|
|
1800
1367
|
getKnownFollowers(params, opts) {
|
|
1801
|
-
return this.
|
|
1802
|
-
.call('app.bsky.graph.getKnownFollowers', params, undefined, opts)
|
|
1803
|
-
.catch((e) => {
|
|
1804
|
-
throw AppBskyGraphGetKnownFollowers.toKnownErr(e);
|
|
1805
|
-
});
|
|
1368
|
+
return this._client.call('app.bsky.graph.getKnownFollowers', params, undefined, opts);
|
|
1806
1369
|
}
|
|
1807
1370
|
getList(params, opts) {
|
|
1808
|
-
return this.
|
|
1809
|
-
.call('app.bsky.graph.getList', params, undefined, opts)
|
|
1810
|
-
.catch((e) => {
|
|
1811
|
-
throw AppBskyGraphGetList.toKnownErr(e);
|
|
1812
|
-
});
|
|
1371
|
+
return this._client.call('app.bsky.graph.getList', params, undefined, opts);
|
|
1813
1372
|
}
|
|
1814
1373
|
getListBlocks(params, opts) {
|
|
1815
|
-
return this.
|
|
1816
|
-
.call('app.bsky.graph.getListBlocks', params, undefined, opts)
|
|
1817
|
-
.catch((e) => {
|
|
1818
|
-
throw AppBskyGraphGetListBlocks.toKnownErr(e);
|
|
1819
|
-
});
|
|
1374
|
+
return this._client.call('app.bsky.graph.getListBlocks', params, undefined, opts);
|
|
1820
1375
|
}
|
|
1821
1376
|
getListMutes(params, opts) {
|
|
1822
|
-
return this.
|
|
1823
|
-
.call('app.bsky.graph.getListMutes', params, undefined, opts)
|
|
1824
|
-
.catch((e) => {
|
|
1825
|
-
throw AppBskyGraphGetListMutes.toKnownErr(e);
|
|
1826
|
-
});
|
|
1377
|
+
return this._client.call('app.bsky.graph.getListMutes', params, undefined, opts);
|
|
1827
1378
|
}
|
|
1828
1379
|
getLists(params, opts) {
|
|
1829
|
-
return this.
|
|
1830
|
-
.call('app.bsky.graph.getLists', params, undefined, opts)
|
|
1831
|
-
.catch((e) => {
|
|
1832
|
-
throw AppBskyGraphGetLists.toKnownErr(e);
|
|
1833
|
-
});
|
|
1380
|
+
return this._client.call('app.bsky.graph.getLists', params, undefined, opts);
|
|
1834
1381
|
}
|
|
1835
1382
|
getMutes(params, opts) {
|
|
1836
|
-
return this.
|
|
1837
|
-
.call('app.bsky.graph.getMutes', params, undefined, opts)
|
|
1838
|
-
.catch((e) => {
|
|
1839
|
-
throw AppBskyGraphGetMutes.toKnownErr(e);
|
|
1840
|
-
});
|
|
1383
|
+
return this._client.call('app.bsky.graph.getMutes', params, undefined, opts);
|
|
1841
1384
|
}
|
|
1842
1385
|
getRelationships(params, opts) {
|
|
1843
|
-
return this.
|
|
1386
|
+
return this._client
|
|
1844
1387
|
.call('app.bsky.graph.getRelationships', params, undefined, opts)
|
|
1845
1388
|
.catch((e) => {
|
|
1846
1389
|
throw AppBskyGraphGetRelationships.toKnownErr(e);
|
|
1847
1390
|
});
|
|
1848
1391
|
}
|
|
1849
1392
|
getStarterPack(params, opts) {
|
|
1850
|
-
return this.
|
|
1851
|
-
.call('app.bsky.graph.getStarterPack', params, undefined, opts)
|
|
1852
|
-
.catch((e) => {
|
|
1853
|
-
throw AppBskyGraphGetStarterPack.toKnownErr(e);
|
|
1854
|
-
});
|
|
1393
|
+
return this._client.call('app.bsky.graph.getStarterPack', params, undefined, opts);
|
|
1855
1394
|
}
|
|
1856
1395
|
getStarterPacks(params, opts) {
|
|
1857
|
-
return this.
|
|
1858
|
-
.call('app.bsky.graph.getStarterPacks', params, undefined, opts)
|
|
1859
|
-
.catch((e) => {
|
|
1860
|
-
throw AppBskyGraphGetStarterPacks.toKnownErr(e);
|
|
1861
|
-
});
|
|
1396
|
+
return this._client.call('app.bsky.graph.getStarterPacks', params, undefined, opts);
|
|
1862
1397
|
}
|
|
1863
1398
|
getSuggestedFollowsByActor(params, opts) {
|
|
1864
|
-
return this.
|
|
1865
|
-
.call('app.bsky.graph.getSuggestedFollowsByActor', params, undefined, opts)
|
|
1866
|
-
.catch((e) => {
|
|
1867
|
-
throw AppBskyGraphGetSuggestedFollowsByActor.toKnownErr(e);
|
|
1868
|
-
});
|
|
1399
|
+
return this._client.call('app.bsky.graph.getSuggestedFollowsByActor', params, undefined, opts);
|
|
1869
1400
|
}
|
|
1870
1401
|
muteActor(data, opts) {
|
|
1871
|
-
return this.
|
|
1872
|
-
.call('app.bsky.graph.muteActor', opts?.qp, data, opts)
|
|
1873
|
-
.catch((e) => {
|
|
1874
|
-
throw AppBskyGraphMuteActor.toKnownErr(e);
|
|
1875
|
-
});
|
|
1402
|
+
return this._client.call('app.bsky.graph.muteActor', opts?.qp, data, opts);
|
|
1876
1403
|
}
|
|
1877
1404
|
muteActorList(data, opts) {
|
|
1878
|
-
return this.
|
|
1879
|
-
.call('app.bsky.graph.muteActorList', opts?.qp, data, opts)
|
|
1880
|
-
.catch((e) => {
|
|
1881
|
-
throw AppBskyGraphMuteActorList.toKnownErr(e);
|
|
1882
|
-
});
|
|
1405
|
+
return this._client.call('app.bsky.graph.muteActorList', opts?.qp, data, opts);
|
|
1883
1406
|
}
|
|
1884
1407
|
muteThread(data, opts) {
|
|
1885
|
-
return this.
|
|
1886
|
-
.call('app.bsky.graph.muteThread', opts?.qp, data, opts)
|
|
1887
|
-
.catch((e) => {
|
|
1888
|
-
throw AppBskyGraphMuteThread.toKnownErr(e);
|
|
1889
|
-
});
|
|
1408
|
+
return this._client.call('app.bsky.graph.muteThread', opts?.qp, data, opts);
|
|
1890
1409
|
}
|
|
1891
1410
|
unmuteActor(data, opts) {
|
|
1892
|
-
return this.
|
|
1893
|
-
.call('app.bsky.graph.unmuteActor', opts?.qp, data, opts)
|
|
1894
|
-
.catch((e) => {
|
|
1895
|
-
throw AppBskyGraphUnmuteActor.toKnownErr(e);
|
|
1896
|
-
});
|
|
1411
|
+
return this._client.call('app.bsky.graph.unmuteActor', opts?.qp, data, opts);
|
|
1897
1412
|
}
|
|
1898
1413
|
unmuteActorList(data, opts) {
|
|
1899
|
-
return this.
|
|
1900
|
-
.call('app.bsky.graph.unmuteActorList', opts?.qp, data, opts)
|
|
1901
|
-
.catch((e) => {
|
|
1902
|
-
throw AppBskyGraphUnmuteActorList.toKnownErr(e);
|
|
1903
|
-
});
|
|
1414
|
+
return this._client.call('app.bsky.graph.unmuteActorList', opts?.qp, data, opts);
|
|
1904
1415
|
}
|
|
1905
1416
|
unmuteThread(data, opts) {
|
|
1906
|
-
return this.
|
|
1907
|
-
.call('app.bsky.graph.unmuteThread', opts?.qp, data, opts)
|
|
1908
|
-
.catch((e) => {
|
|
1909
|
-
throw AppBskyGraphUnmuteThread.toKnownErr(e);
|
|
1910
|
-
});
|
|
1417
|
+
return this._client.call('app.bsky.graph.unmuteThread', opts?.qp, data, opts);
|
|
1911
1418
|
}
|
|
1912
1419
|
}
|
|
1913
1420
|
exports.AppBskyGraphNS = AppBskyGraphNS;
|
|
1914
1421
|
class BlockRecord {
|
|
1915
|
-
constructor(
|
|
1916
|
-
Object.defineProperty(this, "
|
|
1422
|
+
constructor(client) {
|
|
1423
|
+
Object.defineProperty(this, "_client", {
|
|
1917
1424
|
enumerable: true,
|
|
1918
1425
|
configurable: true,
|
|
1919
1426
|
writable: true,
|
|
1920
1427
|
value: void 0
|
|
1921
1428
|
});
|
|
1922
|
-
this.
|
|
1429
|
+
this._client = client;
|
|
1923
1430
|
}
|
|
1924
1431
|
async list(params) {
|
|
1925
|
-
const res = await this.
|
|
1432
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1926
1433
|
collection: 'app.bsky.graph.block',
|
|
1927
1434
|
...params,
|
|
1928
1435
|
});
|
|
1929
1436
|
return res.data;
|
|
1930
1437
|
}
|
|
1931
1438
|
async get(params) {
|
|
1932
|
-
const res = await this.
|
|
1439
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1933
1440
|
collection: 'app.bsky.graph.block',
|
|
1934
1441
|
...params,
|
|
1935
1442
|
});
|
|
@@ -1937,33 +1444,33 @@ class BlockRecord {
|
|
|
1937
1444
|
}
|
|
1938
1445
|
async create(params, record, headers) {
|
|
1939
1446
|
record.$type = 'app.bsky.graph.block';
|
|
1940
|
-
const res = await this.
|
|
1447
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.graph.block', ...params, record }, { encoding: 'application/json', headers });
|
|
1941
1448
|
return res.data;
|
|
1942
1449
|
}
|
|
1943
1450
|
async delete(params, headers) {
|
|
1944
|
-
await this.
|
|
1451
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.block', ...params }, { headers });
|
|
1945
1452
|
}
|
|
1946
1453
|
}
|
|
1947
1454
|
exports.BlockRecord = BlockRecord;
|
|
1948
1455
|
class FollowRecord {
|
|
1949
|
-
constructor(
|
|
1950
|
-
Object.defineProperty(this, "
|
|
1456
|
+
constructor(client) {
|
|
1457
|
+
Object.defineProperty(this, "_client", {
|
|
1951
1458
|
enumerable: true,
|
|
1952
1459
|
configurable: true,
|
|
1953
1460
|
writable: true,
|
|
1954
1461
|
value: void 0
|
|
1955
1462
|
});
|
|
1956
|
-
this.
|
|
1463
|
+
this._client = client;
|
|
1957
1464
|
}
|
|
1958
1465
|
async list(params) {
|
|
1959
|
-
const res = await this.
|
|
1466
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1960
1467
|
collection: 'app.bsky.graph.follow',
|
|
1961
1468
|
...params,
|
|
1962
1469
|
});
|
|
1963
1470
|
return res.data;
|
|
1964
1471
|
}
|
|
1965
1472
|
async get(params) {
|
|
1966
|
-
const res = await this.
|
|
1473
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1967
1474
|
collection: 'app.bsky.graph.follow',
|
|
1968
1475
|
...params,
|
|
1969
1476
|
});
|
|
@@ -1971,33 +1478,33 @@ class FollowRecord {
|
|
|
1971
1478
|
}
|
|
1972
1479
|
async create(params, record, headers) {
|
|
1973
1480
|
record.$type = 'app.bsky.graph.follow';
|
|
1974
|
-
const res = await this.
|
|
1481
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.graph.follow', ...params, record }, { encoding: 'application/json', headers });
|
|
1975
1482
|
return res.data;
|
|
1976
1483
|
}
|
|
1977
1484
|
async delete(params, headers) {
|
|
1978
|
-
await this.
|
|
1485
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.follow', ...params }, { headers });
|
|
1979
1486
|
}
|
|
1980
1487
|
}
|
|
1981
1488
|
exports.FollowRecord = FollowRecord;
|
|
1982
1489
|
class ListRecord {
|
|
1983
|
-
constructor(
|
|
1984
|
-
Object.defineProperty(this, "
|
|
1490
|
+
constructor(client) {
|
|
1491
|
+
Object.defineProperty(this, "_client", {
|
|
1985
1492
|
enumerable: true,
|
|
1986
1493
|
configurable: true,
|
|
1987
1494
|
writable: true,
|
|
1988
1495
|
value: void 0
|
|
1989
1496
|
});
|
|
1990
|
-
this.
|
|
1497
|
+
this._client = client;
|
|
1991
1498
|
}
|
|
1992
1499
|
async list(params) {
|
|
1993
|
-
const res = await this.
|
|
1500
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1994
1501
|
collection: 'app.bsky.graph.list',
|
|
1995
1502
|
...params,
|
|
1996
1503
|
});
|
|
1997
1504
|
return res.data;
|
|
1998
1505
|
}
|
|
1999
1506
|
async get(params) {
|
|
2000
|
-
const res = await this.
|
|
1507
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2001
1508
|
collection: 'app.bsky.graph.list',
|
|
2002
1509
|
...params,
|
|
2003
1510
|
});
|
|
@@ -2005,33 +1512,33 @@ class ListRecord {
|
|
|
2005
1512
|
}
|
|
2006
1513
|
async create(params, record, headers) {
|
|
2007
1514
|
record.$type = 'app.bsky.graph.list';
|
|
2008
|
-
const res = await this.
|
|
1515
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.graph.list', ...params, record }, { encoding: 'application/json', headers });
|
|
2009
1516
|
return res.data;
|
|
2010
1517
|
}
|
|
2011
1518
|
async delete(params, headers) {
|
|
2012
|
-
await this.
|
|
1519
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.list', ...params }, { headers });
|
|
2013
1520
|
}
|
|
2014
1521
|
}
|
|
2015
1522
|
exports.ListRecord = ListRecord;
|
|
2016
1523
|
class ListblockRecord {
|
|
2017
|
-
constructor(
|
|
2018
|
-
Object.defineProperty(this, "
|
|
1524
|
+
constructor(client) {
|
|
1525
|
+
Object.defineProperty(this, "_client", {
|
|
2019
1526
|
enumerable: true,
|
|
2020
1527
|
configurable: true,
|
|
2021
1528
|
writable: true,
|
|
2022
1529
|
value: void 0
|
|
2023
1530
|
});
|
|
2024
|
-
this.
|
|
1531
|
+
this._client = client;
|
|
2025
1532
|
}
|
|
2026
1533
|
async list(params) {
|
|
2027
|
-
const res = await this.
|
|
1534
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2028
1535
|
collection: 'app.bsky.graph.listblock',
|
|
2029
1536
|
...params,
|
|
2030
1537
|
});
|
|
2031
1538
|
return res.data;
|
|
2032
1539
|
}
|
|
2033
1540
|
async get(params) {
|
|
2034
|
-
const res = await this.
|
|
1541
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2035
1542
|
collection: 'app.bsky.graph.listblock',
|
|
2036
1543
|
...params,
|
|
2037
1544
|
});
|
|
@@ -2039,33 +1546,33 @@ class ListblockRecord {
|
|
|
2039
1546
|
}
|
|
2040
1547
|
async create(params, record, headers) {
|
|
2041
1548
|
record.$type = 'app.bsky.graph.listblock';
|
|
2042
|
-
const res = await this.
|
|
1549
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.graph.listblock', ...params, record }, { encoding: 'application/json', headers });
|
|
2043
1550
|
return res.data;
|
|
2044
1551
|
}
|
|
2045
1552
|
async delete(params, headers) {
|
|
2046
|
-
await this.
|
|
1553
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listblock', ...params }, { headers });
|
|
2047
1554
|
}
|
|
2048
1555
|
}
|
|
2049
1556
|
exports.ListblockRecord = ListblockRecord;
|
|
2050
1557
|
class ListitemRecord {
|
|
2051
|
-
constructor(
|
|
2052
|
-
Object.defineProperty(this, "
|
|
1558
|
+
constructor(client) {
|
|
1559
|
+
Object.defineProperty(this, "_client", {
|
|
2053
1560
|
enumerable: true,
|
|
2054
1561
|
configurable: true,
|
|
2055
1562
|
writable: true,
|
|
2056
1563
|
value: void 0
|
|
2057
1564
|
});
|
|
2058
|
-
this.
|
|
1565
|
+
this._client = client;
|
|
2059
1566
|
}
|
|
2060
1567
|
async list(params) {
|
|
2061
|
-
const res = await this.
|
|
1568
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2062
1569
|
collection: 'app.bsky.graph.listitem',
|
|
2063
1570
|
...params,
|
|
2064
1571
|
});
|
|
2065
1572
|
return res.data;
|
|
2066
1573
|
}
|
|
2067
1574
|
async get(params) {
|
|
2068
|
-
const res = await this.
|
|
1575
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2069
1576
|
collection: 'app.bsky.graph.listitem',
|
|
2070
1577
|
...params,
|
|
2071
1578
|
});
|
|
@@ -2073,33 +1580,33 @@ class ListitemRecord {
|
|
|
2073
1580
|
}
|
|
2074
1581
|
async create(params, record, headers) {
|
|
2075
1582
|
record.$type = 'app.bsky.graph.listitem';
|
|
2076
|
-
const res = await this.
|
|
1583
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.graph.listitem', ...params, record }, { encoding: 'application/json', headers });
|
|
2077
1584
|
return res.data;
|
|
2078
1585
|
}
|
|
2079
1586
|
async delete(params, headers) {
|
|
2080
|
-
await this.
|
|
1587
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listitem', ...params }, { headers });
|
|
2081
1588
|
}
|
|
2082
1589
|
}
|
|
2083
1590
|
exports.ListitemRecord = ListitemRecord;
|
|
2084
1591
|
class StarterpackRecord {
|
|
2085
|
-
constructor(
|
|
2086
|
-
Object.defineProperty(this, "
|
|
1592
|
+
constructor(client) {
|
|
1593
|
+
Object.defineProperty(this, "_client", {
|
|
2087
1594
|
enumerable: true,
|
|
2088
1595
|
configurable: true,
|
|
2089
1596
|
writable: true,
|
|
2090
1597
|
value: void 0
|
|
2091
1598
|
});
|
|
2092
|
-
this.
|
|
1599
|
+
this._client = client;
|
|
2093
1600
|
}
|
|
2094
1601
|
async list(params) {
|
|
2095
|
-
const res = await this.
|
|
1602
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2096
1603
|
collection: 'app.bsky.graph.starterpack',
|
|
2097
1604
|
...params,
|
|
2098
1605
|
});
|
|
2099
1606
|
return res.data;
|
|
2100
1607
|
}
|
|
2101
1608
|
async get(params) {
|
|
2102
|
-
const res = await this.
|
|
1609
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2103
1610
|
collection: 'app.bsky.graph.starterpack',
|
|
2104
1611
|
...params,
|
|
2105
1612
|
});
|
|
@@ -2107,17 +1614,17 @@ class StarterpackRecord {
|
|
|
2107
1614
|
}
|
|
2108
1615
|
async create(params, record, headers) {
|
|
2109
1616
|
record.$type = 'app.bsky.graph.starterpack';
|
|
2110
|
-
const res = await this.
|
|
1617
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection: 'app.bsky.graph.starterpack', ...params, record }, { encoding: 'application/json', headers });
|
|
2111
1618
|
return res.data;
|
|
2112
1619
|
}
|
|
2113
1620
|
async delete(params, headers) {
|
|
2114
|
-
await this.
|
|
1621
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.starterpack', ...params }, { headers });
|
|
2115
1622
|
}
|
|
2116
1623
|
}
|
|
2117
1624
|
exports.StarterpackRecord = StarterpackRecord;
|
|
2118
1625
|
class AppBskyLabelerNS {
|
|
2119
|
-
constructor(
|
|
2120
|
-
Object.defineProperty(this, "
|
|
1626
|
+
constructor(client) {
|
|
1627
|
+
Object.defineProperty(this, "_client", {
|
|
2121
1628
|
enumerable: true,
|
|
2122
1629
|
configurable: true,
|
|
2123
1630
|
writable: true,
|
|
@@ -2129,37 +1636,33 @@ class AppBskyLabelerNS {
|
|
|
2129
1636
|
writable: true,
|
|
2130
1637
|
value: void 0
|
|
2131
1638
|
});
|
|
2132
|
-
this.
|
|
2133
|
-
this.service = new ServiceRecord(
|
|
1639
|
+
this._client = client;
|
|
1640
|
+
this.service = new ServiceRecord(client);
|
|
2134
1641
|
}
|
|
2135
1642
|
getServices(params, opts) {
|
|
2136
|
-
return this.
|
|
2137
|
-
.call('app.bsky.labeler.getServices', params, undefined, opts)
|
|
2138
|
-
.catch((e) => {
|
|
2139
|
-
throw AppBskyLabelerGetServices.toKnownErr(e);
|
|
2140
|
-
});
|
|
1643
|
+
return this._client.call('app.bsky.labeler.getServices', params, undefined, opts);
|
|
2141
1644
|
}
|
|
2142
1645
|
}
|
|
2143
1646
|
exports.AppBskyLabelerNS = AppBskyLabelerNS;
|
|
2144
1647
|
class ServiceRecord {
|
|
2145
|
-
constructor(
|
|
2146
|
-
Object.defineProperty(this, "
|
|
1648
|
+
constructor(client) {
|
|
1649
|
+
Object.defineProperty(this, "_client", {
|
|
2147
1650
|
enumerable: true,
|
|
2148
1651
|
configurable: true,
|
|
2149
1652
|
writable: true,
|
|
2150
1653
|
value: void 0
|
|
2151
1654
|
});
|
|
2152
|
-
this.
|
|
1655
|
+
this._client = client;
|
|
2153
1656
|
}
|
|
2154
1657
|
async list(params) {
|
|
2155
|
-
const res = await this.
|
|
1658
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2156
1659
|
collection: 'app.bsky.labeler.service',
|
|
2157
1660
|
...params,
|
|
2158
1661
|
});
|
|
2159
1662
|
return res.data;
|
|
2160
1663
|
}
|
|
2161
1664
|
async get(params) {
|
|
2162
|
-
const res = await this.
|
|
1665
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2163
1666
|
collection: 'app.bsky.labeler.service',
|
|
2164
1667
|
...params,
|
|
2165
1668
|
});
|
|
@@ -2167,7 +1670,7 @@ class ServiceRecord {
|
|
|
2167
1670
|
}
|
|
2168
1671
|
async create(params, record, headers) {
|
|
2169
1672
|
record.$type = 'app.bsky.labeler.service';
|
|
2170
|
-
const res = await this.
|
|
1673
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
2171
1674
|
collection: 'app.bsky.labeler.service',
|
|
2172
1675
|
rkey: 'self',
|
|
2173
1676
|
...params,
|
|
@@ -2176,109 +1679,77 @@ class ServiceRecord {
|
|
|
2176
1679
|
return res.data;
|
|
2177
1680
|
}
|
|
2178
1681
|
async delete(params, headers) {
|
|
2179
|
-
await this.
|
|
1682
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.labeler.service', ...params }, { headers });
|
|
2180
1683
|
}
|
|
2181
1684
|
}
|
|
2182
1685
|
exports.ServiceRecord = ServiceRecord;
|
|
2183
1686
|
class AppBskyNotificationNS {
|
|
2184
|
-
constructor(
|
|
2185
|
-
Object.defineProperty(this, "
|
|
1687
|
+
constructor(client) {
|
|
1688
|
+
Object.defineProperty(this, "_client", {
|
|
2186
1689
|
enumerable: true,
|
|
2187
1690
|
configurable: true,
|
|
2188
1691
|
writable: true,
|
|
2189
1692
|
value: void 0
|
|
2190
1693
|
});
|
|
2191
|
-
this.
|
|
1694
|
+
this._client = client;
|
|
2192
1695
|
}
|
|
2193
1696
|
getUnreadCount(params, opts) {
|
|
2194
|
-
return this.
|
|
2195
|
-
.call('app.bsky.notification.getUnreadCount', params, undefined, opts)
|
|
2196
|
-
.catch((e) => {
|
|
2197
|
-
throw AppBskyNotificationGetUnreadCount.toKnownErr(e);
|
|
2198
|
-
});
|
|
1697
|
+
return this._client.call('app.bsky.notification.getUnreadCount', params, undefined, opts);
|
|
2199
1698
|
}
|
|
2200
1699
|
listNotifications(params, opts) {
|
|
2201
|
-
return this.
|
|
2202
|
-
.call('app.bsky.notification.listNotifications', params, undefined, opts)
|
|
2203
|
-
.catch((e) => {
|
|
2204
|
-
throw AppBskyNotificationListNotifications.toKnownErr(e);
|
|
2205
|
-
});
|
|
1700
|
+
return this._client.call('app.bsky.notification.listNotifications', params, undefined, opts);
|
|
2206
1701
|
}
|
|
2207
1702
|
putPreferences(data, opts) {
|
|
2208
|
-
return this.
|
|
2209
|
-
.call('app.bsky.notification.putPreferences', opts?.qp, data, opts)
|
|
2210
|
-
.catch((e) => {
|
|
2211
|
-
throw AppBskyNotificationPutPreferences.toKnownErr(e);
|
|
2212
|
-
});
|
|
1703
|
+
return this._client.call('app.bsky.notification.putPreferences', opts?.qp, data, opts);
|
|
2213
1704
|
}
|
|
2214
1705
|
registerPush(data, opts) {
|
|
2215
|
-
return this.
|
|
2216
|
-
.call('app.bsky.notification.registerPush', opts?.qp, data, opts)
|
|
2217
|
-
.catch((e) => {
|
|
2218
|
-
throw AppBskyNotificationRegisterPush.toKnownErr(e);
|
|
2219
|
-
});
|
|
1706
|
+
return this._client.call('app.bsky.notification.registerPush', opts?.qp, data, opts);
|
|
2220
1707
|
}
|
|
2221
1708
|
updateSeen(data, opts) {
|
|
2222
|
-
return this.
|
|
2223
|
-
.call('app.bsky.notification.updateSeen', opts?.qp, data, opts)
|
|
2224
|
-
.catch((e) => {
|
|
2225
|
-
throw AppBskyNotificationUpdateSeen.toKnownErr(e);
|
|
2226
|
-
});
|
|
1709
|
+
return this._client.call('app.bsky.notification.updateSeen', opts?.qp, data, opts);
|
|
2227
1710
|
}
|
|
2228
1711
|
}
|
|
2229
1712
|
exports.AppBskyNotificationNS = AppBskyNotificationNS;
|
|
2230
1713
|
class AppBskyRichtextNS {
|
|
2231
|
-
constructor(
|
|
2232
|
-
Object.defineProperty(this, "
|
|
1714
|
+
constructor(client) {
|
|
1715
|
+
Object.defineProperty(this, "_client", {
|
|
2233
1716
|
enumerable: true,
|
|
2234
1717
|
configurable: true,
|
|
2235
1718
|
writable: true,
|
|
2236
1719
|
value: void 0
|
|
2237
1720
|
});
|
|
2238
|
-
this.
|
|
1721
|
+
this._client = client;
|
|
2239
1722
|
}
|
|
2240
1723
|
}
|
|
2241
1724
|
exports.AppBskyRichtextNS = AppBskyRichtextNS;
|
|
2242
1725
|
class AppBskyUnspeccedNS {
|
|
2243
|
-
constructor(
|
|
2244
|
-
Object.defineProperty(this, "
|
|
1726
|
+
constructor(client) {
|
|
1727
|
+
Object.defineProperty(this, "_client", {
|
|
2245
1728
|
enumerable: true,
|
|
2246
1729
|
configurable: true,
|
|
2247
1730
|
writable: true,
|
|
2248
1731
|
value: void 0
|
|
2249
1732
|
});
|
|
2250
|
-
this.
|
|
1733
|
+
this._client = client;
|
|
2251
1734
|
}
|
|
2252
1735
|
getPopularFeedGenerators(params, opts) {
|
|
2253
|
-
return this.
|
|
2254
|
-
.call('app.bsky.unspecced.getPopularFeedGenerators', params, undefined, opts)
|
|
2255
|
-
.catch((e) => {
|
|
2256
|
-
throw AppBskyUnspeccedGetPopularFeedGenerators.toKnownErr(e);
|
|
2257
|
-
});
|
|
1736
|
+
return this._client.call('app.bsky.unspecced.getPopularFeedGenerators', params, undefined, opts);
|
|
2258
1737
|
}
|
|
2259
1738
|
getSuggestionsSkeleton(params, opts) {
|
|
2260
|
-
return this.
|
|
2261
|
-
.call('app.bsky.unspecced.getSuggestionsSkeleton', params, undefined, opts)
|
|
2262
|
-
.catch((e) => {
|
|
2263
|
-
throw AppBskyUnspeccedGetSuggestionsSkeleton.toKnownErr(e);
|
|
2264
|
-
});
|
|
1739
|
+
return this._client.call('app.bsky.unspecced.getSuggestionsSkeleton', params, undefined, opts);
|
|
2265
1740
|
}
|
|
2266
1741
|
getTaggedSuggestions(params, opts) {
|
|
2267
|
-
return this.
|
|
2268
|
-
.call('app.bsky.unspecced.getTaggedSuggestions', params, undefined, opts)
|
|
2269
|
-
.catch((e) => {
|
|
2270
|
-
throw AppBskyUnspeccedGetTaggedSuggestions.toKnownErr(e);
|
|
2271
|
-
});
|
|
1742
|
+
return this._client.call('app.bsky.unspecced.getTaggedSuggestions', params, undefined, opts);
|
|
2272
1743
|
}
|
|
2273
1744
|
searchActorsSkeleton(params, opts) {
|
|
2274
|
-
return this.
|
|
1745
|
+
return this._client
|
|
2275
1746
|
.call('app.bsky.unspecced.searchActorsSkeleton', params, undefined, opts)
|
|
2276
1747
|
.catch((e) => {
|
|
2277
1748
|
throw AppBskyUnspeccedSearchActorsSkeleton.toKnownErr(e);
|
|
2278
1749
|
});
|
|
2279
1750
|
}
|
|
2280
1751
|
searchPostsSkeleton(params, opts) {
|
|
2281
|
-
return this.
|
|
1752
|
+
return this._client
|
|
2282
1753
|
.call('app.bsky.unspecced.searchPostsSkeleton', params, undefined, opts)
|
|
2283
1754
|
.catch((e) => {
|
|
2284
1755
|
throw AppBskyUnspeccedSearchPostsSkeleton.toKnownErr(e);
|
|
@@ -2287,8 +1758,8 @@ class AppBskyUnspeccedNS {
|
|
|
2287
1758
|
}
|
|
2288
1759
|
exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
|
|
2289
1760
|
class ChatNS {
|
|
2290
|
-
constructor(
|
|
2291
|
-
Object.defineProperty(this, "
|
|
1761
|
+
constructor(client) {
|
|
1762
|
+
Object.defineProperty(this, "_client", {
|
|
2292
1763
|
enumerable: true,
|
|
2293
1764
|
configurable: true,
|
|
2294
1765
|
writable: true,
|
|
@@ -2300,14 +1771,14 @@ class ChatNS {
|
|
|
2300
1771
|
writable: true,
|
|
2301
1772
|
value: void 0
|
|
2302
1773
|
});
|
|
2303
|
-
this.
|
|
2304
|
-
this.bsky = new ChatBskyNS(
|
|
1774
|
+
this._client = client;
|
|
1775
|
+
this.bsky = new ChatBskyNS(client);
|
|
2305
1776
|
}
|
|
2306
1777
|
}
|
|
2307
1778
|
exports.ChatNS = ChatNS;
|
|
2308
1779
|
class ChatBskyNS {
|
|
2309
|
-
constructor(
|
|
2310
|
-
Object.defineProperty(this, "
|
|
1780
|
+
constructor(client) {
|
|
1781
|
+
Object.defineProperty(this, "_client", {
|
|
2311
1782
|
enumerable: true,
|
|
2312
1783
|
configurable: true,
|
|
2313
1784
|
writable: true,
|
|
@@ -2331,16 +1802,16 @@ class ChatBskyNS {
|
|
|
2331
1802
|
writable: true,
|
|
2332
1803
|
value: void 0
|
|
2333
1804
|
});
|
|
2334
|
-
this.
|
|
2335
|
-
this.actor = new ChatBskyActorNS(
|
|
2336
|
-
this.convo = new ChatBskyConvoNS(
|
|
2337
|
-
this.moderation = new ChatBskyModerationNS(
|
|
1805
|
+
this._client = client;
|
|
1806
|
+
this.actor = new ChatBskyActorNS(client);
|
|
1807
|
+
this.convo = new ChatBskyConvoNS(client);
|
|
1808
|
+
this.moderation = new ChatBskyModerationNS(client);
|
|
2338
1809
|
}
|
|
2339
1810
|
}
|
|
2340
1811
|
exports.ChatBskyNS = ChatBskyNS;
|
|
2341
1812
|
class ChatBskyActorNS {
|
|
2342
|
-
constructor(
|
|
2343
|
-
Object.defineProperty(this, "
|
|
1813
|
+
constructor(client) {
|
|
1814
|
+
Object.defineProperty(this, "_client", {
|
|
2344
1815
|
enumerable: true,
|
|
2345
1816
|
configurable: true,
|
|
2346
1817
|
writable: true,
|
|
@@ -2352,44 +1823,36 @@ class ChatBskyActorNS {
|
|
|
2352
1823
|
writable: true,
|
|
2353
1824
|
value: void 0
|
|
2354
1825
|
});
|
|
2355
|
-
this.
|
|
2356
|
-
this.declaration = new DeclarationRecord(
|
|
1826
|
+
this._client = client;
|
|
1827
|
+
this.declaration = new DeclarationRecord(client);
|
|
2357
1828
|
}
|
|
2358
1829
|
deleteAccount(data, opts) {
|
|
2359
|
-
return this.
|
|
2360
|
-
.call('chat.bsky.actor.deleteAccount', opts?.qp, data, opts)
|
|
2361
|
-
.catch((e) => {
|
|
2362
|
-
throw ChatBskyActorDeleteAccount.toKnownErr(e);
|
|
2363
|
-
});
|
|
1830
|
+
return this._client.call('chat.bsky.actor.deleteAccount', opts?.qp, data, opts);
|
|
2364
1831
|
}
|
|
2365
1832
|
exportAccountData(params, opts) {
|
|
2366
|
-
return this.
|
|
2367
|
-
.call('chat.bsky.actor.exportAccountData', params, undefined, opts)
|
|
2368
|
-
.catch((e) => {
|
|
2369
|
-
throw ChatBskyActorExportAccountData.toKnownErr(e);
|
|
2370
|
-
});
|
|
1833
|
+
return this._client.call('chat.bsky.actor.exportAccountData', params, undefined, opts);
|
|
2371
1834
|
}
|
|
2372
1835
|
}
|
|
2373
1836
|
exports.ChatBskyActorNS = ChatBskyActorNS;
|
|
2374
1837
|
class DeclarationRecord {
|
|
2375
|
-
constructor(
|
|
2376
|
-
Object.defineProperty(this, "
|
|
1838
|
+
constructor(client) {
|
|
1839
|
+
Object.defineProperty(this, "_client", {
|
|
2377
1840
|
enumerable: true,
|
|
2378
1841
|
configurable: true,
|
|
2379
1842
|
writable: true,
|
|
2380
1843
|
value: void 0
|
|
2381
1844
|
});
|
|
2382
|
-
this.
|
|
1845
|
+
this._client = client;
|
|
2383
1846
|
}
|
|
2384
1847
|
async list(params) {
|
|
2385
|
-
const res = await this.
|
|
1848
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2386
1849
|
collection: 'chat.bsky.actor.declaration',
|
|
2387
1850
|
...params,
|
|
2388
1851
|
});
|
|
2389
1852
|
return res.data;
|
|
2390
1853
|
}
|
|
2391
1854
|
async get(params) {
|
|
2392
|
-
const res = await this.
|
|
1855
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2393
1856
|
collection: 'chat.bsky.actor.declaration',
|
|
2394
1857
|
...params,
|
|
2395
1858
|
});
|
|
@@ -2397,7 +1860,7 @@ class DeclarationRecord {
|
|
|
2397
1860
|
}
|
|
2398
1861
|
async create(params, record, headers) {
|
|
2399
1862
|
record.$type = 'chat.bsky.actor.declaration';
|
|
2400
|
-
const res = await this.
|
|
1863
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
2401
1864
|
collection: 'chat.bsky.actor.declaration',
|
|
2402
1865
|
rkey: 'self',
|
|
2403
1866
|
...params,
|
|
@@ -2406,142 +1869,82 @@ class DeclarationRecord {
|
|
|
2406
1869
|
return res.data;
|
|
2407
1870
|
}
|
|
2408
1871
|
async delete(params, headers) {
|
|
2409
|
-
await this.
|
|
1872
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'chat.bsky.actor.declaration', ...params }, { headers });
|
|
2410
1873
|
}
|
|
2411
1874
|
}
|
|
2412
1875
|
exports.DeclarationRecord = DeclarationRecord;
|
|
2413
1876
|
class ChatBskyConvoNS {
|
|
2414
|
-
constructor(
|
|
2415
|
-
Object.defineProperty(this, "
|
|
1877
|
+
constructor(client) {
|
|
1878
|
+
Object.defineProperty(this, "_client", {
|
|
2416
1879
|
enumerable: true,
|
|
2417
1880
|
configurable: true,
|
|
2418
1881
|
writable: true,
|
|
2419
1882
|
value: void 0
|
|
2420
1883
|
});
|
|
2421
|
-
this.
|
|
1884
|
+
this._client = client;
|
|
2422
1885
|
}
|
|
2423
1886
|
deleteMessageForSelf(data, opts) {
|
|
2424
|
-
return this.
|
|
2425
|
-
.call('chat.bsky.convo.deleteMessageForSelf', opts?.qp, data, opts)
|
|
2426
|
-
.catch((e) => {
|
|
2427
|
-
throw ChatBskyConvoDeleteMessageForSelf.toKnownErr(e);
|
|
2428
|
-
});
|
|
1887
|
+
return this._client.call('chat.bsky.convo.deleteMessageForSelf', opts?.qp, data, opts);
|
|
2429
1888
|
}
|
|
2430
1889
|
getConvo(params, opts) {
|
|
2431
|
-
return this.
|
|
2432
|
-
.call('chat.bsky.convo.getConvo', params, undefined, opts)
|
|
2433
|
-
.catch((e) => {
|
|
2434
|
-
throw ChatBskyConvoGetConvo.toKnownErr(e);
|
|
2435
|
-
});
|
|
1890
|
+
return this._client.call('chat.bsky.convo.getConvo', params, undefined, opts);
|
|
2436
1891
|
}
|
|
2437
1892
|
getConvoForMembers(params, opts) {
|
|
2438
|
-
return this.
|
|
2439
|
-
.call('chat.bsky.convo.getConvoForMembers', params, undefined, opts)
|
|
2440
|
-
.catch((e) => {
|
|
2441
|
-
throw ChatBskyConvoGetConvoForMembers.toKnownErr(e);
|
|
2442
|
-
});
|
|
1893
|
+
return this._client.call('chat.bsky.convo.getConvoForMembers', params, undefined, opts);
|
|
2443
1894
|
}
|
|
2444
1895
|
getLog(params, opts) {
|
|
2445
|
-
return this.
|
|
2446
|
-
.call('chat.bsky.convo.getLog', params, undefined, opts)
|
|
2447
|
-
.catch((e) => {
|
|
2448
|
-
throw ChatBskyConvoGetLog.toKnownErr(e);
|
|
2449
|
-
});
|
|
1896
|
+
return this._client.call('chat.bsky.convo.getLog', params, undefined, opts);
|
|
2450
1897
|
}
|
|
2451
1898
|
getMessages(params, opts) {
|
|
2452
|
-
return this.
|
|
2453
|
-
.call('chat.bsky.convo.getMessages', params, undefined, opts)
|
|
2454
|
-
.catch((e) => {
|
|
2455
|
-
throw ChatBskyConvoGetMessages.toKnownErr(e);
|
|
2456
|
-
});
|
|
1899
|
+
return this._client.call('chat.bsky.convo.getMessages', params, undefined, opts);
|
|
2457
1900
|
}
|
|
2458
1901
|
leaveConvo(data, opts) {
|
|
2459
|
-
return this.
|
|
2460
|
-
.call('chat.bsky.convo.leaveConvo', opts?.qp, data, opts)
|
|
2461
|
-
.catch((e) => {
|
|
2462
|
-
throw ChatBskyConvoLeaveConvo.toKnownErr(e);
|
|
2463
|
-
});
|
|
1902
|
+
return this._client.call('chat.bsky.convo.leaveConvo', opts?.qp, data, opts);
|
|
2464
1903
|
}
|
|
2465
1904
|
listConvos(params, opts) {
|
|
2466
|
-
return this.
|
|
2467
|
-
.call('chat.bsky.convo.listConvos', params, undefined, opts)
|
|
2468
|
-
.catch((e) => {
|
|
2469
|
-
throw ChatBskyConvoListConvos.toKnownErr(e);
|
|
2470
|
-
});
|
|
1905
|
+
return this._client.call('chat.bsky.convo.listConvos', params, undefined, opts);
|
|
2471
1906
|
}
|
|
2472
1907
|
muteConvo(data, opts) {
|
|
2473
|
-
return this.
|
|
2474
|
-
.call('chat.bsky.convo.muteConvo', opts?.qp, data, opts)
|
|
2475
|
-
.catch((e) => {
|
|
2476
|
-
throw ChatBskyConvoMuteConvo.toKnownErr(e);
|
|
2477
|
-
});
|
|
1908
|
+
return this._client.call('chat.bsky.convo.muteConvo', opts?.qp, data, opts);
|
|
2478
1909
|
}
|
|
2479
1910
|
sendMessage(data, opts) {
|
|
2480
|
-
return this.
|
|
2481
|
-
.call('chat.bsky.convo.sendMessage', opts?.qp, data, opts)
|
|
2482
|
-
.catch((e) => {
|
|
2483
|
-
throw ChatBskyConvoSendMessage.toKnownErr(e);
|
|
2484
|
-
});
|
|
1911
|
+
return this._client.call('chat.bsky.convo.sendMessage', opts?.qp, data, opts);
|
|
2485
1912
|
}
|
|
2486
1913
|
sendMessageBatch(data, opts) {
|
|
2487
|
-
return this.
|
|
2488
|
-
.call('chat.bsky.convo.sendMessageBatch', opts?.qp, data, opts)
|
|
2489
|
-
.catch((e) => {
|
|
2490
|
-
throw ChatBskyConvoSendMessageBatch.toKnownErr(e);
|
|
2491
|
-
});
|
|
1914
|
+
return this._client.call('chat.bsky.convo.sendMessageBatch', opts?.qp, data, opts);
|
|
2492
1915
|
}
|
|
2493
1916
|
unmuteConvo(data, opts) {
|
|
2494
|
-
return this.
|
|
2495
|
-
.call('chat.bsky.convo.unmuteConvo', opts?.qp, data, opts)
|
|
2496
|
-
.catch((e) => {
|
|
2497
|
-
throw ChatBskyConvoUnmuteConvo.toKnownErr(e);
|
|
2498
|
-
});
|
|
1917
|
+
return this._client.call('chat.bsky.convo.unmuteConvo', opts?.qp, data, opts);
|
|
2499
1918
|
}
|
|
2500
1919
|
updateRead(data, opts) {
|
|
2501
|
-
return this.
|
|
2502
|
-
.call('chat.bsky.convo.updateRead', opts?.qp, data, opts)
|
|
2503
|
-
.catch((e) => {
|
|
2504
|
-
throw ChatBskyConvoUpdateRead.toKnownErr(e);
|
|
2505
|
-
});
|
|
1920
|
+
return this._client.call('chat.bsky.convo.updateRead', opts?.qp, data, opts);
|
|
2506
1921
|
}
|
|
2507
1922
|
}
|
|
2508
1923
|
exports.ChatBskyConvoNS = ChatBskyConvoNS;
|
|
2509
1924
|
class ChatBskyModerationNS {
|
|
2510
|
-
constructor(
|
|
2511
|
-
Object.defineProperty(this, "
|
|
1925
|
+
constructor(client) {
|
|
1926
|
+
Object.defineProperty(this, "_client", {
|
|
2512
1927
|
enumerable: true,
|
|
2513
1928
|
configurable: true,
|
|
2514
1929
|
writable: true,
|
|
2515
1930
|
value: void 0
|
|
2516
1931
|
});
|
|
2517
|
-
this.
|
|
1932
|
+
this._client = client;
|
|
2518
1933
|
}
|
|
2519
1934
|
getActorMetadata(params, opts) {
|
|
2520
|
-
return this.
|
|
2521
|
-
.call('chat.bsky.moderation.getActorMetadata', params, undefined, opts)
|
|
2522
|
-
.catch((e) => {
|
|
2523
|
-
throw ChatBskyModerationGetActorMetadata.toKnownErr(e);
|
|
2524
|
-
});
|
|
1935
|
+
return this._client.call('chat.bsky.moderation.getActorMetadata', params, undefined, opts);
|
|
2525
1936
|
}
|
|
2526
1937
|
getMessageContext(params, opts) {
|
|
2527
|
-
return this.
|
|
2528
|
-
.call('chat.bsky.moderation.getMessageContext', params, undefined, opts)
|
|
2529
|
-
.catch((e) => {
|
|
2530
|
-
throw ChatBskyModerationGetMessageContext.toKnownErr(e);
|
|
2531
|
-
});
|
|
1938
|
+
return this._client.call('chat.bsky.moderation.getMessageContext', params, undefined, opts);
|
|
2532
1939
|
}
|
|
2533
1940
|
updateActorAccess(data, opts) {
|
|
2534
|
-
return this.
|
|
2535
|
-
.call('chat.bsky.moderation.updateActorAccess', opts?.qp, data, opts)
|
|
2536
|
-
.catch((e) => {
|
|
2537
|
-
throw ChatBskyModerationUpdateActorAccess.toKnownErr(e);
|
|
2538
|
-
});
|
|
1941
|
+
return this._client.call('chat.bsky.moderation.updateActorAccess', opts?.qp, data, opts);
|
|
2539
1942
|
}
|
|
2540
1943
|
}
|
|
2541
1944
|
exports.ChatBskyModerationNS = ChatBskyModerationNS;
|
|
2542
1945
|
class ToolsNS {
|
|
2543
|
-
constructor(
|
|
2544
|
-
Object.defineProperty(this, "
|
|
1946
|
+
constructor(client) {
|
|
1947
|
+
Object.defineProperty(this, "_client", {
|
|
2545
1948
|
enumerable: true,
|
|
2546
1949
|
configurable: true,
|
|
2547
1950
|
writable: true,
|
|
@@ -2553,14 +1956,14 @@ class ToolsNS {
|
|
|
2553
1956
|
writable: true,
|
|
2554
1957
|
value: void 0
|
|
2555
1958
|
});
|
|
2556
|
-
this.
|
|
2557
|
-
this.ozone = new ToolsOzoneNS(
|
|
1959
|
+
this._client = client;
|
|
1960
|
+
this.ozone = new ToolsOzoneNS(client);
|
|
2558
1961
|
}
|
|
2559
1962
|
}
|
|
2560
1963
|
exports.ToolsNS = ToolsNS;
|
|
2561
1964
|
class ToolsOzoneNS {
|
|
2562
|
-
constructor(
|
|
2563
|
-
Object.defineProperty(this, "
|
|
1965
|
+
constructor(client) {
|
|
1966
|
+
Object.defineProperty(this, "_client", {
|
|
2564
1967
|
enumerable: true,
|
|
2565
1968
|
configurable: true,
|
|
2566
1969
|
writable: true,
|
|
@@ -2590,167 +1993,127 @@ class ToolsOzoneNS {
|
|
|
2590
1993
|
writable: true,
|
|
2591
1994
|
value: void 0
|
|
2592
1995
|
});
|
|
2593
|
-
this.
|
|
2594
|
-
this.communication = new ToolsOzoneCommunicationNS(
|
|
2595
|
-
this.moderation = new ToolsOzoneModerationNS(
|
|
2596
|
-
this.server = new ToolsOzoneServerNS(
|
|
2597
|
-
this.team = new ToolsOzoneTeamNS(
|
|
1996
|
+
this._client = client;
|
|
1997
|
+
this.communication = new ToolsOzoneCommunicationNS(client);
|
|
1998
|
+
this.moderation = new ToolsOzoneModerationNS(client);
|
|
1999
|
+
this.server = new ToolsOzoneServerNS(client);
|
|
2000
|
+
this.team = new ToolsOzoneTeamNS(client);
|
|
2598
2001
|
}
|
|
2599
2002
|
}
|
|
2600
2003
|
exports.ToolsOzoneNS = ToolsOzoneNS;
|
|
2601
2004
|
class ToolsOzoneCommunicationNS {
|
|
2602
|
-
constructor(
|
|
2603
|
-
Object.defineProperty(this, "
|
|
2005
|
+
constructor(client) {
|
|
2006
|
+
Object.defineProperty(this, "_client", {
|
|
2604
2007
|
enumerable: true,
|
|
2605
2008
|
configurable: true,
|
|
2606
2009
|
writable: true,
|
|
2607
2010
|
value: void 0
|
|
2608
2011
|
});
|
|
2609
|
-
this.
|
|
2012
|
+
this._client = client;
|
|
2610
2013
|
}
|
|
2611
2014
|
createTemplate(data, opts) {
|
|
2612
|
-
return this.
|
|
2613
|
-
.call('tools.ozone.communication.createTemplate', opts?.qp, data, opts)
|
|
2614
|
-
.catch((e) => {
|
|
2615
|
-
throw ToolsOzoneCommunicationCreateTemplate.toKnownErr(e);
|
|
2616
|
-
});
|
|
2015
|
+
return this._client.call('tools.ozone.communication.createTemplate', opts?.qp, data, opts);
|
|
2617
2016
|
}
|
|
2618
2017
|
deleteTemplate(data, opts) {
|
|
2619
|
-
return this.
|
|
2620
|
-
.call('tools.ozone.communication.deleteTemplate', opts?.qp, data, opts)
|
|
2621
|
-
.catch((e) => {
|
|
2622
|
-
throw ToolsOzoneCommunicationDeleteTemplate.toKnownErr(e);
|
|
2623
|
-
});
|
|
2018
|
+
return this._client.call('tools.ozone.communication.deleteTemplate', opts?.qp, data, opts);
|
|
2624
2019
|
}
|
|
2625
2020
|
listTemplates(params, opts) {
|
|
2626
|
-
return this.
|
|
2627
|
-
.call('tools.ozone.communication.listTemplates', params, undefined, opts)
|
|
2628
|
-
.catch((e) => {
|
|
2629
|
-
throw ToolsOzoneCommunicationListTemplates.toKnownErr(e);
|
|
2630
|
-
});
|
|
2021
|
+
return this._client.call('tools.ozone.communication.listTemplates', params, undefined, opts);
|
|
2631
2022
|
}
|
|
2632
2023
|
updateTemplate(data, opts) {
|
|
2633
|
-
return this.
|
|
2634
|
-
.call('tools.ozone.communication.updateTemplate', opts?.qp, data, opts)
|
|
2635
|
-
.catch((e) => {
|
|
2636
|
-
throw ToolsOzoneCommunicationUpdateTemplate.toKnownErr(e);
|
|
2637
|
-
});
|
|
2024
|
+
return this._client.call('tools.ozone.communication.updateTemplate', opts?.qp, data, opts);
|
|
2638
2025
|
}
|
|
2639
2026
|
}
|
|
2640
2027
|
exports.ToolsOzoneCommunicationNS = ToolsOzoneCommunicationNS;
|
|
2641
2028
|
class ToolsOzoneModerationNS {
|
|
2642
|
-
constructor(
|
|
2643
|
-
Object.defineProperty(this, "
|
|
2029
|
+
constructor(client) {
|
|
2030
|
+
Object.defineProperty(this, "_client", {
|
|
2644
2031
|
enumerable: true,
|
|
2645
2032
|
configurable: true,
|
|
2646
2033
|
writable: true,
|
|
2647
2034
|
value: void 0
|
|
2648
2035
|
});
|
|
2649
|
-
this.
|
|
2036
|
+
this._client = client;
|
|
2650
2037
|
}
|
|
2651
2038
|
emitEvent(data, opts) {
|
|
2652
|
-
return this.
|
|
2039
|
+
return this._client
|
|
2653
2040
|
.call('tools.ozone.moderation.emitEvent', opts?.qp, data, opts)
|
|
2654
2041
|
.catch((e) => {
|
|
2655
2042
|
throw ToolsOzoneModerationEmitEvent.toKnownErr(e);
|
|
2656
2043
|
});
|
|
2657
2044
|
}
|
|
2658
2045
|
getEvent(params, opts) {
|
|
2659
|
-
return this.
|
|
2660
|
-
.call('tools.ozone.moderation.getEvent', params, undefined, opts)
|
|
2661
|
-
.catch((e) => {
|
|
2662
|
-
throw ToolsOzoneModerationGetEvent.toKnownErr(e);
|
|
2663
|
-
});
|
|
2046
|
+
return this._client.call('tools.ozone.moderation.getEvent', params, undefined, opts);
|
|
2664
2047
|
}
|
|
2665
2048
|
getRecord(params, opts) {
|
|
2666
|
-
return this.
|
|
2049
|
+
return this._client
|
|
2667
2050
|
.call('tools.ozone.moderation.getRecord', params, undefined, opts)
|
|
2668
2051
|
.catch((e) => {
|
|
2669
2052
|
throw ToolsOzoneModerationGetRecord.toKnownErr(e);
|
|
2670
2053
|
});
|
|
2671
2054
|
}
|
|
2672
2055
|
getRepo(params, opts) {
|
|
2673
|
-
return this.
|
|
2056
|
+
return this._client
|
|
2674
2057
|
.call('tools.ozone.moderation.getRepo', params, undefined, opts)
|
|
2675
2058
|
.catch((e) => {
|
|
2676
2059
|
throw ToolsOzoneModerationGetRepo.toKnownErr(e);
|
|
2677
2060
|
});
|
|
2678
2061
|
}
|
|
2679
2062
|
queryEvents(params, opts) {
|
|
2680
|
-
return this.
|
|
2681
|
-
.call('tools.ozone.moderation.queryEvents', params, undefined, opts)
|
|
2682
|
-
.catch((e) => {
|
|
2683
|
-
throw ToolsOzoneModerationQueryEvents.toKnownErr(e);
|
|
2684
|
-
});
|
|
2063
|
+
return this._client.call('tools.ozone.moderation.queryEvents', params, undefined, opts);
|
|
2685
2064
|
}
|
|
2686
2065
|
queryStatuses(params, opts) {
|
|
2687
|
-
return this.
|
|
2688
|
-
.call('tools.ozone.moderation.queryStatuses', params, undefined, opts)
|
|
2689
|
-
.catch((e) => {
|
|
2690
|
-
throw ToolsOzoneModerationQueryStatuses.toKnownErr(e);
|
|
2691
|
-
});
|
|
2066
|
+
return this._client.call('tools.ozone.moderation.queryStatuses', params, undefined, opts);
|
|
2692
2067
|
}
|
|
2693
2068
|
searchRepos(params, opts) {
|
|
2694
|
-
return this.
|
|
2695
|
-
.call('tools.ozone.moderation.searchRepos', params, undefined, opts)
|
|
2696
|
-
.catch((e) => {
|
|
2697
|
-
throw ToolsOzoneModerationSearchRepos.toKnownErr(e);
|
|
2698
|
-
});
|
|
2069
|
+
return this._client.call('tools.ozone.moderation.searchRepos', params, undefined, opts);
|
|
2699
2070
|
}
|
|
2700
2071
|
}
|
|
2701
2072
|
exports.ToolsOzoneModerationNS = ToolsOzoneModerationNS;
|
|
2702
2073
|
class ToolsOzoneServerNS {
|
|
2703
|
-
constructor(
|
|
2704
|
-
Object.defineProperty(this, "
|
|
2074
|
+
constructor(client) {
|
|
2075
|
+
Object.defineProperty(this, "_client", {
|
|
2705
2076
|
enumerable: true,
|
|
2706
2077
|
configurable: true,
|
|
2707
2078
|
writable: true,
|
|
2708
2079
|
value: void 0
|
|
2709
2080
|
});
|
|
2710
|
-
this.
|
|
2081
|
+
this._client = client;
|
|
2711
2082
|
}
|
|
2712
2083
|
getConfig(params, opts) {
|
|
2713
|
-
return this.
|
|
2714
|
-
.call('tools.ozone.server.getConfig', params, undefined, opts)
|
|
2715
|
-
.catch((e) => {
|
|
2716
|
-
throw ToolsOzoneServerGetConfig.toKnownErr(e);
|
|
2717
|
-
});
|
|
2084
|
+
return this._client.call('tools.ozone.server.getConfig', params, undefined, opts);
|
|
2718
2085
|
}
|
|
2719
2086
|
}
|
|
2720
2087
|
exports.ToolsOzoneServerNS = ToolsOzoneServerNS;
|
|
2721
2088
|
class ToolsOzoneTeamNS {
|
|
2722
|
-
constructor(
|
|
2723
|
-
Object.defineProperty(this, "
|
|
2089
|
+
constructor(client) {
|
|
2090
|
+
Object.defineProperty(this, "_client", {
|
|
2724
2091
|
enumerable: true,
|
|
2725
2092
|
configurable: true,
|
|
2726
2093
|
writable: true,
|
|
2727
2094
|
value: void 0
|
|
2728
2095
|
});
|
|
2729
|
-
this.
|
|
2096
|
+
this._client = client;
|
|
2730
2097
|
}
|
|
2731
2098
|
addMember(data, opts) {
|
|
2732
|
-
return this.
|
|
2099
|
+
return this._client
|
|
2733
2100
|
.call('tools.ozone.team.addMember', opts?.qp, data, opts)
|
|
2734
2101
|
.catch((e) => {
|
|
2735
2102
|
throw ToolsOzoneTeamAddMember.toKnownErr(e);
|
|
2736
2103
|
});
|
|
2737
2104
|
}
|
|
2738
2105
|
deleteMember(data, opts) {
|
|
2739
|
-
return this.
|
|
2106
|
+
return this._client
|
|
2740
2107
|
.call('tools.ozone.team.deleteMember', opts?.qp, data, opts)
|
|
2741
2108
|
.catch((e) => {
|
|
2742
2109
|
throw ToolsOzoneTeamDeleteMember.toKnownErr(e);
|
|
2743
2110
|
});
|
|
2744
2111
|
}
|
|
2745
2112
|
listMembers(params, opts) {
|
|
2746
|
-
return this.
|
|
2747
|
-
.call('tools.ozone.team.listMembers', params, undefined, opts)
|
|
2748
|
-
.catch((e) => {
|
|
2749
|
-
throw ToolsOzoneTeamListMembers.toKnownErr(e);
|
|
2750
|
-
});
|
|
2113
|
+
return this._client.call('tools.ozone.team.listMembers', params, undefined, opts);
|
|
2751
2114
|
}
|
|
2752
2115
|
updateMember(data, opts) {
|
|
2753
|
-
return this.
|
|
2116
|
+
return this._client
|
|
2754
2117
|
.call('tools.ozone.team.updateMember', opts?.qp, data, opts)
|
|
2755
2118
|
.catch((e) => {
|
|
2756
2119
|
throw ToolsOzoneTeamUpdateMember.toKnownErr(e);
|