@atproto/api 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/client/index.d.ts +12 -0
- package/dist/client/lexicons.d.ts +182 -0
- package/dist/client/types/com/atproto/admin/{resolveModerationReports.d.ts → createCommunicationTemplate.d.ts} +5 -4
- package/dist/client/types/com/atproto/admin/defs.d.ts +13 -0
- package/dist/client/types/{app/bsky/feed/unbookmarkFeed.d.ts → com/atproto/admin/deleteCommunicationTemplate.d.ts} +1 -1
- package/dist/client/types/{app/bsky/moderation/getServices.d.ts → com/atproto/admin/listCommunicationTemplates.d.ts} +2 -3
- package/dist/client/types/com/atproto/admin/{reverseModerationAction.d.ts → updateCommunicationTemplate.d.ts} +7 -4
- package/dist/index.js +598 -336
- package/dist/index.js.map +3 -3
- package/package.json +4 -4
- package/src/client/index.ts +72 -0
- package/src/client/lexicons.ts +199 -0
- package/src/client/types/com/atproto/admin/createCommunicationTemplate.ts +43 -0
- package/src/client/types/com/atproto/admin/defs.ts +35 -0
- package/src/client/types/com/atproto/admin/deleteCommunicationTemplate.ts +32 -0
- package/src/client/types/com/atproto/admin/listCommunicationTemplates.ts +34 -0
- package/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts +46 -0
- package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
- package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -47
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +0 -21
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +0 -21
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
- package/dist/client/types/app/bsky/moderation/defs.d.ts +0 -49
- package/dist/client/types/app/bsky/moderation/getService.d.ts +0 -16
- package/dist/client/types/app/bsky/moderation/service.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
- package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
- package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
- package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +0 -18
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -22
- package/dist/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
- package/dist/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +0 -29
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -28
- package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +0 -26
- package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
- package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +0 -34
- package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +0 -32
- package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
- package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/report/create.d.ts +0 -39
- package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
- package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +0 -31
- package/dist/client/types/com/atproto/session/create.d.ts +0 -29
- package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
- package/dist/client/types/com/atproto/sync/getCurrent.d.ts +0 -22
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -21
- package/dist/client/types/com/atproto/sync/importRepo.d.ts +0 -16
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
- package/dist/session.d.ts +0 -42
- package/dist/src/client/index.d.ts +0 -462
- package/dist/src/client/lexicons.d.ts +0 -2910
- package/dist/src/client/schemas.d.ts +0 -17
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
- package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
- package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
- package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
- package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
- package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
- package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/client/types/app/bsky/like.d.ts +0 -10
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
- package/dist/src/client/types/app/bsky/post.d.ts +0 -23
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
- package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
- package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
- package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
- package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
- package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
- package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
- package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
- package/dist/src/index.d.ts +0 -4
- package/dist/src/schemas.d.ts +0 -19
- package/dist/src/session.d.ts +0 -42
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +0 -10
- package/dist/src/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/types/app/bsky/like.d.ts +0 -10
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/types/app/bsky/post.d.ts +0 -23
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/app/bsky/profile.d.ts +0 -11
- package/dist/src/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
- package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
- package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
- package/dist/src/types/com/atproto/createSession.d.ts +0 -23
- package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
- package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/adx/createAccount.d.ts +0 -36
- package/dist/src/types/todo/adx/createInviteCode.d.ts +0 -19
- package/dist/src/types/todo/adx/createSession.d.ts +0 -22
- package/dist/src/types/todo/adx/deleteAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/deleteSession.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/todo/adx/getSession.d.ts +0 -17
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +0 -34
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +0 -22
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/todo/adx/repoDescribe.d.ts +0 -21
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +0 -20
- package/dist/src/types/todo/adx/repoListRecords.d.ts +0 -25
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +0 -23
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/todo/adx/resolveName.d.ts +0 -17
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +0 -15
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +0 -17
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/social/badge.d.ts +0 -23
- package/dist/src/types/todo/social/follow.d.ts +0 -5
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getHomeFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getLikedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getNotificationCount.d.ts +0 -16
- package/dist/src/types/todo/social/getNotifications.d.ts +0 -31
- package/dist/src/types/todo/social/getPostThread.d.ts +0 -54
- package/dist/src/types/todo/social/getProfile.d.ts +0 -40
- package/dist/src/types/todo/social/getRepostedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getUserFollowers.d.ts +0 -30
- package/dist/src/types/todo/social/getUserFollows.d.ts +0 -30
- package/dist/src/types/todo/social/like.d.ts +0 -5
- package/dist/src/types/todo/social/mediaEmbed.d.ts +0 -15
- package/dist/src/types/todo/social/post.d.ts +0 -18
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/todo/social/profile.d.ts +0 -10
- package/dist/src/types/todo/social/repost.d.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2045](https://github.com/bluesky-social/atproto/pull/2045) [`15f38560`](https://github.com/bluesky-social/atproto/commit/15f38560b9e2dc3af8cf860826e7477234fe6a2d) Thanks [@foysalit](https://github.com/foysalit)! - support new lexicons for admin communication templates
|
|
8
|
+
|
|
3
9
|
## 0.9.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atproto/xrpc';
|
|
2
|
+
import * as ComAtprotoAdminCreateCommunicationTemplate from './types/com/atproto/admin/createCommunicationTemplate';
|
|
2
3
|
import * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount';
|
|
4
|
+
import * as ComAtprotoAdminDeleteCommunicationTemplate from './types/com/atproto/admin/deleteCommunicationTemplate';
|
|
3
5
|
import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
|
|
4
6
|
import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
|
|
5
7
|
import * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
|
|
@@ -11,12 +13,14 @@ import * as ComAtprotoAdminGetModerationEvent from './types/com/atproto/admin/ge
|
|
|
11
13
|
import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
12
14
|
import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
13
15
|
import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
|
|
16
|
+
import * as ComAtprotoAdminListCommunicationTemplates from './types/com/atproto/admin/listCommunicationTemplates';
|
|
14
17
|
import * as ComAtprotoAdminQueryModerationEvents from './types/com/atproto/admin/queryModerationEvents';
|
|
15
18
|
import * as ComAtprotoAdminQueryModerationStatuses from './types/com/atproto/admin/queryModerationStatuses';
|
|
16
19
|
import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
17
20
|
import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
|
|
18
21
|
import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
|
|
19
22
|
import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
|
|
23
|
+
import * as ComAtprotoAdminUpdateCommunicationTemplate from './types/com/atproto/admin/updateCommunicationTemplate';
|
|
20
24
|
import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
|
|
21
25
|
import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
|
|
22
26
|
import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
|
|
@@ -122,8 +126,10 @@ import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unsp
|
|
|
122
126
|
import * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
|
|
123
127
|
import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton';
|
|
124
128
|
import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton';
|
|
129
|
+
export * as ComAtprotoAdminCreateCommunicationTemplate from './types/com/atproto/admin/createCommunicationTemplate';
|
|
125
130
|
export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
|
|
126
131
|
export * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount';
|
|
132
|
+
export * as ComAtprotoAdminDeleteCommunicationTemplate from './types/com/atproto/admin/deleteCommunicationTemplate';
|
|
127
133
|
export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
|
|
128
134
|
export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
|
|
129
135
|
export * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
|
|
@@ -135,12 +141,14 @@ export * as ComAtprotoAdminGetModerationEvent from './types/com/atproto/admin/ge
|
|
|
135
141
|
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
136
142
|
export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
137
143
|
export * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
|
|
144
|
+
export * as ComAtprotoAdminListCommunicationTemplates from './types/com/atproto/admin/listCommunicationTemplates';
|
|
138
145
|
export * as ComAtprotoAdminQueryModerationEvents from './types/com/atproto/admin/queryModerationEvents';
|
|
139
146
|
export * as ComAtprotoAdminQueryModerationStatuses from './types/com/atproto/admin/queryModerationStatuses';
|
|
140
147
|
export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
141
148
|
export * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
|
|
142
149
|
export * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
|
|
143
150
|
export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
|
|
151
|
+
export * as ComAtprotoAdminUpdateCommunicationTemplate from './types/com/atproto/admin/updateCommunicationTemplate';
|
|
144
152
|
export * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
|
|
145
153
|
export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
|
|
146
154
|
export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
|
|
@@ -312,7 +320,9 @@ export declare class ComAtprotoNS {
|
|
|
312
320
|
export declare class ComAtprotoAdminNS {
|
|
313
321
|
_service: AtpServiceClient;
|
|
314
322
|
constructor(service: AtpServiceClient);
|
|
323
|
+
createCommunicationTemplate(data?: ComAtprotoAdminCreateCommunicationTemplate.InputSchema, opts?: ComAtprotoAdminCreateCommunicationTemplate.CallOptions): Promise<ComAtprotoAdminCreateCommunicationTemplate.Response>;
|
|
315
324
|
deleteAccount(data?: ComAtprotoAdminDeleteAccount.InputSchema, opts?: ComAtprotoAdminDeleteAccount.CallOptions): Promise<ComAtprotoAdminDeleteAccount.Response>;
|
|
325
|
+
deleteCommunicationTemplate(data?: ComAtprotoAdminDeleteCommunicationTemplate.InputSchema, opts?: ComAtprotoAdminDeleteCommunicationTemplate.CallOptions): Promise<ComAtprotoAdminDeleteCommunicationTemplate.Response>;
|
|
316
326
|
disableAccountInvites(data?: ComAtprotoAdminDisableAccountInvites.InputSchema, opts?: ComAtprotoAdminDisableAccountInvites.CallOptions): Promise<ComAtprotoAdminDisableAccountInvites.Response>;
|
|
317
327
|
disableInviteCodes(data?: ComAtprotoAdminDisableInviteCodes.InputSchema, opts?: ComAtprotoAdminDisableInviteCodes.CallOptions): Promise<ComAtprotoAdminDisableInviteCodes.Response>;
|
|
318
328
|
emitModerationEvent(data?: ComAtprotoAdminEmitModerationEvent.InputSchema, opts?: ComAtprotoAdminEmitModerationEvent.CallOptions): Promise<ComAtprotoAdminEmitModerationEvent.Response>;
|
|
@@ -324,12 +334,14 @@ export declare class ComAtprotoAdminNS {
|
|
|
324
334
|
getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
|
|
325
335
|
getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
|
|
326
336
|
getSubjectStatus(params?: ComAtprotoAdminGetSubjectStatus.QueryParams, opts?: ComAtprotoAdminGetSubjectStatus.CallOptions): Promise<ComAtprotoAdminGetSubjectStatus.Response>;
|
|
337
|
+
listCommunicationTemplates(params?: ComAtprotoAdminListCommunicationTemplates.QueryParams, opts?: ComAtprotoAdminListCommunicationTemplates.CallOptions): Promise<ComAtprotoAdminListCommunicationTemplates.Response>;
|
|
327
338
|
queryModerationEvents(params?: ComAtprotoAdminQueryModerationEvents.QueryParams, opts?: ComAtprotoAdminQueryModerationEvents.CallOptions): Promise<ComAtprotoAdminQueryModerationEvents.Response>;
|
|
328
339
|
queryModerationStatuses(params?: ComAtprotoAdminQueryModerationStatuses.QueryParams, opts?: ComAtprotoAdminQueryModerationStatuses.CallOptions): Promise<ComAtprotoAdminQueryModerationStatuses.Response>;
|
|
329
340
|
searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
|
|
330
341
|
sendEmail(data?: ComAtprotoAdminSendEmail.InputSchema, opts?: ComAtprotoAdminSendEmail.CallOptions): Promise<ComAtprotoAdminSendEmail.Response>;
|
|
331
342
|
updateAccountEmail(data?: ComAtprotoAdminUpdateAccountEmail.InputSchema, opts?: ComAtprotoAdminUpdateAccountEmail.CallOptions): Promise<ComAtprotoAdminUpdateAccountEmail.Response>;
|
|
332
343
|
updateAccountHandle(data?: ComAtprotoAdminUpdateAccountHandle.InputSchema, opts?: ComAtprotoAdminUpdateAccountHandle.CallOptions): Promise<ComAtprotoAdminUpdateAccountHandle.Response>;
|
|
344
|
+
updateCommunicationTemplate(data?: ComAtprotoAdminUpdateCommunicationTemplate.InputSchema, opts?: ComAtprotoAdminUpdateCommunicationTemplate.CallOptions): Promise<ComAtprotoAdminUpdateCommunicationTemplate.Response>;
|
|
333
345
|
updateSubjectStatus(data?: ComAtprotoAdminUpdateSubjectStatus.InputSchema, opts?: ComAtprotoAdminUpdateSubjectStatus.CallOptions): Promise<ComAtprotoAdminUpdateSubjectStatus.Response>;
|
|
334
346
|
}
|
|
335
347
|
export declare class ComAtprotoIdentityNS {
|
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
import { LexiconDoc, Lexicons } from '@atproto/lexicon';
|
|
2
2
|
export declare const schemaDict: {
|
|
3
|
+
ComAtprotoAdminCreateCommunicationTemplate: {
|
|
4
|
+
lexicon: number;
|
|
5
|
+
id: string;
|
|
6
|
+
defs: {
|
|
7
|
+
main: {
|
|
8
|
+
type: string;
|
|
9
|
+
description: string;
|
|
10
|
+
input: {
|
|
11
|
+
encoding: string;
|
|
12
|
+
schema: {
|
|
13
|
+
type: string;
|
|
14
|
+
required: string[];
|
|
15
|
+
properties: {
|
|
16
|
+
name: {
|
|
17
|
+
type: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
contentMarkdown: {
|
|
21
|
+
type: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
subject: {
|
|
25
|
+
type: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
createdBy: {
|
|
29
|
+
type: string;
|
|
30
|
+
format: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
output: {
|
|
37
|
+
encoding: string;
|
|
38
|
+
schema: {
|
|
39
|
+
type: string;
|
|
40
|
+
ref: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
3
46
|
ComAtprotoAdminDefs: {
|
|
4
47
|
lexicon: number;
|
|
5
48
|
id: string;
|
|
@@ -736,6 +779,43 @@ export declare const schemaDict: {
|
|
|
736
779
|
};
|
|
737
780
|
};
|
|
738
781
|
};
|
|
782
|
+
communicationTemplateView: {
|
|
783
|
+
type: string;
|
|
784
|
+
required: string[];
|
|
785
|
+
properties: {
|
|
786
|
+
id: {
|
|
787
|
+
type: string;
|
|
788
|
+
};
|
|
789
|
+
name: {
|
|
790
|
+
type: string;
|
|
791
|
+
description: string;
|
|
792
|
+
};
|
|
793
|
+
subject: {
|
|
794
|
+
type: string;
|
|
795
|
+
description: string;
|
|
796
|
+
};
|
|
797
|
+
contentMarkdown: {
|
|
798
|
+
type: string;
|
|
799
|
+
description: string;
|
|
800
|
+
};
|
|
801
|
+
disabled: {
|
|
802
|
+
type: string;
|
|
803
|
+
};
|
|
804
|
+
lastUpdatedBy: {
|
|
805
|
+
type: string;
|
|
806
|
+
format: string;
|
|
807
|
+
description: string;
|
|
808
|
+
};
|
|
809
|
+
createdAt: {
|
|
810
|
+
type: string;
|
|
811
|
+
format: string;
|
|
812
|
+
};
|
|
813
|
+
updatedAt: {
|
|
814
|
+
type: string;
|
|
815
|
+
format: string;
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
};
|
|
739
819
|
};
|
|
740
820
|
};
|
|
741
821
|
ComAtprotoAdminDeleteAccount: {
|
|
@@ -761,6 +841,28 @@ export declare const schemaDict: {
|
|
|
761
841
|
};
|
|
762
842
|
};
|
|
763
843
|
};
|
|
844
|
+
ComAtprotoAdminDeleteCommunicationTemplate: {
|
|
845
|
+
lexicon: number;
|
|
846
|
+
id: string;
|
|
847
|
+
defs: {
|
|
848
|
+
main: {
|
|
849
|
+
type: string;
|
|
850
|
+
description: string;
|
|
851
|
+
input: {
|
|
852
|
+
encoding: string;
|
|
853
|
+
schema: {
|
|
854
|
+
type: string;
|
|
855
|
+
required: string[];
|
|
856
|
+
properties: {
|
|
857
|
+
id: {
|
|
858
|
+
type: string;
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
};
|
|
764
866
|
ComAtprotoAdminDisableAccountInvites: {
|
|
765
867
|
lexicon: number;
|
|
766
868
|
id: string;
|
|
@@ -1141,6 +1243,32 @@ export declare const schemaDict: {
|
|
|
1141
1243
|
};
|
|
1142
1244
|
};
|
|
1143
1245
|
};
|
|
1246
|
+
ComAtprotoAdminListCommunicationTemplates: {
|
|
1247
|
+
lexicon: number;
|
|
1248
|
+
id: string;
|
|
1249
|
+
defs: {
|
|
1250
|
+
main: {
|
|
1251
|
+
type: string;
|
|
1252
|
+
description: string;
|
|
1253
|
+
output: {
|
|
1254
|
+
encoding: string;
|
|
1255
|
+
schema: {
|
|
1256
|
+
type: string;
|
|
1257
|
+
required: string[];
|
|
1258
|
+
properties: {
|
|
1259
|
+
communicationTemplates: {
|
|
1260
|
+
type: string;
|
|
1261
|
+
items: {
|
|
1262
|
+
type: string;
|
|
1263
|
+
ref: string;
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1144
1272
|
ComAtprotoAdminQueryModerationEvents: {
|
|
1145
1273
|
lexicon: number;
|
|
1146
1274
|
id: string;
|
|
@@ -1472,6 +1600,56 @@ export declare const schemaDict: {
|
|
|
1472
1600
|
};
|
|
1473
1601
|
};
|
|
1474
1602
|
};
|
|
1603
|
+
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
1604
|
+
lexicon: number;
|
|
1605
|
+
id: string;
|
|
1606
|
+
defs: {
|
|
1607
|
+
main: {
|
|
1608
|
+
type: string;
|
|
1609
|
+
description: string;
|
|
1610
|
+
input: {
|
|
1611
|
+
encoding: string;
|
|
1612
|
+
schema: {
|
|
1613
|
+
type: string;
|
|
1614
|
+
required: string[];
|
|
1615
|
+
properties: {
|
|
1616
|
+
id: {
|
|
1617
|
+
type: string;
|
|
1618
|
+
description: string;
|
|
1619
|
+
};
|
|
1620
|
+
name: {
|
|
1621
|
+
type: string;
|
|
1622
|
+
description: string;
|
|
1623
|
+
};
|
|
1624
|
+
contentMarkdown: {
|
|
1625
|
+
type: string;
|
|
1626
|
+
description: string;
|
|
1627
|
+
};
|
|
1628
|
+
subject: {
|
|
1629
|
+
type: string;
|
|
1630
|
+
description: string;
|
|
1631
|
+
};
|
|
1632
|
+
updatedBy: {
|
|
1633
|
+
type: string;
|
|
1634
|
+
format: string;
|
|
1635
|
+
description: string;
|
|
1636
|
+
};
|
|
1637
|
+
disabled: {
|
|
1638
|
+
type: string;
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
output: {
|
|
1644
|
+
encoding: string;
|
|
1645
|
+
schema: {
|
|
1646
|
+
type: string;
|
|
1647
|
+
ref: string;
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1652
|
+
};
|
|
1475
1653
|
ComAtprotoAdminUpdateSubjectStatus: {
|
|
1476
1654
|
lexicon: number;
|
|
1477
1655
|
id: string;
|
|
@@ -7411,8 +7589,10 @@ export declare const schemaDict: {
|
|
|
7411
7589
|
export declare const schemas: LexiconDoc[];
|
|
7412
7590
|
export declare const lexicons: Lexicons;
|
|
7413
7591
|
export declare const ids: {
|
|
7592
|
+
ComAtprotoAdminCreateCommunicationTemplate: string;
|
|
7414
7593
|
ComAtprotoAdminDefs: string;
|
|
7415
7594
|
ComAtprotoAdminDeleteAccount: string;
|
|
7595
|
+
ComAtprotoAdminDeleteCommunicationTemplate: string;
|
|
7416
7596
|
ComAtprotoAdminDisableAccountInvites: string;
|
|
7417
7597
|
ComAtprotoAdminDisableInviteCodes: string;
|
|
7418
7598
|
ComAtprotoAdminEmitModerationEvent: string;
|
|
@@ -7424,12 +7604,14 @@ export declare const ids: {
|
|
|
7424
7604
|
ComAtprotoAdminGetRecord: string;
|
|
7425
7605
|
ComAtprotoAdminGetRepo: string;
|
|
7426
7606
|
ComAtprotoAdminGetSubjectStatus: string;
|
|
7607
|
+
ComAtprotoAdminListCommunicationTemplates: string;
|
|
7427
7608
|
ComAtprotoAdminQueryModerationEvents: string;
|
|
7428
7609
|
ComAtprotoAdminQueryModerationStatuses: string;
|
|
7429
7610
|
ComAtprotoAdminSearchRepos: string;
|
|
7430
7611
|
ComAtprotoAdminSendEmail: string;
|
|
7431
7612
|
ComAtprotoAdminUpdateAccountEmail: string;
|
|
7432
7613
|
ComAtprotoAdminUpdateAccountHandle: string;
|
|
7614
|
+
ComAtprotoAdminUpdateCommunicationTemplate: string;
|
|
7433
7615
|
ComAtprotoAdminUpdateSubjectStatus: string;
|
|
7434
7616
|
ComAtprotoIdentityResolveHandle: string;
|
|
7435
7617
|
ComAtprotoIdentityUpdateHandle: string;
|
|
@@ -3,12 +3,13 @@ import * as ComAtprotoAdminDefs from './defs';
|
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
}
|
|
5
5
|
export interface InputSchema {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
name: string;
|
|
7
|
+
contentMarkdown: string;
|
|
8
|
+
subject: string;
|
|
9
|
+
createdBy?: string;
|
|
9
10
|
[k: string]: unknown;
|
|
10
11
|
}
|
|
11
|
-
export
|
|
12
|
+
export type OutputSchema = ComAtprotoAdminDefs.CommunicationTemplateView;
|
|
12
13
|
export interface CallOptions {
|
|
13
14
|
headers?: Headers;
|
|
14
15
|
qp?: QueryParams;
|
|
@@ -317,3 +317,16 @@ export interface ModEventEmail {
|
|
|
317
317
|
}
|
|
318
318
|
export declare function isModEventEmail(v: unknown): v is ModEventEmail;
|
|
319
319
|
export declare function validateModEventEmail(v: unknown): ValidationResult;
|
|
320
|
+
export interface CommunicationTemplateView {
|
|
321
|
+
id: string;
|
|
322
|
+
name: string;
|
|
323
|
+
subject?: string;
|
|
324
|
+
contentMarkdown: string;
|
|
325
|
+
disabled: boolean;
|
|
326
|
+
lastUpdatedBy: string;
|
|
327
|
+
createdAt: string;
|
|
328
|
+
updatedAt: string;
|
|
329
|
+
[k: string]: unknown;
|
|
330
|
+
}
|
|
331
|
+
export declare function isCommunicationTemplateView(v: unknown): v is CommunicationTemplateView;
|
|
332
|
+
export declare function validateCommunicationTemplateView(v: unknown): ValidationResult;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as
|
|
2
|
+
import * as ComAtprotoAdminDefs from './defs';
|
|
3
3
|
export interface QueryParams {
|
|
4
|
-
dids: string[];
|
|
5
4
|
}
|
|
6
5
|
export type InputSchema = undefined;
|
|
7
6
|
export interface OutputSchema {
|
|
8
|
-
|
|
7
|
+
communicationTemplates: ComAtprotoAdminDefs.CommunicationTemplateView[];
|
|
9
8
|
[k: string]: unknown;
|
|
10
9
|
}
|
|
11
10
|
export interface CallOptions {
|
|
@@ -3,12 +3,15 @@ import * as ComAtprotoAdminDefs from './defs';
|
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
}
|
|
5
5
|
export interface InputSchema {
|
|
6
|
-
id:
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
contentMarkdown?: string;
|
|
9
|
+
subject?: string;
|
|
10
|
+
updatedBy?: string;
|
|
11
|
+
disabled?: boolean;
|
|
9
12
|
[k: string]: unknown;
|
|
10
13
|
}
|
|
11
|
-
export
|
|
14
|
+
export type OutputSchema = ComAtprotoAdminDefs.CommunicationTemplateView;
|
|
12
15
|
export interface CallOptions {
|
|
13
16
|
headers?: Headers;
|
|
14
17
|
qp?: QueryParams;
|