@atproto/api 0.1.3 → 0.2.1
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/README.md +179 -25
- package/build.js +2 -1
- package/dist/agent.d.ts +11 -6
- package/dist/bsky-agent.d.ts +43 -0
- package/dist/client/index.d.ts +117 -215
- package/dist/client/lexicons.d.ts +1447 -1401
- package/dist/client/types/app/bsky/actor/defs.d.ts +47 -0
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -2
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +2 -2
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +2 -2
- package/dist/client/types/app/bsky/actor/profile.d.ts +4 -60
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/embed/complexRecord.d.ts +24 -0
- package/dist/client/types/app/bsky/embed/external.d.ts +9 -13
- package/dist/client/types/app/bsky/embed/images.d.ts +9 -13
- package/dist/client/types/app/bsky/embed/post.d.ts +33 -0
- package/dist/client/types/app/bsky/embed/record.d.ts +21 -13
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +24 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts +77 -0
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +4 -4
- package/dist/client/types/app/bsky/{graph/getMembers.d.ts → feed/getLikes.d.ts} +12 -14
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +2 -24
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +3 -3
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +3 -3
- package/dist/client/types/app/bsky/feed/post.d.ts +4 -29
- package/dist/client/types/app/bsky/graph/follow.d.ts +1 -2
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +5 -5
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +5 -5
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +3 -3
- package/dist/client/types/app/bsky/{notification/updateSeen.d.ts → graph/muteActor.d.ts} +1 -1
- package/dist/client/types/app/bsky/graph/unmuteActor.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +17 -0
- package/dist/client/types/app/bsky/{graph/getMemberships.d.ts → notification/listNotifications.d.ts} +13 -14
- package/dist/client/types/app/bsky/richtext/facet.d.ts +30 -0
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +21 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +181 -0
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +3 -3
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +3 -3
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +3 -3
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +5 -6
- package/dist/client/types/com/atproto/{sync/getHead.d.ts → identity/resolveHandle.d.ts} +2 -2
- package/dist/client/types/com/atproto/identity/updateHandle.d.ts +17 -0
- package/dist/client/types/com/atproto/moderation/createReport.d.ts +38 -0
- package/dist/client/types/com/atproto/moderation/defs.d.ts +3 -0
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts +47 -0
- package/dist/client/types/com/atproto/repo/createRecord.d.ts +7 -2
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +7 -2
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts +22 -0
- package/dist/client/types/com/atproto/repo/getRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/listRecords.d.ts +3 -3
- package/dist/client/types/com/atproto/repo/putRecord.d.ts +7 -2
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts +20 -0
- package/dist/client/types/{app/bsky/actor/createScene.d.ts → com/atproto/server/createAccount.d.ts} +14 -2
- package/dist/client/types/com/atproto/server/createInviteCode.d.ts +22 -0
- package/dist/client/types/com/atproto/server/createSession.d.ts +29 -0
- package/dist/client/types/com/atproto/server/deleteAccount.d.ts +25 -0
- package/dist/client/types/com/atproto/{sync/getRecord.d.ts → server/deleteSession.d.ts} +1 -5
- package/dist/client/types/com/atproto/server/describeServer.d.ts +27 -0
- package/dist/client/types/com/atproto/{sync/getRoot.d.ts → server/getSession.d.ts} +2 -2
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +24 -0
- package/dist/client/types/com/atproto/{sync/updateRepo.d.ts → server/requestAccountDelete.d.ts} +1 -3
- package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts +17 -0
- package/dist/client/types/com/atproto/server/resetPassword.d.ts +24 -0
- package/dist/client/types/com/atproto/sync/{getCheckout.d.ts → getBlob.d.ts} +1 -1
- package/dist/client/types/com/atproto/sync/{getCommitPath.d.ts → listBlobs.d.ts} +1 -1
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +1 -0
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +9 -1
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +58 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8055 -3651
- package/dist/index.js.map +4 -4
- package/dist/rich-text/detection.d.ts +4 -0
- package/dist/rich-text/rich-text.d.ts +39 -0
- package/dist/rich-text/sanitization.d.ts +4 -0
- package/dist/rich-text/unicode.d.ts +11 -0
- package/dist/types.d.ts +2 -2
- package/docs/rn-fetch-handler.ts +88 -0
- package/package.json +4 -1
- package/src/agent.ts +51 -15
- package/src/bsky-agent.ts +228 -0
- package/src/client/index.ts +330 -581
- package/src/client/lexicons.ts +1833 -1779
- package/src/client/types/app/bsky/actor/defs.ts +97 -0
- package/src/client/types/app/bsky/actor/getProfile.ts +4 -3
- package/src/client/types/app/bsky/actor/getProfiles.ts +4 -3
- package/src/client/types/app/bsky/actor/getSuggestions.ts +4 -3
- package/src/client/types/app/bsky/actor/profile.ts +5 -95
- package/src/client/types/app/bsky/actor/{searchTypeahead.ts → searchActors.ts} +6 -3
- package/src/client/types/app/bsky/actor/{search.ts → searchActorsTypeahead.ts} +4 -5
- package/src/client/types/app/bsky/embed/external.ts +14 -13
- package/src/client/types/app/bsky/embed/images.ts +14 -15
- package/src/client/types/app/bsky/embed/record.ts +32 -25
- package/src/client/types/app/bsky/embed/recordWithMedia.ts +53 -0
- package/src/client/types/app/bsky/feed/defs.ts +156 -0
- package/src/client/types/app/bsky/feed/getAuthorFeed.ts +6 -5
- package/src/client/types/app/bsky/feed/{getVotes.ts → getLikes.ts} +11 -12
- package/src/client/types/app/bsky/feed/getPostThread.ts +5 -48
- package/src/client/types/app/bsky/feed/getRepostedBy.ts +5 -4
- package/src/client/types/app/bsky/feed/getTimeline.ts +5 -4
- package/src/client/types/app/bsky/feed/{vote.ts → like.ts} +4 -4
- package/src/client/types/app/bsky/feed/post.ts +10 -52
- package/src/client/types/app/bsky/feed/repost.ts +2 -1
- package/src/client/types/app/bsky/graph/follow.ts +3 -3
- package/src/client/types/app/bsky/graph/getFollowers.ts +7 -6
- package/src/client/types/app/bsky/graph/getFollows.ts +7 -6
- package/src/client/types/app/bsky/graph/getMutes.ts +5 -4
- package/src/client/types/app/bsky/graph/{mute.ts → muteActor.ts} +3 -2
- package/src/client/types/app/bsky/graph/{unmute.ts → unmuteActor.ts} +3 -2
- package/src/client/types/app/bsky/notification/{getCount.ts → getUnreadCount.ts} +2 -1
- package/src/client/types/app/bsky/notification/{list.ts → listNotifications.ts} +13 -9
- package/src/client/types/app/bsky/notification/updateSeen.ts +2 -1
- package/src/client/types/app/bsky/richtext/facet.ts +81 -0
- package/src/client/types/app/bsky/unspecced/getPopular.ts +38 -0
- package/src/client/types/com/atproto/admin/defs.ts +366 -0
- package/src/client/types/com/atproto/admin/getModerationAction.ts +4 -3
- package/src/client/types/com/atproto/admin/getModerationActions.ts +5 -4
- package/src/client/types/com/atproto/admin/getModerationReport.ts +4 -3
- package/src/client/types/com/atproto/admin/getModerationReports.ts +5 -4
- package/src/client/types/com/atproto/admin/getRecord.ts +4 -3
- package/src/client/types/com/atproto/admin/getRepo.ts +4 -3
- package/src/client/types/com/atproto/admin/resolveModerationReports.ts +4 -3
- package/src/client/types/com/atproto/admin/reverseModerationAction.ts +4 -3
- package/src/client/types/com/atproto/admin/searchRepos.ts +5 -4
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +10 -10
- package/src/client/types/com/atproto/{handle/resolve.ts → identity/resolveHandle.ts} +2 -1
- package/src/client/types/com/atproto/{handle/update.ts → identity/updateHandle.ts} +2 -1
- package/src/client/types/com/atproto/{report/create.ts → moderation/createReport.ts} +10 -10
- package/src/client/types/com/atproto/moderation/defs.ts +17 -0
- package/src/client/types/com/atproto/repo/{batchWrite.ts → applyWrites.ts} +21 -12
- package/src/client/types/com/atproto/repo/createRecord.ts +15 -3
- package/src/client/types/com/atproto/repo/deleteRecord.ts +15 -3
- package/src/client/types/com/atproto/repo/{describe.ts → describeRepo.ts} +3 -2
- package/src/client/types/com/atproto/repo/getRecord.ts +4 -3
- package/src/client/types/com/atproto/repo/listRecords.ts +7 -6
- package/src/client/types/com/atproto/repo/putRecord.ts +18 -6
- package/src/client/types/com/atproto/repo/strongRef.ts +2 -1
- package/src/client/types/com/atproto/{blob/upload.ts → repo/uploadBlob.ts} +3 -2
- package/src/client/types/com/atproto/{account/create.ts → server/createAccount.ts} +9 -1
- package/src/client/types/com/atproto/{account → server}/createInviteCode.ts +2 -1
- package/src/client/types/com/atproto/{session/create.ts → server/createSession.ts} +2 -1
- package/src/client/types/com/atproto/{account/delete.ts → server/deleteAccount.ts} +2 -1
- package/src/client/types/com/atproto/{account/requestDelete.ts → server/deleteSession.ts} +2 -1
- package/src/client/types/com/atproto/server/{getAccountsConfig.ts → describeServer.ts} +4 -3
- package/src/client/types/com/atproto/{session/get.ts → server/getSession.ts} +2 -1
- package/src/client/types/com/atproto/{session/refresh.ts → server/refreshSession.ts} +2 -1
- package/src/client/types/com/atproto/{session/delete.ts → server/requestAccountDelete.ts} +2 -1
- package/src/client/types/com/atproto/{account → server}/requestPasswordReset.ts +2 -1
- package/src/client/types/com/atproto/{account → server}/resetPassword.ts +2 -1
- package/src/client/types/com/atproto/sync/getBlob.ts +33 -0
- package/src/client/types/com/atproto/sync/getBlocks.ts +2 -1
- package/src/client/types/com/atproto/sync/getCheckout.ts +2 -1
- package/src/client/types/com/atproto/sync/getCommitPath.ts +2 -1
- package/src/client/types/com/atproto/sync/getHead.ts +2 -1
- package/src/client/types/com/atproto/sync/getRecord.ts +2 -1
- package/src/client/types/com/atproto/sync/getRepo.ts +2 -1
- package/src/client/types/com/atproto/sync/listBlobs.ts +40 -0
- package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +6 -2
- package/src/client/types/com/atproto/sync/requestCrawl.ts +3 -2
- package/src/client/types/com/atproto/sync/subscribeRepos.ts +131 -0
- package/src/index.ts +12 -0
- package/src/rich-text/detection.ts +83 -0
- package/src/rich-text/rich-text.ts +401 -0
- package/src/rich-text/sanitization.ts +40 -0
- package/src/rich-text/unicode.ts +47 -0
- package/src/types.ts +2 -2
- package/tests/agent.test.ts +10 -6
- package/tests/bsky-agent.test.ts +140 -0
- package/tests/errors.test.ts +4 -4
- package/tests/rich-text-detection.test.ts +229 -0
- package/tests/rich-text-sanitization.test.ts +211 -0
- package/tests/rich-text.test.ts +661 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
- package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/client/types/com/atproto/repo/strongRef.d.ts +0 -8
- package/dist/client/util.d.ts +0 -2
- package/src/client/types/app/bsky/actor/ref.ts +0 -64
- package/src/client/types/app/bsky/actor/updateProfile.ts +0 -71
- package/src/client/types/app/bsky/feed/feedViewPost.ts +0 -64
- package/src/client/types/app/bsky/feed/setVote.ts +0 -40
- package/src/client/types/app/bsky/graph/assertCreator.ts +0 -9
- package/src/client/types/app/bsky/graph/assertMember.ts +0 -9
- package/src/client/types/app/bsky/graph/assertion.ts +0 -27
- package/src/client/types/app/bsky/graph/confirmation.ts +0 -28
- package/src/client/types/app/bsky/system/actorUser.ts +0 -9
- package/src/client/types/app/bsky/system/declRef.ts +0 -26
- package/src/client/types/app/bsky/system/declaration.ts +0 -24
- package/src/client/types/com/atproto/account/get.ts +0 -26
- package/src/client/types/com/atproto/admin/blob.ts +0 -84
- package/src/client/types/com/atproto/admin/moderationAction.ts +0 -118
- package/src/client/types/com/atproto/admin/moderationReport.ts +0 -64
- package/src/client/types/com/atproto/admin/record.ts +0 -92
- package/src/client/types/com/atproto/admin/repo.ts +0 -103
- package/src/client/types/com/atproto/repo/recordRef.ts +0 -25
- package/src/client/types/com/atproto/repo/repoRef.ts +0 -24
- package/src/client/types/com/atproto/report/reasonType.ts +0 -16
- package/src/client/types/com/atproto/report/subject.ts +0 -66
- package/src/client/types/com/atproto/sync/subscribeAllRepos.ts +0 -7
- /package/dist/client/types/app/bsky/feed/{repost.d.ts → like.d.ts} +0 -0
package/dist/client/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAccountCreate from './types/com/atproto/account/create';
|
|
3
|
-
import * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
4
|
-
import * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
5
|
-
import * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
6
|
-
import * as ComAtprotoAccountRequestDelete from './types/com/atproto/account/requestDelete';
|
|
7
|
-
import * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
8
|
-
import * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
9
2
|
import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
10
3
|
import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
11
4
|
import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
@@ -16,162 +9,147 @@ import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/ad
|
|
|
16
9
|
import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
17
10
|
import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
18
11
|
import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
12
|
+
import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
|
|
13
|
+
import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
|
|
14
|
+
import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport';
|
|
15
|
+
import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites';
|
|
23
16
|
import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
24
17
|
import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
25
|
-
import * as
|
|
18
|
+
import * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo';
|
|
26
19
|
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
27
20
|
import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
28
21
|
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
22
|
+
import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
|
|
23
|
+
import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
|
|
24
|
+
import * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
|
|
25
|
+
import * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession';
|
|
26
|
+
import * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount';
|
|
27
|
+
import * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession';
|
|
28
|
+
import * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer';
|
|
29
|
+
import * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession';
|
|
30
|
+
import * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession';
|
|
31
|
+
import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete';
|
|
32
|
+
import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
|
|
33
|
+
import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
|
|
34
|
+
import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob';
|
|
35
35
|
import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
|
|
36
36
|
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
37
37
|
import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
38
38
|
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
39
39
|
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
40
40
|
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
41
|
+
import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
|
|
41
42
|
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
|
|
42
43
|
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
|
|
43
44
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
44
45
|
import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
45
46
|
import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
46
47
|
import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
47
|
-
import * as
|
|
48
|
-
import * as
|
|
49
|
-
import * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile';
|
|
48
|
+
import * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors';
|
|
49
|
+
import * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead';
|
|
50
50
|
import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
|
|
51
|
+
import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
|
|
51
52
|
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
52
53
|
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
53
54
|
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
54
|
-
import * as
|
|
55
|
+
import * as AppBskyFeedLike from './types/app/bsky/feed/like';
|
|
55
56
|
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
56
57
|
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
57
|
-
import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
58
|
-
import * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
59
|
-
import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
60
|
-
import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
61
58
|
import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
62
59
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
63
60
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
64
61
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
65
|
-
import * as
|
|
66
|
-
import * as
|
|
67
|
-
import * as
|
|
68
|
-
import * as
|
|
62
|
+
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
|
|
63
|
+
import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor';
|
|
64
|
+
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';
|
|
65
|
+
import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
69
66
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
70
|
-
import * as
|
|
71
|
-
export * as
|
|
72
|
-
export * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
73
|
-
export * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
74
|
-
export * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
75
|
-
export * as ComAtprotoAccountRequestDelete from './types/com/atproto/account/requestDelete';
|
|
76
|
-
export * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
77
|
-
export * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
78
|
-
export * as ComAtprotoAdminBlob from './types/com/atproto/admin/blob';
|
|
67
|
+
import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
|
|
68
|
+
export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
|
|
79
69
|
export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
80
70
|
export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
81
71
|
export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
82
72
|
export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
83
73
|
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
84
74
|
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
85
|
-
export * as ComAtprotoAdminModerationAction from './types/com/atproto/admin/moderationAction';
|
|
86
|
-
export * as ComAtprotoAdminModerationReport from './types/com/atproto/admin/moderationReport';
|
|
87
|
-
export * as ComAtprotoAdminRecord from './types/com/atproto/admin/record';
|
|
88
|
-
export * as ComAtprotoAdminRepo from './types/com/atproto/admin/repo';
|
|
89
75
|
export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
90
76
|
export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
91
77
|
export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
92
78
|
export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
93
|
-
export * as
|
|
94
|
-
export * as
|
|
95
|
-
export * as
|
|
96
|
-
export * as
|
|
79
|
+
export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
|
|
80
|
+
export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
|
|
81
|
+
export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport';
|
|
82
|
+
export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs';
|
|
83
|
+
export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites';
|
|
97
84
|
export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
98
85
|
export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
99
|
-
export * as
|
|
86
|
+
export * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo';
|
|
100
87
|
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
101
88
|
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
102
89
|
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
103
|
-
export * as ComAtprotoRepoRecordRef from './types/com/atproto/repo/recordRef';
|
|
104
|
-
export * as ComAtprotoRepoRepoRef from './types/com/atproto/repo/repoRef';
|
|
105
90
|
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
|
|
106
|
-
export * as
|
|
107
|
-
export * as
|
|
108
|
-
export * as
|
|
109
|
-
export * as
|
|
110
|
-
export * as
|
|
111
|
-
export * as
|
|
112
|
-
export * as
|
|
113
|
-
export * as
|
|
91
|
+
export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
|
|
92
|
+
export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
|
|
93
|
+
export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
|
|
94
|
+
export * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession';
|
|
95
|
+
export * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount';
|
|
96
|
+
export * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession';
|
|
97
|
+
export * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer';
|
|
98
|
+
export * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession';
|
|
99
|
+
export * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession';
|
|
100
|
+
export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete';
|
|
101
|
+
export * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
|
|
102
|
+
export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
|
|
103
|
+
export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob';
|
|
114
104
|
export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
|
|
115
105
|
export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
116
106
|
export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
117
107
|
export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
118
108
|
export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
119
109
|
export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
110
|
+
export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
|
|
120
111
|
export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
|
|
121
112
|
export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
|
|
122
|
-
export * as
|
|
113
|
+
export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos';
|
|
114
|
+
export * as AppBskyActorDefs from './types/app/bsky/actor/defs';
|
|
123
115
|
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
124
116
|
export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
125
117
|
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
126
118
|
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
127
|
-
export * as
|
|
128
|
-
export * as
|
|
129
|
-
export * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead';
|
|
130
|
-
export * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile';
|
|
119
|
+
export * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors';
|
|
120
|
+
export * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead';
|
|
131
121
|
export * as AppBskyEmbedExternal from './types/app/bsky/embed/external';
|
|
132
122
|
export * as AppBskyEmbedImages from './types/app/bsky/embed/images';
|
|
133
123
|
export * as AppBskyEmbedRecord from './types/app/bsky/embed/record';
|
|
134
|
-
export * as
|
|
124
|
+
export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia';
|
|
125
|
+
export * as AppBskyFeedDefs from './types/app/bsky/feed/defs';
|
|
135
126
|
export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
|
|
127
|
+
export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
|
|
136
128
|
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
137
129
|
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
138
130
|
export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
139
|
-
export * as
|
|
131
|
+
export * as AppBskyFeedLike from './types/app/bsky/feed/like';
|
|
140
132
|
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
141
133
|
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
142
|
-
export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
143
|
-
export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
144
|
-
export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
|
|
145
|
-
export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
|
|
146
|
-
export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
147
|
-
export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
148
134
|
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
149
135
|
export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
150
136
|
export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
151
137
|
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
152
|
-
export * as
|
|
153
|
-
export * as
|
|
154
|
-
export * as
|
|
155
|
-
export * as
|
|
138
|
+
export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
|
|
139
|
+
export * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor';
|
|
140
|
+
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';
|
|
141
|
+
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
156
142
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
157
|
-
export * as
|
|
158
|
-
export * as
|
|
159
|
-
export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
|
|
143
|
+
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet';
|
|
144
|
+
export * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
|
|
160
145
|
export declare const COM_ATPROTO_ADMIN: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
146
|
+
DefsTakedown: string;
|
|
147
|
+
DefsFlag: string;
|
|
148
|
+
DefsAcknowledge: string;
|
|
164
149
|
};
|
|
165
|
-
export declare const
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
};
|
|
169
|
-
export declare const APP_BSKY_GRAPH: {
|
|
170
|
-
AssertCreator: string;
|
|
171
|
-
AssertMember: string;
|
|
172
|
-
};
|
|
173
|
-
export declare const APP_BSKY_SYSTEM: {
|
|
174
|
-
ActorUser: string;
|
|
150
|
+
export declare const COM_ATPROTO_MODERATION: {
|
|
151
|
+
DefsReasonSpam: string;
|
|
152
|
+
DefsReasonOther: string;
|
|
175
153
|
};
|
|
176
154
|
export declare class AtpBaseClient {
|
|
177
155
|
xrpc: XrpcClient;
|
|
@@ -193,28 +171,14 @@ export declare class ComNS {
|
|
|
193
171
|
}
|
|
194
172
|
export declare class AtprotoNS {
|
|
195
173
|
_service: AtpServiceClient;
|
|
196
|
-
account: AccountNS;
|
|
197
174
|
admin: AdminNS;
|
|
198
|
-
|
|
199
|
-
|
|
175
|
+
identity: IdentityNS;
|
|
176
|
+
moderation: ModerationNS;
|
|
200
177
|
repo: RepoNS;
|
|
201
|
-
report: ReportNS;
|
|
202
178
|
server: ServerNS;
|
|
203
|
-
session: SessionNS;
|
|
204
179
|
sync: SyncNS;
|
|
205
180
|
constructor(service: AtpServiceClient);
|
|
206
181
|
}
|
|
207
|
-
export declare class AccountNS {
|
|
208
|
-
_service: AtpServiceClient;
|
|
209
|
-
constructor(service: AtpServiceClient);
|
|
210
|
-
create(data?: ComAtprotoAccountCreate.InputSchema, opts?: ComAtprotoAccountCreate.CallOptions): Promise<ComAtprotoAccountCreate.Response>;
|
|
211
|
-
createInviteCode(data?: ComAtprotoAccountCreateInviteCode.InputSchema, opts?: ComAtprotoAccountCreateInviteCode.CallOptions): Promise<ComAtprotoAccountCreateInviteCode.Response>;
|
|
212
|
-
delete(data?: ComAtprotoAccountDelete.InputSchema, opts?: ComAtprotoAccountDelete.CallOptions): Promise<ComAtprotoAccountDelete.Response>;
|
|
213
|
-
get(params?: ComAtprotoAccountGet.QueryParams, opts?: ComAtprotoAccountGet.CallOptions): Promise<ComAtprotoAccountGet.Response>;
|
|
214
|
-
requestDelete(data?: ComAtprotoAccountRequestDelete.InputSchema, opts?: ComAtprotoAccountRequestDelete.CallOptions): Promise<ComAtprotoAccountRequestDelete.Response>;
|
|
215
|
-
requestPasswordReset(data?: ComAtprotoAccountRequestPasswordReset.InputSchema, opts?: ComAtprotoAccountRequestPasswordReset.CallOptions): Promise<ComAtprotoAccountRequestPasswordReset.Response>;
|
|
216
|
-
resetPassword(data?: ComAtprotoAccountResetPassword.InputSchema, opts?: ComAtprotoAccountResetPassword.CallOptions): Promise<ComAtprotoAccountResetPassword.Response>;
|
|
217
|
-
}
|
|
218
182
|
export declare class AdminNS {
|
|
219
183
|
_service: AtpServiceClient;
|
|
220
184
|
constructor(service: AtpServiceClient);
|
|
@@ -229,55 +193,55 @@ export declare class AdminNS {
|
|
|
229
193
|
searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
|
|
230
194
|
takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
|
|
231
195
|
}
|
|
232
|
-
export declare class
|
|
196
|
+
export declare class IdentityNS {
|
|
233
197
|
_service: AtpServiceClient;
|
|
234
198
|
constructor(service: AtpServiceClient);
|
|
235
|
-
|
|
199
|
+
resolveHandle(params?: ComAtprotoIdentityResolveHandle.QueryParams, opts?: ComAtprotoIdentityResolveHandle.CallOptions): Promise<ComAtprotoIdentityResolveHandle.Response>;
|
|
200
|
+
updateHandle(data?: ComAtprotoIdentityUpdateHandle.InputSchema, opts?: ComAtprotoIdentityUpdateHandle.CallOptions): Promise<ComAtprotoIdentityUpdateHandle.Response>;
|
|
236
201
|
}
|
|
237
|
-
export declare class
|
|
202
|
+
export declare class ModerationNS {
|
|
238
203
|
_service: AtpServiceClient;
|
|
239
204
|
constructor(service: AtpServiceClient);
|
|
240
|
-
|
|
241
|
-
update(data?: ComAtprotoHandleUpdate.InputSchema, opts?: ComAtprotoHandleUpdate.CallOptions): Promise<ComAtprotoHandleUpdate.Response>;
|
|
205
|
+
createReport(data?: ComAtprotoModerationCreateReport.InputSchema, opts?: ComAtprotoModerationCreateReport.CallOptions): Promise<ComAtprotoModerationCreateReport.Response>;
|
|
242
206
|
}
|
|
243
207
|
export declare class RepoNS {
|
|
244
208
|
_service: AtpServiceClient;
|
|
245
209
|
constructor(service: AtpServiceClient);
|
|
246
|
-
|
|
210
|
+
applyWrites(data?: ComAtprotoRepoApplyWrites.InputSchema, opts?: ComAtprotoRepoApplyWrites.CallOptions): Promise<ComAtprotoRepoApplyWrites.Response>;
|
|
247
211
|
createRecord(data?: ComAtprotoRepoCreateRecord.InputSchema, opts?: ComAtprotoRepoCreateRecord.CallOptions): Promise<ComAtprotoRepoCreateRecord.Response>;
|
|
248
212
|
deleteRecord(data?: ComAtprotoRepoDeleteRecord.InputSchema, opts?: ComAtprotoRepoDeleteRecord.CallOptions): Promise<ComAtprotoRepoDeleteRecord.Response>;
|
|
249
|
-
|
|
213
|
+
describeRepo(params?: ComAtprotoRepoDescribeRepo.QueryParams, opts?: ComAtprotoRepoDescribeRepo.CallOptions): Promise<ComAtprotoRepoDescribeRepo.Response>;
|
|
250
214
|
getRecord(params?: ComAtprotoRepoGetRecord.QueryParams, opts?: ComAtprotoRepoGetRecord.CallOptions): Promise<ComAtprotoRepoGetRecord.Response>;
|
|
251
215
|
listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
|
|
252
216
|
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
|
|
253
|
-
|
|
254
|
-
export declare class ReportNS {
|
|
255
|
-
_service: AtpServiceClient;
|
|
256
|
-
constructor(service: AtpServiceClient);
|
|
257
|
-
create(data?: ComAtprotoReportCreate.InputSchema, opts?: ComAtprotoReportCreate.CallOptions): Promise<ComAtprotoReportCreate.Response>;
|
|
217
|
+
uploadBlob(data?: ComAtprotoRepoUploadBlob.InputSchema, opts?: ComAtprotoRepoUploadBlob.CallOptions): Promise<ComAtprotoRepoUploadBlob.Response>;
|
|
258
218
|
}
|
|
259
219
|
export declare class ServerNS {
|
|
260
220
|
_service: AtpServiceClient;
|
|
261
221
|
constructor(service: AtpServiceClient);
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
222
|
+
createAccount(data?: ComAtprotoServerCreateAccount.InputSchema, opts?: ComAtprotoServerCreateAccount.CallOptions): Promise<ComAtprotoServerCreateAccount.Response>;
|
|
223
|
+
createInviteCode(data?: ComAtprotoServerCreateInviteCode.InputSchema, opts?: ComAtprotoServerCreateInviteCode.CallOptions): Promise<ComAtprotoServerCreateInviteCode.Response>;
|
|
224
|
+
createSession(data?: ComAtprotoServerCreateSession.InputSchema, opts?: ComAtprotoServerCreateSession.CallOptions): Promise<ComAtprotoServerCreateSession.Response>;
|
|
225
|
+
deleteAccount(data?: ComAtprotoServerDeleteAccount.InputSchema, opts?: ComAtprotoServerDeleteAccount.CallOptions): Promise<ComAtprotoServerDeleteAccount.Response>;
|
|
226
|
+
deleteSession(data?: ComAtprotoServerDeleteSession.InputSchema, opts?: ComAtprotoServerDeleteSession.CallOptions): Promise<ComAtprotoServerDeleteSession.Response>;
|
|
227
|
+
describeServer(params?: ComAtprotoServerDescribeServer.QueryParams, opts?: ComAtprotoServerDescribeServer.CallOptions): Promise<ComAtprotoServerDescribeServer.Response>;
|
|
228
|
+
getSession(params?: ComAtprotoServerGetSession.QueryParams, opts?: ComAtprotoServerGetSession.CallOptions): Promise<ComAtprotoServerGetSession.Response>;
|
|
229
|
+
refreshSession(data?: ComAtprotoServerRefreshSession.InputSchema, opts?: ComAtprotoServerRefreshSession.CallOptions): Promise<ComAtprotoServerRefreshSession.Response>;
|
|
230
|
+
requestAccountDelete(data?: ComAtprotoServerRequestAccountDelete.InputSchema, opts?: ComAtprotoServerRequestAccountDelete.CallOptions): Promise<ComAtprotoServerRequestAccountDelete.Response>;
|
|
231
|
+
requestPasswordReset(data?: ComAtprotoServerRequestPasswordReset.InputSchema, opts?: ComAtprotoServerRequestPasswordReset.CallOptions): Promise<ComAtprotoServerRequestPasswordReset.Response>;
|
|
232
|
+
resetPassword(data?: ComAtprotoServerResetPassword.InputSchema, opts?: ComAtprotoServerResetPassword.CallOptions): Promise<ComAtprotoServerResetPassword.Response>;
|
|
271
233
|
}
|
|
272
234
|
export declare class SyncNS {
|
|
273
235
|
_service: AtpServiceClient;
|
|
274
236
|
constructor(service: AtpServiceClient);
|
|
237
|
+
getBlob(params?: ComAtprotoSyncGetBlob.QueryParams, opts?: ComAtprotoSyncGetBlob.CallOptions): Promise<ComAtprotoSyncGetBlob.Response>;
|
|
275
238
|
getBlocks(params?: ComAtprotoSyncGetBlocks.QueryParams, opts?: ComAtprotoSyncGetBlocks.CallOptions): Promise<ComAtprotoSyncGetBlocks.Response>;
|
|
276
239
|
getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>;
|
|
277
240
|
getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>;
|
|
278
241
|
getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>;
|
|
279
242
|
getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
|
|
280
243
|
getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
|
|
244
|
+
listBlobs(params?: ComAtprotoSyncListBlobs.QueryParams, opts?: ComAtprotoSyncListBlobs.CallOptions): Promise<ComAtprotoSyncListBlobs.Response>;
|
|
281
245
|
notifyOfUpdate(params?: ComAtprotoSyncNotifyOfUpdate.QueryParams, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions): Promise<ComAtprotoSyncNotifyOfUpdate.Response>;
|
|
282
246
|
requestCrawl(params?: ComAtprotoSyncRequestCrawl.QueryParams, opts?: ComAtprotoSyncRequestCrawl.CallOptions): Promise<ComAtprotoSyncRequestCrawl.Response>;
|
|
283
247
|
}
|
|
@@ -293,7 +257,8 @@ export declare class BskyNS {
|
|
|
293
257
|
feed: FeedNS;
|
|
294
258
|
graph: GraphNS;
|
|
295
259
|
notification: NotificationNS;
|
|
296
|
-
|
|
260
|
+
richtext: RichtextNS;
|
|
261
|
+
unspecced: UnspeccedNS;
|
|
297
262
|
constructor(service: AtpServiceClient);
|
|
298
263
|
}
|
|
299
264
|
export declare class ActorNS {
|
|
@@ -303,9 +268,8 @@ export declare class ActorNS {
|
|
|
303
268
|
getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
|
|
304
269
|
getProfiles(params?: AppBskyActorGetProfiles.QueryParams, opts?: AppBskyActorGetProfiles.CallOptions): Promise<AppBskyActorGetProfiles.Response>;
|
|
305
270
|
getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
updateProfile(data?: AppBskyActorUpdateProfile.InputSchema, opts?: AppBskyActorUpdateProfile.CallOptions): Promise<AppBskyActorUpdateProfile.Response>;
|
|
271
|
+
searchActors(params?: AppBskyActorSearchActors.QueryParams, opts?: AppBskyActorSearchActors.CallOptions): Promise<AppBskyActorSearchActors.Response>;
|
|
272
|
+
searchActorsTypeahead(params?: AppBskyActorSearchActorsTypeahead.QueryParams, opts?: AppBskyActorSearchActorsTypeahead.CallOptions): Promise<AppBskyActorSearchActorsTypeahead.Response>;
|
|
309
273
|
}
|
|
310
274
|
export declare class ProfileRecord {
|
|
311
275
|
_service: AtpServiceClient;
|
|
@@ -334,75 +298,74 @@ export declare class EmbedNS {
|
|
|
334
298
|
}
|
|
335
299
|
export declare class FeedNS {
|
|
336
300
|
_service: AtpServiceClient;
|
|
301
|
+
like: LikeRecord;
|
|
337
302
|
post: PostRecord;
|
|
338
303
|
repost: RepostRecord;
|
|
339
|
-
vote: VoteRecord;
|
|
340
304
|
constructor(service: AtpServiceClient);
|
|
341
305
|
getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
|
|
306
|
+
getLikes(params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions): Promise<AppBskyFeedGetLikes.Response>;
|
|
342
307
|
getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
|
|
343
308
|
getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
|
|
344
309
|
getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>;
|
|
345
|
-
getVotes(params?: AppBskyFeedGetVotes.QueryParams, opts?: AppBskyFeedGetVotes.CallOptions): Promise<AppBskyFeedGetVotes.Response>;
|
|
346
|
-
setVote(data?: AppBskyFeedSetVote.InputSchema, opts?: AppBskyFeedSetVote.CallOptions): Promise<AppBskyFeedSetVote.Response>;
|
|
347
310
|
}
|
|
348
|
-
export declare class
|
|
311
|
+
export declare class LikeRecord {
|
|
349
312
|
_service: AtpServiceClient;
|
|
350
313
|
constructor(service: AtpServiceClient);
|
|
351
314
|
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
352
315
|
cursor?: string;
|
|
353
316
|
records: {
|
|
354
317
|
uri: string;
|
|
355
|
-
value:
|
|
318
|
+
value: AppBskyFeedLike.Record;
|
|
356
319
|
}[];
|
|
357
320
|
}>;
|
|
358
321
|
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
359
322
|
uri: string;
|
|
360
323
|
cid: string;
|
|
361
|
-
value:
|
|
324
|
+
value: AppBskyFeedLike.Record;
|
|
362
325
|
}>;
|
|
363
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record:
|
|
326
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedLike.Record, headers?: Record<string, string>): Promise<{
|
|
364
327
|
uri: string;
|
|
365
328
|
cid: string;
|
|
366
329
|
}>;
|
|
367
330
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
368
331
|
}
|
|
369
|
-
export declare class
|
|
332
|
+
export declare class PostRecord {
|
|
370
333
|
_service: AtpServiceClient;
|
|
371
334
|
constructor(service: AtpServiceClient);
|
|
372
335
|
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
373
336
|
cursor?: string;
|
|
374
337
|
records: {
|
|
375
338
|
uri: string;
|
|
376
|
-
value:
|
|
339
|
+
value: AppBskyFeedPost.Record;
|
|
377
340
|
}[];
|
|
378
341
|
}>;
|
|
379
342
|
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
380
343
|
uri: string;
|
|
381
344
|
cid: string;
|
|
382
|
-
value:
|
|
345
|
+
value: AppBskyFeedPost.Record;
|
|
383
346
|
}>;
|
|
384
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record:
|
|
347
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedPost.Record, headers?: Record<string, string>): Promise<{
|
|
385
348
|
uri: string;
|
|
386
349
|
cid: string;
|
|
387
350
|
}>;
|
|
388
351
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
389
352
|
}
|
|
390
|
-
export declare class
|
|
353
|
+
export declare class RepostRecord {
|
|
391
354
|
_service: AtpServiceClient;
|
|
392
355
|
constructor(service: AtpServiceClient);
|
|
393
356
|
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
394
357
|
cursor?: string;
|
|
395
358
|
records: {
|
|
396
359
|
uri: string;
|
|
397
|
-
value:
|
|
360
|
+
value: AppBskyFeedRepost.Record;
|
|
398
361
|
}[];
|
|
399
362
|
}>;
|
|
400
363
|
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
401
364
|
uri: string;
|
|
402
365
|
cid: string;
|
|
403
|
-
value:
|
|
366
|
+
value: AppBskyFeedRepost.Record;
|
|
404
367
|
}>;
|
|
405
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record:
|
|
368
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedRepost.Record, headers?: Record<string, string>): Promise<{
|
|
406
369
|
uri: string;
|
|
407
370
|
cid: string;
|
|
408
371
|
}>;
|
|
@@ -410,57 +373,13 @@ export declare class VoteRecord {
|
|
|
410
373
|
}
|
|
411
374
|
export declare class GraphNS {
|
|
412
375
|
_service: AtpServiceClient;
|
|
413
|
-
assertion: AssertionRecord;
|
|
414
|
-
confirmation: ConfirmationRecord;
|
|
415
376
|
follow: FollowRecord;
|
|
416
377
|
constructor(service: AtpServiceClient);
|
|
417
378
|
getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
|
|
418
379
|
getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
|
|
419
380
|
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
export declare class AssertionRecord {
|
|
424
|
-
_service: AtpServiceClient;
|
|
425
|
-
constructor(service: AtpServiceClient);
|
|
426
|
-
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
427
|
-
cursor?: string;
|
|
428
|
-
records: {
|
|
429
|
-
uri: string;
|
|
430
|
-
value: AppBskyGraphAssertion.Record;
|
|
431
|
-
}[];
|
|
432
|
-
}>;
|
|
433
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
434
|
-
uri: string;
|
|
435
|
-
cid: string;
|
|
436
|
-
value: AppBskyGraphAssertion.Record;
|
|
437
|
-
}>;
|
|
438
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphAssertion.Record, headers?: Record<string, string>): Promise<{
|
|
439
|
-
uri: string;
|
|
440
|
-
cid: string;
|
|
441
|
-
}>;
|
|
442
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
443
|
-
}
|
|
444
|
-
export declare class ConfirmationRecord {
|
|
445
|
-
_service: AtpServiceClient;
|
|
446
|
-
constructor(service: AtpServiceClient);
|
|
447
|
-
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
448
|
-
cursor?: string;
|
|
449
|
-
records: {
|
|
450
|
-
uri: string;
|
|
451
|
-
value: AppBskyGraphConfirmation.Record;
|
|
452
|
-
}[];
|
|
453
|
-
}>;
|
|
454
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
455
|
-
uri: string;
|
|
456
|
-
cid: string;
|
|
457
|
-
value: AppBskyGraphConfirmation.Record;
|
|
458
|
-
}>;
|
|
459
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphConfirmation.Record, headers?: Record<string, string>): Promise<{
|
|
460
|
-
uri: string;
|
|
461
|
-
cid: string;
|
|
462
|
-
}>;
|
|
463
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
381
|
+
muteActor(data?: AppBskyGraphMuteActor.InputSchema, opts?: AppBskyGraphMuteActor.CallOptions): Promise<AppBskyGraphMuteActor.Response>;
|
|
382
|
+
unmuteActor(data?: AppBskyGraphUnmuteActor.InputSchema, opts?: AppBskyGraphUnmuteActor.CallOptions): Promise<AppBskyGraphUnmuteActor.Response>;
|
|
464
383
|
}
|
|
465
384
|
export declare class FollowRecord {
|
|
466
385
|
_service: AtpServiceClient;
|
|
@@ -486,33 +405,16 @@ export declare class FollowRecord {
|
|
|
486
405
|
export declare class NotificationNS {
|
|
487
406
|
_service: AtpServiceClient;
|
|
488
407
|
constructor(service: AtpServiceClient);
|
|
489
|
-
|
|
490
|
-
|
|
408
|
+
getUnreadCount(params?: AppBskyNotificationGetUnreadCount.QueryParams, opts?: AppBskyNotificationGetUnreadCount.CallOptions): Promise<AppBskyNotificationGetUnreadCount.Response>;
|
|
409
|
+
listNotifications(params?: AppBskyNotificationListNotifications.QueryParams, opts?: AppBskyNotificationListNotifications.CallOptions): Promise<AppBskyNotificationListNotifications.Response>;
|
|
491
410
|
updateSeen(data?: AppBskyNotificationUpdateSeen.InputSchema, opts?: AppBskyNotificationUpdateSeen.CallOptions): Promise<AppBskyNotificationUpdateSeen.Response>;
|
|
492
411
|
}
|
|
493
|
-
export declare class
|
|
412
|
+
export declare class RichtextNS {
|
|
494
413
|
_service: AtpServiceClient;
|
|
495
|
-
declaration: DeclarationRecord;
|
|
496
414
|
constructor(service: AtpServiceClient);
|
|
497
415
|
}
|
|
498
|
-
export declare class
|
|
416
|
+
export declare class UnspeccedNS {
|
|
499
417
|
_service: AtpServiceClient;
|
|
500
418
|
constructor(service: AtpServiceClient);
|
|
501
|
-
|
|
502
|
-
cursor?: string;
|
|
503
|
-
records: {
|
|
504
|
-
uri: string;
|
|
505
|
-
value: AppBskySystemDeclaration.Record;
|
|
506
|
-
}[];
|
|
507
|
-
}>;
|
|
508
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
509
|
-
uri: string;
|
|
510
|
-
cid: string;
|
|
511
|
-
value: AppBskySystemDeclaration.Record;
|
|
512
|
-
}>;
|
|
513
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskySystemDeclaration.Record, headers?: Record<string, string>): Promise<{
|
|
514
|
-
uri: string;
|
|
515
|
-
cid: string;
|
|
516
|
-
}>;
|
|
517
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
419
|
+
getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
|
|
518
420
|
}
|