@atproto/api 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +179 -25
- package/build.js +10 -1
- package/dist/agent.d.ts +11 -6
- package/dist/bsky-agent.d.ts +43 -0
- package/dist/client/index.d.ts +127 -215
- package/dist/client/lexicons.d.ts +1496 -1347
- 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/actor/updateProfile.d.ts +4 -11
- 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/record.d.ts +41 -0
- 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/feed/getLikes.d.ts +34 -0
- 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/like.d.ts +9 -0
- package/dist/client/types/app/bsky/feed/post.d.ts +5 -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/graph/muteActor.d.ts +17 -0
- 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/notification/listNotifications.d.ts +35 -0
- 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/identity/resolveHandle.d.ts +18 -0
- 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/com/atproto/server/createAccount.d.ts +44 -0
- 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/server/deleteSession.d.ts +13 -0
- package/dist/client/types/com/atproto/server/describeServer.d.ts +27 -0
- package/dist/client/types/com/atproto/server/getSession.d.ts +18 -0
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +24 -0
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +13 -0
- 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/getBlob.d.ts +15 -0
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +15 -0
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +13 -0
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +13 -0
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +6 -17
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +58 -0
- package/dist/helpers/bsky.d.ts +20 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8222 -3608
- package/dist/index.js.map +4 -4
- package/dist/mixins/bsky.d.ts +23 -0
- 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/sanitize.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 +371 -581
- package/src/client/lexicons.ts +1920 -1746
- 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 +90 -0
- 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 +12 -51
- 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 +32 -0
- 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 +30 -0
- package/src/client/types/com/atproto/{account/get.ts → sync/requestCrawl.ts} +6 -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/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/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 -48
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,155 +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
|
+
import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
|
|
35
36
|
import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
36
37
|
import * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
37
38
|
import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
38
39
|
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
39
40
|
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
41
|
+
import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
|
|
42
|
+
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
|
|
43
|
+
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
|
|
40
44
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
41
45
|
import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
42
46
|
import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
43
47
|
import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
44
|
-
import * as
|
|
45
|
-
import * as
|
|
46
|
-
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';
|
|
47
50
|
import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
|
|
51
|
+
import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
|
|
48
52
|
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
49
53
|
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
50
54
|
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
51
|
-
import * as
|
|
55
|
+
import * as AppBskyFeedLike from './types/app/bsky/feed/like';
|
|
52
56
|
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
53
57
|
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
54
|
-
import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
55
|
-
import * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
56
|
-
import * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
57
|
-
import * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
58
58
|
import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
59
59
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
60
60
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
61
61
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
62
|
-
import * as
|
|
63
|
-
import * as
|
|
64
|
-
import * as
|
|
65
|
-
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';
|
|
66
66
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
67
|
-
import * as
|
|
68
|
-
export * as
|
|
69
|
-
export * as ComAtprotoAccountCreateInviteCode from './types/com/atproto/account/createInviteCode';
|
|
70
|
-
export * as ComAtprotoAccountDelete from './types/com/atproto/account/delete';
|
|
71
|
-
export * as ComAtprotoAccountGet from './types/com/atproto/account/get';
|
|
72
|
-
export * as ComAtprotoAccountRequestDelete from './types/com/atproto/account/requestDelete';
|
|
73
|
-
export * as ComAtprotoAccountRequestPasswordReset from './types/com/atproto/account/requestPasswordReset';
|
|
74
|
-
export * as ComAtprotoAccountResetPassword from './types/com/atproto/account/resetPassword';
|
|
75
|
-
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';
|
|
76
69
|
export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
77
70
|
export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
78
71
|
export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/getModerationReport';
|
|
79
72
|
export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
80
73
|
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
81
74
|
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
82
|
-
export * as ComAtprotoAdminModerationAction from './types/com/atproto/admin/moderationAction';
|
|
83
|
-
export * as ComAtprotoAdminModerationReport from './types/com/atproto/admin/moderationReport';
|
|
84
|
-
export * as ComAtprotoAdminRecord from './types/com/atproto/admin/record';
|
|
85
|
-
export * as ComAtprotoAdminRepo from './types/com/atproto/admin/repo';
|
|
86
75
|
export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
87
76
|
export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
88
77
|
export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
89
78
|
export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
90
|
-
export * as
|
|
91
|
-
export * as
|
|
92
|
-
export * as
|
|
93
|
-
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';
|
|
94
84
|
export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
95
85
|
export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
96
|
-
export * as
|
|
86
|
+
export * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo';
|
|
97
87
|
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
|
|
98
88
|
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
|
|
99
89
|
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
|
|
100
|
-
export * as ComAtprotoRepoRecordRef from './types/com/atproto/repo/recordRef';
|
|
101
|
-
export * as ComAtprotoRepoRepoRef from './types/com/atproto/repo/repoRef';
|
|
102
90
|
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
|
|
103
|
-
export * as
|
|
104
|
-
export * as
|
|
105
|
-
export * as
|
|
106
|
-
export * as
|
|
107
|
-
export * as
|
|
108
|
-
export * as
|
|
109
|
-
export * as
|
|
110
|
-
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';
|
|
104
|
+
export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
|
|
111
105
|
export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
|
|
112
106
|
export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommitPath';
|
|
113
107
|
export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
114
108
|
export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
115
109
|
export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
116
|
-
export * as
|
|
110
|
+
export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
|
|
111
|
+
export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
|
|
112
|
+
export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
|
|
113
|
+
export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos';
|
|
114
|
+
export * as AppBskyActorDefs from './types/app/bsky/actor/defs';
|
|
117
115
|
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
118
116
|
export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
119
117
|
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
120
118
|
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
121
|
-
export * as
|
|
122
|
-
export * as
|
|
123
|
-
export * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead';
|
|
124
|
-
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';
|
|
125
121
|
export * as AppBskyEmbedExternal from './types/app/bsky/embed/external';
|
|
126
122
|
export * as AppBskyEmbedImages from './types/app/bsky/embed/images';
|
|
127
|
-
export * as
|
|
123
|
+
export * as AppBskyEmbedRecord from './types/app/bsky/embed/record';
|
|
124
|
+
export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia';
|
|
125
|
+
export * as AppBskyFeedDefs from './types/app/bsky/feed/defs';
|
|
128
126
|
export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
|
|
127
|
+
export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
|
|
129
128
|
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
130
129
|
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
131
130
|
export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
132
|
-
export * as
|
|
131
|
+
export * as AppBskyFeedLike from './types/app/bsky/feed/like';
|
|
133
132
|
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
134
133
|
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
135
|
-
export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
|
|
136
|
-
export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
|
|
137
|
-
export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
|
|
138
|
-
export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
|
|
139
|
-
export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
|
|
140
|
-
export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
|
|
141
134
|
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
142
135
|
export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
143
136
|
export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
144
137
|
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
145
|
-
export * as
|
|
146
|
-
export * as
|
|
147
|
-
export * as
|
|
148
|
-
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';
|
|
149
142
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
150
|
-
export * as
|
|
151
|
-
export * as
|
|
152
|
-
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';
|
|
153
145
|
export declare const COM_ATPROTO_ADMIN: {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
146
|
+
DefsTakedown: string;
|
|
147
|
+
DefsFlag: string;
|
|
148
|
+
DefsAcknowledge: string;
|
|
157
149
|
};
|
|
158
|
-
export declare const
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
};
|
|
162
|
-
export declare const APP_BSKY_GRAPH: {
|
|
163
|
-
AssertCreator: string;
|
|
164
|
-
AssertMember: string;
|
|
165
|
-
};
|
|
166
|
-
export declare const APP_BSKY_SYSTEM: {
|
|
167
|
-
ActorUser: string;
|
|
150
|
+
export declare const COM_ATPROTO_MODERATION: {
|
|
151
|
+
DefsReasonSpam: string;
|
|
152
|
+
DefsReasonOther: string;
|
|
168
153
|
};
|
|
169
154
|
export declare class AtpBaseClient {
|
|
170
155
|
xrpc: XrpcClient;
|
|
@@ -186,28 +171,14 @@ export declare class ComNS {
|
|
|
186
171
|
}
|
|
187
172
|
export declare class AtprotoNS {
|
|
188
173
|
_service: AtpServiceClient;
|
|
189
|
-
account: AccountNS;
|
|
190
174
|
admin: AdminNS;
|
|
191
|
-
|
|
192
|
-
|
|
175
|
+
identity: IdentityNS;
|
|
176
|
+
moderation: ModerationNS;
|
|
193
177
|
repo: RepoNS;
|
|
194
|
-
report: ReportNS;
|
|
195
178
|
server: ServerNS;
|
|
196
|
-
session: SessionNS;
|
|
197
179
|
sync: SyncNS;
|
|
198
180
|
constructor(service: AtpServiceClient);
|
|
199
181
|
}
|
|
200
|
-
export declare class AccountNS {
|
|
201
|
-
_service: AtpServiceClient;
|
|
202
|
-
constructor(service: AtpServiceClient);
|
|
203
|
-
create(data?: ComAtprotoAccountCreate.InputSchema, opts?: ComAtprotoAccountCreate.CallOptions): Promise<ComAtprotoAccountCreate.Response>;
|
|
204
|
-
createInviteCode(data?: ComAtprotoAccountCreateInviteCode.InputSchema, opts?: ComAtprotoAccountCreateInviteCode.CallOptions): Promise<ComAtprotoAccountCreateInviteCode.Response>;
|
|
205
|
-
delete(data?: ComAtprotoAccountDelete.InputSchema, opts?: ComAtprotoAccountDelete.CallOptions): Promise<ComAtprotoAccountDelete.Response>;
|
|
206
|
-
get(params?: ComAtprotoAccountGet.QueryParams, opts?: ComAtprotoAccountGet.CallOptions): Promise<ComAtprotoAccountGet.Response>;
|
|
207
|
-
requestDelete(data?: ComAtprotoAccountRequestDelete.InputSchema, opts?: ComAtprotoAccountRequestDelete.CallOptions): Promise<ComAtprotoAccountRequestDelete.Response>;
|
|
208
|
-
requestPasswordReset(data?: ComAtprotoAccountRequestPasswordReset.InputSchema, opts?: ComAtprotoAccountRequestPasswordReset.CallOptions): Promise<ComAtprotoAccountRequestPasswordReset.Response>;
|
|
209
|
-
resetPassword(data?: ComAtprotoAccountResetPassword.InputSchema, opts?: ComAtprotoAccountResetPassword.CallOptions): Promise<ComAtprotoAccountResetPassword.Response>;
|
|
210
|
-
}
|
|
211
182
|
export declare class AdminNS {
|
|
212
183
|
_service: AtpServiceClient;
|
|
213
184
|
constructor(service: AtpServiceClient);
|
|
@@ -222,54 +193,57 @@ export declare class AdminNS {
|
|
|
222
193
|
searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
|
|
223
194
|
takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
|
|
224
195
|
}
|
|
225
|
-
export declare class
|
|
196
|
+
export declare class IdentityNS {
|
|
226
197
|
_service: AtpServiceClient;
|
|
227
198
|
constructor(service: AtpServiceClient);
|
|
228
|
-
|
|
199
|
+
resolveHandle(params?: ComAtprotoIdentityResolveHandle.QueryParams, opts?: ComAtprotoIdentityResolveHandle.CallOptions): Promise<ComAtprotoIdentityResolveHandle.Response>;
|
|
200
|
+
updateHandle(data?: ComAtprotoIdentityUpdateHandle.InputSchema, opts?: ComAtprotoIdentityUpdateHandle.CallOptions): Promise<ComAtprotoIdentityUpdateHandle.Response>;
|
|
229
201
|
}
|
|
230
|
-
export declare class
|
|
202
|
+
export declare class ModerationNS {
|
|
231
203
|
_service: AtpServiceClient;
|
|
232
204
|
constructor(service: AtpServiceClient);
|
|
233
|
-
|
|
234
|
-
update(data?: ComAtprotoHandleUpdate.InputSchema, opts?: ComAtprotoHandleUpdate.CallOptions): Promise<ComAtprotoHandleUpdate.Response>;
|
|
205
|
+
createReport(data?: ComAtprotoModerationCreateReport.InputSchema, opts?: ComAtprotoModerationCreateReport.CallOptions): Promise<ComAtprotoModerationCreateReport.Response>;
|
|
235
206
|
}
|
|
236
207
|
export declare class RepoNS {
|
|
237
208
|
_service: AtpServiceClient;
|
|
238
209
|
constructor(service: AtpServiceClient);
|
|
239
|
-
|
|
210
|
+
applyWrites(data?: ComAtprotoRepoApplyWrites.InputSchema, opts?: ComAtprotoRepoApplyWrites.CallOptions): Promise<ComAtprotoRepoApplyWrites.Response>;
|
|
240
211
|
createRecord(data?: ComAtprotoRepoCreateRecord.InputSchema, opts?: ComAtprotoRepoCreateRecord.CallOptions): Promise<ComAtprotoRepoCreateRecord.Response>;
|
|
241
212
|
deleteRecord(data?: ComAtprotoRepoDeleteRecord.InputSchema, opts?: ComAtprotoRepoDeleteRecord.CallOptions): Promise<ComAtprotoRepoDeleteRecord.Response>;
|
|
242
|
-
|
|
213
|
+
describeRepo(params?: ComAtprotoRepoDescribeRepo.QueryParams, opts?: ComAtprotoRepoDescribeRepo.CallOptions): Promise<ComAtprotoRepoDescribeRepo.Response>;
|
|
243
214
|
getRecord(params?: ComAtprotoRepoGetRecord.QueryParams, opts?: ComAtprotoRepoGetRecord.CallOptions): Promise<ComAtprotoRepoGetRecord.Response>;
|
|
244
215
|
listRecords(params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions): Promise<ComAtprotoRepoListRecords.Response>;
|
|
245
216
|
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
|
|
246
|
-
|
|
247
|
-
export declare class ReportNS {
|
|
248
|
-
_service: AtpServiceClient;
|
|
249
|
-
constructor(service: AtpServiceClient);
|
|
250
|
-
create(data?: ComAtprotoReportCreate.InputSchema, opts?: ComAtprotoReportCreate.CallOptions): Promise<ComAtprotoReportCreate.Response>;
|
|
217
|
+
uploadBlob(data?: ComAtprotoRepoUploadBlob.InputSchema, opts?: ComAtprotoRepoUploadBlob.CallOptions): Promise<ComAtprotoRepoUploadBlob.Response>;
|
|
251
218
|
}
|
|
252
219
|
export declare class ServerNS {
|
|
253
220
|
_service: AtpServiceClient;
|
|
254
221
|
constructor(service: AtpServiceClient);
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
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>;
|
|
264
233
|
}
|
|
265
234
|
export declare class SyncNS {
|
|
266
235
|
_service: AtpServiceClient;
|
|
267
236
|
constructor(service: AtpServiceClient);
|
|
237
|
+
getBlob(params?: ComAtprotoSyncGetBlob.QueryParams, opts?: ComAtprotoSyncGetBlob.CallOptions): Promise<ComAtprotoSyncGetBlob.Response>;
|
|
238
|
+
getBlocks(params?: ComAtprotoSyncGetBlocks.QueryParams, opts?: ComAtprotoSyncGetBlocks.CallOptions): Promise<ComAtprotoSyncGetBlocks.Response>;
|
|
268
239
|
getCheckout(params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions): Promise<ComAtprotoSyncGetCheckout.Response>;
|
|
269
240
|
getCommitPath(params?: ComAtprotoSyncGetCommitPath.QueryParams, opts?: ComAtprotoSyncGetCommitPath.CallOptions): Promise<ComAtprotoSyncGetCommitPath.Response>;
|
|
270
241
|
getHead(params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions): Promise<ComAtprotoSyncGetHead.Response>;
|
|
271
242
|
getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
|
|
272
243
|
getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
|
|
244
|
+
listBlobs(params?: ComAtprotoSyncListBlobs.QueryParams, opts?: ComAtprotoSyncListBlobs.CallOptions): Promise<ComAtprotoSyncListBlobs.Response>;
|
|
245
|
+
notifyOfUpdate(params?: ComAtprotoSyncNotifyOfUpdate.QueryParams, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions): Promise<ComAtprotoSyncNotifyOfUpdate.Response>;
|
|
246
|
+
requestCrawl(params?: ComAtprotoSyncRequestCrawl.QueryParams, opts?: ComAtprotoSyncRequestCrawl.CallOptions): Promise<ComAtprotoSyncRequestCrawl.Response>;
|
|
273
247
|
}
|
|
274
248
|
export declare class AppNS {
|
|
275
249
|
_service: AtpServiceClient;
|
|
@@ -283,7 +257,8 @@ export declare class BskyNS {
|
|
|
283
257
|
feed: FeedNS;
|
|
284
258
|
graph: GraphNS;
|
|
285
259
|
notification: NotificationNS;
|
|
286
|
-
|
|
260
|
+
richtext: RichtextNS;
|
|
261
|
+
unspecced: UnspeccedNS;
|
|
287
262
|
constructor(service: AtpServiceClient);
|
|
288
263
|
}
|
|
289
264
|
export declare class ActorNS {
|
|
@@ -293,9 +268,8 @@ export declare class ActorNS {
|
|
|
293
268
|
getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
|
|
294
269
|
getProfiles(params?: AppBskyActorGetProfiles.QueryParams, opts?: AppBskyActorGetProfiles.CallOptions): Promise<AppBskyActorGetProfiles.Response>;
|
|
295
270
|
getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
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>;
|
|
299
273
|
}
|
|
300
274
|
export declare class ProfileRecord {
|
|
301
275
|
_service: AtpServiceClient;
|
|
@@ -324,75 +298,74 @@ export declare class EmbedNS {
|
|
|
324
298
|
}
|
|
325
299
|
export declare class FeedNS {
|
|
326
300
|
_service: AtpServiceClient;
|
|
301
|
+
like: LikeRecord;
|
|
327
302
|
post: PostRecord;
|
|
328
303
|
repost: RepostRecord;
|
|
329
|
-
vote: VoteRecord;
|
|
330
304
|
constructor(service: AtpServiceClient);
|
|
331
305
|
getAuthorFeed(params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions): Promise<AppBskyFeedGetAuthorFeed.Response>;
|
|
306
|
+
getLikes(params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions): Promise<AppBskyFeedGetLikes.Response>;
|
|
332
307
|
getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
|
|
333
308
|
getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
|
|
334
309
|
getTimeline(params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions): Promise<AppBskyFeedGetTimeline.Response>;
|
|
335
|
-
getVotes(params?: AppBskyFeedGetVotes.QueryParams, opts?: AppBskyFeedGetVotes.CallOptions): Promise<AppBskyFeedGetVotes.Response>;
|
|
336
|
-
setVote(data?: AppBskyFeedSetVote.InputSchema, opts?: AppBskyFeedSetVote.CallOptions): Promise<AppBskyFeedSetVote.Response>;
|
|
337
310
|
}
|
|
338
|
-
export declare class
|
|
311
|
+
export declare class LikeRecord {
|
|
339
312
|
_service: AtpServiceClient;
|
|
340
313
|
constructor(service: AtpServiceClient);
|
|
341
314
|
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
342
315
|
cursor?: string;
|
|
343
316
|
records: {
|
|
344
317
|
uri: string;
|
|
345
|
-
value:
|
|
318
|
+
value: AppBskyFeedLike.Record;
|
|
346
319
|
}[];
|
|
347
320
|
}>;
|
|
348
321
|
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
349
322
|
uri: string;
|
|
350
323
|
cid: string;
|
|
351
|
-
value:
|
|
324
|
+
value: AppBskyFeedLike.Record;
|
|
352
325
|
}>;
|
|
353
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record:
|
|
326
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedLike.Record, headers?: Record<string, string>): Promise<{
|
|
354
327
|
uri: string;
|
|
355
328
|
cid: string;
|
|
356
329
|
}>;
|
|
357
330
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
358
331
|
}
|
|
359
|
-
export declare class
|
|
332
|
+
export declare class PostRecord {
|
|
360
333
|
_service: AtpServiceClient;
|
|
361
334
|
constructor(service: AtpServiceClient);
|
|
362
335
|
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
363
336
|
cursor?: string;
|
|
364
337
|
records: {
|
|
365
338
|
uri: string;
|
|
366
|
-
value:
|
|
339
|
+
value: AppBskyFeedPost.Record;
|
|
367
340
|
}[];
|
|
368
341
|
}>;
|
|
369
342
|
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
370
343
|
uri: string;
|
|
371
344
|
cid: string;
|
|
372
|
-
value:
|
|
345
|
+
value: AppBskyFeedPost.Record;
|
|
373
346
|
}>;
|
|
374
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record:
|
|
347
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedPost.Record, headers?: Record<string, string>): Promise<{
|
|
375
348
|
uri: string;
|
|
376
349
|
cid: string;
|
|
377
350
|
}>;
|
|
378
351
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
379
352
|
}
|
|
380
|
-
export declare class
|
|
353
|
+
export declare class RepostRecord {
|
|
381
354
|
_service: AtpServiceClient;
|
|
382
355
|
constructor(service: AtpServiceClient);
|
|
383
356
|
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
384
357
|
cursor?: string;
|
|
385
358
|
records: {
|
|
386
359
|
uri: string;
|
|
387
|
-
value:
|
|
360
|
+
value: AppBskyFeedRepost.Record;
|
|
388
361
|
}[];
|
|
389
362
|
}>;
|
|
390
363
|
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
391
364
|
uri: string;
|
|
392
365
|
cid: string;
|
|
393
|
-
value:
|
|
366
|
+
value: AppBskyFeedRepost.Record;
|
|
394
367
|
}>;
|
|
395
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record:
|
|
368
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedRepost.Record, headers?: Record<string, string>): Promise<{
|
|
396
369
|
uri: string;
|
|
397
370
|
cid: string;
|
|
398
371
|
}>;
|
|
@@ -400,57 +373,13 @@ export declare class VoteRecord {
|
|
|
400
373
|
}
|
|
401
374
|
export declare class GraphNS {
|
|
402
375
|
_service: AtpServiceClient;
|
|
403
|
-
assertion: AssertionRecord;
|
|
404
|
-
confirmation: ConfirmationRecord;
|
|
405
376
|
follow: FollowRecord;
|
|
406
377
|
constructor(service: AtpServiceClient);
|
|
407
378
|
getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
|
|
408
379
|
getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
|
|
409
380
|
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
}
|
|
413
|
-
export declare class AssertionRecord {
|
|
414
|
-
_service: AtpServiceClient;
|
|
415
|
-
constructor(service: AtpServiceClient);
|
|
416
|
-
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
417
|
-
cursor?: string;
|
|
418
|
-
records: {
|
|
419
|
-
uri: string;
|
|
420
|
-
value: AppBskyGraphAssertion.Record;
|
|
421
|
-
}[];
|
|
422
|
-
}>;
|
|
423
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
424
|
-
uri: string;
|
|
425
|
-
cid: string;
|
|
426
|
-
value: AppBskyGraphAssertion.Record;
|
|
427
|
-
}>;
|
|
428
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphAssertion.Record, headers?: Record<string, string>): Promise<{
|
|
429
|
-
uri: string;
|
|
430
|
-
cid: string;
|
|
431
|
-
}>;
|
|
432
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
433
|
-
}
|
|
434
|
-
export declare class ConfirmationRecord {
|
|
435
|
-
_service: AtpServiceClient;
|
|
436
|
-
constructor(service: AtpServiceClient);
|
|
437
|
-
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
438
|
-
cursor?: string;
|
|
439
|
-
records: {
|
|
440
|
-
uri: string;
|
|
441
|
-
value: AppBskyGraphConfirmation.Record;
|
|
442
|
-
}[];
|
|
443
|
-
}>;
|
|
444
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
445
|
-
uri: string;
|
|
446
|
-
cid: string;
|
|
447
|
-
value: AppBskyGraphConfirmation.Record;
|
|
448
|
-
}>;
|
|
449
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphConfirmation.Record, headers?: Record<string, string>): Promise<{
|
|
450
|
-
uri: string;
|
|
451
|
-
cid: string;
|
|
452
|
-
}>;
|
|
453
|
-
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>;
|
|
454
383
|
}
|
|
455
384
|
export declare class FollowRecord {
|
|
456
385
|
_service: AtpServiceClient;
|
|
@@ -476,33 +405,16 @@ export declare class FollowRecord {
|
|
|
476
405
|
export declare class NotificationNS {
|
|
477
406
|
_service: AtpServiceClient;
|
|
478
407
|
constructor(service: AtpServiceClient);
|
|
479
|
-
|
|
480
|
-
|
|
408
|
+
getUnreadCount(params?: AppBskyNotificationGetUnreadCount.QueryParams, opts?: AppBskyNotificationGetUnreadCount.CallOptions): Promise<AppBskyNotificationGetUnreadCount.Response>;
|
|
409
|
+
listNotifications(params?: AppBskyNotificationListNotifications.QueryParams, opts?: AppBskyNotificationListNotifications.CallOptions): Promise<AppBskyNotificationListNotifications.Response>;
|
|
481
410
|
updateSeen(data?: AppBskyNotificationUpdateSeen.InputSchema, opts?: AppBskyNotificationUpdateSeen.CallOptions): Promise<AppBskyNotificationUpdateSeen.Response>;
|
|
482
411
|
}
|
|
483
|
-
export declare class
|
|
412
|
+
export declare class RichtextNS {
|
|
484
413
|
_service: AtpServiceClient;
|
|
485
|
-
declaration: DeclarationRecord;
|
|
486
414
|
constructor(service: AtpServiceClient);
|
|
487
415
|
}
|
|
488
|
-
export declare class
|
|
416
|
+
export declare class UnspeccedNS {
|
|
489
417
|
_service: AtpServiceClient;
|
|
490
418
|
constructor(service: AtpServiceClient);
|
|
491
|
-
|
|
492
|
-
cursor?: string;
|
|
493
|
-
records: {
|
|
494
|
-
uri: string;
|
|
495
|
-
value: AppBskySystemDeclaration.Record;
|
|
496
|
-
}[];
|
|
497
|
-
}>;
|
|
498
|
-
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
499
|
-
uri: string;
|
|
500
|
-
cid: string;
|
|
501
|
-
value: AppBskySystemDeclaration.Record;
|
|
502
|
-
}>;
|
|
503
|
-
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskySystemDeclaration.Record, headers?: Record<string, string>): Promise<{
|
|
504
|
-
uri: string;
|
|
505
|
-
cid: string;
|
|
506
|
-
}>;
|
|
507
|
-
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
419
|
+
getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
|
|
508
420
|
}
|