/** * GENERATED CODE - DO NOT MODIFY */ import { XrpcClient, type FetchHandler, type FetchHandlerOptions, } from "@atproto/xrpc"; import { schemas } from "./lexicons.ts"; import { CID } from "multiformats/cid"; import { type OmitKey, type Un$Typed } from "./util.ts"; import * as AppBskyActorDefs from "./types/app/bsky/actor/defs.ts"; import * as AppBskyActorGetPreferences from "./types/app/bsky/actor/getPreferences.ts"; import * as AppBskyActorGetProfile from "./types/app/bsky/actor/getProfile.ts"; import * as AppBskyActorGetProfiles from "./types/app/bsky/actor/getProfiles.ts"; import * as AppBskyActorGetSuggestions from "./types/app/bsky/actor/getSuggestions.ts"; import * as AppBskyActorProfile from "./types/app/bsky/actor/profile.ts"; import * as AppBskyActorPutPreferences from "./types/app/bsky/actor/putPreferences.ts"; import * as AppBskyActorSearchActors from "./types/app/bsky/actor/searchActors.ts"; import * as AppBskyActorSearchActorsTypeahead from "./types/app/bsky/actor/searchActorsTypeahead.ts"; import * as AppBskyEmbedDefs from "./types/app/bsky/embed/defs.ts"; import * as AppBskyEmbedExternal from "./types/app/bsky/embed/external.ts"; import * as AppBskyEmbedImages from "./types/app/bsky/embed/images.ts"; import * as AppBskyEmbedRecord from "./types/app/bsky/embed/record.ts"; import * as AppBskyEmbedRecordWithMedia from "./types/app/bsky/embed/recordWithMedia.ts"; import * as AppBskyEmbedVideo from "./types/app/bsky/embed/video.ts"; import * as AppBskyFeedDefs from "./types/app/bsky/feed/defs.ts"; import * as AppBskyFeedDescribeFeedGenerator from "./types/app/bsky/feed/describeFeedGenerator.ts"; import * as AppBskyFeedGenerator from "./types/app/bsky/feed/generator.ts"; import * as AppBskyFeedGetActorFeeds from "./types/app/bsky/feed/getActorFeeds.ts"; import * as AppBskyFeedGetActorLikes from "./types/app/bsky/feed/getActorLikes.ts"; import * as AppBskyFeedGetAuthorFeed from "./types/app/bsky/feed/getAuthorFeed.ts"; import * as AppBskyFeedGetFeed from "./types/app/bsky/feed/getFeed.ts"; import * as AppBskyFeedGetFeedGenerator from "./types/app/bsky/feed/getFeedGenerator.ts"; import * as AppBskyFeedGetFeedGenerators from "./types/app/bsky/feed/getFeedGenerators.ts"; import * as AppBskyFeedGetFeedSkeleton from "./types/app/bsky/feed/getFeedSkeleton.ts"; import * as AppBskyFeedGetLikes from "./types/app/bsky/feed/getLikes.ts"; import * as AppBskyFeedGetListFeed from "./types/app/bsky/feed/getListFeed.ts"; import * as AppBskyFeedGetPostThread from "./types/app/bsky/feed/getPostThread.ts"; import * as AppBskyFeedGetPosts from "./types/app/bsky/feed/getPosts.ts"; import * as AppBskyFeedGetQuotes from "./types/app/bsky/feed/getQuotes.ts"; import * as AppBskyFeedGetRepostedBy from "./types/app/bsky/feed/getRepostedBy.ts"; import * as AppBskyFeedGetSuggestedFeeds from "./types/app/bsky/feed/getSuggestedFeeds.ts"; import * as AppBskyFeedGetTimeline from "./types/app/bsky/feed/getTimeline.ts"; import * as AppBskyFeedLike from "./types/app/bsky/feed/like.ts"; import * as AppBskyFeedPost from "./types/app/bsky/feed/post.ts"; import * as AppBskyFeedPostgate from "./types/app/bsky/feed/postgate.ts"; import * as AppBskyFeedRepost from "./types/app/bsky/feed/repost.ts"; import * as AppBskyFeedSearchPosts from "./types/app/bsky/feed/searchPosts.ts"; import * as AppBskyFeedSendInteractions from "./types/app/bsky/feed/sendInteractions.ts"; import * as AppBskyFeedThreadgate from "./types/app/bsky/feed/threadgate.ts"; import * as AppBskyGraphBlock from "./types/app/bsky/graph/block.ts"; import * as AppBskyGraphDefs from "./types/app/bsky/graph/defs.ts"; import * as AppBskyGraphFollow from "./types/app/bsky/graph/follow.ts"; import * as AppBskyGraphGetActorStarterPacks from "./types/app/bsky/graph/getActorStarterPacks.ts"; import * as AppBskyGraphGetBlocks from "./types/app/bsky/graph/getBlocks.ts"; import * as AppBskyGraphGetFollowers from "./types/app/bsky/graph/getFollowers.ts"; import * as AppBskyGraphGetFollows from "./types/app/bsky/graph/getFollows.ts"; import * as AppBskyGraphGetKnownFollowers from "./types/app/bsky/graph/getKnownFollowers.ts"; import * as AppBskyGraphGetList from "./types/app/bsky/graph/getList.ts"; import * as AppBskyGraphGetListBlocks from "./types/app/bsky/graph/getListBlocks.ts"; import * as AppBskyGraphGetListMutes from "./types/app/bsky/graph/getListMutes.ts"; import * as AppBskyGraphGetLists from "./types/app/bsky/graph/getLists.ts"; import * as AppBskyGraphGetMutes from "./types/app/bsky/graph/getMutes.ts"; import * as AppBskyGraphGetRelationships from "./types/app/bsky/graph/getRelationships.ts"; import * as AppBskyGraphGetStarterPack from "./types/app/bsky/graph/getStarterPack.ts"; import * as AppBskyGraphGetStarterPacks from "./types/app/bsky/graph/getStarterPacks.ts"; import * as AppBskyGraphGetSuggestedFollowsByActor from "./types/app/bsky/graph/getSuggestedFollowsByActor.ts"; import * as AppBskyGraphList from "./types/app/bsky/graph/list.ts"; import * as AppBskyGraphListblock from "./types/app/bsky/graph/listblock.ts"; import * as AppBskyGraphListitem from "./types/app/bsky/graph/listitem.ts"; import * as AppBskyGraphMuteActor from "./types/app/bsky/graph/muteActor.ts"; import * as AppBskyGraphMuteActorList from "./types/app/bsky/graph/muteActorList.ts"; import * as AppBskyGraphMuteThread from "./types/app/bsky/graph/muteThread.ts"; import * as AppBskyGraphSearchStarterPacks from "./types/app/bsky/graph/searchStarterPacks.ts"; import * as AppBskyGraphStarterpack from "./types/app/bsky/graph/starterpack.ts"; import * as AppBskyGraphUnmuteActor from "./types/app/bsky/graph/unmuteActor.ts"; import * as AppBskyGraphUnmuteActorList from "./types/app/bsky/graph/unmuteActorList.ts"; import * as AppBskyGraphUnmuteThread from "./types/app/bsky/graph/unmuteThread.ts"; import * as AppBskyLabelerDefs from "./types/app/bsky/labeler/defs.ts"; import * as AppBskyLabelerGetServices from "./types/app/bsky/labeler/getServices.ts"; import * as AppBskyLabelerService from "./types/app/bsky/labeler/service.ts"; import * as AppBskyNotificationGetUnreadCount from "./types/app/bsky/notification/getUnreadCount.ts"; import * as AppBskyNotificationListNotifications from "./types/app/bsky/notification/listNotifications.ts"; import * as AppBskyNotificationPutPreferences from "./types/app/bsky/notification/putPreferences.ts"; import * as AppBskyNotificationRegisterPush from "./types/app/bsky/notification/registerPush.ts"; import * as AppBskyNotificationUpdateSeen from "./types/app/bsky/notification/updateSeen.ts"; import * as AppBskyRichtextFacet from "./types/app/bsky/richtext/facet.ts"; import * as AppBskyUnspeccedDefs from "./types/app/bsky/unspecced/defs.ts"; import * as AppBskyUnspeccedGetConfig from "./types/app/bsky/unspecced/getConfig.ts"; import * as AppBskyUnspeccedGetPopularFeedGenerators from "./types/app/bsky/unspecced/getPopularFeedGenerators.ts"; import * as AppBskyUnspeccedGetSuggestedFeeds from "./types/app/bsky/unspecced/getSuggestedFeeds.ts"; import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from "./types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts"; import * as AppBskyUnspeccedGetSuggestedStarterPacks from "./types/app/bsky/unspecced/getSuggestedStarterPacks.ts"; import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from "./types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts"; import * as AppBskyUnspeccedGetSuggestedUsers from "./types/app/bsky/unspecced/getSuggestedUsers.ts"; import * as AppBskyUnspeccedGetSuggestedUsersSkeleton from "./types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"; import * as AppBskyUnspeccedGetSuggestionsSkeleton from "./types/app/bsky/unspecced/getSuggestionsSkeleton.ts"; import * as AppBskyUnspeccedGetTaggedSuggestions from "./types/app/bsky/unspecced/getTaggedSuggestions.ts"; import * as AppBskyUnspeccedGetTrendingTopics from "./types/app/bsky/unspecced/getTrendingTopics.ts"; import * as AppBskyUnspeccedGetTrends from "./types/app/bsky/unspecced/getTrends.ts"; import * as AppBskyUnspeccedGetTrendsSkeleton from "./types/app/bsky/unspecced/getTrendsSkeleton.ts"; import * as AppBskyUnspeccedSearchActorsSkeleton from "./types/app/bsky/unspecced/searchActorsSkeleton.ts"; import * as AppBskyUnspeccedSearchPostsSkeleton from "./types/app/bsky/unspecced/searchPostsSkeleton.ts"; import * as AppBskyUnspeccedSearchStarterPacksSkeleton from "./types/app/bsky/unspecced/searchStarterPacksSkeleton.ts"; import * as AppBskyVideoDefs from "./types/app/bsky/video/defs.ts"; import * as AppBskyVideoGetJobStatus from "./types/app/bsky/video/getJobStatus.ts"; import * as AppBskyVideoGetUploadLimits from "./types/app/bsky/video/getUploadLimits.ts"; import * as AppBskyVideoUploadVideo from "./types/app/bsky/video/uploadVideo.ts"; import * as ChatBskyActorDeclaration from "./types/chat/bsky/actor/declaration.ts"; import * as ChatBskyActorDefs from "./types/chat/bsky/actor/defs.ts"; import * as ChatBskyActorDeleteAccount from "./types/chat/bsky/actor/deleteAccount.ts"; import * as ChatBskyActorExportAccountData from "./types/chat/bsky/actor/exportAccountData.ts"; import * as ChatBskyConvoAcceptConvo from "./types/chat/bsky/convo/acceptConvo.ts"; import * as ChatBskyConvoAddReaction from "./types/chat/bsky/convo/addReaction.ts"; import * as ChatBskyConvoDefs from "./types/chat/bsky/convo/defs.ts"; import * as ChatBskyConvoDeleteMessageForSelf from "./types/chat/bsky/convo/deleteMessageForSelf.ts"; import * as ChatBskyConvoGetConvo from "./types/chat/bsky/convo/getConvo.ts"; import * as ChatBskyConvoGetConvoAvailability from "./types/chat/bsky/convo/getConvoAvailability.ts"; import * as ChatBskyConvoGetConvoForMembers from "./types/chat/bsky/convo/getConvoForMembers.ts"; import * as ChatBskyConvoGetLog from "./types/chat/bsky/convo/getLog.ts"; import * as ChatBskyConvoGetMessages from "./types/chat/bsky/convo/getMessages.ts"; import * as ChatBskyConvoLeaveConvo from "./types/chat/bsky/convo/leaveConvo.ts"; import * as ChatBskyConvoListConvos from "./types/chat/bsky/convo/listConvos.ts"; import * as ChatBskyConvoMuteConvo from "./types/chat/bsky/convo/muteConvo.ts"; import * as ChatBskyConvoRemoveReaction from "./types/chat/bsky/convo/removeReaction.ts"; import * as ChatBskyConvoSendMessage from "./types/chat/bsky/convo/sendMessage.ts"; import * as ChatBskyConvoSendMessageBatch from "./types/chat/bsky/convo/sendMessageBatch.ts"; import * as ChatBskyConvoUnmuteConvo from "./types/chat/bsky/convo/unmuteConvo.ts"; import * as ChatBskyConvoUpdateAllRead from "./types/chat/bsky/convo/updateAllRead.ts"; import * as ChatBskyConvoUpdateRead from "./types/chat/bsky/convo/updateRead.ts"; import * as ChatBskyModerationGetActorMetadata from "./types/chat/bsky/moderation/getActorMetadata.ts"; import * as ChatBskyModerationGetMessageContext from "./types/chat/bsky/moderation/getMessageContext.ts"; import * as ChatBskyModerationUpdateActorAccess from "./types/chat/bsky/moderation/updateActorAccess.ts"; import * as ComAtprotoAdminDefs from "./types/com/atproto/admin/defs.ts"; import * as ComAtprotoAdminDeleteAccount from "./types/com/atproto/admin/deleteAccount.ts"; import * as ComAtprotoAdminDisableAccountInvites from "./types/com/atproto/admin/disableAccountInvites.ts"; import * as ComAtprotoAdminDisableInviteCodes from "./types/com/atproto/admin/disableInviteCodes.ts"; import * as ComAtprotoAdminEnableAccountInvites from "./types/com/atproto/admin/enableAccountInvites.ts"; import * as ComAtprotoAdminGetAccountInfo from "./types/com/atproto/admin/getAccountInfo.ts"; import * as ComAtprotoAdminGetAccountInfos from "./types/com/atproto/admin/getAccountInfos.ts"; import * as ComAtprotoAdminGetInviteCodes from "./types/com/atproto/admin/getInviteCodes.ts"; import * as ComAtprotoAdminGetSubjectStatus from "./types/com/atproto/admin/getSubjectStatus.ts"; import * as ComAtprotoAdminSearchAccounts from "./types/com/atproto/admin/searchAccounts.ts"; import * as ComAtprotoAdminSendEmail from "./types/com/atproto/admin/sendEmail.ts"; import * as ComAtprotoAdminUpdateAccountEmail from "./types/com/atproto/admin/updateAccountEmail.ts"; import * as ComAtprotoAdminUpdateAccountHandle from "./types/com/atproto/admin/updateAccountHandle.ts"; import * as ComAtprotoAdminUpdateAccountPassword from "./types/com/atproto/admin/updateAccountPassword.ts"; import * as ComAtprotoAdminUpdateAccountSigningKey from "./types/com/atproto/admin/updateAccountSigningKey.ts"; import * as ComAtprotoAdminUpdateSubjectStatus from "./types/com/atproto/admin/updateSubjectStatus.ts"; import * as ComAtprotoIdentityDefs from "./types/com/atproto/identity/defs.ts"; import * as ComAtprotoIdentityGetRecommendedDidCredentials from "./types/com/atproto/identity/getRecommendedDidCredentials.ts"; import * as ComAtprotoIdentityRefreshIdentity from "./types/com/atproto/identity/refreshIdentity.ts"; import * as ComAtprotoIdentityRequestPlcOperationSignature from "./types/com/atproto/identity/requestPlcOperationSignature.ts"; import * as ComAtprotoIdentityResolveDid from "./types/com/atproto/identity/resolveDid.ts"; import * as ComAtprotoIdentityResolveHandle from "./types/com/atproto/identity/resolveHandle.ts"; import * as ComAtprotoIdentityResolveIdentity from "./types/com/atproto/identity/resolveIdentity.ts"; import * as ComAtprotoIdentitySignPlcOperation from "./types/com/atproto/identity/signPlcOperation.ts"; import * as ComAtprotoIdentitySubmitPlcOperation from "./types/com/atproto/identity/submitPlcOperation.ts"; import * as ComAtprotoIdentityUpdateHandle from "./types/com/atproto/identity/updateHandle.ts"; import * as ComAtprotoLabelDefs from "./types/com/atproto/label/defs.ts"; import * as ComAtprotoLabelQueryLabels from "./types/com/atproto/label/queryLabels.ts"; import * as ComAtprotoLabelSubscribeLabels from "./types/com/atproto/label/subscribeLabels.ts"; import * as ComAtprotoLexiconSchema from "./types/com/atproto/lexicon/schema.ts"; import * as ComAtprotoModerationCreateReport from "./types/com/atproto/moderation/createReport.ts"; import * as ComAtprotoModerationDefs from "./types/com/atproto/moderation/defs.ts"; import * as ComAtprotoRepoApplyWrites from "./types/com/atproto/repo/applyWrites.ts"; import * as ComAtprotoRepoCreateRecord from "./types/com/atproto/repo/createRecord.ts"; import * as ComAtprotoRepoDefs from "./types/com/atproto/repo/defs.ts"; import * as ComAtprotoRepoDeleteRecord from "./types/com/atproto/repo/deleteRecord.ts"; import * as ComAtprotoRepoDescribeRepo from "./types/com/atproto/repo/describeRepo.ts"; import * as ComAtprotoRepoGetRecord from "./types/com/atproto/repo/getRecord.ts"; import * as ComAtprotoRepoImportRepo from "./types/com/atproto/repo/importRepo.ts"; import * as ComAtprotoRepoListMissingBlobs from "./types/com/atproto/repo/listMissingBlobs.ts"; import * as ComAtprotoRepoListRecords from "./types/com/atproto/repo/listRecords.ts"; import * as ComAtprotoRepoPutRecord from "./types/com/atproto/repo/putRecord.ts"; import * as ComAtprotoRepoStrongRef from "./types/com/atproto/repo/strongRef.ts"; import * as ComAtprotoRepoUploadBlob from "./types/com/atproto/repo/uploadBlob.ts"; import * as ComAtprotoServerActivateAccount from "./types/com/atproto/server/activateAccount.ts"; import * as ComAtprotoServerCheckAccountStatus from "./types/com/atproto/server/checkAccountStatus.ts"; import * as ComAtprotoServerConfirmEmail from "./types/com/atproto/server/confirmEmail.ts"; import * as ComAtprotoServerCreateAccount from "./types/com/atproto/server/createAccount.ts"; import * as ComAtprotoServerCreateAppPassword from "./types/com/atproto/server/createAppPassword.ts"; import * as ComAtprotoServerCreateInviteCode from "./types/com/atproto/server/createInviteCode.ts"; import * as ComAtprotoServerCreateInviteCodes from "./types/com/atproto/server/createInviteCodes.ts"; import * as ComAtprotoServerCreateSession from "./types/com/atproto/server/createSession.ts"; import * as ComAtprotoServerDeactivateAccount from "./types/com/atproto/server/deactivateAccount.ts"; import * as ComAtprotoServerDefs from "./types/com/atproto/server/defs.ts"; import * as ComAtprotoServerDeleteAccount from "./types/com/atproto/server/deleteAccount.ts"; import * as ComAtprotoServerDeleteSession from "./types/com/atproto/server/deleteSession.ts"; import * as ComAtprotoServerDescribeServer from "./types/com/atproto/server/describeServer.ts"; import * as ComAtprotoServerGetAccountInviteCodes from "./types/com/atproto/server/getAccountInviteCodes.ts"; import * as ComAtprotoServerGetServiceAuth from "./types/com/atproto/server/getServiceAuth.ts"; import * as ComAtprotoServerGetSession from "./types/com/atproto/server/getSession.ts"; import * as ComAtprotoServerListAppPasswords from "./types/com/atproto/server/listAppPasswords.ts"; import * as ComAtprotoServerRefreshSession from "./types/com/atproto/server/refreshSession.ts"; import * as ComAtprotoServerRequestAccountDelete from "./types/com/atproto/server/requestAccountDelete.ts"; import * as ComAtprotoServerRequestEmailConfirmation from "./types/com/atproto/server/requestEmailConfirmation.ts"; import * as ComAtprotoServerRequestEmailUpdate from "./types/com/atproto/server/requestEmailUpdate.ts"; import * as ComAtprotoServerRequestPasswordReset from "./types/com/atproto/server/requestPasswordReset.ts"; import * as ComAtprotoServerReserveSigningKey from "./types/com/atproto/server/reserveSigningKey.ts"; import * as ComAtprotoServerResetPassword from "./types/com/atproto/server/resetPassword.ts"; import * as ComAtprotoServerRevokeAppPassword from "./types/com/atproto/server/revokeAppPassword.ts"; import * as ComAtprotoServerUpdateEmail from "./types/com/atproto/server/updateEmail.ts"; import * as ComAtprotoSyncDefs from "./types/com/atproto/sync/defs.ts"; import * as ComAtprotoSyncGetBlob from "./types/com/atproto/sync/getBlob.ts"; import * as ComAtprotoSyncGetBlocks from "./types/com/atproto/sync/getBlocks.ts"; import * as ComAtprotoSyncGetCheckout from "./types/com/atproto/sync/getCheckout.ts"; import * as ComAtprotoSyncGetHead from "./types/com/atproto/sync/getHead.ts"; import * as ComAtprotoSyncGetHostStatus from "./types/com/atproto/sync/getHostStatus.ts"; import * as ComAtprotoSyncGetLatestCommit from "./types/com/atproto/sync/getLatestCommit.ts"; import * as ComAtprotoSyncGetRecord from "./types/com/atproto/sync/getRecord.ts"; import * as ComAtprotoSyncGetRepo from "./types/com/atproto/sync/getRepo.ts"; import * as ComAtprotoSyncGetRepoStatus from "./types/com/atproto/sync/getRepoStatus.ts"; import * as ComAtprotoSyncListBlobs from "./types/com/atproto/sync/listBlobs.ts"; import * as ComAtprotoSyncListHosts from "./types/com/atproto/sync/listHosts.ts"; import * as ComAtprotoSyncListRepos from "./types/com/atproto/sync/listRepos.ts"; import * as ComAtprotoSyncListReposByCollection from "./types/com/atproto/sync/listReposByCollection.ts"; import * as ComAtprotoSyncNotifyOfUpdate from "./types/com/atproto/sync/notifyOfUpdate.ts"; import * as ComAtprotoSyncRequestCrawl from "./types/com/atproto/sync/requestCrawl.ts"; import * as ComAtprotoSyncSubscribeRepos from "./types/com/atproto/sync/subscribeRepos.ts"; import * as ComAtprotoTempAddReservedHandle from "./types/com/atproto/temp/addReservedHandle.ts"; import * as ComAtprotoTempCheckSignupQueue from "./types/com/atproto/temp/checkSignupQueue.ts"; import * as ComAtprotoTempFetchLabels from "./types/com/atproto/temp/fetchLabels.ts"; import * as ComAtprotoTempRequestPhoneVerification from "./types/com/atproto/temp/requestPhoneVerification.ts"; import * as ToolsOzoneCommunicationCreateTemplate from "./types/tools/ozone/communication/createTemplate.ts"; import * as ToolsOzoneCommunicationDefs from "./types/tools/ozone/communication/defs.ts"; import * as ToolsOzoneCommunicationDeleteTemplate from "./types/tools/ozone/communication/deleteTemplate.ts"; import * as ToolsOzoneCommunicationListTemplates from "./types/tools/ozone/communication/listTemplates.ts"; import * as ToolsOzoneCommunicationUpdateTemplate from "./types/tools/ozone/communication/updateTemplate.ts"; import * as ToolsOzoneModerationDefs from "./types/tools/ozone/moderation/defs.ts"; import * as ToolsOzoneModerationEmitEvent from "./types/tools/ozone/moderation/emitEvent.ts"; import * as ToolsOzoneModerationGetEvent from "./types/tools/ozone/moderation/getEvent.ts"; import * as ToolsOzoneModerationGetRecord from "./types/tools/ozone/moderation/getRecord.ts"; import * as ToolsOzoneModerationGetRecords from "./types/tools/ozone/moderation/getRecords.ts"; import * as ToolsOzoneModerationGetRepo from "./types/tools/ozone/moderation/getRepo.ts"; import * as ToolsOzoneModerationGetReporterStats from "./types/tools/ozone/moderation/getReporterStats.ts"; import * as ToolsOzoneModerationGetRepos from "./types/tools/ozone/moderation/getRepos.ts"; import * as ToolsOzoneModerationGetSubjects from "./types/tools/ozone/moderation/getSubjects.ts"; import * as ToolsOzoneModerationQueryEvents from "./types/tools/ozone/moderation/queryEvents.ts"; import * as ToolsOzoneModerationQueryStatuses from "./types/tools/ozone/moderation/queryStatuses.ts"; import * as ToolsOzoneModerationSearchRepos from "./types/tools/ozone/moderation/searchRepos.ts"; import * as ToolsOzoneServerGetConfig from "./types/tools/ozone/server/getConfig.ts"; import * as ToolsOzoneSetAddValues from "./types/tools/ozone/set/addValues.ts"; import * as ToolsOzoneSetDefs from "./types/tools/ozone/set/defs.ts"; import * as ToolsOzoneSetDeleteSet from "./types/tools/ozone/set/deleteSet.ts"; import * as ToolsOzoneSetDeleteValues from "./types/tools/ozone/set/deleteValues.ts"; import * as ToolsOzoneSetGetValues from "./types/tools/ozone/set/getValues.ts"; import * as ToolsOzoneSetQuerySets from "./types/tools/ozone/set/querySets.ts"; import * as ToolsOzoneSetUpsertSet from "./types/tools/ozone/set/upsertSet.ts"; import * as ToolsOzoneSettingDefs from "./types/tools/ozone/setting/defs.ts"; import * as ToolsOzoneSettingListOptions from "./types/tools/ozone/setting/listOptions.ts"; import * as ToolsOzoneSettingRemoveOptions from "./types/tools/ozone/setting/removeOptions.ts"; import * as ToolsOzoneSettingUpsertOption from "./types/tools/ozone/setting/upsertOption.ts"; import * as ToolsOzoneSignatureDefs from "./types/tools/ozone/signature/defs.ts"; import * as ToolsOzoneSignatureFindCorrelation from "./types/tools/ozone/signature/findCorrelation.ts"; import * as ToolsOzoneSignatureFindRelatedAccounts from "./types/tools/ozone/signature/findRelatedAccounts.ts"; import * as ToolsOzoneSignatureSearchAccounts from "./types/tools/ozone/signature/searchAccounts.ts"; import * as ToolsOzoneTeamAddMember from "./types/tools/ozone/team/addMember.ts"; import * as ToolsOzoneTeamDefs from "./types/tools/ozone/team/defs.ts"; import * as ToolsOzoneTeamDeleteMember from "./types/tools/ozone/team/deleteMember.ts"; import * as ToolsOzoneTeamListMembers from "./types/tools/ozone/team/listMembers.ts"; import * as ToolsOzoneTeamUpdateMember from "./types/tools/ozone/team/updateMember.ts"; export * as AppBskyActorDefs from "./types/app/bsky/actor/defs.ts"; export * as AppBskyActorGetPreferences from "./types/app/bsky/actor/getPreferences.ts"; export * as AppBskyActorGetProfile from "./types/app/bsky/actor/getProfile.ts"; export * as AppBskyActorGetProfiles from "./types/app/bsky/actor/getProfiles.ts"; export * as AppBskyActorGetSuggestions from "./types/app/bsky/actor/getSuggestions.ts"; export * as AppBskyActorProfile from "./types/app/bsky/actor/profile.ts"; export * as AppBskyActorPutPreferences from "./types/app/bsky/actor/putPreferences.ts"; export * as AppBskyActorSearchActors from "./types/app/bsky/actor/searchActors.ts"; export * as AppBskyActorSearchActorsTypeahead from "./types/app/bsky/actor/searchActorsTypeahead.ts"; export * as AppBskyEmbedDefs from "./types/app/bsky/embed/defs.ts"; export * as AppBskyEmbedExternal from "./types/app/bsky/embed/external.ts"; export * as AppBskyEmbedImages from "./types/app/bsky/embed/images.ts"; export * as AppBskyEmbedRecord from "./types/app/bsky/embed/record.ts"; export * as AppBskyEmbedRecordWithMedia from "./types/app/bsky/embed/recordWithMedia.ts"; export * as AppBskyEmbedVideo from "./types/app/bsky/embed/video.ts"; export * as AppBskyFeedDefs from "./types/app/bsky/feed/defs.ts"; export * as AppBskyFeedDescribeFeedGenerator from "./types/app/bsky/feed/describeFeedGenerator.ts"; export * as AppBskyFeedGenerator from "./types/app/bsky/feed/generator.ts"; export * as AppBskyFeedGetActorFeeds from "./types/app/bsky/feed/getActorFeeds.ts"; export * as AppBskyFeedGetActorLikes from "./types/app/bsky/feed/getActorLikes.ts"; export * as AppBskyFeedGetAuthorFeed from "./types/app/bsky/feed/getAuthorFeed.ts"; export * as AppBskyFeedGetFeed from "./types/app/bsky/feed/getFeed.ts"; export * as AppBskyFeedGetFeedGenerator from "./types/app/bsky/feed/getFeedGenerator.ts"; export * as AppBskyFeedGetFeedGenerators from "./types/app/bsky/feed/getFeedGenerators.ts"; export * as AppBskyFeedGetFeedSkeleton from "./types/app/bsky/feed/getFeedSkeleton.ts"; export * as AppBskyFeedGetLikes from "./types/app/bsky/feed/getLikes.ts"; export * as AppBskyFeedGetListFeed from "./types/app/bsky/feed/getListFeed.ts"; export * as AppBskyFeedGetPostThread from "./types/app/bsky/feed/getPostThread.ts"; export * as AppBskyFeedGetPosts from "./types/app/bsky/feed/getPosts.ts"; export * as AppBskyFeedGetQuotes from "./types/app/bsky/feed/getQuotes.ts"; export * as AppBskyFeedGetRepostedBy from "./types/app/bsky/feed/getRepostedBy.ts"; export * as AppBskyFeedGetSuggestedFeeds from "./types/app/bsky/feed/getSuggestedFeeds.ts"; export * as AppBskyFeedGetTimeline from "./types/app/bsky/feed/getTimeline.ts"; export * as AppBskyFeedLike from "./types/app/bsky/feed/like.ts"; export * as AppBskyFeedPost from "./types/app/bsky/feed/post.ts"; export * as AppBskyFeedPostgate from "./types/app/bsky/feed/postgate.ts"; export * as AppBskyFeedRepost from "./types/app/bsky/feed/repost.ts"; export * as AppBskyFeedSearchPosts from "./types/app/bsky/feed/searchPosts.ts"; export * as AppBskyFeedSendInteractions from "./types/app/bsky/feed/sendInteractions.ts"; export * as AppBskyFeedThreadgate from "./types/app/bsky/feed/threadgate.ts"; export * as AppBskyGraphBlock from "./types/app/bsky/graph/block.ts"; export * as AppBskyGraphDefs from "./types/app/bsky/graph/defs.ts"; export * as AppBskyGraphFollow from "./types/app/bsky/graph/follow.ts"; export * as AppBskyGraphGetActorStarterPacks from "./types/app/bsky/graph/getActorStarterPacks.ts"; export * as AppBskyGraphGetBlocks from "./types/app/bsky/graph/getBlocks.ts"; export * as AppBskyGraphGetFollowers from "./types/app/bsky/graph/getFollowers.ts"; export * as AppBskyGraphGetFollows from "./types/app/bsky/graph/getFollows.ts"; export * as AppBskyGraphGetKnownFollowers from "./types/app/bsky/graph/getKnownFollowers.ts"; export * as AppBskyGraphGetList from "./types/app/bsky/graph/getList.ts"; export * as AppBskyGraphGetListBlocks from "./types/app/bsky/graph/getListBlocks.ts"; export * as AppBskyGraphGetListMutes from "./types/app/bsky/graph/getListMutes.ts"; export * as AppBskyGraphGetLists from "./types/app/bsky/graph/getLists.ts"; export * as AppBskyGraphGetMutes from "./types/app/bsky/graph/getMutes.ts"; export * as AppBskyGraphGetRelationships from "./types/app/bsky/graph/getRelationships.ts"; export * as AppBskyGraphGetStarterPack from "./types/app/bsky/graph/getStarterPack.ts"; export * as AppBskyGraphGetStarterPacks from "./types/app/bsky/graph/getStarterPacks.ts"; export * as AppBskyGraphGetSuggestedFollowsByActor from "./types/app/bsky/graph/getSuggestedFollowsByActor.ts"; export * as AppBskyGraphList from "./types/app/bsky/graph/list.ts"; export * as AppBskyGraphListblock from "./types/app/bsky/graph/listblock.ts"; export * as AppBskyGraphListitem from "./types/app/bsky/graph/listitem.ts"; export * as AppBskyGraphMuteActor from "./types/app/bsky/graph/muteActor.ts"; export * as AppBskyGraphMuteActorList from "./types/app/bsky/graph/muteActorList.ts"; export * as AppBskyGraphMuteThread from "./types/app/bsky/graph/muteThread.ts"; export * as AppBskyGraphSearchStarterPacks from "./types/app/bsky/graph/searchStarterPacks.ts"; export * as AppBskyGraphStarterpack from "./types/app/bsky/graph/starterpack.ts"; export * as AppBskyGraphUnmuteActor from "./types/app/bsky/graph/unmuteActor.ts"; export * as AppBskyGraphUnmuteActorList from "./types/app/bsky/graph/unmuteActorList.ts"; export * as AppBskyGraphUnmuteThread from "./types/app/bsky/graph/unmuteThread.ts"; export * as AppBskyLabelerDefs from "./types/app/bsky/labeler/defs.ts"; export * as AppBskyLabelerGetServices from "./types/app/bsky/labeler/getServices.ts"; export * as AppBskyLabelerService from "./types/app/bsky/labeler/service.ts"; export * as AppBskyNotificationGetUnreadCount from "./types/app/bsky/notification/getUnreadCount.ts"; export * as AppBskyNotificationListNotifications from "./types/app/bsky/notification/listNotifications.ts"; export * as AppBskyNotificationPutPreferences from "./types/app/bsky/notification/putPreferences.ts"; export * as AppBskyNotificationRegisterPush from "./types/app/bsky/notification/registerPush.ts"; export * as AppBskyNotificationUpdateSeen from "./types/app/bsky/notification/updateSeen.ts"; export * as AppBskyRichtextFacet from "./types/app/bsky/richtext/facet.ts"; export * as AppBskyUnspeccedDefs from "./types/app/bsky/unspecced/defs.ts"; export * as AppBskyUnspeccedGetConfig from "./types/app/bsky/unspecced/getConfig.ts"; export * as AppBskyUnspeccedGetPopularFeedGenerators from "./types/app/bsky/unspecced/getPopularFeedGenerators.ts"; export * as AppBskyUnspeccedGetSuggestedFeeds from "./types/app/bsky/unspecced/getSuggestedFeeds.ts"; export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from "./types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts"; export * as AppBskyUnspeccedGetSuggestedStarterPacks from "./types/app/bsky/unspecced/getSuggestedStarterPacks.ts"; export * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from "./types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts"; export * as AppBskyUnspeccedGetSuggestedUsers from "./types/app/bsky/unspecced/getSuggestedUsers.ts"; export * as AppBskyUnspeccedGetSuggestedUsersSkeleton from "./types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"; export * as AppBskyUnspeccedGetSuggestionsSkeleton from "./types/app/bsky/unspecced/getSuggestionsSkeleton.ts"; export * as AppBskyUnspeccedGetTaggedSuggestions from "./types/app/bsky/unspecced/getTaggedSuggestions.ts"; export * as AppBskyUnspeccedGetTrendingTopics from "./types/app/bsky/unspecced/getTrendingTopics.ts"; export * as AppBskyUnspeccedGetTrends from "./types/app/bsky/unspecced/getTrends.ts"; export * as AppBskyUnspeccedGetTrendsSkeleton from "./types/app/bsky/unspecced/getTrendsSkeleton.ts"; export * as AppBskyUnspeccedSearchActorsSkeleton from "./types/app/bsky/unspecced/searchActorsSkeleton.ts"; export * as AppBskyUnspeccedSearchPostsSkeleton from "./types/app/bsky/unspecced/searchPostsSkeleton.ts"; export * as AppBskyUnspeccedSearchStarterPacksSkeleton from "./types/app/bsky/unspecced/searchStarterPacksSkeleton.ts"; export * as AppBskyVideoDefs from "./types/app/bsky/video/defs.ts"; export * as AppBskyVideoGetJobStatus from "./types/app/bsky/video/getJobStatus.ts"; export * as AppBskyVideoGetUploadLimits from "./types/app/bsky/video/getUploadLimits.ts"; export * as AppBskyVideoUploadVideo from "./types/app/bsky/video/uploadVideo.ts"; export * as ChatBskyActorDeclaration from "./types/chat/bsky/actor/declaration.ts"; export * as ChatBskyActorDefs from "./types/chat/bsky/actor/defs.ts"; export * as ChatBskyActorDeleteAccount from "./types/chat/bsky/actor/deleteAccount.ts"; export * as ChatBskyActorExportAccountData from "./types/chat/bsky/actor/exportAccountData.ts"; export * as ChatBskyConvoAcceptConvo from "./types/chat/bsky/convo/acceptConvo.ts"; export * as ChatBskyConvoAddReaction from "./types/chat/bsky/convo/addReaction.ts"; export * as ChatBskyConvoDefs from "./types/chat/bsky/convo/defs.ts"; export * as ChatBskyConvoDeleteMessageForSelf from "./types/chat/bsky/convo/deleteMessageForSelf.ts"; export * as ChatBskyConvoGetConvo from "./types/chat/bsky/convo/getConvo.ts"; export * as ChatBskyConvoGetConvoAvailability from "./types/chat/bsky/convo/getConvoAvailability.ts"; export * as ChatBskyConvoGetConvoForMembers from "./types/chat/bsky/convo/getConvoForMembers.ts"; export * as ChatBskyConvoGetLog from "./types/chat/bsky/convo/getLog.ts"; export * as ChatBskyConvoGetMessages from "./types/chat/bsky/convo/getMessages.ts"; export * as ChatBskyConvoLeaveConvo from "./types/chat/bsky/convo/leaveConvo.ts"; export * as ChatBskyConvoListConvos from "./types/chat/bsky/convo/listConvos.ts"; export * as ChatBskyConvoMuteConvo from "./types/chat/bsky/convo/muteConvo.ts"; export * as ChatBskyConvoRemoveReaction from "./types/chat/bsky/convo/removeReaction.ts"; export * as ChatBskyConvoSendMessage from "./types/chat/bsky/convo/sendMessage.ts"; export * as ChatBskyConvoSendMessageBatch from "./types/chat/bsky/convo/sendMessageBatch.ts"; export * as ChatBskyConvoUnmuteConvo from "./types/chat/bsky/convo/unmuteConvo.ts"; export * as ChatBskyConvoUpdateAllRead from "./types/chat/bsky/convo/updateAllRead.ts"; export * as ChatBskyConvoUpdateRead from "./types/chat/bsky/convo/updateRead.ts"; export * as ChatBskyModerationGetActorMetadata from "./types/chat/bsky/moderation/getActorMetadata.ts"; export * as ChatBskyModerationGetMessageContext from "./types/chat/bsky/moderation/getMessageContext.ts"; export * as ChatBskyModerationUpdateActorAccess from "./types/chat/bsky/moderation/updateActorAccess.ts"; export * as ComAtprotoAdminDefs from "./types/com/atproto/admin/defs.ts"; export * as ComAtprotoAdminDeleteAccount from "./types/com/atproto/admin/deleteAccount.ts"; export * as ComAtprotoAdminDisableAccountInvites from "./types/com/atproto/admin/disableAccountInvites.ts"; export * as ComAtprotoAdminDisableInviteCodes from "./types/com/atproto/admin/disableInviteCodes.ts"; export * as ComAtprotoAdminEnableAccountInvites from "./types/com/atproto/admin/enableAccountInvites.ts"; export * as ComAtprotoAdminGetAccountInfo from "./types/com/atproto/admin/getAccountInfo.ts"; export * as ComAtprotoAdminGetAccountInfos from "./types/com/atproto/admin/getAccountInfos.ts"; export * as ComAtprotoAdminGetInviteCodes from "./types/com/atproto/admin/getInviteCodes.ts"; export * as ComAtprotoAdminGetSubjectStatus from "./types/com/atproto/admin/getSubjectStatus.ts"; export * as ComAtprotoAdminSearchAccounts from "./types/com/atproto/admin/searchAccounts.ts"; export * as ComAtprotoAdminSendEmail from "./types/com/atproto/admin/sendEmail.ts"; export * as ComAtprotoAdminUpdateAccountEmail from "./types/com/atproto/admin/updateAccountEmail.ts"; export * as ComAtprotoAdminUpdateAccountHandle from "./types/com/atproto/admin/updateAccountHandle.ts"; export * as ComAtprotoAdminUpdateAccountPassword from "./types/com/atproto/admin/updateAccountPassword.ts"; export * as ComAtprotoAdminUpdateAccountSigningKey from "./types/com/atproto/admin/updateAccountSigningKey.ts"; export * as ComAtprotoAdminUpdateSubjectStatus from "./types/com/atproto/admin/updateSubjectStatus.ts"; export * as ComAtprotoIdentityDefs from "./types/com/atproto/identity/defs.ts"; export * as ComAtprotoIdentityGetRecommendedDidCredentials from "./types/com/atproto/identity/getRecommendedDidCredentials.ts"; export * as ComAtprotoIdentityRefreshIdentity from "./types/com/atproto/identity/refreshIdentity.ts"; export * as ComAtprotoIdentityRequestPlcOperationSignature from "./types/com/atproto/identity/requestPlcOperationSignature.ts"; export * as ComAtprotoIdentityResolveDid from "./types/com/atproto/identity/resolveDid.ts"; export * as ComAtprotoIdentityResolveHandle from "./types/com/atproto/identity/resolveHandle.ts"; export * as ComAtprotoIdentityResolveIdentity from "./types/com/atproto/identity/resolveIdentity.ts"; export * as ComAtprotoIdentitySignPlcOperation from "./types/com/atproto/identity/signPlcOperation.ts"; export * as ComAtprotoIdentitySubmitPlcOperation from "./types/com/atproto/identity/submitPlcOperation.ts"; export * as ComAtprotoIdentityUpdateHandle from "./types/com/atproto/identity/updateHandle.ts"; export * as ComAtprotoLabelDefs from "./types/com/atproto/label/defs.ts"; export * as ComAtprotoLabelQueryLabels from "./types/com/atproto/label/queryLabels.ts"; export * as ComAtprotoLabelSubscribeLabels from "./types/com/atproto/label/subscribeLabels.ts"; export * as ComAtprotoLexiconSchema from "./types/com/atproto/lexicon/schema.ts"; export * as ComAtprotoModerationCreateReport from "./types/com/atproto/moderation/createReport.ts"; export * as ComAtprotoModerationDefs from "./types/com/atproto/moderation/defs.ts"; export * as ComAtprotoRepoApplyWrites from "./types/com/atproto/repo/applyWrites.ts"; export * as ComAtprotoRepoCreateRecord from "./types/com/atproto/repo/createRecord.ts"; export * as ComAtprotoRepoDefs from "./types/com/atproto/repo/defs.ts"; export * as ComAtprotoRepoDeleteRecord from "./types/com/atproto/repo/deleteRecord.ts"; export * as ComAtprotoRepoDescribeRepo from "./types/com/atproto/repo/describeRepo.ts"; export * as ComAtprotoRepoGetRecord from "./types/com/atproto/repo/getRecord.ts"; export * as ComAtprotoRepoImportRepo from "./types/com/atproto/repo/importRepo.ts"; export * as ComAtprotoRepoListMissingBlobs from "./types/com/atproto/repo/listMissingBlobs.ts"; export * as ComAtprotoRepoListRecords from "./types/com/atproto/repo/listRecords.ts"; export * as ComAtprotoRepoPutRecord from "./types/com/atproto/repo/putRecord.ts"; export * as ComAtprotoRepoStrongRef from "./types/com/atproto/repo/strongRef.ts"; export * as ComAtprotoRepoUploadBlob from "./types/com/atproto/repo/uploadBlob.ts"; export * as ComAtprotoServerActivateAccount from "./types/com/atproto/server/activateAccount.ts"; export * as ComAtprotoServerCheckAccountStatus from "./types/com/atproto/server/checkAccountStatus.ts"; export * as ComAtprotoServerConfirmEmail from "./types/com/atproto/server/confirmEmail.ts"; export * as ComAtprotoServerCreateAccount from "./types/com/atproto/server/createAccount.ts"; export * as ComAtprotoServerCreateAppPassword from "./types/com/atproto/server/createAppPassword.ts"; export * as ComAtprotoServerCreateInviteCode from "./types/com/atproto/server/createInviteCode.ts"; export * as ComAtprotoServerCreateInviteCodes from "./types/com/atproto/server/createInviteCodes.ts"; export * as ComAtprotoServerCreateSession from "./types/com/atproto/server/createSession.ts"; export * as ComAtprotoServerDeactivateAccount from "./types/com/atproto/server/deactivateAccount.ts"; export * as ComAtprotoServerDefs from "./types/com/atproto/server/defs.ts"; export * as ComAtprotoServerDeleteAccount from "./types/com/atproto/server/deleteAccount.ts"; export * as ComAtprotoServerDeleteSession from "./types/com/atproto/server/deleteSession.ts"; export * as ComAtprotoServerDescribeServer from "./types/com/atproto/server/describeServer.ts"; export * as ComAtprotoServerGetAccountInviteCodes from "./types/com/atproto/server/getAccountInviteCodes.ts"; export * as ComAtprotoServerGetServiceAuth from "./types/com/atproto/server/getServiceAuth.ts"; export * as ComAtprotoServerGetSession from "./types/com/atproto/server/getSession.ts"; export * as ComAtprotoServerListAppPasswords from "./types/com/atproto/server/listAppPasswords.ts"; export * as ComAtprotoServerRefreshSession from "./types/com/atproto/server/refreshSession.ts"; export * as ComAtprotoServerRequestAccountDelete from "./types/com/atproto/server/requestAccountDelete.ts"; export * as ComAtprotoServerRequestEmailConfirmation from "./types/com/atproto/server/requestEmailConfirmation.ts"; export * as ComAtprotoServerRequestEmailUpdate from "./types/com/atproto/server/requestEmailUpdate.ts"; export * as ComAtprotoServerRequestPasswordReset from "./types/com/atproto/server/requestPasswordReset.ts"; export * as ComAtprotoServerReserveSigningKey from "./types/com/atproto/server/reserveSigningKey.ts"; export * as ComAtprotoServerResetPassword from "./types/com/atproto/server/resetPassword.ts"; export * as ComAtprotoServerRevokeAppPassword from "./types/com/atproto/server/revokeAppPassword.ts"; export * as ComAtprotoServerUpdateEmail from "./types/com/atproto/server/updateEmail.ts"; export * as ComAtprotoSyncDefs from "./types/com/atproto/sync/defs.ts"; export * as ComAtprotoSyncGetBlob from "./types/com/atproto/sync/getBlob.ts"; export * as ComAtprotoSyncGetBlocks from "./types/com/atproto/sync/getBlocks.ts"; export * as ComAtprotoSyncGetCheckout from "./types/com/atproto/sync/getCheckout.ts"; export * as ComAtprotoSyncGetHead from "./types/com/atproto/sync/getHead.ts"; export * as ComAtprotoSyncGetHostStatus from "./types/com/atproto/sync/getHostStatus.ts"; export * as ComAtprotoSyncGetLatestCommit from "./types/com/atproto/sync/getLatestCommit.ts"; export * as ComAtprotoSyncGetRecord from "./types/com/atproto/sync/getRecord.ts"; export * as ComAtprotoSyncGetRepo from "./types/com/atproto/sync/getRepo.ts"; export * as ComAtprotoSyncGetRepoStatus from "./types/com/atproto/sync/getRepoStatus.ts"; export * as ComAtprotoSyncListBlobs from "./types/com/atproto/sync/listBlobs.ts"; export * as ComAtprotoSyncListHosts from "./types/com/atproto/sync/listHosts.ts"; export * as ComAtprotoSyncListRepos from "./types/com/atproto/sync/listRepos.ts"; export * as ComAtprotoSyncListReposByCollection from "./types/com/atproto/sync/listReposByCollection.ts"; export * as ComAtprotoSyncNotifyOfUpdate from "./types/com/atproto/sync/notifyOfUpdate.ts"; export * as ComAtprotoSyncRequestCrawl from "./types/com/atproto/sync/requestCrawl.ts"; export * as ComAtprotoSyncSubscribeRepos from "./types/com/atproto/sync/subscribeRepos.ts"; export * as ComAtprotoTempAddReservedHandle from "./types/com/atproto/temp/addReservedHandle.ts"; export * as ComAtprotoTempCheckSignupQueue from "./types/com/atproto/temp/checkSignupQueue.ts"; export * as ComAtprotoTempFetchLabels from "./types/com/atproto/temp/fetchLabels.ts"; export * as ComAtprotoTempRequestPhoneVerification from "./types/com/atproto/temp/requestPhoneVerification.ts"; export * as ToolsOzoneCommunicationCreateTemplate from "./types/tools/ozone/communication/createTemplate.ts"; export * as ToolsOzoneCommunicationDefs from "./types/tools/ozone/communication/defs.ts"; export * as ToolsOzoneCommunicationDeleteTemplate from "./types/tools/ozone/communication/deleteTemplate.ts"; export * as ToolsOzoneCommunicationListTemplates from "./types/tools/ozone/communication/listTemplates.ts"; export * as ToolsOzoneCommunicationUpdateTemplate from "./types/tools/ozone/communication/updateTemplate.ts"; export * as ToolsOzoneModerationDefs from "./types/tools/ozone/moderation/defs.ts"; export * as ToolsOzoneModerationEmitEvent from "./types/tools/ozone/moderation/emitEvent.ts"; export * as ToolsOzoneModerationGetEvent from "./types/tools/ozone/moderation/getEvent.ts"; export * as ToolsOzoneModerationGetRecord from "./types/tools/ozone/moderation/getRecord.ts"; export * as ToolsOzoneModerationGetRecords from "./types/tools/ozone/moderation/getRecords.ts"; export * as ToolsOzoneModerationGetRepo from "./types/tools/ozone/moderation/getRepo.ts"; export * as ToolsOzoneModerationGetReporterStats from "./types/tools/ozone/moderation/getReporterStats.ts"; export * as ToolsOzoneModerationGetRepos from "./types/tools/ozone/moderation/getRepos.ts"; export * as ToolsOzoneModerationGetSubjects from "./types/tools/ozone/moderation/getSubjects.ts"; export * as ToolsOzoneModerationQueryEvents from "./types/tools/ozone/moderation/queryEvents.ts"; export * as ToolsOzoneModerationQueryStatuses from "./types/tools/ozone/moderation/queryStatuses.ts"; export * as ToolsOzoneModerationSearchRepos from "./types/tools/ozone/moderation/searchRepos.ts"; export * as ToolsOzoneServerGetConfig from "./types/tools/ozone/server/getConfig.ts"; export * as ToolsOzoneSetAddValues from "./types/tools/ozone/set/addValues.ts"; export * as ToolsOzoneSetDefs from "./types/tools/ozone/set/defs.ts"; export * as ToolsOzoneSetDeleteSet from "./types/tools/ozone/set/deleteSet.ts"; export * as ToolsOzoneSetDeleteValues from "./types/tools/ozone/set/deleteValues.ts"; export * as ToolsOzoneSetGetValues from "./types/tools/ozone/set/getValues.ts"; export * as ToolsOzoneSetQuerySets from "./types/tools/ozone/set/querySets.ts"; export * as ToolsOzoneSetUpsertSet from "./types/tools/ozone/set/upsertSet.ts"; export * as ToolsOzoneSettingDefs from "./types/tools/ozone/setting/defs.ts"; export * as ToolsOzoneSettingListOptions from "./types/tools/ozone/setting/listOptions.ts"; export * as ToolsOzoneSettingRemoveOptions from "./types/tools/ozone/setting/removeOptions.ts"; export * as ToolsOzoneSettingUpsertOption from "./types/tools/ozone/setting/upsertOption.ts"; export * as ToolsOzoneSignatureDefs from "./types/tools/ozone/signature/defs.ts"; export * as ToolsOzoneSignatureFindCorrelation from "./types/tools/ozone/signature/findCorrelation.ts"; export * as ToolsOzoneSignatureFindRelatedAccounts from "./types/tools/ozone/signature/findRelatedAccounts.ts"; export * as ToolsOzoneSignatureSearchAccounts from "./types/tools/ozone/signature/searchAccounts.ts"; export * as ToolsOzoneTeamAddMember from "./types/tools/ozone/team/addMember.ts"; export * as ToolsOzoneTeamDefs from "./types/tools/ozone/team/defs.ts"; export * as ToolsOzoneTeamDeleteMember from "./types/tools/ozone/team/deleteMember.ts"; export * as ToolsOzoneTeamListMembers from "./types/tools/ozone/team/listMembers.ts"; export * as ToolsOzoneTeamUpdateMember from "./types/tools/ozone/team/updateMember.ts"; export const APP_BSKY_FEED = { DefsRequestLess: "app.bsky.feed.defs#requestLess", DefsRequestMore: "app.bsky.feed.defs#requestMore", DefsClickthroughItem: "app.bsky.feed.defs#clickthroughItem", DefsClickthroughAuthor: "app.bsky.feed.defs#clickthroughAuthor", DefsClickthroughReposter: "app.bsky.feed.defs#clickthroughReposter", DefsClickthroughEmbed: "app.bsky.feed.defs#clickthroughEmbed", DefsContentModeUnspecified: "app.bsky.feed.defs#contentModeUnspecified", DefsContentModeVideo: "app.bsky.feed.defs#contentModeVideo", DefsInteractionSeen: "app.bsky.feed.defs#interactionSeen", DefsInteractionLike: "app.bsky.feed.defs#interactionLike", DefsInteractionRepost: "app.bsky.feed.defs#interactionRepost", DefsInteractionReply: "app.bsky.feed.defs#interactionReply", DefsInteractionQuote: "app.bsky.feed.defs#interactionQuote", DefsInteractionShare: "app.bsky.feed.defs#interactionShare", }; export const APP_BSKY_GRAPH = { DefsModlist: "app.bsky.graph.defs#modlist", DefsCuratelist: "app.bsky.graph.defs#curatelist", DefsReferencelist: "app.bsky.graph.defs#referencelist", }; export const COM_ATPROTO_MODERATION = { DefsReasonSpam: "com.atproto.moderation.defs#reasonSpam", DefsReasonViolation: "com.atproto.moderation.defs#reasonViolation", DefsReasonMisleading: "com.atproto.moderation.defs#reasonMisleading", DefsReasonSexual: "com.atproto.moderation.defs#reasonSexual", DefsReasonRude: "com.atproto.moderation.defs#reasonRude", DefsReasonOther: "com.atproto.moderation.defs#reasonOther", DefsReasonAppeal: "com.atproto.moderation.defs#reasonAppeal", }; export const TOOLS_OZONE_MODERATION = { DefsReviewOpen: "tools.ozone.moderation.defs#reviewOpen", DefsReviewEscalated: "tools.ozone.moderation.defs#reviewEscalated", DefsReviewClosed: "tools.ozone.moderation.defs#reviewClosed", DefsReviewNone: "tools.ozone.moderation.defs#reviewNone", }; export const TOOLS_OZONE_TEAM = { DefsRoleAdmin: "tools.ozone.team.defs#roleAdmin", DefsRoleModerator: "tools.ozone.team.defs#roleModerator", DefsRoleTriage: "tools.ozone.team.defs#roleTriage", }; export class AtpBaseClient extends XrpcClient { app: AppNS; chat: ChatNS; com: ComNS; tools: ToolsNS; constructor(options: FetchHandler | FetchHandlerOptions) { super(options, schemas); this.app = new AppNS(this); this.chat = new ChatNS(this); this.com = new ComNS(this); this.tools = new ToolsNS(this); } /** @deprecated use `this` instead */ get xrpc(): XrpcClient { return this; } } export class AppNS { _client: XrpcClient; bsky: AppBskyNS; constructor(client: XrpcClient) { this._client = client; this.bsky = new AppBskyNS(client); } } export class AppBskyNS { _client: XrpcClient; actor: AppBskyActorNS; embed: AppBskyEmbedNS; feed: AppBskyFeedNS; graph: AppBskyGraphNS; labeler: AppBskyLabelerNS; notification: AppBskyNotificationNS; richtext: AppBskyRichtextNS; unspecced: AppBskyUnspeccedNS; video: AppBskyVideoNS; constructor(client: XrpcClient) { this._client = client; this.actor = new AppBskyActorNS(client); this.embed = new AppBskyEmbedNS(client); this.feed = new AppBskyFeedNS(client); this.graph = new AppBskyGraphNS(client); this.labeler = new AppBskyLabelerNS(client); this.notification = new AppBskyNotificationNS(client); this.richtext = new AppBskyRichtextNS(client); this.unspecced = new AppBskyUnspeccedNS(client); this.video = new AppBskyVideoNS(client); } } export class AppBskyActorNS { _client: XrpcClient; profile: ProfileRecord; constructor(client: XrpcClient) { this._client = client; this.profile = new ProfileRecord(client); } getPreferences( params?: AppBskyActorGetPreferences.QueryParams, opts?: AppBskyActorGetPreferences.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.getPreferences", params, undefined, opts, ); } getProfile( params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.getProfile", params, undefined, opts, ); } getProfiles( params?: AppBskyActorGetProfiles.QueryParams, opts?: AppBskyActorGetProfiles.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.getProfiles", params, undefined, opts, ); } getSuggestions( params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.getSuggestions", params, undefined, opts, ); } putPreferences( data?: AppBskyActorPutPreferences.InputSchema, opts?: AppBskyActorPutPreferences.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.putPreferences", opts?.qp, data, opts, ); } searchActors( params?: AppBskyActorSearchActors.QueryParams, opts?: AppBskyActorSearchActors.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.searchActors", params, undefined, opts, ); } searchActorsTypeahead( params?: AppBskyActorSearchActorsTypeahead.QueryParams, opts?: AppBskyActorSearchActorsTypeahead.CallOptions, ): Promise { return this._client.call( "app.bsky.actor.searchActorsTypeahead", params, undefined, opts, ); } } export class ProfileRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyActorProfile.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.actor.profile", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyActorProfile.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.actor.profile", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.actor.profile"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, rkey: "self", ...params, record: { ...record, $type: collection }, }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.actor.profile", ...params }, { headers }, ); } } export class AppBskyEmbedNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } } export class AppBskyFeedNS { _client: XrpcClient; generator: GeneratorRecord; like: LikeRecord; post: PostRecord; postgate: PostgateRecord; repost: RepostRecord; threadgate: ThreadgateRecord; constructor(client: XrpcClient) { this._client = client; this.generator = new GeneratorRecord(client); this.like = new LikeRecord(client); this.post = new PostRecord(client); this.postgate = new PostgateRecord(client); this.repost = new RepostRecord(client); this.threadgate = new ThreadgateRecord(client); } describeFeedGenerator( params?: AppBskyFeedDescribeFeedGenerator.QueryParams, opts?: AppBskyFeedDescribeFeedGenerator.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.describeFeedGenerator", params, undefined, opts, ); } getActorFeeds( params?: AppBskyFeedGetActorFeeds.QueryParams, opts?: AppBskyFeedGetActorFeeds.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getActorFeeds", params, undefined, opts, ); } getActorLikes( params?: AppBskyFeedGetActorLikes.QueryParams, opts?: AppBskyFeedGetActorLikes.CallOptions, ): Promise { return this._client .call("app.bsky.feed.getActorLikes", params, undefined, opts) .catch((e) => { throw AppBskyFeedGetActorLikes.toKnownErr(e); }); } getAuthorFeed( params?: AppBskyFeedGetAuthorFeed.QueryParams, opts?: AppBskyFeedGetAuthorFeed.CallOptions, ): Promise { return this._client .call("app.bsky.feed.getAuthorFeed", params, undefined, opts) .catch((e) => { throw AppBskyFeedGetAuthorFeed.toKnownErr(e); }); } getFeed( params?: AppBskyFeedGetFeed.QueryParams, opts?: AppBskyFeedGetFeed.CallOptions, ): Promise { return this._client .call("app.bsky.feed.getFeed", params, undefined, opts) .catch((e) => { throw AppBskyFeedGetFeed.toKnownErr(e); }); } getFeedGenerator( params?: AppBskyFeedGetFeedGenerator.QueryParams, opts?: AppBskyFeedGetFeedGenerator.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getFeedGenerator", params, undefined, opts, ); } getFeedGenerators( params?: AppBskyFeedGetFeedGenerators.QueryParams, opts?: AppBskyFeedGetFeedGenerators.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getFeedGenerators", params, undefined, opts, ); } getFeedSkeleton( params?: AppBskyFeedGetFeedSkeleton.QueryParams, opts?: AppBskyFeedGetFeedSkeleton.CallOptions, ): Promise { return this._client .call("app.bsky.feed.getFeedSkeleton", params, undefined, opts) .catch((e) => { throw AppBskyFeedGetFeedSkeleton.toKnownErr(e); }); } getLikes( params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions, ): Promise { return this._client.call("app.bsky.feed.getLikes", params, undefined, opts); } getListFeed( params?: AppBskyFeedGetListFeed.QueryParams, opts?: AppBskyFeedGetListFeed.CallOptions, ): Promise { return this._client .call("app.bsky.feed.getListFeed", params, undefined, opts) .catch((e) => { throw AppBskyFeedGetListFeed.toKnownErr(e); }); } getPostThread( params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions, ): Promise { return this._client .call("app.bsky.feed.getPostThread", params, undefined, opts) .catch((e) => { throw AppBskyFeedGetPostThread.toKnownErr(e); }); } getPosts( params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions, ): Promise { return this._client.call("app.bsky.feed.getPosts", params, undefined, opts); } getQuotes( params?: AppBskyFeedGetQuotes.QueryParams, opts?: AppBskyFeedGetQuotes.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getQuotes", params, undefined, opts, ); } getRepostedBy( params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getRepostedBy", params, undefined, opts, ); } getSuggestedFeeds( params?: AppBskyFeedGetSuggestedFeeds.QueryParams, opts?: AppBskyFeedGetSuggestedFeeds.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getSuggestedFeeds", params, undefined, opts, ); } getTimeline( params?: AppBskyFeedGetTimeline.QueryParams, opts?: AppBskyFeedGetTimeline.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.getTimeline", params, undefined, opts, ); } searchPosts( params?: AppBskyFeedSearchPosts.QueryParams, opts?: AppBskyFeedSearchPosts.CallOptions, ): Promise { return this._client .call("app.bsky.feed.searchPosts", params, undefined, opts) .catch((e) => { throw AppBskyFeedSearchPosts.toKnownErr(e); }); } sendInteractions( data?: AppBskyFeedSendInteractions.InputSchema, opts?: AppBskyFeedSendInteractions.CallOptions, ): Promise { return this._client.call( "app.bsky.feed.sendInteractions", opts?.qp, data, opts, ); } } export class GeneratorRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyFeedGenerator.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.feed.generator", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyFeedGenerator.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.feed.generator", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.feed.generator"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.feed.generator", ...params }, { headers }, ); } } export class LikeRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyFeedLike.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.feed.like", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyFeedLike.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.feed.like", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.feed.like"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.feed.like", ...params }, { headers }, ); } } export class PostRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyFeedPost.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.feed.post", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyFeedPost.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.feed.post", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.feed.post"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.feed.post", ...params }, { headers }, ); } } export class PostgateRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyFeedPostgate.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.feed.postgate", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyFeedPostgate.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.feed.postgate", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.feed.postgate"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.feed.postgate", ...params }, { headers }, ); } } export class RepostRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyFeedRepost.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.feed.repost", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyFeedRepost.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.feed.repost", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.feed.repost"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.feed.repost", ...params }, { headers }, ); } } export class ThreadgateRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyFeedThreadgate.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.feed.threadgate", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyFeedThreadgate.Record; }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.feed.threadgate", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.feed.threadgate"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.feed.threadgate", ...params }, { headers }, ); } } export class AppBskyGraphNS { _client: XrpcClient; block: BlockRecord; follow: FollowRecord; list: ListRecord; listblock: ListblockRecord; listitem: ListitemRecord; starterpack: StarterpackRecord; constructor(client: XrpcClient) { this._client = client; this.block = new BlockRecord(client); this.follow = new FollowRecord(client); this.list = new ListRecord(client); this.listblock = new ListblockRecord(client); this.listitem = new ListitemRecord(client); this.starterpack = new StarterpackRecord(client); } getActorStarterPacks( params?: AppBskyGraphGetActorStarterPacks.QueryParams, opts?: AppBskyGraphGetActorStarterPacks.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getActorStarterPacks", params, undefined, opts, ); } getBlocks( params?: AppBskyGraphGetBlocks.QueryParams, opts?: AppBskyGraphGetBlocks.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getBlocks", params, undefined, opts, ); } getFollowers( params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getFollowers", params, undefined, opts, ); } getFollows( params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getFollows", params, undefined, opts, ); } getKnownFollowers( params?: AppBskyGraphGetKnownFollowers.QueryParams, opts?: AppBskyGraphGetKnownFollowers.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getKnownFollowers", params, undefined, opts, ); } getList( params?: AppBskyGraphGetList.QueryParams, opts?: AppBskyGraphGetList.CallOptions, ): Promise { return this._client.call("app.bsky.graph.getList", params, undefined, opts); } getListBlocks( params?: AppBskyGraphGetListBlocks.QueryParams, opts?: AppBskyGraphGetListBlocks.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getListBlocks", params, undefined, opts, ); } getListMutes( params?: AppBskyGraphGetListMutes.QueryParams, opts?: AppBskyGraphGetListMutes.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getListMutes", params, undefined, opts, ); } getLists( params?: AppBskyGraphGetLists.QueryParams, opts?: AppBskyGraphGetLists.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getLists", params, undefined, opts, ); } getMutes( params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getMutes", params, undefined, opts, ); } getRelationships( params?: AppBskyGraphGetRelationships.QueryParams, opts?: AppBskyGraphGetRelationships.CallOptions, ): Promise { return this._client .call("app.bsky.graph.getRelationships", params, undefined, opts) .catch((e) => { throw AppBskyGraphGetRelationships.toKnownErr(e); }); } getStarterPack( params?: AppBskyGraphGetStarterPack.QueryParams, opts?: AppBskyGraphGetStarterPack.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getStarterPack", params, undefined, opts, ); } getStarterPacks( params?: AppBskyGraphGetStarterPacks.QueryParams, opts?: AppBskyGraphGetStarterPacks.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getStarterPacks", params, undefined, opts, ); } getSuggestedFollowsByActor( params?: AppBskyGraphGetSuggestedFollowsByActor.QueryParams, opts?: AppBskyGraphGetSuggestedFollowsByActor.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.getSuggestedFollowsByActor", params, undefined, opts, ); } muteActor( data?: AppBskyGraphMuteActor.InputSchema, opts?: AppBskyGraphMuteActor.CallOptions, ): Promise { return this._client.call("app.bsky.graph.muteActor", opts?.qp, data, opts); } muteActorList( data?: AppBskyGraphMuteActorList.InputSchema, opts?: AppBskyGraphMuteActorList.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.muteActorList", opts?.qp, data, opts, ); } muteThread( data?: AppBskyGraphMuteThread.InputSchema, opts?: AppBskyGraphMuteThread.CallOptions, ): Promise { return this._client.call("app.bsky.graph.muteThread", opts?.qp, data, opts); } searchStarterPacks( params?: AppBskyGraphSearchStarterPacks.QueryParams, opts?: AppBskyGraphSearchStarterPacks.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.searchStarterPacks", params, undefined, opts, ); } unmuteActor( data?: AppBskyGraphUnmuteActor.InputSchema, opts?: AppBskyGraphUnmuteActor.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.unmuteActor", opts?.qp, data, opts, ); } unmuteActorList( data?: AppBskyGraphUnmuteActorList.InputSchema, opts?: AppBskyGraphUnmuteActorList.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.unmuteActorList", opts?.qp, data, opts, ); } unmuteThread( data?: AppBskyGraphUnmuteThread.InputSchema, opts?: AppBskyGraphUnmuteThread.CallOptions, ): Promise { return this._client.call( "app.bsky.graph.unmuteThread", opts?.qp, data, opts, ); } } export class BlockRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyGraphBlock.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.graph.block", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyGraphBlock.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.graph.block", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.graph.block"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.graph.block", ...params }, { headers }, ); } } export class FollowRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyGraphFollow.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.graph.follow", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyGraphFollow.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.graph.follow", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.graph.follow"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.graph.follow", ...params }, { headers }, ); } } export class ListRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyGraphList.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.graph.list", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyGraphList.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.graph.list", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.graph.list"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.graph.list", ...params }, { headers }, ); } } export class ListblockRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyGraphListblock.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.graph.listblock", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyGraphListblock.Record; }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.graph.listblock", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.graph.listblock"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.graph.listblock", ...params }, { headers }, ); } } export class ListitemRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyGraphListitem.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.graph.listitem", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyGraphListitem.Record }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.graph.listitem", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.graph.listitem"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.graph.listitem", ...params }, { headers }, ); } } export class StarterpackRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyGraphStarterpack.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.graph.starterpack", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyGraphStarterpack.Record; }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.graph.starterpack", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.graph.starterpack"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.graph.starterpack", ...params }, { headers }, ); } } export class AppBskyLabelerNS { _client: XrpcClient; service: ServiceRecord; constructor(client: XrpcClient) { this._client = client; this.service = new ServiceRecord(client); } getServices( params?: AppBskyLabelerGetServices.QueryParams, opts?: AppBskyLabelerGetServices.CallOptions, ): Promise { return this._client.call( "app.bsky.labeler.getServices", params, undefined, opts, ); } } export class ServiceRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: AppBskyLabelerService.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "app.bsky.labeler.service", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyLabelerService.Record; }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "app.bsky.labeler.service", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "app.bsky.labeler.service"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, rkey: "self", ...params, record: { ...record, $type: collection }, }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "app.bsky.labeler.service", ...params }, { headers }, ); } } export class AppBskyNotificationNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getUnreadCount( params?: AppBskyNotificationGetUnreadCount.QueryParams, opts?: AppBskyNotificationGetUnreadCount.CallOptions, ): Promise { return this._client.call( "app.bsky.notification.getUnreadCount", params, undefined, opts, ); } listNotifications( params?: AppBskyNotificationListNotifications.QueryParams, opts?: AppBskyNotificationListNotifications.CallOptions, ): Promise { return this._client.call( "app.bsky.notification.listNotifications", params, undefined, opts, ); } putPreferences( data?: AppBskyNotificationPutPreferences.InputSchema, opts?: AppBskyNotificationPutPreferences.CallOptions, ): Promise { return this._client.call( "app.bsky.notification.putPreferences", opts?.qp, data, opts, ); } registerPush( data?: AppBskyNotificationRegisterPush.InputSchema, opts?: AppBskyNotificationRegisterPush.CallOptions, ): Promise { return this._client.call( "app.bsky.notification.registerPush", opts?.qp, data, opts, ); } updateSeen( data?: AppBskyNotificationUpdateSeen.InputSchema, opts?: AppBskyNotificationUpdateSeen.CallOptions, ): Promise { return this._client.call( "app.bsky.notification.updateSeen", opts?.qp, data, opts, ); } } export class AppBskyRichtextNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } } export class AppBskyUnspeccedNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getConfig( params?: AppBskyUnspeccedGetConfig.QueryParams, opts?: AppBskyUnspeccedGetConfig.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getConfig", params, undefined, opts, ); } getPopularFeedGenerators( params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getPopularFeedGenerators", params, undefined, opts, ); } getSuggestedFeeds( params?: AppBskyUnspeccedGetSuggestedFeeds.QueryParams, opts?: AppBskyUnspeccedGetSuggestedFeeds.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestedFeeds", params, undefined, opts, ); } getSuggestedFeedsSkeleton( params?: AppBskyUnspeccedGetSuggestedFeedsSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestedFeedsSkeleton.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestedFeedsSkeleton", params, undefined, opts, ); } getSuggestedStarterPacks( params?: AppBskyUnspeccedGetSuggestedStarterPacks.QueryParams, opts?: AppBskyUnspeccedGetSuggestedStarterPacks.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestedStarterPacks", params, undefined, opts, ); } getSuggestedStarterPacksSkeleton( params?: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestedStarterPacksSkeleton", params, undefined, opts, ); } getSuggestedUsers( params?: AppBskyUnspeccedGetSuggestedUsers.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsers.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestedUsers", params, undefined, opts, ); } getSuggestedUsersSkeleton( params?: AppBskyUnspeccedGetSuggestedUsersSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersSkeleton.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestedUsersSkeleton", params, undefined, opts, ); } getSuggestionsSkeleton( params?: AppBskyUnspeccedGetSuggestionsSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestionsSkeleton.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getSuggestionsSkeleton", params, undefined, opts, ); } getTaggedSuggestions( params?: AppBskyUnspeccedGetTaggedSuggestions.QueryParams, opts?: AppBskyUnspeccedGetTaggedSuggestions.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getTaggedSuggestions", params, undefined, opts, ); } getTrendingTopics( params?: AppBskyUnspeccedGetTrendingTopics.QueryParams, opts?: AppBskyUnspeccedGetTrendingTopics.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getTrendingTopics", params, undefined, opts, ); } getTrends( params?: AppBskyUnspeccedGetTrends.QueryParams, opts?: AppBskyUnspeccedGetTrends.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getTrends", params, undefined, opts, ); } getTrendsSkeleton( params?: AppBskyUnspeccedGetTrendsSkeleton.QueryParams, opts?: AppBskyUnspeccedGetTrendsSkeleton.CallOptions, ): Promise { return this._client.call( "app.bsky.unspecced.getTrendsSkeleton", params, undefined, opts, ); } searchActorsSkeleton( params?: AppBskyUnspeccedSearchActorsSkeleton.QueryParams, opts?: AppBskyUnspeccedSearchActorsSkeleton.CallOptions, ): Promise { return this._client .call("app.bsky.unspecced.searchActorsSkeleton", params, undefined, opts) .catch((e) => { throw AppBskyUnspeccedSearchActorsSkeleton.toKnownErr(e); }); } searchPostsSkeleton( params?: AppBskyUnspeccedSearchPostsSkeleton.QueryParams, opts?: AppBskyUnspeccedSearchPostsSkeleton.CallOptions, ): Promise { return this._client .call("app.bsky.unspecced.searchPostsSkeleton", params, undefined, opts) .catch((e) => { throw AppBskyUnspeccedSearchPostsSkeleton.toKnownErr(e); }); } searchStarterPacksSkeleton( params?: AppBskyUnspeccedSearchStarterPacksSkeleton.QueryParams, opts?: AppBskyUnspeccedSearchStarterPacksSkeleton.CallOptions, ): Promise { return this._client .call( "app.bsky.unspecced.searchStarterPacksSkeleton", params, undefined, opts, ) .catch((e) => { throw AppBskyUnspeccedSearchStarterPacksSkeleton.toKnownErr(e); }); } } export class AppBskyVideoNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getJobStatus( params?: AppBskyVideoGetJobStatus.QueryParams, opts?: AppBskyVideoGetJobStatus.CallOptions, ): Promise { return this._client.call( "app.bsky.video.getJobStatus", params, undefined, opts, ); } getUploadLimits( params?: AppBskyVideoGetUploadLimits.QueryParams, opts?: AppBskyVideoGetUploadLimits.CallOptions, ): Promise { return this._client.call( "app.bsky.video.getUploadLimits", params, undefined, opts, ); } uploadVideo( data?: AppBskyVideoUploadVideo.InputSchema, opts?: AppBskyVideoUploadVideo.CallOptions, ): Promise { return this._client.call( "app.bsky.video.uploadVideo", opts?.qp, data, opts, ); } } export class ChatNS { _client: XrpcClient; bsky: ChatBskyNS; constructor(client: XrpcClient) { this._client = client; this.bsky = new ChatBskyNS(client); } } export class ChatBskyNS { _client: XrpcClient; actor: ChatBskyActorNS; convo: ChatBskyConvoNS; moderation: ChatBskyModerationNS; constructor(client: XrpcClient) { this._client = client; this.actor = new ChatBskyActorNS(client); this.convo = new ChatBskyConvoNS(client); this.moderation = new ChatBskyModerationNS(client); } } export class ChatBskyActorNS { _client: XrpcClient; declaration: DeclarationRecord; constructor(client: XrpcClient) { this._client = client; this.declaration = new DeclarationRecord(client); } deleteAccount( data?: ChatBskyActorDeleteAccount.InputSchema, opts?: ChatBskyActorDeleteAccount.CallOptions, ): Promise { return this._client.call( "chat.bsky.actor.deleteAccount", opts?.qp, data, opts, ); } exportAccountData( params?: ChatBskyActorExportAccountData.QueryParams, opts?: ChatBskyActorExportAccountData.CallOptions, ): Promise { return this._client.call( "chat.bsky.actor.exportAccountData", params, undefined, opts, ); } } export class DeclarationRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: ChatBskyActorDeclaration.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "chat.bsky.actor.declaration", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: ChatBskyActorDeclaration.Record; }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "chat.bsky.actor.declaration", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "chat.bsky.actor.declaration"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, rkey: "self", ...params, record: { ...record, $type: collection }, }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "chat.bsky.actor.declaration", ...params }, { headers }, ); } } export class ChatBskyConvoNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } acceptConvo( data?: ChatBskyConvoAcceptConvo.InputSchema, opts?: ChatBskyConvoAcceptConvo.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.acceptConvo", opts?.qp, data, opts, ); } addReaction( data?: ChatBskyConvoAddReaction.InputSchema, opts?: ChatBskyConvoAddReaction.CallOptions, ): Promise { return this._client .call("chat.bsky.convo.addReaction", opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoAddReaction.toKnownErr(e); }); } deleteMessageForSelf( data?: ChatBskyConvoDeleteMessageForSelf.InputSchema, opts?: ChatBskyConvoDeleteMessageForSelf.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.deleteMessageForSelf", opts?.qp, data, opts, ); } getConvo( params?: ChatBskyConvoGetConvo.QueryParams, opts?: ChatBskyConvoGetConvo.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.getConvo", params, undefined, opts, ); } getConvoAvailability( params?: ChatBskyConvoGetConvoAvailability.QueryParams, opts?: ChatBskyConvoGetConvoAvailability.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.getConvoAvailability", params, undefined, opts, ); } getConvoForMembers( params?: ChatBskyConvoGetConvoForMembers.QueryParams, opts?: ChatBskyConvoGetConvoForMembers.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.getConvoForMembers", params, undefined, opts, ); } getLog( params?: ChatBskyConvoGetLog.QueryParams, opts?: ChatBskyConvoGetLog.CallOptions, ): Promise { return this._client.call("chat.bsky.convo.getLog", params, undefined, opts); } getMessages( params?: ChatBskyConvoGetMessages.QueryParams, opts?: ChatBskyConvoGetMessages.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.getMessages", params, undefined, opts, ); } leaveConvo( data?: ChatBskyConvoLeaveConvo.InputSchema, opts?: ChatBskyConvoLeaveConvo.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.leaveConvo", opts?.qp, data, opts, ); } listConvos( params?: ChatBskyConvoListConvos.QueryParams, opts?: ChatBskyConvoListConvos.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.listConvos", params, undefined, opts, ); } muteConvo( data?: ChatBskyConvoMuteConvo.InputSchema, opts?: ChatBskyConvoMuteConvo.CallOptions, ): Promise { return this._client.call("chat.bsky.convo.muteConvo", opts?.qp, data, opts); } removeReaction( data?: ChatBskyConvoRemoveReaction.InputSchema, opts?: ChatBskyConvoRemoveReaction.CallOptions, ): Promise { return this._client .call("chat.bsky.convo.removeReaction", opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoRemoveReaction.toKnownErr(e); }); } sendMessage( data?: ChatBskyConvoSendMessage.InputSchema, opts?: ChatBskyConvoSendMessage.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.sendMessage", opts?.qp, data, opts, ); } sendMessageBatch( data?: ChatBskyConvoSendMessageBatch.InputSchema, opts?: ChatBskyConvoSendMessageBatch.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.sendMessageBatch", opts?.qp, data, opts, ); } unmuteConvo( data?: ChatBskyConvoUnmuteConvo.InputSchema, opts?: ChatBskyConvoUnmuteConvo.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.unmuteConvo", opts?.qp, data, opts, ); } updateAllRead( data?: ChatBskyConvoUpdateAllRead.InputSchema, opts?: ChatBskyConvoUpdateAllRead.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.updateAllRead", opts?.qp, data, opts, ); } updateRead( data?: ChatBskyConvoUpdateRead.InputSchema, opts?: ChatBskyConvoUpdateRead.CallOptions, ): Promise { return this._client.call( "chat.bsky.convo.updateRead", opts?.qp, data, opts, ); } } export class ChatBskyModerationNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getActorMetadata( params?: ChatBskyModerationGetActorMetadata.QueryParams, opts?: ChatBskyModerationGetActorMetadata.CallOptions, ): Promise { return this._client.call( "chat.bsky.moderation.getActorMetadata", params, undefined, opts, ); } getMessageContext( params?: ChatBskyModerationGetMessageContext.QueryParams, opts?: ChatBskyModerationGetMessageContext.CallOptions, ): Promise { return this._client.call( "chat.bsky.moderation.getMessageContext", params, undefined, opts, ); } updateActorAccess( data?: ChatBskyModerationUpdateActorAccess.InputSchema, opts?: ChatBskyModerationUpdateActorAccess.CallOptions, ): Promise { return this._client.call( "chat.bsky.moderation.updateActorAccess", opts?.qp, data, opts, ); } } export class ComNS { _client: XrpcClient; atproto: ComAtprotoNS; constructor(client: XrpcClient) { this._client = client; this.atproto = new ComAtprotoNS(client); } } export class ComAtprotoNS { _client: XrpcClient; admin: ComAtprotoAdminNS; identity: ComAtprotoIdentityNS; label: ComAtprotoLabelNS; lexicon: ComAtprotoLexiconNS; moderation: ComAtprotoModerationNS; repo: ComAtprotoRepoNS; server: ComAtprotoServerNS; sync: ComAtprotoSyncNS; temp: ComAtprotoTempNS; constructor(client: XrpcClient) { this._client = client; this.admin = new ComAtprotoAdminNS(client); this.identity = new ComAtprotoIdentityNS(client); this.label = new ComAtprotoLabelNS(client); this.lexicon = new ComAtprotoLexiconNS(client); this.moderation = new ComAtprotoModerationNS(client); this.repo = new ComAtprotoRepoNS(client); this.server = new ComAtprotoServerNS(client); this.sync = new ComAtprotoSyncNS(client); this.temp = new ComAtprotoTempNS(client); } } export class ComAtprotoAdminNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } deleteAccount( data?: ComAtprotoAdminDeleteAccount.InputSchema, opts?: ComAtprotoAdminDeleteAccount.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.deleteAccount", opts?.qp, data, opts, ); } disableAccountInvites( data?: ComAtprotoAdminDisableAccountInvites.InputSchema, opts?: ComAtprotoAdminDisableAccountInvites.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.disableAccountInvites", opts?.qp, data, opts, ); } disableInviteCodes( data?: ComAtprotoAdminDisableInviteCodes.InputSchema, opts?: ComAtprotoAdminDisableInviteCodes.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.disableInviteCodes", opts?.qp, data, opts, ); } enableAccountInvites( data?: ComAtprotoAdminEnableAccountInvites.InputSchema, opts?: ComAtprotoAdminEnableAccountInvites.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.enableAccountInvites", opts?.qp, data, opts, ); } getAccountInfo( params?: ComAtprotoAdminGetAccountInfo.QueryParams, opts?: ComAtprotoAdminGetAccountInfo.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.getAccountInfo", params, undefined, opts, ); } getAccountInfos( params?: ComAtprotoAdminGetAccountInfos.QueryParams, opts?: ComAtprotoAdminGetAccountInfos.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.getAccountInfos", params, undefined, opts, ); } getInviteCodes( params?: ComAtprotoAdminGetInviteCodes.QueryParams, opts?: ComAtprotoAdminGetInviteCodes.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.getInviteCodes", params, undefined, opts, ); } getSubjectStatus( params?: ComAtprotoAdminGetSubjectStatus.QueryParams, opts?: ComAtprotoAdminGetSubjectStatus.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.getSubjectStatus", params, undefined, opts, ); } searchAccounts( params?: ComAtprotoAdminSearchAccounts.QueryParams, opts?: ComAtprotoAdminSearchAccounts.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.searchAccounts", params, undefined, opts, ); } sendEmail( data?: ComAtprotoAdminSendEmail.InputSchema, opts?: ComAtprotoAdminSendEmail.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.sendEmail", opts?.qp, data, opts, ); } updateAccountEmail( data?: ComAtprotoAdminUpdateAccountEmail.InputSchema, opts?: ComAtprotoAdminUpdateAccountEmail.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.updateAccountEmail", opts?.qp, data, opts, ); } updateAccountHandle( data?: ComAtprotoAdminUpdateAccountHandle.InputSchema, opts?: ComAtprotoAdminUpdateAccountHandle.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.updateAccountHandle", opts?.qp, data, opts, ); } updateAccountPassword( data?: ComAtprotoAdminUpdateAccountPassword.InputSchema, opts?: ComAtprotoAdminUpdateAccountPassword.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.updateAccountPassword", opts?.qp, data, opts, ); } updateAccountSigningKey( data?: ComAtprotoAdminUpdateAccountSigningKey.InputSchema, opts?: ComAtprotoAdminUpdateAccountSigningKey.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.updateAccountSigningKey", opts?.qp, data, opts, ); } updateSubjectStatus( data?: ComAtprotoAdminUpdateSubjectStatus.InputSchema, opts?: ComAtprotoAdminUpdateSubjectStatus.CallOptions, ): Promise { return this._client.call( "com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts, ); } } export class ComAtprotoIdentityNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getRecommendedDidCredentials( params?: ComAtprotoIdentityGetRecommendedDidCredentials.QueryParams, opts?: ComAtprotoIdentityGetRecommendedDidCredentials.CallOptions, ): Promise { return this._client.call( "com.atproto.identity.getRecommendedDidCredentials", params, undefined, opts, ); } refreshIdentity( data?: ComAtprotoIdentityRefreshIdentity.InputSchema, opts?: ComAtprotoIdentityRefreshIdentity.CallOptions, ): Promise { return this._client .call("com.atproto.identity.refreshIdentity", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoIdentityRefreshIdentity.toKnownErr(e); }); } requestPlcOperationSignature( data?: ComAtprotoIdentityRequestPlcOperationSignature.InputSchema, opts?: ComAtprotoIdentityRequestPlcOperationSignature.CallOptions, ): Promise { return this._client.call( "com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts, ); } resolveDid( params?: ComAtprotoIdentityResolveDid.QueryParams, opts?: ComAtprotoIdentityResolveDid.CallOptions, ): Promise { return this._client .call("com.atproto.identity.resolveDid", params, undefined, opts) .catch((e) => { throw ComAtprotoIdentityResolveDid.toKnownErr(e); }); } resolveHandle( params?: ComAtprotoIdentityResolveHandle.QueryParams, opts?: ComAtprotoIdentityResolveHandle.CallOptions, ): Promise { return this._client .call("com.atproto.identity.resolveHandle", params, undefined, opts) .catch((e) => { throw ComAtprotoIdentityResolveHandle.toKnownErr(e); }); } resolveIdentity( params?: ComAtprotoIdentityResolveIdentity.QueryParams, opts?: ComAtprotoIdentityResolveIdentity.CallOptions, ): Promise { return this._client .call("com.atproto.identity.resolveIdentity", params, undefined, opts) .catch((e) => { throw ComAtprotoIdentityResolveIdentity.toKnownErr(e); }); } signPlcOperation( data?: ComAtprotoIdentitySignPlcOperation.InputSchema, opts?: ComAtprotoIdentitySignPlcOperation.CallOptions, ): Promise { return this._client.call( "com.atproto.identity.signPlcOperation", opts?.qp, data, opts, ); } submitPlcOperation( data?: ComAtprotoIdentitySubmitPlcOperation.InputSchema, opts?: ComAtprotoIdentitySubmitPlcOperation.CallOptions, ): Promise { return this._client.call( "com.atproto.identity.submitPlcOperation", opts?.qp, data, opts, ); } updateHandle( data?: ComAtprotoIdentityUpdateHandle.InputSchema, opts?: ComAtprotoIdentityUpdateHandle.CallOptions, ): Promise { return this._client.call( "com.atproto.identity.updateHandle", opts?.qp, data, opts, ); } } export class ComAtprotoLabelNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } queryLabels( params?: ComAtprotoLabelQueryLabels.QueryParams, opts?: ComAtprotoLabelQueryLabels.CallOptions, ): Promise { return this._client.call( "com.atproto.label.queryLabels", params, undefined, opts, ); } } export class ComAtprotoLexiconNS { _client: XrpcClient; schema: SchemaRecord; constructor(client: XrpcClient) { this._client = client; this.schema = new SchemaRecord(client); } } export class SchemaRecord { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } async list( params: OmitKey, ): Promise<{ cursor?: string; records: { uri: string; value: ComAtprotoLexiconSchema.Record }[]; }> { const res = await this._client.call("com.atproto.repo.listRecords", { collection: "com.atproto.lexicon.schema", ...params, }); return res.data; } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: ComAtprotoLexiconSchema.Record; }> { const res = await this._client.call("com.atproto.repo.getRecord", { collection: "com.atproto.lexicon.schema", ...params, }); return res.data; } async create( params: OmitKey< ComAtprotoRepoCreateRecord.InputSchema, "collection" | "record" >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = "com.atproto.lexicon.schema"; const res = await this._client.call( "com.atproto.repo.createRecord", undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: "application/json", headers }, ); return res.data; } async delete( params: OmitKey, headers?: Record, ): Promise { await this._client.call( "com.atproto.repo.deleteRecord", undefined, { collection: "com.atproto.lexicon.schema", ...params }, { headers }, ); } } export class ComAtprotoModerationNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } createReport( data?: ComAtprotoModerationCreateReport.InputSchema, opts?: ComAtprotoModerationCreateReport.CallOptions, ): Promise { return this._client.call( "com.atproto.moderation.createReport", opts?.qp, data, opts, ); } } export class ComAtprotoRepoNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } applyWrites( data?: ComAtprotoRepoApplyWrites.InputSchema, opts?: ComAtprotoRepoApplyWrites.CallOptions, ): Promise { return this._client .call("com.atproto.repo.applyWrites", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoRepoApplyWrites.toKnownErr(e); }); } createRecord( data?: ComAtprotoRepoCreateRecord.InputSchema, opts?: ComAtprotoRepoCreateRecord.CallOptions, ): Promise { return this._client .call("com.atproto.repo.createRecord", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoRepoCreateRecord.toKnownErr(e); }); } deleteRecord( data?: ComAtprotoRepoDeleteRecord.InputSchema, opts?: ComAtprotoRepoDeleteRecord.CallOptions, ): Promise { return this._client .call("com.atproto.repo.deleteRecord", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoRepoDeleteRecord.toKnownErr(e); }); } describeRepo( params?: ComAtprotoRepoDescribeRepo.QueryParams, opts?: ComAtprotoRepoDescribeRepo.CallOptions, ): Promise { return this._client.call( "com.atproto.repo.describeRepo", params, undefined, opts, ); } getRecord( params?: ComAtprotoRepoGetRecord.QueryParams, opts?: ComAtprotoRepoGetRecord.CallOptions, ): Promise { return this._client .call("com.atproto.repo.getRecord", params, undefined, opts) .catch((e) => { throw ComAtprotoRepoGetRecord.toKnownErr(e); }); } importRepo( data?: ComAtprotoRepoImportRepo.InputSchema, opts?: ComAtprotoRepoImportRepo.CallOptions, ): Promise { return this._client.call( "com.atproto.repo.importRepo", opts?.qp, data, opts, ); } listMissingBlobs( params?: ComAtprotoRepoListMissingBlobs.QueryParams, opts?: ComAtprotoRepoListMissingBlobs.CallOptions, ): Promise { return this._client.call( "com.atproto.repo.listMissingBlobs", params, undefined, opts, ); } listRecords( params?: ComAtprotoRepoListRecords.QueryParams, opts?: ComAtprotoRepoListRecords.CallOptions, ): Promise { return this._client.call( "com.atproto.repo.listRecords", params, undefined, opts, ); } putRecord( data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions, ): Promise { return this._client .call("com.atproto.repo.putRecord", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoRepoPutRecord.toKnownErr(e); }); } uploadBlob( data?: ComAtprotoRepoUploadBlob.InputSchema, opts?: ComAtprotoRepoUploadBlob.CallOptions, ): Promise { return this._client.call( "com.atproto.repo.uploadBlob", opts?.qp, data, opts, ); } } export class ComAtprotoServerNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } activateAccount( data?: ComAtprotoServerActivateAccount.InputSchema, opts?: ComAtprotoServerActivateAccount.CallOptions, ): Promise { return this._client.call( "com.atproto.server.activateAccount", opts?.qp, data, opts, ); } checkAccountStatus( params?: ComAtprotoServerCheckAccountStatus.QueryParams, opts?: ComAtprotoServerCheckAccountStatus.CallOptions, ): Promise { return this._client.call( "com.atproto.server.checkAccountStatus", params, undefined, opts, ); } confirmEmail( data?: ComAtprotoServerConfirmEmail.InputSchema, opts?: ComAtprotoServerConfirmEmail.CallOptions, ): Promise { return this._client .call("com.atproto.server.confirmEmail", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerConfirmEmail.toKnownErr(e); }); } createAccount( data?: ComAtprotoServerCreateAccount.InputSchema, opts?: ComAtprotoServerCreateAccount.CallOptions, ): Promise { return this._client .call("com.atproto.server.createAccount", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerCreateAccount.toKnownErr(e); }); } createAppPassword( data?: ComAtprotoServerCreateAppPassword.InputSchema, opts?: ComAtprotoServerCreateAppPassword.CallOptions, ): Promise { return this._client .call("com.atproto.server.createAppPassword", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerCreateAppPassword.toKnownErr(e); }); } createInviteCode( data?: ComAtprotoServerCreateInviteCode.InputSchema, opts?: ComAtprotoServerCreateInviteCode.CallOptions, ): Promise { return this._client.call( "com.atproto.server.createInviteCode", opts?.qp, data, opts, ); } createInviteCodes( data?: ComAtprotoServerCreateInviteCodes.InputSchema, opts?: ComAtprotoServerCreateInviteCodes.CallOptions, ): Promise { return this._client.call( "com.atproto.server.createInviteCodes", opts?.qp, data, opts, ); } createSession( data?: ComAtprotoServerCreateSession.InputSchema, opts?: ComAtprotoServerCreateSession.CallOptions, ): Promise { return this._client .call("com.atproto.server.createSession", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerCreateSession.toKnownErr(e); }); } deactivateAccount( data?: ComAtprotoServerDeactivateAccount.InputSchema, opts?: ComAtprotoServerDeactivateAccount.CallOptions, ): Promise { return this._client.call( "com.atproto.server.deactivateAccount", opts?.qp, data, opts, ); } deleteAccount( data?: ComAtprotoServerDeleteAccount.InputSchema, opts?: ComAtprotoServerDeleteAccount.CallOptions, ): Promise { return this._client .call("com.atproto.server.deleteAccount", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerDeleteAccount.toKnownErr(e); }); } deleteSession( data?: ComAtprotoServerDeleteSession.InputSchema, opts?: ComAtprotoServerDeleteSession.CallOptions, ): Promise { return this._client.call( "com.atproto.server.deleteSession", opts?.qp, data, opts, ); } describeServer( params?: ComAtprotoServerDescribeServer.QueryParams, opts?: ComAtprotoServerDescribeServer.CallOptions, ): Promise { return this._client.call( "com.atproto.server.describeServer", params, undefined, opts, ); } getAccountInviteCodes( params?: ComAtprotoServerGetAccountInviteCodes.QueryParams, opts?: ComAtprotoServerGetAccountInviteCodes.CallOptions, ): Promise { return this._client .call("com.atproto.server.getAccountInviteCodes", params, undefined, opts) .catch((e) => { throw ComAtprotoServerGetAccountInviteCodes.toKnownErr(e); }); } getServiceAuth( params?: ComAtprotoServerGetServiceAuth.QueryParams, opts?: ComAtprotoServerGetServiceAuth.CallOptions, ): Promise { return this._client .call("com.atproto.server.getServiceAuth", params, undefined, opts) .catch((e) => { throw ComAtprotoServerGetServiceAuth.toKnownErr(e); }); } getSession( params?: ComAtprotoServerGetSession.QueryParams, opts?: ComAtprotoServerGetSession.CallOptions, ): Promise { return this._client.call( "com.atproto.server.getSession", params, undefined, opts, ); } listAppPasswords( params?: ComAtprotoServerListAppPasswords.QueryParams, opts?: ComAtprotoServerListAppPasswords.CallOptions, ): Promise { return this._client .call("com.atproto.server.listAppPasswords", params, undefined, opts) .catch((e) => { throw ComAtprotoServerListAppPasswords.toKnownErr(e); }); } refreshSession( data?: ComAtprotoServerRefreshSession.InputSchema, opts?: ComAtprotoServerRefreshSession.CallOptions, ): Promise { return this._client .call("com.atproto.server.refreshSession", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerRefreshSession.toKnownErr(e); }); } requestAccountDelete( data?: ComAtprotoServerRequestAccountDelete.InputSchema, opts?: ComAtprotoServerRequestAccountDelete.CallOptions, ): Promise { return this._client.call( "com.atproto.server.requestAccountDelete", opts?.qp, data, opts, ); } requestEmailConfirmation( data?: ComAtprotoServerRequestEmailConfirmation.InputSchema, opts?: ComAtprotoServerRequestEmailConfirmation.CallOptions, ): Promise { return this._client.call( "com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts, ); } requestEmailUpdate( data?: ComAtprotoServerRequestEmailUpdate.InputSchema, opts?: ComAtprotoServerRequestEmailUpdate.CallOptions, ): Promise { return this._client.call( "com.atproto.server.requestEmailUpdate", opts?.qp, data, opts, ); } requestPasswordReset( data?: ComAtprotoServerRequestPasswordReset.InputSchema, opts?: ComAtprotoServerRequestPasswordReset.CallOptions, ): Promise { return this._client.call( "com.atproto.server.requestPasswordReset", opts?.qp, data, opts, ); } reserveSigningKey( data?: ComAtprotoServerReserveSigningKey.InputSchema, opts?: ComAtprotoServerReserveSigningKey.CallOptions, ): Promise { return this._client.call( "com.atproto.server.reserveSigningKey", opts?.qp, data, opts, ); } resetPassword( data?: ComAtprotoServerResetPassword.InputSchema, opts?: ComAtprotoServerResetPassword.CallOptions, ): Promise { return this._client .call("com.atproto.server.resetPassword", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerResetPassword.toKnownErr(e); }); } revokeAppPassword( data?: ComAtprotoServerRevokeAppPassword.InputSchema, opts?: ComAtprotoServerRevokeAppPassword.CallOptions, ): Promise { return this._client.call( "com.atproto.server.revokeAppPassword", opts?.qp, data, opts, ); } updateEmail( data?: ComAtprotoServerUpdateEmail.InputSchema, opts?: ComAtprotoServerUpdateEmail.CallOptions, ): Promise { return this._client .call("com.atproto.server.updateEmail", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoServerUpdateEmail.toKnownErr(e); }); } } export class ComAtprotoSyncNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getBlob( params?: ComAtprotoSyncGetBlob.QueryParams, opts?: ComAtprotoSyncGetBlob.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getBlob", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetBlob.toKnownErr(e); }); } getBlocks( params?: ComAtprotoSyncGetBlocks.QueryParams, opts?: ComAtprotoSyncGetBlocks.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getBlocks", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetBlocks.toKnownErr(e); }); } getCheckout( params?: ComAtprotoSyncGetCheckout.QueryParams, opts?: ComAtprotoSyncGetCheckout.CallOptions, ): Promise { return this._client.call( "com.atproto.sync.getCheckout", params, undefined, opts, ); } getHead( params?: ComAtprotoSyncGetHead.QueryParams, opts?: ComAtprotoSyncGetHead.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getHead", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetHead.toKnownErr(e); }); } getHostStatus( params?: ComAtprotoSyncGetHostStatus.QueryParams, opts?: ComAtprotoSyncGetHostStatus.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getHostStatus", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetHostStatus.toKnownErr(e); }); } getLatestCommit( params?: ComAtprotoSyncGetLatestCommit.QueryParams, opts?: ComAtprotoSyncGetLatestCommit.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getLatestCommit", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetLatestCommit.toKnownErr(e); }); } getRecord( params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getRecord", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetRecord.toKnownErr(e); }); } getRepo( params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getRepo", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetRepo.toKnownErr(e); }); } getRepoStatus( params?: ComAtprotoSyncGetRepoStatus.QueryParams, opts?: ComAtprotoSyncGetRepoStatus.CallOptions, ): Promise { return this._client .call("com.atproto.sync.getRepoStatus", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncGetRepoStatus.toKnownErr(e); }); } listBlobs( params?: ComAtprotoSyncListBlobs.QueryParams, opts?: ComAtprotoSyncListBlobs.CallOptions, ): Promise { return this._client .call("com.atproto.sync.listBlobs", params, undefined, opts) .catch((e) => { throw ComAtprotoSyncListBlobs.toKnownErr(e); }); } listHosts( params?: ComAtprotoSyncListHosts.QueryParams, opts?: ComAtprotoSyncListHosts.CallOptions, ): Promise { return this._client.call( "com.atproto.sync.listHosts", params, undefined, opts, ); } listRepos( params?: ComAtprotoSyncListRepos.QueryParams, opts?: ComAtprotoSyncListRepos.CallOptions, ): Promise { return this._client.call( "com.atproto.sync.listRepos", params, undefined, opts, ); } listReposByCollection( params?: ComAtprotoSyncListReposByCollection.QueryParams, opts?: ComAtprotoSyncListReposByCollection.CallOptions, ): Promise { return this._client.call( "com.atproto.sync.listReposByCollection", params, undefined, opts, ); } notifyOfUpdate( data?: ComAtprotoSyncNotifyOfUpdate.InputSchema, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions, ): Promise { return this._client.call( "com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts, ); } requestCrawl( data?: ComAtprotoSyncRequestCrawl.InputSchema, opts?: ComAtprotoSyncRequestCrawl.CallOptions, ): Promise { return this._client .call("com.atproto.sync.requestCrawl", opts?.qp, data, opts) .catch((e) => { throw ComAtprotoSyncRequestCrawl.toKnownErr(e); }); } } export class ComAtprotoTempNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } addReservedHandle( data?: ComAtprotoTempAddReservedHandle.InputSchema, opts?: ComAtprotoTempAddReservedHandle.CallOptions, ): Promise { return this._client.call( "com.atproto.temp.addReservedHandle", opts?.qp, data, opts, ); } checkSignupQueue( params?: ComAtprotoTempCheckSignupQueue.QueryParams, opts?: ComAtprotoTempCheckSignupQueue.CallOptions, ): Promise { return this._client.call( "com.atproto.temp.checkSignupQueue", params, undefined, opts, ); } fetchLabels( params?: ComAtprotoTempFetchLabels.QueryParams, opts?: ComAtprotoTempFetchLabels.CallOptions, ): Promise { return this._client.call( "com.atproto.temp.fetchLabels", params, undefined, opts, ); } requestPhoneVerification( data?: ComAtprotoTempRequestPhoneVerification.InputSchema, opts?: ComAtprotoTempRequestPhoneVerification.CallOptions, ): Promise { return this._client.call( "com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts, ); } } export class ToolsNS { _client: XrpcClient; ozone: ToolsOzoneNS; constructor(client: XrpcClient) { this._client = client; this.ozone = new ToolsOzoneNS(client); } } export class ToolsOzoneNS { _client: XrpcClient; communication: ToolsOzoneCommunicationNS; moderation: ToolsOzoneModerationNS; server: ToolsOzoneServerNS; set: ToolsOzoneSetNS; setting: ToolsOzoneSettingNS; signature: ToolsOzoneSignatureNS; team: ToolsOzoneTeamNS; constructor(client: XrpcClient) { this._client = client; this.communication = new ToolsOzoneCommunicationNS(client); this.moderation = new ToolsOzoneModerationNS(client); this.server = new ToolsOzoneServerNS(client); this.set = new ToolsOzoneSetNS(client); this.setting = new ToolsOzoneSettingNS(client); this.signature = new ToolsOzoneSignatureNS(client); this.team = new ToolsOzoneTeamNS(client); } } export class ToolsOzoneCommunicationNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } createTemplate( data?: ToolsOzoneCommunicationCreateTemplate.InputSchema, opts?: ToolsOzoneCommunicationCreateTemplate.CallOptions, ): Promise { return this._client .call("tools.ozone.communication.createTemplate", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneCommunicationCreateTemplate.toKnownErr(e); }); } deleteTemplate( data?: ToolsOzoneCommunicationDeleteTemplate.InputSchema, opts?: ToolsOzoneCommunicationDeleteTemplate.CallOptions, ): Promise { return this._client.call( "tools.ozone.communication.deleteTemplate", opts?.qp, data, opts, ); } listTemplates( params?: ToolsOzoneCommunicationListTemplates.QueryParams, opts?: ToolsOzoneCommunicationListTemplates.CallOptions, ): Promise { return this._client.call( "tools.ozone.communication.listTemplates", params, undefined, opts, ); } updateTemplate( data?: ToolsOzoneCommunicationUpdateTemplate.InputSchema, opts?: ToolsOzoneCommunicationUpdateTemplate.CallOptions, ): Promise { return this._client .call("tools.ozone.communication.updateTemplate", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneCommunicationUpdateTemplate.toKnownErr(e); }); } } export class ToolsOzoneModerationNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } emitEvent( data?: ToolsOzoneModerationEmitEvent.InputSchema, opts?: ToolsOzoneModerationEmitEvent.CallOptions, ): Promise { return this._client .call("tools.ozone.moderation.emitEvent", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneModerationEmitEvent.toKnownErr(e); }); } getEvent( params?: ToolsOzoneModerationGetEvent.QueryParams, opts?: ToolsOzoneModerationGetEvent.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.getEvent", params, undefined, opts, ); } getRecord( params?: ToolsOzoneModerationGetRecord.QueryParams, opts?: ToolsOzoneModerationGetRecord.CallOptions, ): Promise { return this._client .call("tools.ozone.moderation.getRecord", params, undefined, opts) .catch((e) => { throw ToolsOzoneModerationGetRecord.toKnownErr(e); }); } getRecords( params?: ToolsOzoneModerationGetRecords.QueryParams, opts?: ToolsOzoneModerationGetRecords.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.getRecords", params, undefined, opts, ); } getRepo( params?: ToolsOzoneModerationGetRepo.QueryParams, opts?: ToolsOzoneModerationGetRepo.CallOptions, ): Promise { return this._client .call("tools.ozone.moderation.getRepo", params, undefined, opts) .catch((e) => { throw ToolsOzoneModerationGetRepo.toKnownErr(e); }); } getReporterStats( params?: ToolsOzoneModerationGetReporterStats.QueryParams, opts?: ToolsOzoneModerationGetReporterStats.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.getReporterStats", params, undefined, opts, ); } getRepos( params?: ToolsOzoneModerationGetRepos.QueryParams, opts?: ToolsOzoneModerationGetRepos.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.getRepos", params, undefined, opts, ); } getSubjects( params?: ToolsOzoneModerationGetSubjects.QueryParams, opts?: ToolsOzoneModerationGetSubjects.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.getSubjects", params, undefined, opts, ); } queryEvents( params?: ToolsOzoneModerationQueryEvents.QueryParams, opts?: ToolsOzoneModerationQueryEvents.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.queryEvents", params, undefined, opts, ); } queryStatuses( params?: ToolsOzoneModerationQueryStatuses.QueryParams, opts?: ToolsOzoneModerationQueryStatuses.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.queryStatuses", params, undefined, opts, ); } searchRepos( params?: ToolsOzoneModerationSearchRepos.QueryParams, opts?: ToolsOzoneModerationSearchRepos.CallOptions, ): Promise { return this._client.call( "tools.ozone.moderation.searchRepos", params, undefined, opts, ); } } export class ToolsOzoneServerNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } getConfig( params?: ToolsOzoneServerGetConfig.QueryParams, opts?: ToolsOzoneServerGetConfig.CallOptions, ): Promise { return this._client.call( "tools.ozone.server.getConfig", params, undefined, opts, ); } } export class ToolsOzoneSetNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } addValues( data?: ToolsOzoneSetAddValues.InputSchema, opts?: ToolsOzoneSetAddValues.CallOptions, ): Promise { return this._client.call("tools.ozone.set.addValues", opts?.qp, data, opts); } deleteSet( data?: ToolsOzoneSetDeleteSet.InputSchema, opts?: ToolsOzoneSetDeleteSet.CallOptions, ): Promise { return this._client .call("tools.ozone.set.deleteSet", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneSetDeleteSet.toKnownErr(e); }); } deleteValues( data?: ToolsOzoneSetDeleteValues.InputSchema, opts?: ToolsOzoneSetDeleteValues.CallOptions, ): Promise { return this._client .call("tools.ozone.set.deleteValues", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneSetDeleteValues.toKnownErr(e); }); } getValues( params?: ToolsOzoneSetGetValues.QueryParams, opts?: ToolsOzoneSetGetValues.CallOptions, ): Promise { return this._client .call("tools.ozone.set.getValues", params, undefined, opts) .catch((e) => { throw ToolsOzoneSetGetValues.toKnownErr(e); }); } querySets( params?: ToolsOzoneSetQuerySets.QueryParams, opts?: ToolsOzoneSetQuerySets.CallOptions, ): Promise { return this._client.call( "tools.ozone.set.querySets", params, undefined, opts, ); } upsertSet( data?: ToolsOzoneSetUpsertSet.InputSchema, opts?: ToolsOzoneSetUpsertSet.CallOptions, ): Promise { return this._client.call("tools.ozone.set.upsertSet", opts?.qp, data, opts); } } export class ToolsOzoneSettingNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } listOptions( params?: ToolsOzoneSettingListOptions.QueryParams, opts?: ToolsOzoneSettingListOptions.CallOptions, ): Promise { return this._client.call( "tools.ozone.setting.listOptions", params, undefined, opts, ); } removeOptions( data?: ToolsOzoneSettingRemoveOptions.InputSchema, opts?: ToolsOzoneSettingRemoveOptions.CallOptions, ): Promise { return this._client.call( "tools.ozone.setting.removeOptions", opts?.qp, data, opts, ); } upsertOption( data?: ToolsOzoneSettingUpsertOption.InputSchema, opts?: ToolsOzoneSettingUpsertOption.CallOptions, ): Promise { return this._client.call( "tools.ozone.setting.upsertOption", opts?.qp, data, opts, ); } } export class ToolsOzoneSignatureNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } findCorrelation( params?: ToolsOzoneSignatureFindCorrelation.QueryParams, opts?: ToolsOzoneSignatureFindCorrelation.CallOptions, ): Promise { return this._client.call( "tools.ozone.signature.findCorrelation", params, undefined, opts, ); } findRelatedAccounts( params?: ToolsOzoneSignatureFindRelatedAccounts.QueryParams, opts?: ToolsOzoneSignatureFindRelatedAccounts.CallOptions, ): Promise { return this._client.call( "tools.ozone.signature.findRelatedAccounts", params, undefined, opts, ); } searchAccounts( params?: ToolsOzoneSignatureSearchAccounts.QueryParams, opts?: ToolsOzoneSignatureSearchAccounts.CallOptions, ): Promise { return this._client.call( "tools.ozone.signature.searchAccounts", params, undefined, opts, ); } } export class ToolsOzoneTeamNS { _client: XrpcClient; constructor(client: XrpcClient) { this._client = client; } addMember( data?: ToolsOzoneTeamAddMember.InputSchema, opts?: ToolsOzoneTeamAddMember.CallOptions, ): Promise { return this._client .call("tools.ozone.team.addMember", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneTeamAddMember.toKnownErr(e); }); } deleteMember( data?: ToolsOzoneTeamDeleteMember.InputSchema, opts?: ToolsOzoneTeamDeleteMember.CallOptions, ): Promise { return this._client .call("tools.ozone.team.deleteMember", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneTeamDeleteMember.toKnownErr(e); }); } listMembers( params?: ToolsOzoneTeamListMembers.QueryParams, opts?: ToolsOzoneTeamListMembers.CallOptions, ): Promise { return this._client.call( "tools.ozone.team.listMembers", params, undefined, opts, ); } updateMember( data?: ToolsOzoneTeamUpdateMember.InputSchema, opts?: ToolsOzoneTeamUpdateMember.CallOptions, ): Promise { return this._client .call("tools.ozone.team.updateMember", opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneTeamUpdateMember.toKnownErr(e); }); } }