@atproto/api 0.10.5 → 0.11.0-next
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/definitions/labels.json +191 -189
- package/dist/agent.d.ts +3 -1
- package/dist/bsky-agent.d.ts +6 -2
- package/dist/client/index.d.ts +94 -38
- package/dist/client/lexicons.d.ts +5091 -4833
- package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts +23 -1
- package/dist/client/types/app/bsky/actor/ref.d.ts +28 -0
- package/dist/client/types/app/bsky/actor/search.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +47 -0
- package/dist/client/types/app/bsky/embed/record.d.ts +2 -1
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +36 -0
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/client/types/app/bsky/feed/trend.d.ts +9 -0
- package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/vote.d.ts +10 -0
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/client/types/app/bsky/graph/assertion.d.ts +10 -0
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +11 -0
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +36 -0
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +36 -0
- package/dist/client/types/app/bsky/graph/mute.d.ts +17 -0
- package/dist/client/types/app/bsky/graph/unmute.d.ts +17 -0
- package/dist/client/types/app/bsky/labeler/defs.d.ts +41 -0
- package/dist/client/types/app/bsky/labeler/getServices.d.ts +23 -0
- package/dist/client/types/app/bsky/labeler/service.d.ts +14 -0
- package/dist/client/types/app/bsky/moderation/defs.d.ts +41 -0
- package/dist/client/types/app/bsky/moderation/getService.d.ts +16 -0
- package/dist/client/types/app/bsky/moderation/getServices.d.ts +23 -0
- package/dist/client/types/app/bsky/moderation/service.d.ts +14 -0
- package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
- package/dist/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/client/types/app/bsky/system/declRef.d.ts +8 -0
- package/dist/client/types/app/bsky/system/declaration.d.ts +7 -0
- package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +18 -0
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +22 -0
- package/dist/client/types/app/bsky/unspecced/getTimelineSkeleton.d.ts +24 -0
- package/dist/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/client/types/com/atproto/account/delete.d.ts +25 -0
- package/dist/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/client/types/com/atproto/admin/blob.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +0 -304
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +28 -0
- package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +26 -0
- package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +60 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +24 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +43 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +34 -0
- package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +32 -0
- package/dist/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
- package/dist/client/types/com/atproto/label/defs.d.ts +21 -0
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +46 -0
- package/dist/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +24 -0
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/report/create.d.ts +39 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
- package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +27 -0
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- package/dist/client/types/com/atproto/session/create.d.ts +29 -0
- package/dist/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/client/types/com/atproto/session/refresh.d.ts +24 -0
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getCurrent.d.ts +22 -0
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +21 -0
- package/dist/client/types/com/atproto/sync/importRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +9 -0
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/client/types/com/atproto/temp/importRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/temp/pushBlob.d.ts +15 -0
- package/dist/client/types/com/atproto/temp/transferAccount.d.ts +48 -0
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +18 -0
- package/dist/client/types/tools/ozone/communication/createTemplate.d.ts +23 -0
- package/dist/client/types/tools/ozone/communication/defs.d.ts +14 -0
- package/dist/client/types/tools/ozone/communication/deleteTemplate.d.ts +17 -0
- package/dist/client/types/tools/ozone/communication/listTemplates.d.ts +18 -0
- package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts +25 -0
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +269 -0
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +34 -0
- package/dist/client/types/tools/ozone/moderation/getEvent.d.ts +16 -0
- package/dist/client/types/tools/ozone/moderation/getRecord.d.ts +20 -0
- package/dist/client/types/tools/ozone/moderation/getRepo.d.ts +19 -0
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +35 -0
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +37 -0
- package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts +23 -0
- package/dist/const.d.ts +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +7865 -7922
- package/dist/index.js.map +3 -3
- package/dist/mocker.d.ts +57 -0
- package/dist/moderation/const/labels.d.ts +4 -2
- package/dist/moderation/decision.d.ts +26 -0
- package/dist/moderation/index.d.ts +10 -44
- package/dist/moderation/subjects/account.d.ts +2 -1
- package/dist/moderation/subjects/feed-generator.d.ts +2 -1
- package/dist/moderation/subjects/notification.d.ts +3 -0
- package/dist/moderation/subjects/post.d.ts +2 -1
- package/dist/moderation/subjects/profile.d.ts +2 -1
- package/dist/moderation/subjects/user-list.d.ts +2 -1
- package/dist/moderation/types.d.ts +47 -61
- package/dist/moderation/ui.d.ts +12 -0
- package/dist/moderation/util.d.ts +4 -8
- package/dist/session.d.ts +42 -0
- package/dist/src/client/index.d.ts +462 -0
- package/dist/src/client/lexicons.d.ts +2910 -0
- package/dist/src/client/schemas.d.ts +17 -0
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
- package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
- package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
- package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
- package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
- package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
- package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/client/types/app/bsky/like.d.ts +10 -0
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/src/client/types/app/bsky/post.d.ts +23 -0
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
- package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
- package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
- package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
- package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
- package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
- package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
- package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/schemas.d.ts +19 -0
- package/dist/src/session.d.ts +42 -0
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
- package/dist/src/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/types/app/bsky/like.d.ts +10 -0
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/types/app/bsky/post.d.ts +23 -0
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/app/bsky/profile.d.ts +11 -0
- package/dist/src/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
- package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
- package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
- package/dist/src/types/com/atproto/createSession.d.ts +23 -0
- package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
- package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
- package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
- package/dist/src/types/todo/adx/createSession.d.ts +22 -0
- package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/todo/adx/getSession.d.ts +17 -0
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
- package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/social/badge.d.ts +23 -0
- package/dist/src/types/todo/social/follow.d.ts +5 -0
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
- package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
- package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
- package/dist/src/types/todo/social/getProfile.d.ts +40 -0
- package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
- package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
- package/dist/src/types/todo/social/like.d.ts +5 -0
- package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
- package/dist/src/types/todo/social/post.d.ts +18 -0
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/todo/social/profile.d.ts +10 -0
- package/dist/src/types/todo/social/repost.d.ts +5 -0
- package/dist/types.d.ts +2 -4
- package/docs/labels.md +22 -468
- package/docs/moderation.md +0 -2
- package/package.json +5 -5
- package/scripts/code/labels.mjs +17 -35
- package/scripts/docs/labels.mjs +8 -85
- package/scripts/generate-code.mjs +0 -1
- package/scripts/generate-docs.mjs +0 -2
- package/src/agent.ts +24 -4
- package/src/bsky-agent.ts +184 -24
- package/src/client/index.ts +292 -173
- package/src/client/lexicons.ts +6192 -5926
- package/src/client/types/app/bsky/actor/defs.ts +57 -1
- package/src/client/types/app/bsky/embed/record.ts +2 -0
- package/src/client/types/app/bsky/labeler/defs.ts +93 -0
- package/src/client/types/app/bsky/labeler/getServices.ts +41 -0
- package/src/client/types/app/bsky/labeler/service.ts +31 -0
- package/src/client/types/com/atproto/admin/defs.ts +0 -694
- package/src/client/types/com/atproto/label/defs.ts +74 -0
- package/src/client/types/{com/atproto/admin/createCommunicationTemplate.ts → tools/ozone/communication/createTemplate.ts} +2 -2
- package/src/client/types/tools/ozone/communication/defs.ts +35 -0
- package/src/client/types/{com/atproto/admin/listCommunicationTemplates.ts → tools/ozone/communication/listTemplates.ts} +2 -2
- package/src/client/types/{com/atproto/admin/updateCommunicationTemplate.ts → tools/ozone/communication/updateTemplate.ts} +2 -2
- package/src/client/types/tools/ozone/moderation/defs.ts +641 -0
- package/src/client/types/{com/atproto/admin/emitModerationEvent.ts → tools/ozone/moderation/emitEvent.ts} +15 -14
- package/src/client/types/{com/atproto/admin/getModerationEvent.ts → tools/ozone/moderation/getEvent.ts} +2 -2
- package/src/client/types/{com/atproto/admin → tools/ozone/moderation}/getRecord.ts +2 -2
- package/src/client/types/{com/atproto/admin → tools/ozone/moderation}/getRepo.ts +2 -2
- package/src/client/types/{com/atproto/admin/queryModerationEvents.ts → tools/ozone/moderation/queryEvents.ts} +3 -3
- package/src/client/types/{com/atproto/admin/queryModerationStatuses.ts → tools/ozone/moderation/queryStatuses.ts} +2 -2
- package/src/client/types/{com/atproto/admin → tools/ozone/moderation}/searchRepos.ts +2 -2
- package/src/const.ts +1 -0
- package/src/index.ts +3 -2
- package/src/mocker.ts +214 -0
- package/src/moderation/const/labels.ts +247 -847
- package/src/moderation/decision.ts +337 -0
- package/src/moderation/index.ts +38 -304
- package/src/moderation/subjects/account.ts +6 -10
- package/src/moderation/subjects/feed-generator.ts +3 -6
- package/src/moderation/subjects/notification.ts +19 -0
- package/src/moderation/subjects/post.ts +6 -10
- package/src/moderation/subjects/profile.ts +6 -11
- package/src/moderation/subjects/user-list.ts +3 -6
- package/src/moderation/types.ts +81 -77
- package/src/moderation/ui.ts +21 -0
- package/src/moderation/util.ts +82 -72
- package/src/types.ts +3 -10
- package/tests/agent.test.ts +20 -0
- package/tests/bsky-agent.test.ts +401 -98
- package/tests/moderation-behaviors.test.ts +969 -0
- package/tests/moderation-custom-labels.test.ts +358 -0
- package/tests/moderation-prefs.test.ts +276 -0
- package/tests/moderation.test.ts +303 -201
- package/tests/util/echo-server.ts +21 -0
- package/tests/util/index.ts +1 -154
- package/tests/util/moderation-behavior.ts +129 -55
- package/definitions/locale/en/label-groups.json +0 -38
- package/definitions/locale/en/labels.json +0 -394
- package/definitions/locale/en/proposed-label-groups.json +0 -38
- package/definitions/locale/en/proposed-labels.json +0 -632
- package/definitions/moderation-behaviors.d.ts +0 -50
- package/definitions/post-moderation-behaviors.json +0 -1222
- package/definitions/profile-moderation-behaviors.json +0 -597
- package/definitions/proposed-labels.json +0 -326
- package/docs/moderation-behaviors/posts.md +0 -1813
- package/docs/moderation-behaviors/profiles.md +0 -833
- package/scripts/code/label-groups.mjs +0 -68
- package/scripts/docs/post-moderation-behaviors.mjs +0 -117
- package/scripts/docs/profile-moderation-behaviors.mjs +0 -122
- package/src/moderation/accumulator.ts +0 -217
- package/src/moderation/const/label-groups.ts +0 -149
- package/src/moderation/subjects/quoted-post.ts +0 -80
- package/tests/post-moderation.test.ts +0 -46
- package/tests/profile-moderation.test.ts +0 -46
- /package/src/client/types/{com/atproto/admin/deleteCommunicationTemplate.ts → tools/ozone/communication/deleteTemplate.ts} +0 -0
package/dist/client/index.d.ts
CHANGED
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminCreateCommunicationTemplate from './types/com/atproto/admin/createCommunicationTemplate';
|
|
3
2
|
import * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount';
|
|
4
|
-
import * as ComAtprotoAdminDeleteCommunicationTemplate from './types/com/atproto/admin/deleteCommunicationTemplate';
|
|
5
3
|
import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
|
|
6
4
|
import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
|
|
7
|
-
import * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
|
|
8
5
|
import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
|
|
9
6
|
import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
|
|
10
7
|
import * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos';
|
|
11
8
|
import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
|
|
12
|
-
import * as ComAtprotoAdminGetModerationEvent from './types/com/atproto/admin/getModerationEvent';
|
|
13
|
-
import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
14
|
-
import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
15
9
|
import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
|
|
16
|
-
import * as ComAtprotoAdminListCommunicationTemplates from './types/com/atproto/admin/listCommunicationTemplates';
|
|
17
|
-
import * as ComAtprotoAdminQueryModerationEvents from './types/com/atproto/admin/queryModerationEvents';
|
|
18
|
-
import * as ComAtprotoAdminQueryModerationStatuses from './types/com/atproto/admin/queryModerationStatuses';
|
|
19
|
-
import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
20
10
|
import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
|
|
21
11
|
import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
|
|
22
12
|
import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
|
|
23
13
|
import * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword';
|
|
24
|
-
import * as ComAtprotoAdminUpdateCommunicationTemplate from './types/com/atproto/admin/updateCommunicationTemplate';
|
|
25
14
|
import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
|
|
26
15
|
import * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials';
|
|
27
16
|
import * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature';
|
|
@@ -128,6 +117,8 @@ import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
|
|
|
128
117
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList';
|
|
129
118
|
import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor';
|
|
130
119
|
import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList';
|
|
120
|
+
import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices';
|
|
121
|
+
import * as AppBskyLabelerService from './types/app/bsky/labeler/service';
|
|
131
122
|
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';
|
|
132
123
|
import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
133
124
|
import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush';
|
|
@@ -136,30 +127,30 @@ import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unsp
|
|
|
136
127
|
import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions';
|
|
137
128
|
import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton';
|
|
138
129
|
import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton';
|
|
139
|
-
|
|
130
|
+
import * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate';
|
|
131
|
+
import * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate';
|
|
132
|
+
import * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates';
|
|
133
|
+
import * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate';
|
|
134
|
+
import * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent';
|
|
135
|
+
import * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent';
|
|
136
|
+
import * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord';
|
|
137
|
+
import * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo';
|
|
138
|
+
import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents';
|
|
139
|
+
import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses';
|
|
140
|
+
import * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos';
|
|
140
141
|
export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
|
|
141
142
|
export * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount';
|
|
142
|
-
export * as ComAtprotoAdminDeleteCommunicationTemplate from './types/com/atproto/admin/deleteCommunicationTemplate';
|
|
143
143
|
export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
|
|
144
144
|
export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
|
|
145
|
-
export * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
|
|
146
145
|
export * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
|
|
147
146
|
export * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
|
|
148
147
|
export * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos';
|
|
149
148
|
export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
|
|
150
|
-
export * as ComAtprotoAdminGetModerationEvent from './types/com/atproto/admin/getModerationEvent';
|
|
151
|
-
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
152
|
-
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
153
149
|
export * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
|
|
154
|
-
export * as ComAtprotoAdminListCommunicationTemplates from './types/com/atproto/admin/listCommunicationTemplates';
|
|
155
|
-
export * as ComAtprotoAdminQueryModerationEvents from './types/com/atproto/admin/queryModerationEvents';
|
|
156
|
-
export * as ComAtprotoAdminQueryModerationStatuses from './types/com/atproto/admin/queryModerationStatuses';
|
|
157
|
-
export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
158
150
|
export * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
|
|
159
151
|
export * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
|
|
160
152
|
export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
|
|
161
153
|
export * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword';
|
|
162
|
-
export * as ComAtprotoAdminUpdateCommunicationTemplate from './types/com/atproto/admin/updateCommunicationTemplate';
|
|
163
154
|
export * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
|
|
164
155
|
export * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials';
|
|
165
156
|
export * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature';
|
|
@@ -279,6 +270,9 @@ export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
|
|
|
279
270
|
export * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList';
|
|
280
271
|
export * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor';
|
|
281
272
|
export * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList';
|
|
273
|
+
export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs';
|
|
274
|
+
export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices';
|
|
275
|
+
export * as AppBskyLabelerService from './types/app/bsky/labeler/service';
|
|
282
276
|
export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';
|
|
283
277
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
284
278
|
export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush';
|
|
@@ -289,11 +283,19 @@ export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unsp
|
|
|
289
283
|
export * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions';
|
|
290
284
|
export * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton';
|
|
291
285
|
export * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton';
|
|
292
|
-
export
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
286
|
+
export * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate';
|
|
287
|
+
export * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs';
|
|
288
|
+
export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate';
|
|
289
|
+
export * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates';
|
|
290
|
+
export * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate';
|
|
291
|
+
export * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs';
|
|
292
|
+
export * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent';
|
|
293
|
+
export * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent';
|
|
294
|
+
export * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord';
|
|
295
|
+
export * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo';
|
|
296
|
+
export * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents';
|
|
297
|
+
export * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses';
|
|
298
|
+
export * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos';
|
|
297
299
|
export declare const COM_ATPROTO_MODERATION: {
|
|
298
300
|
DefsReasonSpam: string;
|
|
299
301
|
DefsReasonViolation: string;
|
|
@@ -307,6 +309,12 @@ export declare const APP_BSKY_GRAPH: {
|
|
|
307
309
|
DefsModlist: string;
|
|
308
310
|
DefsCuratelist: string;
|
|
309
311
|
};
|
|
312
|
+
export declare const TOOLS_OZONE_MODERATION: {
|
|
313
|
+
DefsReviewOpen: string;
|
|
314
|
+
DefsReviewEscalated: string;
|
|
315
|
+
DefsReviewClosed: string;
|
|
316
|
+
DefsReviewNone: string;
|
|
317
|
+
};
|
|
310
318
|
export declare class AtpBaseClient {
|
|
311
319
|
xrpc: XrpcClient;
|
|
312
320
|
constructor();
|
|
@@ -317,6 +325,7 @@ export declare class AtpServiceClient {
|
|
|
317
325
|
xrpc: XrpcServiceClient;
|
|
318
326
|
com: ComNS;
|
|
319
327
|
app: AppNS;
|
|
328
|
+
tools: ToolsNS;
|
|
320
329
|
constructor(baseClient: AtpBaseClient, xrpcService: XrpcServiceClient);
|
|
321
330
|
setHeader(key: string, value: string): void;
|
|
322
331
|
}
|
|
@@ -340,29 +349,18 @@ export declare class ComAtprotoNS {
|
|
|
340
349
|
export declare class ComAtprotoAdminNS {
|
|
341
350
|
_service: AtpServiceClient;
|
|
342
351
|
constructor(service: AtpServiceClient);
|
|
343
|
-
createCommunicationTemplate(data?: ComAtprotoAdminCreateCommunicationTemplate.InputSchema, opts?: ComAtprotoAdminCreateCommunicationTemplate.CallOptions): Promise<ComAtprotoAdminCreateCommunicationTemplate.Response>;
|
|
344
352
|
deleteAccount(data?: ComAtprotoAdminDeleteAccount.InputSchema, opts?: ComAtprotoAdminDeleteAccount.CallOptions): Promise<ComAtprotoAdminDeleteAccount.Response>;
|
|
345
|
-
deleteCommunicationTemplate(data?: ComAtprotoAdminDeleteCommunicationTemplate.InputSchema, opts?: ComAtprotoAdminDeleteCommunicationTemplate.CallOptions): Promise<ComAtprotoAdminDeleteCommunicationTemplate.Response>;
|
|
346
353
|
disableAccountInvites(data?: ComAtprotoAdminDisableAccountInvites.InputSchema, opts?: ComAtprotoAdminDisableAccountInvites.CallOptions): Promise<ComAtprotoAdminDisableAccountInvites.Response>;
|
|
347
354
|
disableInviteCodes(data?: ComAtprotoAdminDisableInviteCodes.InputSchema, opts?: ComAtprotoAdminDisableInviteCodes.CallOptions): Promise<ComAtprotoAdminDisableInviteCodes.Response>;
|
|
348
|
-
emitModerationEvent(data?: ComAtprotoAdminEmitModerationEvent.InputSchema, opts?: ComAtprotoAdminEmitModerationEvent.CallOptions): Promise<ComAtprotoAdminEmitModerationEvent.Response>;
|
|
349
355
|
enableAccountInvites(data?: ComAtprotoAdminEnableAccountInvites.InputSchema, opts?: ComAtprotoAdminEnableAccountInvites.CallOptions): Promise<ComAtprotoAdminEnableAccountInvites.Response>;
|
|
350
356
|
getAccountInfo(params?: ComAtprotoAdminGetAccountInfo.QueryParams, opts?: ComAtprotoAdminGetAccountInfo.CallOptions): Promise<ComAtprotoAdminGetAccountInfo.Response>;
|
|
351
357
|
getAccountInfos(params?: ComAtprotoAdminGetAccountInfos.QueryParams, opts?: ComAtprotoAdminGetAccountInfos.CallOptions): Promise<ComAtprotoAdminGetAccountInfos.Response>;
|
|
352
358
|
getInviteCodes(params?: ComAtprotoAdminGetInviteCodes.QueryParams, opts?: ComAtprotoAdminGetInviteCodes.CallOptions): Promise<ComAtprotoAdminGetInviteCodes.Response>;
|
|
353
|
-
getModerationEvent(params?: ComAtprotoAdminGetModerationEvent.QueryParams, opts?: ComAtprotoAdminGetModerationEvent.CallOptions): Promise<ComAtprotoAdminGetModerationEvent.Response>;
|
|
354
|
-
getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
|
|
355
|
-
getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
|
|
356
359
|
getSubjectStatus(params?: ComAtprotoAdminGetSubjectStatus.QueryParams, opts?: ComAtprotoAdminGetSubjectStatus.CallOptions): Promise<ComAtprotoAdminGetSubjectStatus.Response>;
|
|
357
|
-
listCommunicationTemplates(params?: ComAtprotoAdminListCommunicationTemplates.QueryParams, opts?: ComAtprotoAdminListCommunicationTemplates.CallOptions): Promise<ComAtprotoAdminListCommunicationTemplates.Response>;
|
|
358
|
-
queryModerationEvents(params?: ComAtprotoAdminQueryModerationEvents.QueryParams, opts?: ComAtprotoAdminQueryModerationEvents.CallOptions): Promise<ComAtprotoAdminQueryModerationEvents.Response>;
|
|
359
|
-
queryModerationStatuses(params?: ComAtprotoAdminQueryModerationStatuses.QueryParams, opts?: ComAtprotoAdminQueryModerationStatuses.CallOptions): Promise<ComAtprotoAdminQueryModerationStatuses.Response>;
|
|
360
|
-
searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
|
|
361
360
|
sendEmail(data?: ComAtprotoAdminSendEmail.InputSchema, opts?: ComAtprotoAdminSendEmail.CallOptions): Promise<ComAtprotoAdminSendEmail.Response>;
|
|
362
361
|
updateAccountEmail(data?: ComAtprotoAdminUpdateAccountEmail.InputSchema, opts?: ComAtprotoAdminUpdateAccountEmail.CallOptions): Promise<ComAtprotoAdminUpdateAccountEmail.Response>;
|
|
363
362
|
updateAccountHandle(data?: ComAtprotoAdminUpdateAccountHandle.InputSchema, opts?: ComAtprotoAdminUpdateAccountHandle.CallOptions): Promise<ComAtprotoAdminUpdateAccountHandle.Response>;
|
|
364
363
|
updateAccountPassword(data?: ComAtprotoAdminUpdateAccountPassword.InputSchema, opts?: ComAtprotoAdminUpdateAccountPassword.CallOptions): Promise<ComAtprotoAdminUpdateAccountPassword.Response>;
|
|
365
|
-
updateCommunicationTemplate(data?: ComAtprotoAdminUpdateCommunicationTemplate.InputSchema, opts?: ComAtprotoAdminUpdateCommunicationTemplate.CallOptions): Promise<ComAtprotoAdminUpdateCommunicationTemplate.Response>;
|
|
366
364
|
updateSubjectStatus(data?: ComAtprotoAdminUpdateSubjectStatus.InputSchema, opts?: ComAtprotoAdminUpdateSubjectStatus.CallOptions): Promise<ComAtprotoAdminUpdateSubjectStatus.Response>;
|
|
367
365
|
}
|
|
368
366
|
export declare class ComAtprotoIdentityNS {
|
|
@@ -461,6 +459,7 @@ export declare class AppBskyNS {
|
|
|
461
459
|
embed: AppBskyEmbedNS;
|
|
462
460
|
feed: AppBskyFeedNS;
|
|
463
461
|
graph: AppBskyGraphNS;
|
|
462
|
+
labeler: AppBskyLabelerNS;
|
|
464
463
|
notification: AppBskyNotificationNS;
|
|
465
464
|
richtext: AppBskyRichtextNS;
|
|
466
465
|
unspecced: AppBskyUnspeccedNS;
|
|
@@ -761,6 +760,33 @@ export declare class ListitemRecord {
|
|
|
761
760
|
}>;
|
|
762
761
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
763
762
|
}
|
|
763
|
+
export declare class AppBskyLabelerNS {
|
|
764
|
+
_service: AtpServiceClient;
|
|
765
|
+
service: ServiceRecord;
|
|
766
|
+
constructor(service: AtpServiceClient);
|
|
767
|
+
getServices(params?: AppBskyLabelerGetServices.QueryParams, opts?: AppBskyLabelerGetServices.CallOptions): Promise<AppBskyLabelerGetServices.Response>;
|
|
768
|
+
}
|
|
769
|
+
export declare class ServiceRecord {
|
|
770
|
+
_service: AtpServiceClient;
|
|
771
|
+
constructor(service: AtpServiceClient);
|
|
772
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
773
|
+
cursor?: string;
|
|
774
|
+
records: {
|
|
775
|
+
uri: string;
|
|
776
|
+
value: AppBskyLabelerService.Record;
|
|
777
|
+
}[];
|
|
778
|
+
}>;
|
|
779
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
780
|
+
uri: string;
|
|
781
|
+
cid: string;
|
|
782
|
+
value: AppBskyLabelerService.Record;
|
|
783
|
+
}>;
|
|
784
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyLabelerService.Record, headers?: Record<string, string>): Promise<{
|
|
785
|
+
uri: string;
|
|
786
|
+
cid: string;
|
|
787
|
+
}>;
|
|
788
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
789
|
+
}
|
|
764
790
|
export declare class AppBskyNotificationNS {
|
|
765
791
|
_service: AtpServiceClient;
|
|
766
792
|
constructor(service: AtpServiceClient);
|
|
@@ -781,3 +807,33 @@ export declare class AppBskyUnspeccedNS {
|
|
|
781
807
|
searchActorsSkeleton(params?: AppBskyUnspeccedSearchActorsSkeleton.QueryParams, opts?: AppBskyUnspeccedSearchActorsSkeleton.CallOptions): Promise<AppBskyUnspeccedSearchActorsSkeleton.Response>;
|
|
782
808
|
searchPostsSkeleton(params?: AppBskyUnspeccedSearchPostsSkeleton.QueryParams, opts?: AppBskyUnspeccedSearchPostsSkeleton.CallOptions): Promise<AppBskyUnspeccedSearchPostsSkeleton.Response>;
|
|
783
809
|
}
|
|
810
|
+
export declare class ToolsNS {
|
|
811
|
+
_service: AtpServiceClient;
|
|
812
|
+
ozone: ToolsOzoneNS;
|
|
813
|
+
constructor(service: AtpServiceClient);
|
|
814
|
+
}
|
|
815
|
+
export declare class ToolsOzoneNS {
|
|
816
|
+
_service: AtpServiceClient;
|
|
817
|
+
communication: ToolsOzoneCommunicationNS;
|
|
818
|
+
moderation: ToolsOzoneModerationNS;
|
|
819
|
+
constructor(service: AtpServiceClient);
|
|
820
|
+
}
|
|
821
|
+
export declare class ToolsOzoneCommunicationNS {
|
|
822
|
+
_service: AtpServiceClient;
|
|
823
|
+
constructor(service: AtpServiceClient);
|
|
824
|
+
createTemplate(data?: ToolsOzoneCommunicationCreateTemplate.InputSchema, opts?: ToolsOzoneCommunicationCreateTemplate.CallOptions): Promise<ToolsOzoneCommunicationCreateTemplate.Response>;
|
|
825
|
+
deleteTemplate(data?: ToolsOzoneCommunicationDeleteTemplate.InputSchema, opts?: ToolsOzoneCommunicationDeleteTemplate.CallOptions): Promise<ToolsOzoneCommunicationDeleteTemplate.Response>;
|
|
826
|
+
listTemplates(params?: ToolsOzoneCommunicationListTemplates.QueryParams, opts?: ToolsOzoneCommunicationListTemplates.CallOptions): Promise<ToolsOzoneCommunicationListTemplates.Response>;
|
|
827
|
+
updateTemplate(data?: ToolsOzoneCommunicationUpdateTemplate.InputSchema, opts?: ToolsOzoneCommunicationUpdateTemplate.CallOptions): Promise<ToolsOzoneCommunicationUpdateTemplate.Response>;
|
|
828
|
+
}
|
|
829
|
+
export declare class ToolsOzoneModerationNS {
|
|
830
|
+
_service: AtpServiceClient;
|
|
831
|
+
constructor(service: AtpServiceClient);
|
|
832
|
+
emitEvent(data?: ToolsOzoneModerationEmitEvent.InputSchema, opts?: ToolsOzoneModerationEmitEvent.CallOptions): Promise<ToolsOzoneModerationEmitEvent.Response>;
|
|
833
|
+
getEvent(params?: ToolsOzoneModerationGetEvent.QueryParams, opts?: ToolsOzoneModerationGetEvent.CallOptions): Promise<ToolsOzoneModerationGetEvent.Response>;
|
|
834
|
+
getRecord(params?: ToolsOzoneModerationGetRecord.QueryParams, opts?: ToolsOzoneModerationGetRecord.CallOptions): Promise<ToolsOzoneModerationGetRecord.Response>;
|
|
835
|
+
getRepo(params?: ToolsOzoneModerationGetRepo.QueryParams, opts?: ToolsOzoneModerationGetRepo.CallOptions): Promise<ToolsOzoneModerationGetRepo.Response>;
|
|
836
|
+
queryEvents(params?: ToolsOzoneModerationQueryEvents.QueryParams, opts?: ToolsOzoneModerationQueryEvents.CallOptions): Promise<ToolsOzoneModerationQueryEvents.Response>;
|
|
837
|
+
queryStatuses(params?: ToolsOzoneModerationQueryStatuses.QueryParams, opts?: ToolsOzoneModerationQueryStatuses.CallOptions): Promise<ToolsOzoneModerationQueryStatuses.Response>;
|
|
838
|
+
searchRepos(params?: ToolsOzoneModerationSearchRepos.QueryParams, opts?: ToolsOzoneModerationSearchRepos.CallOptions): Promise<ToolsOzoneModerationSearchRepos.Response>;
|
|
839
|
+
}
|