@atproto/api 0.0.5 → 0.0.7
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/dist/client/index.d.ts +72 -44
- package/dist/client/lexicons.d.ts +1034 -398
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -2
- package/dist/client/types/app/bsky/actor/search.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +1 -8
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declaration.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +23 -0
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +49 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +40 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +28 -0
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
- package/dist/client/types/com/atproto/report/create.d.ts +39 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
- package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
- package/dist/client/types/com/atproto/session/create.d.ts +5 -2
- package/dist/client/types/com/atproto/session/refresh.d.ts +4 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +15 -0
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getHead.d.ts +18 -0
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +17 -0
- package/dist/index.js +2040 -988
- package/dist/index.js.map +4 -4
- package/dist/src/client/index.d.ts +474 -0
- package/dist/src/client/lexicons.d.ts +3036 -0
- package/dist/src/client/schemas.d.ts +17 -0
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
- package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
- package/dist/src/client/types/app/bsky/administration/moderationAction.d.ts +16 -0
- package/dist/src/client/types/app/bsky/administration/reverseModerationAction.d.ts +22 -0
- package/dist/src/client/types/app/bsky/administration/takeModerationAction.d.ts +27 -0
- package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
- package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
- package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
- package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/client/types/app/bsky/like.d.ts +10 -0
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/src/client/types/app/bsky/post.d.ts +23 -0
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
- package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
- package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
- package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
- package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
- package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
- package/dist/src/client/types/com/atproto/session/create.d.ts +29 -0
- package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +24 -0
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/schemas.d.ts +19 -0
- package/dist/src/session.d.ts +42 -0
- package/dist/src/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/types/app/bsky/like.d.ts +10 -0
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/types/app/bsky/post.d.ts +23 -0
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/app/bsky/profile.d.ts +11 -0
- package/dist/src/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
- package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
- package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
- package/dist/src/types/com/atproto/createSession.d.ts +23 -0
- package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
- package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/src/client/index.ts +236 -142
- package/src/client/lexicons.ts +1151 -443
- package/src/client/types/app/bsky/actor/getProfile.ts +0 -2
- package/src/client/types/app/bsky/actor/search.ts +1 -1
- package/src/client/types/app/bsky/actor/searchTypeahead.ts +1 -1
- package/src/client/types/app/bsky/actor/updateProfile.ts +0 -1
- package/src/client/types/app/bsky/feed/feedViewPost.ts +1 -19
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -0
- package/src/client/types/app/bsky/notification/list.ts +1 -2
- package/src/client/types/app/bsky/system/declRef.ts +1 -4
- package/src/client/types/app/bsky/system/declaration.ts +1 -4
- package/src/client/types/com/atproto/admin/getModerationAction.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationActions.ts +38 -0
- package/src/client/types/com/atproto/admin/getModerationReport.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationReports.ts +39 -0
- package/src/client/types/com/atproto/admin/getRecord.ts +32 -0
- package/src/client/types/com/atproto/admin/getRepo.ts +31 -0
- package/src/client/types/com/atproto/admin/moderationAction.ts +99 -0
- package/src/client/types/com/atproto/admin/moderationReport.ts +64 -0
- package/src/client/types/com/atproto/admin/record.ts +89 -0
- package/src/client/types/com/atproto/admin/repo.ts +103 -0
- package/src/client/types/com/atproto/admin/resolveModerationReports.ts +37 -0
- package/src/client/types/com/atproto/admin/reverseModerationAction.ts +37 -0
- package/src/client/types/com/atproto/admin/searchRepos.ts +38 -0
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +47 -0
- package/src/client/types/com/atproto/repo/recordRef.ts +25 -0
- package/src/client/types/com/atproto/repo/repoRef.ts +24 -0
- package/src/client/types/com/atproto/report/create.ts +54 -0
- package/src/client/types/com/atproto/report/reasonType.ts +16 -0
- package/src/client/types/com/atproto/report/subject.ts +66 -0
- package/src/client/types/com/atproto/session/create.ts +9 -1
- package/src/client/types/com/atproto/session/refresh.ts +7 -0
- package/src/client/types/com/atproto/sync/{updateRepo.ts → getCheckout.ts} +4 -3
- package/src/client/types/com/atproto/sync/getCommitPath.ts +39 -0
- package/src/client/types/com/atproto/sync/{getRoot.ts → getHead.ts} +0 -0
- package/src/client/types/com/atproto/sync/getRecord.ts +34 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/src/client/types/app/bsky/actor/createScene.ts +0 -55
- package/src/client/types/app/bsky/feed/trend.ts +0 -26
- package/src/client/types/app/bsky/graph/getAssertions.ts +0 -85
- package/src/client/types/app/bsky/graph/getMembers.ts +0 -62
- package/src/client/types/app/bsky/graph/getMemberships.ts +0 -62
- package/src/client/types/app/bsky/system/actorScene.ts +0 -9
package/dist/client/index.d.ts
CHANGED
|
@@ -5,6 +5,16 @@ import * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
|
5
5
|
import * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
6
6
|
import * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
7
7
|
import * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
8
|
+
import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
9
|
+
import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
10
|
+
import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
11
|
+
import * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
12
|
+
import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
13
|
+
import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
14
|
+
import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
15
|
+
import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
16
|
+
import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
17
|
+
import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
8
18
|
import * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
9
19
|
import * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
10
20
|
import * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
@@ -14,15 +24,17 @@ import * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
|
|
|
14
24
|
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
15
25
|
import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
16
26
|
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
27
|
+
import * as ComAtprotoReportCreate from './types/com/atproto/report/create';
|
|
17
28
|
import * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
|
|
18
29
|
import * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
|
|
19
30
|
import * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
|
|
20
31
|
import * as ComAtprotoSessionGet from './types/com/atproto/session/get';
|
|
21
32
|
import * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
|
|
33
|
+
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
34
|
+
import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
35
|
+
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
36
|
+
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
22
37
|
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
23
|
-
import * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
|
|
24
|
-
import * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
|
|
25
|
-
import * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
|
|
26
38
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
27
39
|
import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
28
40
|
import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
@@ -37,16 +49,12 @@ import * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
|
|
|
37
49
|
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
38
50
|
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
39
51
|
import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
40
|
-
import * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
|
|
41
52
|
import * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
42
53
|
import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
43
54
|
import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
44
55
|
import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
45
|
-
import * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
|
|
46
56
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
47
57
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
48
|
-
import * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
|
|
49
|
-
import * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
|
|
50
58
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
51
59
|
import * as AppBskyGraphMute from './types/app/bsky/graph/mute';
|
|
52
60
|
import * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
|
|
@@ -60,6 +68,20 @@ export * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
|
60
68
|
export * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
61
69
|
export * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
62
70
|
export * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
71
|
+
export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
72
|
+
export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
73
|
+
export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
74
|
+
export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
75
|
+
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
76
|
+
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
77
|
+
export * as ComAtprotoAdminModerationAction from './types/com/atproto/admin/moderationAction';
|
|
78
|
+
export * as ComAtprotoAdminModerationReport from './types/com/atproto/admin/moderationReport';
|
|
79
|
+
export * as ComAtprotoAdminRecord from './types/com/atproto/admin/record';
|
|
80
|
+
export * as ComAtprotoAdminRepo from './types/com/atproto/admin/repo';
|
|
81
|
+
export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
82
|
+
export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
83
|
+
export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
84
|
+
export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
63
85
|
export * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
64
86
|
export * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
65
87
|
export * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
@@ -69,16 +91,22 @@ export * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
|
|
|
69
91
|
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
70
92
|
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
71
93
|
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
94
|
+
export * as ComAtprotoRepoRecordRef from './types/com/atproto/repo/recordRef';
|
|
95
|
+
export * as ComAtprotoRepoRepoRef from './types/com/atproto/repo/repoRef';
|
|
72
96
|
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
|
|
97
|
+
export * as ComAtprotoReportCreate from './types/com/atproto/report/create';
|
|
98
|
+
export * as ComAtprotoReportReasonType from './types/com/atproto/report/reasonType';
|
|
99
|
+
export * as ComAtprotoReportSubject from './types/com/atproto/report/subject';
|
|
73
100
|
export * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
|
|
74
101
|
export * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
|
|
75
102
|
export * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
|
|
76
103
|
export * as ComAtprotoSessionGet from './types/com/atproto/session/get';
|
|
77
104
|
export * as ComAtprotoSessionRefresh from './types/com/atproto/session/refresh';
|
|
105
|
+
export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
106
|
+
export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
107
|
+
export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
108
|
+
export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
78
109
|
export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
79
|
-
export * as ComAtprotoSyncGetRoot from './types/com/atproto/sync/getRoot';
|
|
80
|
-
export * as ComAtprotoSyncUpdateRepo from './types/com/atproto/sync/updateRepo';
|
|
81
|
-
export * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
|
|
82
110
|
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
83
111
|
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
84
112
|
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
@@ -97,34 +125,37 @@ export * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
|
|
|
97
125
|
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
98
126
|
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
99
127
|
export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
100
|
-
export * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
|
|
101
128
|
export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
102
129
|
export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
|
|
103
130
|
export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
|
|
104
131
|
export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
105
132
|
export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
106
133
|
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
107
|
-
export * as AppBskyGraphGetAssertions from './types/app/bsky/graph/getAssertions';
|
|
108
134
|
export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
109
135
|
export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
110
|
-
export * as AppBskyGraphGetMembers from './types/app/bsky/graph/getMembers';
|
|
111
|
-
export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMemberships';
|
|
112
136
|
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
113
137
|
export * as AppBskyGraphMute from './types/app/bsky/graph/mute';
|
|
114
138
|
export * as AppBskyGraphUnmute from './types/app/bsky/graph/unmute';
|
|
115
139
|
export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
|
|
116
140
|
export * as AppBskyNotificationList from './types/app/bsky/notification/list';
|
|
117
141
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
118
|
-
export * as AppBskySystemActorScene from './types/app/bsky/system/actorScene';
|
|
119
142
|
export * as AppBskySystemActorUser from './types/app/bsky/system/actorUser';
|
|
120
143
|
export * as AppBskySystemDeclRef from './types/app/bsky/system/declRef';
|
|
121
144
|
export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
|
|
145
|
+
export declare const COM_ATPROTO_ADMIN: {
|
|
146
|
+
ModerationActionTakedown: string;
|
|
147
|
+
ModerationActionFlag: string;
|
|
148
|
+
ModerationActionAcknowledge: string;
|
|
149
|
+
};
|
|
150
|
+
export declare const COM_ATPROTO_REPORT: {
|
|
151
|
+
ReasonTypeSpam: string;
|
|
152
|
+
ReasonTypeOther: string;
|
|
153
|
+
};
|
|
122
154
|
export declare const APP_BSKY_GRAPH: {
|
|
123
155
|
AssertCreator: string;
|
|
124
156
|
AssertMember: string;
|
|
125
157
|
};
|
|
126
158
|
export declare const APP_BSKY_SYSTEM: {
|
|
127
|
-
ActorScene: string;
|
|
128
159
|
ActorUser: string;
|
|
129
160
|
};
|
|
130
161
|
export declare class Client {
|
|
@@ -150,9 +181,11 @@ export declare class ComNS {
|
|
|
150
181
|
export declare class AtprotoNS {
|
|
151
182
|
_service: ServiceClient;
|
|
152
183
|
account: AccountNS;
|
|
184
|
+
admin: AdminNS;
|
|
153
185
|
blob: BlobNS;
|
|
154
186
|
handle: HandleNS;
|
|
155
187
|
repo: RepoNS;
|
|
188
|
+
report: ReportNS;
|
|
156
189
|
server: ServerNS;
|
|
157
190
|
session: SessionNS;
|
|
158
191
|
sync: SyncNS;
|
|
@@ -168,6 +201,20 @@ export declare class AccountNS {
|
|
|
168
201
|
requestPasswordReset(data?: ComAtprotoAccountRequestPasswordReset.InputSchema, opts?: ComAtprotoAccountRequestPasswordReset.CallOptions): Promise<ComAtprotoAccountRequestPasswordReset.Response>;
|
|
169
202
|
resetPassword(data?: ComAtprotoAccountResetPassword.InputSchema, opts?: ComAtprotoAccountResetPassword.CallOptions): Promise<ComAtprotoAccountResetPassword.Response>;
|
|
170
203
|
}
|
|
204
|
+
export declare class AdminNS {
|
|
205
|
+
_service: ServiceClient;
|
|
206
|
+
constructor(service: ServiceClient);
|
|
207
|
+
getModerationAction(params?: ComAtprotoAdminGetModerationAction.QueryParams, opts?: ComAtprotoAdminGetModerationAction.CallOptions): Promise<ComAtprotoAdminGetModerationAction.Response>;
|
|
208
|
+
getModerationActions(params?: ComAtprotoAdminGetModerationActions.QueryParams, opts?: ComAtprotoAdminGetModerationActions.CallOptions): Promise<ComAtprotoAdminGetModerationActions.Response>;
|
|
209
|
+
getModerationReport(params?: ComAtprotoAdminGetModerationReport.QueryParams, opts?: ComAtprotoAdminGetModerationReport.CallOptions): Promise<ComAtprotoAdminGetModerationReport.Response>;
|
|
210
|
+
getModerationReports(params?: ComAtprotoAdminGetModerationReports.QueryParams, opts?: ComAtprotoAdminGetModerationReports.CallOptions): Promise<ComAtprotoAdminGetModerationReports.Response>;
|
|
211
|
+
getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
|
|
212
|
+
getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
|
|
213
|
+
resolveModerationReports(data?: ComAtprotoAdminResolveModerationReports.InputSchema, opts?: ComAtprotoAdminResolveModerationReports.CallOptions): Promise<ComAtprotoAdminResolveModerationReports.Response>;
|
|
214
|
+
reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>;
|
|
215
|
+
searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
|
|
216
|
+
takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
|
|
217
|
+
}
|
|
171
218
|
export declare class BlobNS {
|
|
172
219
|
_service: ServiceClient;
|
|
173
220
|
constructor(service: ServiceClient);
|
|
@@ -189,6 +236,11 @@ export declare class RepoNS {
|
|
|
189
236
|
listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
|
|
190
237
|
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
|
|
191
238
|
}
|
|
239
|
+
export declare class ReportNS {
|
|
240
|
+
_service: ServiceClient;
|
|
241
|
+
constructor(service: ServiceClient);
|
|
242
|
+
create(data?: ComAtprotoReportCreate.InputSchema, opts?: ComAtprotoReportCreate.CallOptions): Promise<ComAtprotoReportCreate.Response>;
|
|
243
|
+
}
|
|
192
244
|
export declare class ServerNS {
|
|
193
245
|
_service: ServiceClient;
|
|
194
246
|
constructor(service: ServiceClient);
|
|
@@ -205,9 +257,11 @@ export declare class SessionNS {
|
|
|
205
257
|
export declare class SyncNS {
|
|
206
258
|
_service: ServiceClient;
|
|
207
259
|
constructor(service: ServiceClient);
|
|
260
|
+
getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>;
|
|
261
|
+
getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>;
|
|
262
|
+
getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>;
|
|
263
|
+
getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
|
|
208
264
|
getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
|
|
209
|
-
getRoot(params?: ComAtprotoSyncGetRoot.QueryParams, opts?: ComAtprotoSyncGetRoot.CallOptions): Promise<ComAtprotoSyncGetRoot.Response>;
|
|
210
|
-
updateRepo(data?: ComAtprotoSyncUpdateRepo.InputSchema, opts?: ComAtprotoSyncUpdateRepo.CallOptions): Promise<ComAtprotoSyncUpdateRepo.Response>;
|
|
211
265
|
}
|
|
212
266
|
export declare class AppNS {
|
|
213
267
|
_service: ServiceClient;
|
|
@@ -228,7 +282,6 @@ export declare class ActorNS {
|
|
|
228
282
|
_service: ServiceClient;
|
|
229
283
|
profile: ProfileRecord;
|
|
230
284
|
constructor(service: ServiceClient);
|
|
231
|
-
createScene(data?: AppBskyActorCreateScene.InputSchema, opts?: AppBskyActorCreateScene.CallOptions): Promise<AppBskyActorCreateScene.Response>;
|
|
232
285
|
getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
|
|
233
286
|
getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
|
|
234
287
|
search(params?: AppBskyActorSearch.QueryParams, opts?: AppBskyActorSearch.CallOptions): Promise<AppBskyActorSearch.Response>;
|
|
@@ -264,7 +317,6 @@ export declare class FeedNS {
|
|
|
264
317
|
_service: ServiceClient;
|
|
265
318
|
post: PostRecord;
|
|
266
319
|
repost: RepostRecord;
|
|
267
|
-
trend: TrendRecord;
|
|
268
320
|
vote: VoteRecord;
|
|
269
321
|
constructor(service: ServiceClient);
|
|
270
322
|
getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
|
|
@@ -316,27 +368,6 @@ export declare class RepostRecord {
|
|
|
316
368
|
}>;
|
|
317
369
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
318
370
|
}
|
|
319
|
-
export declare class TrendRecord {
|
|
320
|
-
_service: ServiceClient;
|
|
321
|
-
constructor(service: ServiceClient);
|
|
322
|
-
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
323
|
-
cursor?: string;
|
|
324
|
-
records: {
|
|
325
|
-
uri: string;
|
|
326
|
-
value: AppBskyFeedTrend.Record;
|
|
327
|
-
}[];
|
|
328
|
-
}>;
|
|
329
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
330
|
-
uri: string;
|
|
331
|
-
cid: string;
|
|
332
|
-
value: AppBskyFeedTrend.Record;
|
|
333
|
-
}>;
|
|
334
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedTrend.Record, headers?: Record<string, string>): Promise<{
|
|
335
|
-
uri: string;
|
|
336
|
-
cid: string;
|
|
337
|
-
}>;
|
|
338
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
339
|
-
}
|
|
340
371
|
export declare class VoteRecord {
|
|
341
372
|
_service: ServiceClient;
|
|
342
373
|
constructor(service: ServiceClient);
|
|
@@ -364,11 +395,8 @@ export declare class GraphNS {
|
|
|
364
395
|
confirmation: ConfirmationRecord;
|
|
365
396
|
follow: FollowRecord;
|
|
366
397
|
constructor(service: ServiceClient);
|
|
367
|
-
getAssertions(params?: AppBskyGraphGetAssertions.QueryParams, opts?: AppBskyGraphGetAssertions.CallOptions): Promise<AppBskyGraphGetAssertions.Response>;
|
|
368
398
|
getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
|
|
369
399
|
getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
|
|
370
|
-
getMembers(params?: AppBskyGraphGetMembers.QueryParams, opts?: AppBskyGraphGetMembers.CallOptions): Promise<AppBskyGraphGetMembers.Response>;
|
|
371
|
-
getMemberships(params?: AppBskyGraphGetMemberships.QueryParams, opts?: AppBskyGraphGetMemberships.CallOptions): Promise<AppBskyGraphGetMemberships.Response>;
|
|
372
400
|
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
|
|
373
401
|
mute(data?: AppBskyGraphMute.InputSchema, opts?: AppBskyGraphMute.CallOptions): Promise<AppBskyGraphMute.Response>;
|
|
374
402
|
unmute(data?: AppBskyGraphUnmute.InputSchema, opts?: AppBskyGraphUnmute.CallOptions): Promise<AppBskyGraphUnmute.Response>;
|