/** * GENERATED CODE - DO NOT MODIFY */ import { XrpcClient, type FetchHandler, type FetchHandlerOptions, } from '@atproto/xrpc' import { schemas } from './lexicons.js' import { CID } from 'multiformats/cid' import { type OmitKey, type Un$Typed } from './util.js' import * as AppBskyActorDefs from './types/app/bsky/actor/defs.js' import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences.js' import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.js' import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.js' import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions.js' import * as AppBskyActorProfile from './types/app/bsky/actor/profile.js' import * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences.js' import * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js' import * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead.js' import * as AppBskyActorStatus from './types/app/bsky/actor/status.js' import * as AppBskyAgeassuranceBegin from './types/app/bsky/ageassurance/begin.js' import * as AppBskyAgeassuranceDefs from './types/app/bsky/ageassurance/defs.js' import * as AppBskyAgeassuranceGetConfig from './types/app/bsky/ageassurance/getConfig.js' import * as AppBskyAgeassuranceGetState from './types/app/bsky/ageassurance/getState.js' import * as AppBskyBookmarkCreateBookmark from './types/app/bsky/bookmark/createBookmark.js' import * as AppBskyBookmarkDefs from './types/app/bsky/bookmark/defs.js' import * as AppBskyBookmarkDeleteBookmark from './types/app/bsky/bookmark/deleteBookmark.js' import * as AppBskyBookmarkGetBookmarks from './types/app/bsky/bookmark/getBookmarks.js' import * as AppBskyContactDefs from './types/app/bsky/contact/defs.js' import * as AppBskyContactDismissMatch from './types/app/bsky/contact/dismissMatch.js' import * as AppBskyContactGetMatches from './types/app/bsky/contact/getMatches.js' import * as AppBskyContactGetSyncStatus from './types/app/bsky/contact/getSyncStatus.js' import * as AppBskyContactImportContacts from './types/app/bsky/contact/importContacts.js' import * as AppBskyContactRemoveData from './types/app/bsky/contact/removeData.js' import * as AppBskyContactSendNotification from './types/app/bsky/contact/sendNotification.js' import * as AppBskyContactStartPhoneVerification from './types/app/bsky/contact/startPhoneVerification.js' import * as AppBskyContactVerifyPhone from './types/app/bsky/contact/verifyPhone.js' import * as AppBskyDraftCreateDraft from './types/app/bsky/draft/createDraft.js' import * as AppBskyDraftDefs from './types/app/bsky/draft/defs.js' import * as AppBskyDraftDeleteDraft from './types/app/bsky/draft/deleteDraft.js' import * as AppBskyDraftGetDrafts from './types/app/bsky/draft/getDrafts.js' import * as AppBskyDraftUpdateDraft from './types/app/bsky/draft/updateDraft.js' import * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.js' import * as AppBskyEmbedExternal from './types/app/bsky/embed/external.js' import * as AppBskyEmbedImages from './types/app/bsky/embed/images.js' import * as AppBskyEmbedRecord from './types/app/bsky/embed/record.js' import * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia.js' import * as AppBskyEmbedVideo from './types/app/bsky/embed/video.js' import * as AppBskyFeedDefs from './types/app/bsky/feed/defs.js' import * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator.js' import * as AppBskyFeedGenerator from './types/app/bsky/feed/generator.js' import * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds.js' import * as AppBskyFeedGetActorLikes from './types/app/bsky/feed/getActorLikes.js' import * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed.js' import * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed.js' import * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator.js' import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators.js' import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js' import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js' import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js' import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js' import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js' import * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js' import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js' import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js' import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline.js' import * as AppBskyFeedLike from './types/app/bsky/feed/like.js' import * as AppBskyFeedPost from './types/app/bsky/feed/post.js' import * as AppBskyFeedPostgate from './types/app/bsky/feed/postgate.js' import * as AppBskyFeedRepost from './types/app/bsky/feed/repost.js' import * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts.js' import * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions.js' import * as AppBskyFeedThreadgate from './types/app/bsky/feed/threadgate.js' import * as AppBskyGraphBlock from './types/app/bsky/graph/block.js' import * as AppBskyGraphDefs from './types/app/bsky/graph/defs.js' import * as AppBskyGraphFollow from './types/app/bsky/graph/follow.js' import * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks.js' import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks.js' import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers.js' import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows.js' import * as AppBskyGraphGetKnownFollowers from './types/app/bsky/graph/getKnownFollowers.js' import * as AppBskyGraphGetList from './types/app/bsky/graph/getList.js' import * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks.js' import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes.js' import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists.js' import * as AppBskyGraphGetListsWithMembership from './types/app/bsky/graph/getListsWithMembership.js' import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes.js' import * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships.js' import * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack.js' import * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks.js' import * as AppBskyGraphGetStarterPacksWithMembership from './types/app/bsky/graph/getStarterPacksWithMembership.js' import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor.js' import * as AppBskyGraphList from './types/app/bsky/graph/list.js' import * as AppBskyGraphListblock from './types/app/bsky/graph/listblock.js' import * as AppBskyGraphListitem from './types/app/bsky/graph/listitem.js' import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor.js' import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList.js' import * as AppBskyGraphMuteThread from './types/app/bsky/graph/muteThread.js' import * as AppBskyGraphSearchStarterPacks from './types/app/bsky/graph/searchStarterPacks.js' import * as AppBskyGraphStarterpack from './types/app/bsky/graph/starterpack.js' import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor.js' import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList.js' import * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread.js' import * as AppBskyGraphVerification from './types/app/bsky/graph/verification.js' import * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js' import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js' import * as AppBskyLabelerService from './types/app/bsky/labeler/service.js' import * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js' import * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js' import * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js' import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js' import * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js' import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js' import * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.js' import * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js' import * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js' import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js' import * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.js' import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js' import * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js' import * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js' import * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js' import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js' import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js' import * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js' import * as AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js' import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js' import * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js' import * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js' import * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js' import * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js' import * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/unspecced/getSuggestedOnboardingUsers.js' import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js' import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js' import * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js' import * as AppBskyUnspeccedGetSuggestedUsersForDiscover from './types/app/bsky/unspecced/getSuggestedUsersForDiscover.js' import * as AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js' import * as AppBskyUnspeccedGetSuggestedUsersForExplore from './types/app/bsky/unspecced/getSuggestedUsersForExplore.js' import * as AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js' import * as AppBskyUnspeccedGetSuggestedUsersForSeeMore from './types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js' import * as AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js' import * as AppBskyUnspeccedGetSuggestedUsersSkeleton from './types/app/bsky/unspecced/getSuggestedUsersSkeleton.js' import * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.js' import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.js' import * as AppBskyUnspeccedGetTrendingTopics from './types/app/bsky/unspecced/getTrendingTopics.js' import * as AppBskyUnspeccedGetTrends from './types/app/bsky/unspecced/getTrends.js' import * as AppBskyUnspeccedGetTrendsSkeleton from './types/app/bsky/unspecced/getTrendsSkeleton.js' import * as AppBskyUnspeccedInitAgeAssurance from './types/app/bsky/unspecced/initAgeAssurance.js' import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton.js' import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton.js' import * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton.js' import * as AppBskyVideoDefs from './types/app/bsky/video/defs.js' import * as AppBskyVideoGetJobStatus from './types/app/bsky/video/getJobStatus.js' import * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLimits.js' import * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.js' import * as ChatBskyActorDeclaration from './types/chat/bsky/actor/declaration.js' import * as ChatBskyActorDefs from './types/chat/bsky/actor/defs.js' import * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.js' import * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.js' import * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.js' import * as ChatBskyConvoAddReaction from './types/chat/bsky/convo/addReaction.js' import * as ChatBskyConvoDefs from './types/chat/bsky/convo/defs.js' import * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.js' import * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js' import * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js' import * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js' import * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js' import * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js' import * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js' import * as ChatBskyConvoListConvoRequests from './types/chat/bsky/convo/listConvoRequests.js' import * as ChatBskyConvoListConvos from './types/chat/bsky/convo/listConvos.js' import * as ChatBskyConvoLockConvo from './types/chat/bsky/convo/lockConvo.js' import * as ChatBskyConvoMuteConvo from './types/chat/bsky/convo/muteConvo.js' import * as ChatBskyConvoRemoveReaction from './types/chat/bsky/convo/removeReaction.js' import * as ChatBskyConvoSendMessage from './types/chat/bsky/convo/sendMessage.js' import * as ChatBskyConvoSendMessageBatch from './types/chat/bsky/convo/sendMessageBatch.js' import * as ChatBskyConvoUnlockConvo from './types/chat/bsky/convo/unlockConvo.js' import * as ChatBskyConvoUnmuteConvo from './types/chat/bsky/convo/unmuteConvo.js' import * as ChatBskyConvoUpdateAllRead from './types/chat/bsky/convo/updateAllRead.js' import * as ChatBskyConvoUpdateRead from './types/chat/bsky/convo/updateRead.js' import * as ChatBskyGroupAddMembers from './types/chat/bsky/group/addMembers.js' import * as ChatBskyGroupApproveJoinRequest from './types/chat/bsky/group/approveJoinRequest.js' import * as ChatBskyGroupCreateGroup from './types/chat/bsky/group/createGroup.js' import * as ChatBskyGroupCreateJoinLink from './types/chat/bsky/group/createJoinLink.js' import * as ChatBskyGroupDefs from './types/chat/bsky/group/defs.js' import * as ChatBskyGroupDisableJoinLink from './types/chat/bsky/group/disableJoinLink.js' import * as ChatBskyGroupEditGroup from './types/chat/bsky/group/editGroup.js' import * as ChatBskyGroupEditJoinLink from './types/chat/bsky/group/editJoinLink.js' import * as ChatBskyGroupEnableJoinLink from './types/chat/bsky/group/enableJoinLink.js' import * as ChatBskyGroupGetGroupPublicInfo from './types/chat/bsky/group/getGroupPublicInfo.js' import * as ChatBskyGroupListJoinRequests from './types/chat/bsky/group/listJoinRequests.js' import * as ChatBskyGroupRejectJoinRequest from './types/chat/bsky/group/rejectJoinRequest.js' import * as ChatBskyGroupRemoveMembers from './types/chat/bsky/group/removeMembers.js' import * as ChatBskyGroupRequestJoin from './types/chat/bsky/group/requestJoin.js' import * as ChatBskyModerationGetActorMetadata from './types/chat/bsky/moderation/getActorMetadata.js' import * as ChatBskyModerationGetMessageContext from './types/chat/bsky/moderation/getMessageContext.js' import * as ChatBskyModerationSubscribeModEvents from './types/chat/bsky/moderation/subscribeModEvents.js' import * as ChatBskyModerationUpdateActorAccess from './types/chat/bsky/moderation/updateActorAccess.js' import * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.js' import * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount.js' import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites.js' import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes.js' import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites.js' import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo.js' import * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos.js' import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes.js' import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus.js' import * as ComAtprotoAdminSearchAccounts from './types/com/atproto/admin/searchAccounts.js' import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.js' import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.js' import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.js' import * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.js' import * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.js' import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.js' import * as ComAtprotoIdentityDefs from './types/com/atproto/identity/defs.js' import * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.js' import * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.js' import * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature.js' import * as ComAtprotoIdentityResolveDid from './types/com/atproto/identity/resolveDid.js' import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle.js' import * as ComAtprotoIdentityResolveIdentity from './types/com/atproto/identity/resolveIdentity.js' import * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identity/signPlcOperation.js' import * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js' import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js' import * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js' import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js' import * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js' import * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js' import * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js' import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js' import * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js' import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js' import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js' import * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.js' import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js' import * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo.js' import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js' import * as ComAtprotoRepoImportRepo from './types/com/atproto/repo/importRepo.js' import * as ComAtprotoRepoListMissingBlobs from './types/com/atproto/repo/listMissingBlobs.js' import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js' import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js' import * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef.js' import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob.js' import * as ComAtprotoServerActivateAccount from './types/com/atproto/server/activateAccount.js' import * as ComAtprotoServerCheckAccountStatus from './types/com/atproto/server/checkAccountStatus.js' import * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail.js' import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount.js' import * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword.js' import * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode.js' import * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes.js' import * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession.js' import * as ComAtprotoServerDeactivateAccount from './types/com/atproto/server/deactivateAccount.js' import * as ComAtprotoServerDefs from './types/com/atproto/server/defs.js' import * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount.js' import * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession.js' import * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer.js' import * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes.js' import * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js' import * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession.js' import * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords.js' import * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession.js' import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete.js' import * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation.js' import * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate.js' import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset.js' import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey.js' import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js' import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js' import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js' import * as ComAtprotoSyncDefs from './types/com/atproto/sync/defs.js' import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js' import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js' import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout.js' import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead.js' import * as ComAtprotoSyncGetHostStatus from './types/com/atproto/sync/getHostStatus.js' import * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit.js' import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord.js' import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.js' import * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.js' import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.js' import * as ComAtprotoSyncListHosts from './types/com/atproto/sync/listHosts.js' import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.js' import * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.js' import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.js' import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.js' import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.js' import * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js' import * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js' import * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js' import * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js' import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js' import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js' import * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js' import * as ComGermnetworkDeclaration from './types/com/germnetwork/declaration.js' import * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate.js' import * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs.js' import * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js' import * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js' import * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js' import * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js' import * as ToolsOzoneModerationCancelScheduledActions from './types/tools/ozone/moderation/cancelScheduledActions.js' import * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js' import * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js' import * as ToolsOzoneModerationGetAccountTimeline from './types/tools/ozone/moderation/getAccountTimeline.js' import * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent.js' import * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord.js' import * as ToolsOzoneModerationGetRecords from './types/tools/ozone/moderation/getRecords.js' import * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo.js' import * as ToolsOzoneModerationGetReporterStats from './types/tools/ozone/moderation/getReporterStats.js' import * as ToolsOzoneModerationGetRepos from './types/tools/ozone/moderation/getRepos.js' import * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation/getSubjects.js' import * as ToolsOzoneModerationListScheduledActions from './types/tools/ozone/moderation/listScheduledActions.js' import * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js' import * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js' import * as ToolsOzoneModerationScheduleAction from './types/tools/ozone/moderation/scheduleAction.js' import * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js' import * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js' import * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js' import * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js' import * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js' import * as ToolsOzoneSafelinkQueryRules from './types/tools/ozone/safelink/queryRules.js' import * as ToolsOzoneSafelinkRemoveRule from './types/tools/ozone/safelink/removeRule.js' import * as ToolsOzoneSafelinkUpdateRule from './types/tools/ozone/safelink/updateRule.js' import * as ToolsOzoneServerGetConfig from './types/tools/ozone/server/getConfig.js' import * as ToolsOzoneSetAddValues from './types/tools/ozone/set/addValues.js' import * as ToolsOzoneSetDefs from './types/tools/ozone/set/defs.js' import * as ToolsOzoneSetDeleteSet from './types/tools/ozone/set/deleteSet.js' import * as ToolsOzoneSetDeleteValues from './types/tools/ozone/set/deleteValues.js' import * as ToolsOzoneSetGetValues from './types/tools/ozone/set/getValues.js' import * as ToolsOzoneSetQuerySets from './types/tools/ozone/set/querySets.js' import * as ToolsOzoneSetUpsertSet from './types/tools/ozone/set/upsertSet.js' import * as ToolsOzoneSettingDefs from './types/tools/ozone/setting/defs.js' import * as ToolsOzoneSettingListOptions from './types/tools/ozone/setting/listOptions.js' import * as ToolsOzoneSettingRemoveOptions from './types/tools/ozone/setting/removeOptions.js' import * as ToolsOzoneSettingUpsertOption from './types/tools/ozone/setting/upsertOption.js' import * as ToolsOzoneSignatureDefs from './types/tools/ozone/signature/defs.js' import * as ToolsOzoneSignatureFindCorrelation from './types/tools/ozone/signature/findCorrelation.js' import * as ToolsOzoneSignatureFindRelatedAccounts from './types/tools/ozone/signature/findRelatedAccounts.js' import * as ToolsOzoneSignatureSearchAccounts from './types/tools/ozone/signature/searchAccounts.js' import * as ToolsOzoneTeamAddMember from './types/tools/ozone/team/addMember.js' import * as ToolsOzoneTeamDefs from './types/tools/ozone/team/defs.js' import * as ToolsOzoneTeamDeleteMember from './types/tools/ozone/team/deleteMember.js' import * as ToolsOzoneTeamListMembers from './types/tools/ozone/team/listMembers.js' import * as ToolsOzoneTeamUpdateMember from './types/tools/ozone/team/updateMember.js' import * as ToolsOzoneVerificationDefs from './types/tools/ozone/verification/defs.js' import * as ToolsOzoneVerificationGrantVerifications from './types/tools/ozone/verification/grantVerifications.js' import * as ToolsOzoneVerificationListVerifications from './types/tools/ozone/verification/listVerifications.js' import * as ToolsOzoneVerificationRevokeVerifications from './types/tools/ozone/verification/revokeVerifications.js' export * as AppBskyActorDefs from './types/app/bsky/actor/defs.js' export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences.js' export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile.js' export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles.js' export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions.js' export * as AppBskyActorProfile from './types/app/bsky/actor/profile.js' export * as AppBskyActorPutPreferences from './types/app/bsky/actor/putPreferences.js' export * as AppBskyActorSearchActors from './types/app/bsky/actor/searchActors.js' export * as AppBskyActorSearchActorsTypeahead from './types/app/bsky/actor/searchActorsTypeahead.js' export * as AppBskyActorStatus from './types/app/bsky/actor/status.js' export * as AppBskyAgeassuranceBegin from './types/app/bsky/ageassurance/begin.js' export * as AppBskyAgeassuranceDefs from './types/app/bsky/ageassurance/defs.js' export * as AppBskyAgeassuranceGetConfig from './types/app/bsky/ageassurance/getConfig.js' export * as AppBskyAgeassuranceGetState from './types/app/bsky/ageassurance/getState.js' export * as AppBskyBookmarkCreateBookmark from './types/app/bsky/bookmark/createBookmark.js' export * as AppBskyBookmarkDefs from './types/app/bsky/bookmark/defs.js' export * as AppBskyBookmarkDeleteBookmark from './types/app/bsky/bookmark/deleteBookmark.js' export * as AppBskyBookmarkGetBookmarks from './types/app/bsky/bookmark/getBookmarks.js' export * as AppBskyContactDefs from './types/app/bsky/contact/defs.js' export * as AppBskyContactDismissMatch from './types/app/bsky/contact/dismissMatch.js' export * as AppBskyContactGetMatches from './types/app/bsky/contact/getMatches.js' export * as AppBskyContactGetSyncStatus from './types/app/bsky/contact/getSyncStatus.js' export * as AppBskyContactImportContacts from './types/app/bsky/contact/importContacts.js' export * as AppBskyContactRemoveData from './types/app/bsky/contact/removeData.js' export * as AppBskyContactSendNotification from './types/app/bsky/contact/sendNotification.js' export * as AppBskyContactStartPhoneVerification from './types/app/bsky/contact/startPhoneVerification.js' export * as AppBskyContactVerifyPhone from './types/app/bsky/contact/verifyPhone.js' export * as AppBskyDraftCreateDraft from './types/app/bsky/draft/createDraft.js' export * as AppBskyDraftDefs from './types/app/bsky/draft/defs.js' export * as AppBskyDraftDeleteDraft from './types/app/bsky/draft/deleteDraft.js' export * as AppBskyDraftGetDrafts from './types/app/bsky/draft/getDrafts.js' export * as AppBskyDraftUpdateDraft from './types/app/bsky/draft/updateDraft.js' export * as AppBskyEmbedDefs from './types/app/bsky/embed/defs.js' export * as AppBskyEmbedExternal from './types/app/bsky/embed/external.js' export * as AppBskyEmbedImages from './types/app/bsky/embed/images.js' export * as AppBskyEmbedRecord from './types/app/bsky/embed/record.js' export * as AppBskyEmbedRecordWithMedia from './types/app/bsky/embed/recordWithMedia.js' export * as AppBskyEmbedVideo from './types/app/bsky/embed/video.js' export * as AppBskyFeedDefs from './types/app/bsky/feed/defs.js' export * as AppBskyFeedDescribeFeedGenerator from './types/app/bsky/feed/describeFeedGenerator.js' export * as AppBskyFeedGenerator from './types/app/bsky/feed/generator.js' export * as AppBskyFeedGetActorFeeds from './types/app/bsky/feed/getActorFeeds.js' export * as AppBskyFeedGetActorLikes from './types/app/bsky/feed/getActorLikes.js' export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed.js' export * as AppBskyFeedGetFeed from './types/app/bsky/feed/getFeed.js' export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGenerator.js' export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators.js' export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton.js' export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js' export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js' export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js' export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js' export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js' export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js' export * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggestedFeeds.js' export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline.js' export * as AppBskyFeedLike from './types/app/bsky/feed/like.js' export * as AppBskyFeedPost from './types/app/bsky/feed/post.js' export * as AppBskyFeedPostgate from './types/app/bsky/feed/postgate.js' export * as AppBskyFeedRepost from './types/app/bsky/feed/repost.js' export * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts.js' export * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions.js' export * as AppBskyFeedThreadgate from './types/app/bsky/feed/threadgate.js' export * as AppBskyGraphBlock from './types/app/bsky/graph/block.js' export * as AppBskyGraphDefs from './types/app/bsky/graph/defs.js' export * as AppBskyGraphFollow from './types/app/bsky/graph/follow.js' export * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks.js' export * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks.js' export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers.js' export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows.js' export * as AppBskyGraphGetKnownFollowers from './types/app/bsky/graph/getKnownFollowers.js' export * as AppBskyGraphGetList from './types/app/bsky/graph/getList.js' export * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks.js' export * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes.js' export * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists.js' export * as AppBskyGraphGetListsWithMembership from './types/app/bsky/graph/getListsWithMembership.js' export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes.js' export * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships.js' export * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack.js' export * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks.js' export * as AppBskyGraphGetStarterPacksWithMembership from './types/app/bsky/graph/getStarterPacksWithMembership.js' export * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor.js' export * as AppBskyGraphList from './types/app/bsky/graph/list.js' export * as AppBskyGraphListblock from './types/app/bsky/graph/listblock.js' export * as AppBskyGraphListitem from './types/app/bsky/graph/listitem.js' export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor.js' export * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList.js' export * as AppBskyGraphMuteThread from './types/app/bsky/graph/muteThread.js' export * as AppBskyGraphSearchStarterPacks from './types/app/bsky/graph/searchStarterPacks.js' export * as AppBskyGraphStarterpack from './types/app/bsky/graph/starterpack.js' export * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor.js' export * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList.js' export * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread.js' export * as AppBskyGraphVerification from './types/app/bsky/graph/verification.js' export * as AppBskyLabelerDefs from './types/app/bsky/labeler/defs.js' export * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices.js' export * as AppBskyLabelerService from './types/app/bsky/labeler/service.js' export * as AppBskyNotificationDeclaration from './types/app/bsky/notification/declaration.js' export * as AppBskyNotificationDefs from './types/app/bsky/notification/defs.js' export * as AppBskyNotificationGetPreferences from './types/app/bsky/notification/getPreferences.js' export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount.js' export * as AppBskyNotificationListActivitySubscriptions from './types/app/bsky/notification/listActivitySubscriptions.js' export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications.js' export * as AppBskyNotificationPutActivitySubscription from './types/app/bsky/notification/putActivitySubscription.js' export * as AppBskyNotificationPutPreferences from './types/app/bsky/notification/putPreferences.js' export * as AppBskyNotificationPutPreferencesV2 from './types/app/bsky/notification/putPreferencesV2.js' export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush.js' export * as AppBskyNotificationUnregisterPush from './types/app/bsky/notification/unregisterPush.js' export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js' export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js' export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs.js' export * as AppBskyUnspeccedGetAgeAssuranceState from './types/app/bsky/unspecced/getAgeAssuranceState.js' export * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js' export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacks from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js' export * as AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.js' export * as AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton from './types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js' export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js' export * as AppBskyUnspeccedGetPostThreadOtherV2 from './types/app/bsky/unspecced/getPostThreadOtherV2.js' export * as AppBskyUnspeccedGetPostThreadV2 from './types/app/bsky/unspecced/getPostThreadV2.js' export * as AppBskyUnspeccedGetSuggestedFeeds from './types/app/bsky/unspecced/getSuggestedFeeds.js' export * as AppBskyUnspeccedGetSuggestedFeedsSkeleton from './types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js' export * as AppBskyUnspeccedGetSuggestedOnboardingUsers from './types/app/bsky/unspecced/getSuggestedOnboardingUsers.js' export * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js' export * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js' export * as AppBskyUnspeccedGetSuggestedUsers from './types/app/bsky/unspecced/getSuggestedUsers.js' export * as AppBskyUnspeccedGetSuggestedUsersForDiscover from './types/app/bsky/unspecced/getSuggestedUsersForDiscover.js' export * as AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.js' export * as AppBskyUnspeccedGetSuggestedUsersForExplore from './types/app/bsky/unspecced/getSuggestedUsersForExplore.js' export * as AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.js' export * as AppBskyUnspeccedGetSuggestedUsersForSeeMore from './types/app/bsky/unspecced/getSuggestedUsersForSeeMore.js' export * as AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton from './types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.js' export * as AppBskyUnspeccedGetSuggestedUsersSkeleton from './types/app/bsky/unspecced/getSuggestedUsersSkeleton.js' export * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.js' export * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.js' export * as AppBskyUnspeccedGetTrendingTopics from './types/app/bsky/unspecced/getTrendingTopics.js' export * as AppBskyUnspeccedGetTrends from './types/app/bsky/unspecced/getTrends.js' export * as AppBskyUnspeccedGetTrendsSkeleton from './types/app/bsky/unspecced/getTrendsSkeleton.js' export * as AppBskyUnspeccedInitAgeAssurance from './types/app/bsky/unspecced/initAgeAssurance.js' export * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton.js' export * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton.js' export * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton.js' export * as AppBskyVideoDefs from './types/app/bsky/video/defs.js' export * as AppBskyVideoGetJobStatus from './types/app/bsky/video/getJobStatus.js' export * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLimits.js' export * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo.js' export * as ChatBskyActorDeclaration from './types/chat/bsky/actor/declaration.js' export * as ChatBskyActorDefs from './types/chat/bsky/actor/defs.js' export * as ChatBskyActorDeleteAccount from './types/chat/bsky/actor/deleteAccount.js' export * as ChatBskyActorExportAccountData from './types/chat/bsky/actor/exportAccountData.js' export * as ChatBskyConvoAcceptConvo from './types/chat/bsky/convo/acceptConvo.js' export * as ChatBskyConvoAddReaction from './types/chat/bsky/convo/addReaction.js' export * as ChatBskyConvoDefs from './types/chat/bsky/convo/defs.js' export * as ChatBskyConvoDeleteMessageForSelf from './types/chat/bsky/convo/deleteMessageForSelf.js' export * as ChatBskyConvoGetConvo from './types/chat/bsky/convo/getConvo.js' export * as ChatBskyConvoGetConvoAvailability from './types/chat/bsky/convo/getConvoAvailability.js' export * as ChatBskyConvoGetConvoForMembers from './types/chat/bsky/convo/getConvoForMembers.js' export * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.js' export * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.js' export * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.js' export * as ChatBskyConvoListConvoRequests from './types/chat/bsky/convo/listConvoRequests.js' export * as ChatBskyConvoListConvos from './types/chat/bsky/convo/listConvos.js' export * as ChatBskyConvoLockConvo from './types/chat/bsky/convo/lockConvo.js' export * as ChatBskyConvoMuteConvo from './types/chat/bsky/convo/muteConvo.js' export * as ChatBskyConvoRemoveReaction from './types/chat/bsky/convo/removeReaction.js' export * as ChatBskyConvoSendMessage from './types/chat/bsky/convo/sendMessage.js' export * as ChatBskyConvoSendMessageBatch from './types/chat/bsky/convo/sendMessageBatch.js' export * as ChatBskyConvoUnlockConvo from './types/chat/bsky/convo/unlockConvo.js' export * as ChatBskyConvoUnmuteConvo from './types/chat/bsky/convo/unmuteConvo.js' export * as ChatBskyConvoUpdateAllRead from './types/chat/bsky/convo/updateAllRead.js' export * as ChatBskyConvoUpdateRead from './types/chat/bsky/convo/updateRead.js' export * as ChatBskyGroupAddMembers from './types/chat/bsky/group/addMembers.js' export * as ChatBskyGroupApproveJoinRequest from './types/chat/bsky/group/approveJoinRequest.js' export * as ChatBskyGroupCreateGroup from './types/chat/bsky/group/createGroup.js' export * as ChatBskyGroupCreateJoinLink from './types/chat/bsky/group/createJoinLink.js' export * as ChatBskyGroupDefs from './types/chat/bsky/group/defs.js' export * as ChatBskyGroupDisableJoinLink from './types/chat/bsky/group/disableJoinLink.js' export * as ChatBskyGroupEditGroup from './types/chat/bsky/group/editGroup.js' export * as ChatBskyGroupEditJoinLink from './types/chat/bsky/group/editJoinLink.js' export * as ChatBskyGroupEnableJoinLink from './types/chat/bsky/group/enableJoinLink.js' export * as ChatBskyGroupGetGroupPublicInfo from './types/chat/bsky/group/getGroupPublicInfo.js' export * as ChatBskyGroupListJoinRequests from './types/chat/bsky/group/listJoinRequests.js' export * as ChatBskyGroupRejectJoinRequest from './types/chat/bsky/group/rejectJoinRequest.js' export * as ChatBskyGroupRemoveMembers from './types/chat/bsky/group/removeMembers.js' export * as ChatBskyGroupRequestJoin from './types/chat/bsky/group/requestJoin.js' export * as ChatBskyModerationGetActorMetadata from './types/chat/bsky/moderation/getActorMetadata.js' export * as ChatBskyModerationGetMessageContext from './types/chat/bsky/moderation/getMessageContext.js' export * as ChatBskyModerationSubscribeModEvents from './types/chat/bsky/moderation/subscribeModEvents.js' export * as ChatBskyModerationUpdateActorAccess from './types/chat/bsky/moderation/updateActorAccess.js' export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.js' export * as ComAtprotoAdminDeleteAccount from './types/com/atproto/admin/deleteAccount.js' export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites.js' export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes.js' export * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites.js' export * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo.js' export * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos.js' export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes.js' export * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus.js' export * as ComAtprotoAdminSearchAccounts from './types/com/atproto/admin/searchAccounts.js' export * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.js' export * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.js' export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.js' export * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.js' export * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.js' export * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.js' export * as ComAtprotoIdentityDefs from './types/com/atproto/identity/defs.js' export * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.js' export * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.js' export * as ComAtprotoIdentityRequestPlcOperationSignature from './types/com/atproto/identity/requestPlcOperationSignature.js' export * as ComAtprotoIdentityResolveDid from './types/com/atproto/identity/resolveDid.js' export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle.js' export * as ComAtprotoIdentityResolveIdentity from './types/com/atproto/identity/resolveIdentity.js' export * as ComAtprotoIdentitySignPlcOperation from './types/com/atproto/identity/signPlcOperation.js' export * as ComAtprotoIdentitySubmitPlcOperation from './types/com/atproto/identity/submitPlcOperation.js' export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle.js' export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js' export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js' export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js' export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js' export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js' export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js' export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js' export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js' export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js' export * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.js' export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js' export * as ComAtprotoRepoDescribeRepo from './types/com/atproto/repo/describeRepo.js' export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js' export * as ComAtprotoRepoImportRepo from './types/com/atproto/repo/importRepo.js' export * as ComAtprotoRepoListMissingBlobs from './types/com/atproto/repo/listMissingBlobs.js' export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js' export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js' export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef.js' export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob.js' export * as ComAtprotoServerActivateAccount from './types/com/atproto/server/activateAccount.js' export * as ComAtprotoServerCheckAccountStatus from './types/com/atproto/server/checkAccountStatus.js' export * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail.js' export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount.js' export * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword.js' export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode.js' export * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes.js' export * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession.js' export * as ComAtprotoServerDeactivateAccount from './types/com/atproto/server/deactivateAccount.js' export * as ComAtprotoServerDefs from './types/com/atproto/server/defs.js' export * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount.js' export * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession.js' export * as ComAtprotoServerDescribeServer from './types/com/atproto/server/describeServer.js' export * as ComAtprotoServerGetAccountInviteCodes from './types/com/atproto/server/getAccountInviteCodes.js' export * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js' export * as ComAtprotoServerGetSession from './types/com/atproto/server/getSession.js' export * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords.js' export * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession.js' export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete.js' export * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation.js' export * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate.js' export * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset.js' export * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey.js' export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js' export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js' export * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js' export * as ComAtprotoSyncDefs from './types/com/atproto/sync/defs.js' export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js' export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js' export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout.js' export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead.js' export * as ComAtprotoSyncGetHostStatus from './types/com/atproto/sync/getHostStatus.js' export * as ComAtprotoSyncGetLatestCommit from './types/com/atproto/sync/getLatestCommit.js' export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord.js' export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo.js' export * as ComAtprotoSyncGetRepoStatus from './types/com/atproto/sync/getRepoStatus.js' export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs.js' export * as ComAtprotoSyncListHosts from './types/com/atproto/sync/listHosts.js' export * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos.js' export * as ComAtprotoSyncListReposByCollection from './types/com/atproto/sync/listReposByCollection.js' export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate.js' export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl.js' export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos.js' export * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle.js' export * as ComAtprotoTempCheckHandleAvailability from './types/com/atproto/temp/checkHandleAvailability.js' export * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue.js' export * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/dereferenceScope.js' export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js' export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js' export * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js' export * as ComGermnetworkDeclaration from './types/com/germnetwork/declaration.js' export * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate.js' export * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs.js' export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js' export * as ToolsOzoneCommunicationListTemplates from './types/tools/ozone/communication/listTemplates.js' export * as ToolsOzoneCommunicationUpdateTemplate from './types/tools/ozone/communication/updateTemplate.js' export * as ToolsOzoneHostingGetAccountHistory from './types/tools/ozone/hosting/getAccountHistory.js' export * as ToolsOzoneModerationCancelScheduledActions from './types/tools/ozone/moderation/cancelScheduledActions.js' export * as ToolsOzoneModerationDefs from './types/tools/ozone/moderation/defs.js' export * as ToolsOzoneModerationEmitEvent from './types/tools/ozone/moderation/emitEvent.js' export * as ToolsOzoneModerationGetAccountTimeline from './types/tools/ozone/moderation/getAccountTimeline.js' export * as ToolsOzoneModerationGetEvent from './types/tools/ozone/moderation/getEvent.js' export * as ToolsOzoneModerationGetRecord from './types/tools/ozone/moderation/getRecord.js' export * as ToolsOzoneModerationGetRecords from './types/tools/ozone/moderation/getRecords.js' export * as ToolsOzoneModerationGetRepo from './types/tools/ozone/moderation/getRepo.js' export * as ToolsOzoneModerationGetReporterStats from './types/tools/ozone/moderation/getReporterStats.js' export * as ToolsOzoneModerationGetRepos from './types/tools/ozone/moderation/getRepos.js' export * as ToolsOzoneModerationGetSubjects from './types/tools/ozone/moderation/getSubjects.js' export * as ToolsOzoneModerationListScheduledActions from './types/tools/ozone/moderation/listScheduledActions.js' export * as ToolsOzoneModerationQueryEvents from './types/tools/ozone/moderation/queryEvents.js' export * as ToolsOzoneModerationQueryStatuses from './types/tools/ozone/moderation/queryStatuses.js' export * as ToolsOzoneModerationScheduleAction from './types/tools/ozone/moderation/scheduleAction.js' export * as ToolsOzoneModerationSearchRepos from './types/tools/ozone/moderation/searchRepos.js' export * as ToolsOzoneReportDefs from './types/tools/ozone/report/defs.js' export * as ToolsOzoneSafelinkAddRule from './types/tools/ozone/safelink/addRule.js' export * as ToolsOzoneSafelinkDefs from './types/tools/ozone/safelink/defs.js' export * as ToolsOzoneSafelinkQueryEvents from './types/tools/ozone/safelink/queryEvents.js' export * as ToolsOzoneSafelinkQueryRules from './types/tools/ozone/safelink/queryRules.js' export * as ToolsOzoneSafelinkRemoveRule from './types/tools/ozone/safelink/removeRule.js' export * as ToolsOzoneSafelinkUpdateRule from './types/tools/ozone/safelink/updateRule.js' export * as ToolsOzoneServerGetConfig from './types/tools/ozone/server/getConfig.js' export * as ToolsOzoneSetAddValues from './types/tools/ozone/set/addValues.js' export * as ToolsOzoneSetDefs from './types/tools/ozone/set/defs.js' export * as ToolsOzoneSetDeleteSet from './types/tools/ozone/set/deleteSet.js' export * as ToolsOzoneSetDeleteValues from './types/tools/ozone/set/deleteValues.js' export * as ToolsOzoneSetGetValues from './types/tools/ozone/set/getValues.js' export * as ToolsOzoneSetQuerySets from './types/tools/ozone/set/querySets.js' export * as ToolsOzoneSetUpsertSet from './types/tools/ozone/set/upsertSet.js' export * as ToolsOzoneSettingDefs from './types/tools/ozone/setting/defs.js' export * as ToolsOzoneSettingListOptions from './types/tools/ozone/setting/listOptions.js' export * as ToolsOzoneSettingRemoveOptions from './types/tools/ozone/setting/removeOptions.js' export * as ToolsOzoneSettingUpsertOption from './types/tools/ozone/setting/upsertOption.js' export * as ToolsOzoneSignatureDefs from './types/tools/ozone/signature/defs.js' export * as ToolsOzoneSignatureFindCorrelation from './types/tools/ozone/signature/findCorrelation.js' export * as ToolsOzoneSignatureFindRelatedAccounts from './types/tools/ozone/signature/findRelatedAccounts.js' export * as ToolsOzoneSignatureSearchAccounts from './types/tools/ozone/signature/searchAccounts.js' export * as ToolsOzoneTeamAddMember from './types/tools/ozone/team/addMember.js' export * as ToolsOzoneTeamDefs from './types/tools/ozone/team/defs.js' export * as ToolsOzoneTeamDeleteMember from './types/tools/ozone/team/deleteMember.js' export * as ToolsOzoneTeamListMembers from './types/tools/ozone/team/listMembers.js' export * as ToolsOzoneTeamUpdateMember from './types/tools/ozone/team/updateMember.js' export * as ToolsOzoneVerificationDefs from './types/tools/ozone/verification/defs.js' export * as ToolsOzoneVerificationGrantVerifications from './types/tools/ozone/verification/grantVerifications.js' export * as ToolsOzoneVerificationListVerifications from './types/tools/ozone/verification/listVerifications.js' export * as ToolsOzoneVerificationRevokeVerifications from './types/tools/ozone/verification/revokeVerifications.js' export const APP_BSKY_ACTOR = { StatusLive: 'app.bsky.actor.status#live', } 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', DefsTimelineEventPlcCreate: 'tools.ozone.moderation.defs#timelineEventPlcCreate', DefsTimelineEventPlcOperation: 'tools.ozone.moderation.defs#timelineEventPlcOperation', DefsTimelineEventPlcTombstone: 'tools.ozone.moderation.defs#timelineEventPlcTombstone', } export const TOOLS_OZONE_REPORT = { DefsReasonAppeal: 'tools.ozone.report.defs#reasonAppeal', DefsReasonOther: 'tools.ozone.report.defs#reasonOther', DefsReasonViolenceAnimal: 'tools.ozone.report.defs#reasonViolenceAnimal', DefsReasonViolenceThreats: 'tools.ozone.report.defs#reasonViolenceThreats', DefsReasonViolenceGraphicContent: 'tools.ozone.report.defs#reasonViolenceGraphicContent', DefsReasonViolenceGlorification: 'tools.ozone.report.defs#reasonViolenceGlorification', DefsReasonViolenceExtremistContent: 'tools.ozone.report.defs#reasonViolenceExtremistContent', DefsReasonViolenceTrafficking: 'tools.ozone.report.defs#reasonViolenceTrafficking', DefsReasonViolenceOther: 'tools.ozone.report.defs#reasonViolenceOther', DefsReasonSexualAbuseContent: 'tools.ozone.report.defs#reasonSexualAbuseContent', DefsReasonSexualNCII: 'tools.ozone.report.defs#reasonSexualNCII', DefsReasonSexualDeepfake: 'tools.ozone.report.defs#reasonSexualDeepfake', DefsReasonSexualAnimal: 'tools.ozone.report.defs#reasonSexualAnimal', DefsReasonSexualUnlabeled: 'tools.ozone.report.defs#reasonSexualUnlabeled', DefsReasonSexualOther: 'tools.ozone.report.defs#reasonSexualOther', DefsReasonChildSafetyCSAM: 'tools.ozone.report.defs#reasonChildSafetyCSAM', DefsReasonChildSafetyGroom: 'tools.ozone.report.defs#reasonChildSafetyGroom', DefsReasonChildSafetyPrivacy: 'tools.ozone.report.defs#reasonChildSafetyPrivacy', DefsReasonChildSafetyHarassment: 'tools.ozone.report.defs#reasonChildSafetyHarassment', DefsReasonChildSafetyOther: 'tools.ozone.report.defs#reasonChildSafetyOther', DefsReasonHarassmentTroll: 'tools.ozone.report.defs#reasonHarassmentTroll', DefsReasonHarassmentTargeted: 'tools.ozone.report.defs#reasonHarassmentTargeted', DefsReasonHarassmentHateSpeech: 'tools.ozone.report.defs#reasonHarassmentHateSpeech', DefsReasonHarassmentDoxxing: 'tools.ozone.report.defs#reasonHarassmentDoxxing', DefsReasonHarassmentOther: 'tools.ozone.report.defs#reasonHarassmentOther', DefsReasonMisleadingBot: 'tools.ozone.report.defs#reasonMisleadingBot', DefsReasonMisleadingImpersonation: 'tools.ozone.report.defs#reasonMisleadingImpersonation', DefsReasonMisleadingSpam: 'tools.ozone.report.defs#reasonMisleadingSpam', DefsReasonMisleadingScam: 'tools.ozone.report.defs#reasonMisleadingScam', DefsReasonMisleadingElections: 'tools.ozone.report.defs#reasonMisleadingElections', DefsReasonMisleadingOther: 'tools.ozone.report.defs#reasonMisleadingOther', DefsReasonRuleSiteSecurity: 'tools.ozone.report.defs#reasonRuleSiteSecurity', DefsReasonRuleProhibitedSales: 'tools.ozone.report.defs#reasonRuleProhibitedSales', DefsReasonRuleBanEvasion: 'tools.ozone.report.defs#reasonRuleBanEvasion', DefsReasonRuleOther: 'tools.ozone.report.defs#reasonRuleOther', DefsReasonSelfHarmContent: 'tools.ozone.report.defs#reasonSelfHarmContent', DefsReasonSelfHarmED: 'tools.ozone.report.defs#reasonSelfHarmED', DefsReasonSelfHarmStunts: 'tools.ozone.report.defs#reasonSelfHarmStunts', DefsReasonSelfHarmSubstances: 'tools.ozone.report.defs#reasonSelfHarmSubstances', DefsReasonSelfHarmOther: 'tools.ozone.report.defs#reasonSelfHarmOther', } export const TOOLS_OZONE_TEAM = { DefsRoleAdmin: 'tools.ozone.team.defs#roleAdmin', DefsRoleModerator: 'tools.ozone.team.defs#roleModerator', DefsRoleTriage: 'tools.ozone.team.defs#roleTriage', DefsRoleVerifier: 'tools.ozone.team.defs#roleVerifier', } 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 ageassurance: AppBskyAgeassuranceNS bookmark: AppBskyBookmarkNS contact: AppBskyContactNS draft: AppBskyDraftNS 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.ageassurance = new AppBskyAgeassuranceNS(client) this.bookmark = new AppBskyBookmarkNS(client) this.contact = new AppBskyContactNS(client) this.draft = new AppBskyDraftNS(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: AppBskyActorProfileRecord status: AppBskyActorStatusRecord constructor(client: XrpcClient) { this._client = client this.profile = new AppBskyActorProfileRecord(client) this.status = new AppBskyActorStatusRecord(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 AppBskyActorProfileRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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.actor.profile', ...params }, { headers }, ) } } export class AppBskyActorStatusRecord { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } async list( params: OmitKey, ): Promise<{ cursor?: string records: { uri: string; value: AppBskyActorStatus.Record }[] }> { const res = await this._client.call('com.atproto.repo.listRecords', { collection: 'app.bsky.actor.status', ...params, }) return res.data } async get( params: OmitKey, ): Promise<{ uri: string; cid: string; value: AppBskyActorStatus.Record }> { const res = await this._client.call('com.atproto.repo.getRecord', { collection: 'app.bsky.actor.status', ...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.status' 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 put( params: OmitKey< ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record' >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = 'app.bsky.actor.status' const res = await this._client.call( 'com.atproto.repo.putRecord', 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.actor.status', ...params }, { headers }, ) } } export class AppBskyAgeassuranceNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } begin( data?: AppBskyAgeassuranceBegin.InputSchema, opts?: AppBskyAgeassuranceBegin.CallOptions, ): Promise { return this._client .call('app.bsky.ageassurance.begin', opts?.qp, data, opts) .catch((e) => { throw AppBskyAgeassuranceBegin.toKnownErr(e) }) } getConfig( params?: AppBskyAgeassuranceGetConfig.QueryParams, opts?: AppBskyAgeassuranceGetConfig.CallOptions, ): Promise { return this._client.call( 'app.bsky.ageassurance.getConfig', params, undefined, opts, ) } getState( params?: AppBskyAgeassuranceGetState.QueryParams, opts?: AppBskyAgeassuranceGetState.CallOptions, ): Promise { return this._client.call( 'app.bsky.ageassurance.getState', params, undefined, opts, ) } } export class AppBskyBookmarkNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } createBookmark( data?: AppBskyBookmarkCreateBookmark.InputSchema, opts?: AppBskyBookmarkCreateBookmark.CallOptions, ): Promise { return this._client .call('app.bsky.bookmark.createBookmark', opts?.qp, data, opts) .catch((e) => { throw AppBskyBookmarkCreateBookmark.toKnownErr(e) }) } deleteBookmark( data?: AppBskyBookmarkDeleteBookmark.InputSchema, opts?: AppBskyBookmarkDeleteBookmark.CallOptions, ): Promise { return this._client .call('app.bsky.bookmark.deleteBookmark', opts?.qp, data, opts) .catch((e) => { throw AppBskyBookmarkDeleteBookmark.toKnownErr(e) }) } getBookmarks( params?: AppBskyBookmarkGetBookmarks.QueryParams, opts?: AppBskyBookmarkGetBookmarks.CallOptions, ): Promise { return this._client.call( 'app.bsky.bookmark.getBookmarks', params, undefined, opts, ) } } export class AppBskyContactNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } dismissMatch( data?: AppBskyContactDismissMatch.InputSchema, opts?: AppBskyContactDismissMatch.CallOptions, ): Promise { return this._client .call('app.bsky.contact.dismissMatch', opts?.qp, data, opts) .catch((e) => { throw AppBskyContactDismissMatch.toKnownErr(e) }) } getMatches( params?: AppBskyContactGetMatches.QueryParams, opts?: AppBskyContactGetMatches.CallOptions, ): Promise { return this._client .call('app.bsky.contact.getMatches', params, undefined, opts) .catch((e) => { throw AppBskyContactGetMatches.toKnownErr(e) }) } getSyncStatus( params?: AppBskyContactGetSyncStatus.QueryParams, opts?: AppBskyContactGetSyncStatus.CallOptions, ): Promise { return this._client .call('app.bsky.contact.getSyncStatus', params, undefined, opts) .catch((e) => { throw AppBskyContactGetSyncStatus.toKnownErr(e) }) } importContacts( data?: AppBskyContactImportContacts.InputSchema, opts?: AppBskyContactImportContacts.CallOptions, ): Promise { return this._client .call('app.bsky.contact.importContacts', opts?.qp, data, opts) .catch((e) => { throw AppBskyContactImportContacts.toKnownErr(e) }) } removeData( data?: AppBskyContactRemoveData.InputSchema, opts?: AppBskyContactRemoveData.CallOptions, ): Promise { return this._client .call('app.bsky.contact.removeData', opts?.qp, data, opts) .catch((e) => { throw AppBskyContactRemoveData.toKnownErr(e) }) } sendNotification( data?: AppBskyContactSendNotification.InputSchema, opts?: AppBskyContactSendNotification.CallOptions, ): Promise { return this._client.call( 'app.bsky.contact.sendNotification', opts?.qp, data, opts, ) } startPhoneVerification( data?: AppBskyContactStartPhoneVerification.InputSchema, opts?: AppBskyContactStartPhoneVerification.CallOptions, ): Promise { return this._client .call('app.bsky.contact.startPhoneVerification', opts?.qp, data, opts) .catch((e) => { throw AppBskyContactStartPhoneVerification.toKnownErr(e) }) } verifyPhone( data?: AppBskyContactVerifyPhone.InputSchema, opts?: AppBskyContactVerifyPhone.CallOptions, ): Promise { return this._client .call('app.bsky.contact.verifyPhone', opts?.qp, data, opts) .catch((e) => { throw AppBskyContactVerifyPhone.toKnownErr(e) }) } } export class AppBskyDraftNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } createDraft( data?: AppBskyDraftCreateDraft.InputSchema, opts?: AppBskyDraftCreateDraft.CallOptions, ): Promise { return this._client .call('app.bsky.draft.createDraft', opts?.qp, data, opts) .catch((e) => { throw AppBskyDraftCreateDraft.toKnownErr(e) }) } deleteDraft( data?: AppBskyDraftDeleteDraft.InputSchema, opts?: AppBskyDraftDeleteDraft.CallOptions, ): Promise { return this._client.call('app.bsky.draft.deleteDraft', opts?.qp, data, opts) } getDrafts( params?: AppBskyDraftGetDrafts.QueryParams, opts?: AppBskyDraftGetDrafts.CallOptions, ): Promise { return this._client.call( 'app.bsky.draft.getDrafts', params, undefined, opts, ) } updateDraft( data?: AppBskyDraftUpdateDraft.InputSchema, opts?: AppBskyDraftUpdateDraft.CallOptions, ): Promise { return this._client.call('app.bsky.draft.updateDraft', opts?.qp, data, opts) } } export class AppBskyEmbedNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } } export class AppBskyFeedNS { _client: XrpcClient generator: AppBskyFeedGeneratorRecord like: AppBskyFeedLikeRecord post: AppBskyFeedPostRecord postgate: AppBskyFeedPostgateRecord repost: AppBskyFeedRepostRecord threadgate: AppBskyFeedThreadgateRecord constructor(client: XrpcClient) { this._client = client this.generator = new AppBskyFeedGeneratorRecord(client) this.like = new AppBskyFeedLikeRecord(client) this.post = new AppBskyFeedPostRecord(client) this.postgate = new AppBskyFeedPostgateRecord(client) this.repost = new AppBskyFeedRepostRecord(client) this.threadgate = new AppBskyFeedThreadgateRecord(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 AppBskyFeedGeneratorRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyFeedLikeRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyFeedPostRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyFeedPostgateRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyFeedRepostRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyFeedThreadgateRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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: AppBskyGraphBlockRecord follow: AppBskyGraphFollowRecord list: AppBskyGraphListRecord listblock: AppBskyGraphListblockRecord listitem: AppBskyGraphListitemRecord starterpack: AppBskyGraphStarterpackRecord verification: AppBskyGraphVerificationRecord constructor(client: XrpcClient) { this._client = client this.block = new AppBskyGraphBlockRecord(client) this.follow = new AppBskyGraphFollowRecord(client) this.list = new AppBskyGraphListRecord(client) this.listblock = new AppBskyGraphListblockRecord(client) this.listitem = new AppBskyGraphListitemRecord(client) this.starterpack = new AppBskyGraphStarterpackRecord(client) this.verification = new AppBskyGraphVerificationRecord(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) } getListsWithMembership( params?: AppBskyGraphGetListsWithMembership.QueryParams, opts?: AppBskyGraphGetListsWithMembership.CallOptions, ): Promise { return this._client.call( 'app.bsky.graph.getListsWithMembership', 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, ) } getStarterPacksWithMembership( params?: AppBskyGraphGetStarterPacksWithMembership.QueryParams, opts?: AppBskyGraphGetStarterPacksWithMembership.CallOptions, ): Promise { return this._client.call( 'app.bsky.graph.getStarterPacksWithMembership', 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 AppBskyGraphBlockRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyGraphFollowRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyGraphListRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyGraphListblockRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyGraphListitemRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyGraphStarterpackRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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 AppBskyGraphVerificationRecord { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } async list( params: OmitKey, ): Promise<{ cursor?: string records: { uri: string; value: AppBskyGraphVerification.Record }[] }> { const res = await this._client.call('com.atproto.repo.listRecords', { collection: 'app.bsky.graph.verification', ...params, }) return res.data } async get( params: OmitKey, ): Promise<{ uri: string cid: string value: AppBskyGraphVerification.Record }> { const res = await this._client.call('com.atproto.repo.getRecord', { collection: 'app.bsky.graph.verification', ...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.verification' 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 put( params: OmitKey< ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record' >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = 'app.bsky.graph.verification' const res = await this._client.call( 'com.atproto.repo.putRecord', 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.verification', ...params }, { headers }, ) } } export class AppBskyLabelerNS { _client: XrpcClient service: AppBskyLabelerServiceRecord constructor(client: XrpcClient) { this._client = client this.service = new AppBskyLabelerServiceRecord(client) } getServices( params?: AppBskyLabelerGetServices.QueryParams, opts?: AppBskyLabelerGetServices.CallOptions, ): Promise { return this._client.call( 'app.bsky.labeler.getServices', params, undefined, opts, ) } } export class AppBskyLabelerServiceRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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.labeler.service', ...params }, { headers }, ) } } export class AppBskyNotificationNS { _client: XrpcClient declaration: AppBskyNotificationDeclarationRecord constructor(client: XrpcClient) { this._client = client this.declaration = new AppBskyNotificationDeclarationRecord(client) } getPreferences( params?: AppBskyNotificationGetPreferences.QueryParams, opts?: AppBskyNotificationGetPreferences.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.getPreferences', params, undefined, opts, ) } getUnreadCount( params?: AppBskyNotificationGetUnreadCount.QueryParams, opts?: AppBskyNotificationGetUnreadCount.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.getUnreadCount', params, undefined, opts, ) } listActivitySubscriptions( params?: AppBskyNotificationListActivitySubscriptions.QueryParams, opts?: AppBskyNotificationListActivitySubscriptions.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.listActivitySubscriptions', params, undefined, opts, ) } listNotifications( params?: AppBskyNotificationListNotifications.QueryParams, opts?: AppBskyNotificationListNotifications.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.listNotifications', params, undefined, opts, ) } putActivitySubscription( data?: AppBskyNotificationPutActivitySubscription.InputSchema, opts?: AppBskyNotificationPutActivitySubscription.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.putActivitySubscription', opts?.qp, data, opts, ) } putPreferences( data?: AppBskyNotificationPutPreferences.InputSchema, opts?: AppBskyNotificationPutPreferences.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.putPreferences', opts?.qp, data, opts, ) } putPreferencesV2( data?: AppBskyNotificationPutPreferencesV2.InputSchema, opts?: AppBskyNotificationPutPreferencesV2.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.putPreferencesV2', opts?.qp, data, opts, ) } registerPush( data?: AppBskyNotificationRegisterPush.InputSchema, opts?: AppBskyNotificationRegisterPush.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.registerPush', opts?.qp, data, opts, ) } unregisterPush( data?: AppBskyNotificationUnregisterPush.InputSchema, opts?: AppBskyNotificationUnregisterPush.CallOptions, ): Promise { return this._client.call( 'app.bsky.notification.unregisterPush', 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 AppBskyNotificationDeclarationRecord { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } async list( params: OmitKey, ): Promise<{ cursor?: string records: { uri: string; value: AppBskyNotificationDeclaration.Record }[] }> { const res = await this._client.call('com.atproto.repo.listRecords', { collection: 'app.bsky.notification.declaration', ...params, }) return res.data } async get( params: OmitKey, ): Promise<{ uri: string cid: string value: AppBskyNotificationDeclaration.Record }> { const res = await this._client.call('com.atproto.repo.getRecord', { collection: 'app.bsky.notification.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 = 'app.bsky.notification.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 put( params: OmitKey< ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record' >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = 'app.bsky.notification.declaration' const res = await this._client.call( 'com.atproto.repo.putRecord', 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.notification.declaration', ...params }, { headers }, ) } } export class AppBskyRichtextNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } } export class AppBskyUnspeccedNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } getAgeAssuranceState( params?: AppBskyUnspeccedGetAgeAssuranceState.QueryParams, opts?: AppBskyUnspeccedGetAgeAssuranceState.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getAgeAssuranceState', params, undefined, opts, ) } getConfig( params?: AppBskyUnspeccedGetConfig.QueryParams, opts?: AppBskyUnspeccedGetConfig.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getConfig', params, undefined, opts, ) } getOnboardingSuggestedStarterPacks( params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacks.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks', params, undefined, opts, ) } getOnboardingSuggestedStarterPacksSkeleton( params?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton', params, undefined, opts, ) } getOnboardingSuggestedUsersSkeleton( params?: AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.QueryParams, opts?: AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton', params, undefined, opts, ) } getPopularFeedGenerators( params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getPopularFeedGenerators', params, undefined, opts, ) } getPostThreadOtherV2( params?: AppBskyUnspeccedGetPostThreadOtherV2.QueryParams, opts?: AppBskyUnspeccedGetPostThreadOtherV2.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getPostThreadOtherV2', params, undefined, opts, ) } getPostThreadV2( params?: AppBskyUnspeccedGetPostThreadV2.QueryParams, opts?: AppBskyUnspeccedGetPostThreadV2.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getPostThreadV2', 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, ) } getSuggestedOnboardingUsers( params?: AppBskyUnspeccedGetSuggestedOnboardingUsers.QueryParams, opts?: AppBskyUnspeccedGetSuggestedOnboardingUsers.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedOnboardingUsers', 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, ) } getSuggestedUsersForDiscover( params?: AppBskyUnspeccedGetSuggestedUsersForDiscover.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersForDiscover.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedUsersForDiscover', params, undefined, opts, ) } getSuggestedUsersForDiscoverSkeleton( params?: AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersForDiscoverSkeleton.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedUsersForDiscoverSkeleton', params, undefined, opts, ) } getSuggestedUsersForExplore( params?: AppBskyUnspeccedGetSuggestedUsersForExplore.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersForExplore.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedUsersForExplore', params, undefined, opts, ) } getSuggestedUsersForExploreSkeleton( params?: AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersForExploreSkeleton.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedUsersForExploreSkeleton', params, undefined, opts, ) } getSuggestedUsersForSeeMore( params?: AppBskyUnspeccedGetSuggestedUsersForSeeMore.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersForSeeMore.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedUsersForSeeMore', params, undefined, opts, ) } getSuggestedUsersForSeeMoreSkeleton( params?: AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.QueryParams, opts?: AppBskyUnspeccedGetSuggestedUsersForSeeMoreSkeleton.CallOptions, ): Promise { return this._client.call( 'app.bsky.unspecced.getSuggestedUsersForSeeMoreSkeleton', 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, ) } initAgeAssurance( data?: AppBskyUnspeccedInitAgeAssurance.InputSchema, opts?: AppBskyUnspeccedInitAgeAssurance.CallOptions, ): Promise { return this._client .call('app.bsky.unspecced.initAgeAssurance', opts?.qp, data, opts) .catch((e) => { throw AppBskyUnspeccedInitAgeAssurance.toKnownErr(e) }) } 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 group: ChatBskyGroupNS moderation: ChatBskyModerationNS constructor(client: XrpcClient) { this._client = client this.actor = new ChatBskyActorNS(client) this.convo = new ChatBskyConvoNS(client) this.group = new ChatBskyGroupNS(client) this.moderation = new ChatBskyModerationNS(client) } } export class ChatBskyActorNS { _client: XrpcClient declaration: ChatBskyActorDeclarationRecord constructor(client: XrpcClient) { this._client = client this.declaration = new ChatBskyActorDeclarationRecord(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 ChatBskyActorDeclarationRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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: '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) .catch((e) => { throw ChatBskyConvoAcceptConvo.toKnownErr(e) }) } 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) .catch((e) => { throw ChatBskyConvoDeleteMessageForSelf.toKnownErr(e) }) } getConvo( params?: ChatBskyConvoGetConvo.QueryParams, opts?: ChatBskyConvoGetConvo.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.getConvo', params, undefined, opts) .catch((e) => { throw ChatBskyConvoGetConvo.toKnownErr(e) }) } 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) .catch((e) => { throw ChatBskyConvoGetConvoForMembers.toKnownErr(e) }) } 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) .catch((e) => { throw ChatBskyConvoGetMessages.toKnownErr(e) }) } leaveConvo( data?: ChatBskyConvoLeaveConvo.InputSchema, opts?: ChatBskyConvoLeaveConvo.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.leaveConvo', opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoLeaveConvo.toKnownErr(e) }) } listConvoRequests( params?: ChatBskyConvoListConvoRequests.QueryParams, opts?: ChatBskyConvoListConvoRequests.CallOptions, ): Promise { return this._client.call( 'chat.bsky.convo.listConvoRequests', params, undefined, opts, ) } listConvos( params?: ChatBskyConvoListConvos.QueryParams, opts?: ChatBskyConvoListConvos.CallOptions, ): Promise { return this._client.call( 'chat.bsky.convo.listConvos', params, undefined, opts, ) } lockConvo( data?: ChatBskyConvoLockConvo.InputSchema, opts?: ChatBskyConvoLockConvo.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.lockConvo', opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoLockConvo.toKnownErr(e) }) } muteConvo( data?: ChatBskyConvoMuteConvo.InputSchema, opts?: ChatBskyConvoMuteConvo.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.muteConvo', opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoMuteConvo.toKnownErr(e) }) } 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) .catch((e) => { throw ChatBskyConvoSendMessage.toKnownErr(e) }) } sendMessageBatch( data?: ChatBskyConvoSendMessageBatch.InputSchema, opts?: ChatBskyConvoSendMessageBatch.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.sendMessageBatch', opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoSendMessageBatch.toKnownErr(e) }) } unlockConvo( data?: ChatBskyConvoUnlockConvo.InputSchema, opts?: ChatBskyConvoUnlockConvo.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.unlockConvo', opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoUnlockConvo.toKnownErr(e) }) } unmuteConvo( data?: ChatBskyConvoUnmuteConvo.InputSchema, opts?: ChatBskyConvoUnmuteConvo.CallOptions, ): Promise { return this._client .call('chat.bsky.convo.unmuteConvo', opts?.qp, data, opts) .catch((e) => { throw ChatBskyConvoUnmuteConvo.toKnownErr(e) }) } 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) .catch((e) => { throw ChatBskyConvoUpdateRead.toKnownErr(e) }) } } export class ChatBskyGroupNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } addMembers( data?: ChatBskyGroupAddMembers.InputSchema, opts?: ChatBskyGroupAddMembers.CallOptions, ): Promise { return this._client .call('chat.bsky.group.addMembers', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupAddMembers.toKnownErr(e) }) } approveJoinRequest( data?: ChatBskyGroupApproveJoinRequest.InputSchema, opts?: ChatBskyGroupApproveJoinRequest.CallOptions, ): Promise { return this._client .call('chat.bsky.group.approveJoinRequest', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupApproveJoinRequest.toKnownErr(e) }) } createGroup( data?: ChatBskyGroupCreateGroup.InputSchema, opts?: ChatBskyGroupCreateGroup.CallOptions, ): Promise { return this._client .call('chat.bsky.group.createGroup', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupCreateGroup.toKnownErr(e) }) } createJoinLink( data?: ChatBskyGroupCreateJoinLink.InputSchema, opts?: ChatBskyGroupCreateJoinLink.CallOptions, ): Promise { return this._client .call('chat.bsky.group.createJoinLink', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupCreateJoinLink.toKnownErr(e) }) } disableJoinLink( data?: ChatBskyGroupDisableJoinLink.InputSchema, opts?: ChatBskyGroupDisableJoinLink.CallOptions, ): Promise { return this._client .call('chat.bsky.group.disableJoinLink', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupDisableJoinLink.toKnownErr(e) }) } editGroup( data?: ChatBskyGroupEditGroup.InputSchema, opts?: ChatBskyGroupEditGroup.CallOptions, ): Promise { return this._client .call('chat.bsky.group.editGroup', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupEditGroup.toKnownErr(e) }) } editJoinLink( data?: ChatBskyGroupEditJoinLink.InputSchema, opts?: ChatBskyGroupEditJoinLink.CallOptions, ): Promise { return this._client .call('chat.bsky.group.editJoinLink', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupEditJoinLink.toKnownErr(e) }) } enableJoinLink( data?: ChatBskyGroupEnableJoinLink.InputSchema, opts?: ChatBskyGroupEnableJoinLink.CallOptions, ): Promise { return this._client .call('chat.bsky.group.enableJoinLink', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupEnableJoinLink.toKnownErr(e) }) } getGroupPublicInfo( params?: ChatBskyGroupGetGroupPublicInfo.QueryParams, opts?: ChatBskyGroupGetGroupPublicInfo.CallOptions, ): Promise { return this._client .call('chat.bsky.group.getGroupPublicInfo', params, undefined, opts) .catch((e) => { throw ChatBskyGroupGetGroupPublicInfo.toKnownErr(e) }) } listJoinRequests( params?: ChatBskyGroupListJoinRequests.QueryParams, opts?: ChatBskyGroupListJoinRequests.CallOptions, ): Promise { return this._client .call('chat.bsky.group.listJoinRequests', params, undefined, opts) .catch((e) => { throw ChatBskyGroupListJoinRequests.toKnownErr(e) }) } rejectJoinRequest( data?: ChatBskyGroupRejectJoinRequest.InputSchema, opts?: ChatBskyGroupRejectJoinRequest.CallOptions, ): Promise { return this._client .call('chat.bsky.group.rejectJoinRequest', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupRejectJoinRequest.toKnownErr(e) }) } removeMembers( data?: ChatBskyGroupRemoveMembers.InputSchema, opts?: ChatBskyGroupRemoveMembers.CallOptions, ): Promise { return this._client .call('chat.bsky.group.removeMembers', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupRemoveMembers.toKnownErr(e) }) } requestJoin( data?: ChatBskyGroupRequestJoin.InputSchema, opts?: ChatBskyGroupRequestJoin.CallOptions, ): Promise { return this._client .call('chat.bsky.group.requestJoin', opts?.qp, data, opts) .catch((e) => { throw ChatBskyGroupRequestJoin.toKnownErr(e) }) } } 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 germnetwork: ComGermnetworkNS constructor(client: XrpcClient) { this._client = client this.atproto = new ComAtprotoNS(client) this.germnetwork = new ComGermnetworkNS(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: ComAtprotoLexiconSchemaRecord constructor(client: XrpcClient) { this._client = client this.schema = new ComAtprotoLexiconSchemaRecord(client) } resolveLexicon( params?: ComAtprotoLexiconResolveLexicon.QueryParams, opts?: ComAtprotoLexiconResolveLexicon.CallOptions, ): Promise { return this._client .call('com.atproto.lexicon.resolveLexicon', params, undefined, opts) .catch((e) => { throw ComAtprotoLexiconResolveLexicon.toKnownErr(e) }) } } export class ComAtprotoLexiconSchemaRecord { _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 put( params: OmitKey< ComAtprotoRepoPutRecord.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.putRecord', 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) .catch((e) => { throw ComAtprotoServerDeleteSession.toKnownErr(e) }) } 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, ) } checkHandleAvailability( params?: ComAtprotoTempCheckHandleAvailability.QueryParams, opts?: ComAtprotoTempCheckHandleAvailability.CallOptions, ): Promise { return this._client .call('com.atproto.temp.checkHandleAvailability', params, undefined, opts) .catch((e) => { throw ComAtprotoTempCheckHandleAvailability.toKnownErr(e) }) } checkSignupQueue( params?: ComAtprotoTempCheckSignupQueue.QueryParams, opts?: ComAtprotoTempCheckSignupQueue.CallOptions, ): Promise { return this._client.call( 'com.atproto.temp.checkSignupQueue', params, undefined, opts, ) } dereferenceScope( params?: ComAtprotoTempDereferenceScope.QueryParams, opts?: ComAtprotoTempDereferenceScope.CallOptions, ): Promise { return this._client .call('com.atproto.temp.dereferenceScope', params, undefined, opts) .catch((e) => { throw ComAtprotoTempDereferenceScope.toKnownErr(e) }) } 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, ) } revokeAccountCredentials( data?: ComAtprotoTempRevokeAccountCredentials.InputSchema, opts?: ComAtprotoTempRevokeAccountCredentials.CallOptions, ): Promise { return this._client.call( 'com.atproto.temp.revokeAccountCredentials', opts?.qp, data, opts, ) } } export class ComGermnetworkNS { _client: XrpcClient declaration: ComGermnetworkDeclarationRecord constructor(client: XrpcClient) { this._client = client this.declaration = new ComGermnetworkDeclarationRecord(client) } } export class ComGermnetworkDeclarationRecord { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } async list( params: OmitKey, ): Promise<{ cursor?: string records: { uri: string; value: ComGermnetworkDeclaration.Record }[] }> { const res = await this._client.call('com.atproto.repo.listRecords', { collection: 'com.germnetwork.declaration', ...params, }) return res.data } async get( params: OmitKey, ): Promise<{ uri: string cid: string value: ComGermnetworkDeclaration.Record }> { const res = await this._client.call('com.atproto.repo.getRecord', { collection: 'com.germnetwork.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 = 'com.germnetwork.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 put( params: OmitKey< ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record' >, record: Un$Typed, headers?: Record, ): Promise<{ uri: string; cid: string }> { const collection = 'com.germnetwork.declaration' const res = await this._client.call( 'com.atproto.repo.putRecord', 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.germnetwork.declaration', ...params }, { headers }, ) } } 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 hosting: ToolsOzoneHostingNS moderation: ToolsOzoneModerationNS safelink: ToolsOzoneSafelinkNS server: ToolsOzoneServerNS set: ToolsOzoneSetNS setting: ToolsOzoneSettingNS signature: ToolsOzoneSignatureNS team: ToolsOzoneTeamNS verification: ToolsOzoneVerificationNS constructor(client: XrpcClient) { this._client = client this.communication = new ToolsOzoneCommunicationNS(client) this.hosting = new ToolsOzoneHostingNS(client) this.moderation = new ToolsOzoneModerationNS(client) this.safelink = new ToolsOzoneSafelinkNS(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) this.verification = new ToolsOzoneVerificationNS(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 ToolsOzoneHostingNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } getAccountHistory( params?: ToolsOzoneHostingGetAccountHistory.QueryParams, opts?: ToolsOzoneHostingGetAccountHistory.CallOptions, ): Promise { return this._client.call( 'tools.ozone.hosting.getAccountHistory', params, undefined, opts, ) } } export class ToolsOzoneModerationNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } cancelScheduledActions( data?: ToolsOzoneModerationCancelScheduledActions.InputSchema, opts?: ToolsOzoneModerationCancelScheduledActions.CallOptions, ): Promise { return this._client.call( 'tools.ozone.moderation.cancelScheduledActions', opts?.qp, data, opts, ) } 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) }) } getAccountTimeline( params?: ToolsOzoneModerationGetAccountTimeline.QueryParams, opts?: ToolsOzoneModerationGetAccountTimeline.CallOptions, ): Promise { return this._client .call( 'tools.ozone.moderation.getAccountTimeline', params, undefined, opts, ) .catch((e) => { throw ToolsOzoneModerationGetAccountTimeline.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, ) } listScheduledActions( data?: ToolsOzoneModerationListScheduledActions.InputSchema, opts?: ToolsOzoneModerationListScheduledActions.CallOptions, ): Promise { return this._client.call( 'tools.ozone.moderation.listScheduledActions', opts?.qp, data, 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, ) } scheduleAction( data?: ToolsOzoneModerationScheduleAction.InputSchema, opts?: ToolsOzoneModerationScheduleAction.CallOptions, ): Promise { return this._client.call( 'tools.ozone.moderation.scheduleAction', opts?.qp, data, opts, ) } searchRepos( params?: ToolsOzoneModerationSearchRepos.QueryParams, opts?: ToolsOzoneModerationSearchRepos.CallOptions, ): Promise { return this._client.call( 'tools.ozone.moderation.searchRepos', params, undefined, opts, ) } } export class ToolsOzoneSafelinkNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } addRule( data?: ToolsOzoneSafelinkAddRule.InputSchema, opts?: ToolsOzoneSafelinkAddRule.CallOptions, ): Promise { return this._client .call('tools.ozone.safelink.addRule', opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneSafelinkAddRule.toKnownErr(e) }) } queryEvents( data?: ToolsOzoneSafelinkQueryEvents.InputSchema, opts?: ToolsOzoneSafelinkQueryEvents.CallOptions, ): Promise { return this._client.call( 'tools.ozone.safelink.queryEvents', opts?.qp, data, opts, ) } queryRules( data?: ToolsOzoneSafelinkQueryRules.InputSchema, opts?: ToolsOzoneSafelinkQueryRules.CallOptions, ): Promise { return this._client.call( 'tools.ozone.safelink.queryRules', opts?.qp, data, opts, ) } removeRule( data?: ToolsOzoneSafelinkRemoveRule.InputSchema, opts?: ToolsOzoneSafelinkRemoveRule.CallOptions, ): Promise { return this._client .call('tools.ozone.safelink.removeRule', opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneSafelinkRemoveRule.toKnownErr(e) }) } updateRule( data?: ToolsOzoneSafelinkUpdateRule.InputSchema, opts?: ToolsOzoneSafelinkUpdateRule.CallOptions, ): Promise { return this._client .call('tools.ozone.safelink.updateRule', opts?.qp, data, opts) .catch((e) => { throw ToolsOzoneSafelinkUpdateRule.toKnownErr(e) }) } } 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) }) } } export class ToolsOzoneVerificationNS { _client: XrpcClient constructor(client: XrpcClient) { this._client = client } grantVerifications( data?: ToolsOzoneVerificationGrantVerifications.InputSchema, opts?: ToolsOzoneVerificationGrantVerifications.CallOptions, ): Promise { return this._client.call( 'tools.ozone.verification.grantVerifications', opts?.qp, data, opts, ) } listVerifications( params?: ToolsOzoneVerificationListVerifications.QueryParams, opts?: ToolsOzoneVerificationListVerifications.CallOptions, ): Promise { return this._client.call( 'tools.ozone.verification.listVerifications', params, undefined, opts, ) } revokeVerifications( data?: ToolsOzoneVerificationRevokeVerifications.InputSchema, opts?: ToolsOzoneVerificationRevokeVerifications.CallOptions, ): Promise { return this._client.call( 'tools.ozone.verification.revokeVerifications', opts?.qp, data, opts, ) } }