@atproto/api 0.15.16 → 0.15.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/client/index.d.ts +105 -3
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +154 -9
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +390 -82
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +199 -42
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +9 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js +9 -0
  13. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  14. package/dist/client/types/app/bsky/notification/declaration.d.ts +13 -0
  15. package/dist/client/types/app/bsky/notification/declaration.d.ts.map +1 -0
  16. package/dist/client/types/app/bsky/notification/declaration.js +16 -0
  17. package/dist/client/types/app/bsky/notification/declaration.js.map +1 -0
  18. package/dist/client/types/app/bsky/notification/defs.d.ts +15 -0
  19. package/dist/client/types/app/bsky/notification/defs.d.ts.map +1 -1
  20. package/dist/client/types/app/bsky/notification/defs.js +18 -0
  21. package/dist/client/types/app/bsky/notification/defs.js.map +1 -1
  22. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.d.ts +25 -0
  23. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -0
  24. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.js +11 -0
  25. package/dist/client/types/app/bsky/notification/listActivitySubscriptions.js.map +1 -0
  26. package/dist/client/types/app/bsky/notification/putActivitySubscription.d.ts +28 -0
  27. package/dist/client/types/app/bsky/notification/putActivitySubscription.d.ts.map +1 -0
  28. package/dist/client/types/app/bsky/notification/putActivitySubscription.js +11 -0
  29. package/dist/client/types/app/bsky/notification/putActivitySubscription.js.map +1 -0
  30. package/package.json +2 -2
  31. package/src/client/index.ts +435 -9
  32. package/src/client/lexicons.ts +207 -43
  33. package/src/client/types/app/bsky/actor/defs.ts +23 -0
  34. package/src/client/types/app/bsky/notification/declaration.ts +32 -0
  35. package/src/client/types/app/bsky/notification/defs.ts +37 -0
  36. package/src/client/types/app/bsky/notification/listActivitySubscriptions.ts +44 -0
  37. package/src/client/types/app/bsky/notification/putActivitySubscription.ts +46 -0
  38. package/tsconfig.build.tsbuildinfo +1 -1
@@ -35,11 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.ComAtprotoServerCreateInviteCode = exports.ComAtprotoServerCreateAppPassword = exports.ComAtprotoServerCreateAccount = exports.ComAtprotoServerConfirmEmail = exports.ComAtprotoServerCheckAccountStatus = exports.ComAtprotoServerActivateAccount = exports.ComAtprotoRepoUploadBlob = exports.ComAtprotoRepoStrongRef = exports.ComAtprotoRepoPutRecord = exports.ComAtprotoRepoListRecords = exports.ComAtprotoRepoListMissingBlobs = exports.ComAtprotoRepoImportRepo = exports.ComAtprotoRepoGetRecord = exports.ComAtprotoRepoDescribeRepo = exports.ComAtprotoRepoDeleteRecord = exports.ComAtprotoRepoDefs = exports.ComAtprotoRepoCreateRecord = exports.ComAtprotoRepoApplyWrites = exports.ComAtprotoModerationDefs = exports.ComAtprotoModerationCreateReport = exports.ComAtprotoLexiconSchema = exports.ComAtprotoLabelSubscribeLabels = exports.ComAtprotoLabelQueryLabels = exports.ComAtprotoLabelDefs = exports.ComAtprotoIdentityUpdateHandle = exports.ComAtprotoIdentitySubmitPlcOperation = exports.ComAtprotoIdentitySignPlcOperation = exports.ComAtprotoIdentityResolveIdentity = exports.ComAtprotoIdentityResolveHandle = exports.ComAtprotoIdentityResolveDid = exports.ComAtprotoIdentityRequestPlcOperationSignature = exports.ComAtprotoIdentityRefreshIdentity = exports.ComAtprotoIdentityGetRecommendedDidCredentials = exports.ComAtprotoIdentityDefs = exports.ComAtprotoAdminUpdateSubjectStatus = exports.ComAtprotoAdminUpdateAccountSigningKey = exports.ComAtprotoAdminUpdateAccountPassword = exports.ComAtprotoAdminUpdateAccountHandle = exports.ComAtprotoAdminUpdateAccountEmail = exports.ComAtprotoAdminSendEmail = exports.ComAtprotoAdminSearchAccounts = exports.ComAtprotoAdminGetSubjectStatus = exports.ComAtprotoAdminGetInviteCodes = exports.ComAtprotoAdminGetAccountInfos = exports.ComAtprotoAdminGetAccountInfo = exports.ComAtprotoAdminEnableAccountInvites = exports.ComAtprotoAdminDisableInviteCodes = exports.ComAtprotoAdminDisableAccountInvites = exports.ComAtprotoAdminDeleteAccount = exports.ComAtprotoAdminDefs = void 0;
37
37
  exports.AppBskyActorSearchActorsTypeahead = exports.AppBskyActorSearchActors = exports.AppBskyActorPutPreferences = exports.AppBskyActorProfile = exports.AppBskyActorGetSuggestions = exports.AppBskyActorGetProfiles = exports.AppBskyActorGetProfile = exports.AppBskyActorGetPreferences = exports.AppBskyActorDefs = exports.ComAtprotoTempRequestPhoneVerification = exports.ComAtprotoTempFetchLabels = exports.ComAtprotoTempCheckSignupQueue = exports.ComAtprotoTempAddReservedHandle = exports.ComAtprotoSyncSubscribeRepos = exports.ComAtprotoSyncRequestCrawl = exports.ComAtprotoSyncNotifyOfUpdate = exports.ComAtprotoSyncListReposByCollection = exports.ComAtprotoSyncListRepos = exports.ComAtprotoSyncListHosts = exports.ComAtprotoSyncListBlobs = exports.ComAtprotoSyncGetRepoStatus = exports.ComAtprotoSyncGetRepo = exports.ComAtprotoSyncGetRecord = exports.ComAtprotoSyncGetLatestCommit = exports.ComAtprotoSyncGetHostStatus = exports.ComAtprotoSyncGetHead = exports.ComAtprotoSyncGetCheckout = exports.ComAtprotoSyncGetBlocks = exports.ComAtprotoSyncGetBlob = exports.ComAtprotoSyncDefs = exports.ComAtprotoServerUpdateEmail = exports.ComAtprotoServerRevokeAppPassword = exports.ComAtprotoServerResetPassword = exports.ComAtprotoServerReserveSigningKey = exports.ComAtprotoServerRequestPasswordReset = exports.ComAtprotoServerRequestEmailUpdate = exports.ComAtprotoServerRequestEmailConfirmation = exports.ComAtprotoServerRequestAccountDelete = exports.ComAtprotoServerRefreshSession = exports.ComAtprotoServerListAppPasswords = exports.ComAtprotoServerGetSession = exports.ComAtprotoServerGetServiceAuth = exports.ComAtprotoServerGetAccountInviteCodes = exports.ComAtprotoServerDescribeServer = exports.ComAtprotoServerDeleteSession = exports.ComAtprotoServerDeleteAccount = exports.ComAtprotoServerDefs = exports.ComAtprotoServerDeactivateAccount = exports.ComAtprotoServerCreateSession = exports.ComAtprotoServerCreateInviteCodes = void 0;
38
- exports.AppBskyGraphList = exports.AppBskyGraphGetSuggestedFollowsByActor = exports.AppBskyGraphGetStarterPacks = exports.AppBskyGraphGetStarterPack = exports.AppBskyGraphGetRelationships = exports.AppBskyGraphGetMutes = exports.AppBskyGraphGetLists = exports.AppBskyGraphGetListMutes = exports.AppBskyGraphGetListBlocks = exports.AppBskyGraphGetList = exports.AppBskyGraphGetKnownFollowers = exports.AppBskyGraphGetFollows = exports.AppBskyGraphGetFollowers = exports.AppBskyGraphGetBlocks = exports.AppBskyGraphGetActorStarterPacks = exports.AppBskyGraphFollow = exports.AppBskyGraphDefs = exports.AppBskyGraphBlock = exports.AppBskyFeedThreadgate = exports.AppBskyFeedSendInteractions = exports.AppBskyFeedSearchPosts = exports.AppBskyFeedRepost = exports.AppBskyFeedPostgate = exports.AppBskyFeedPost = exports.AppBskyFeedLike = exports.AppBskyFeedGetTimeline = exports.AppBskyFeedGetSuggestedFeeds = exports.AppBskyFeedGetRepostedBy = exports.AppBskyFeedGetQuotes = exports.AppBskyFeedGetPostThread = exports.AppBskyFeedGetPosts = exports.AppBskyFeedGetListFeed = exports.AppBskyFeedGetLikes = exports.AppBskyFeedGetFeedSkeleton = exports.AppBskyFeedGetFeedGenerators = exports.AppBskyFeedGetFeedGenerator = exports.AppBskyFeedGetFeed = exports.AppBskyFeedGetAuthorFeed = exports.AppBskyFeedGetActorLikes = exports.AppBskyFeedGetActorFeeds = exports.AppBskyFeedGenerator = exports.AppBskyFeedDescribeFeedGenerator = exports.AppBskyFeedDefs = exports.AppBskyEmbedVideo = exports.AppBskyEmbedRecordWithMedia = exports.AppBskyEmbedRecord = exports.AppBskyEmbedImages = exports.AppBskyEmbedExternal = exports.AppBskyEmbedDefs = exports.AppBskyActorStatus = void 0;
39
- exports.ChatBskyActorExportAccountData = exports.ChatBskyActorDeleteAccount = exports.ChatBskyActorDefs = exports.ChatBskyActorDeclaration = exports.AppBskyVideoUploadVideo = exports.AppBskyVideoGetUploadLimits = exports.AppBskyVideoGetJobStatus = exports.AppBskyVideoDefs = exports.AppBskyUnspeccedSearchStarterPacksSkeleton = exports.AppBskyUnspeccedSearchPostsSkeleton = exports.AppBskyUnspeccedSearchActorsSkeleton = exports.AppBskyUnspeccedGetTrendsSkeleton = exports.AppBskyUnspeccedGetTrends = exports.AppBskyUnspeccedGetTrendingTopics = exports.AppBskyUnspeccedGetTaggedSuggestions = exports.AppBskyUnspeccedGetSuggestionsSkeleton = exports.AppBskyUnspeccedGetSuggestedUsersSkeleton = exports.AppBskyUnspeccedGetSuggestedUsers = exports.AppBskyUnspeccedGetSuggestedStarterPacksSkeleton = exports.AppBskyUnspeccedGetSuggestedStarterPacks = exports.AppBskyUnspeccedGetSuggestedFeedsSkeleton = exports.AppBskyUnspeccedGetSuggestedFeeds = exports.AppBskyUnspeccedGetPostThreadV2 = exports.AppBskyUnspeccedGetPostThreadOtherV2 = exports.AppBskyUnspeccedGetPopularFeedGenerators = exports.AppBskyUnspeccedGetConfig = exports.AppBskyUnspeccedDefs = exports.AppBskyRichtextFacet = exports.AppBskyNotificationUpdateSeen = exports.AppBskyNotificationRegisterPush = exports.AppBskyNotificationPutPreferencesV2 = exports.AppBskyNotificationPutPreferences = exports.AppBskyNotificationListNotifications = exports.AppBskyNotificationGetUnreadCount = exports.AppBskyNotificationGetPreferences = exports.AppBskyNotificationDefs = exports.AppBskyLabelerService = exports.AppBskyLabelerGetServices = exports.AppBskyLabelerDefs = exports.AppBskyGraphVerification = exports.AppBskyGraphUnmuteThread = exports.AppBskyGraphUnmuteActorList = exports.AppBskyGraphUnmuteActor = exports.AppBskyGraphStarterpack = exports.AppBskyGraphSearchStarterPacks = exports.AppBskyGraphMuteThread = exports.AppBskyGraphMuteActorList = exports.AppBskyGraphMuteActor = exports.AppBskyGraphListitem = exports.AppBskyGraphListblock = void 0;
40
- exports.ToolsOzoneSettingRemoveOptions = exports.ToolsOzoneSettingListOptions = exports.ToolsOzoneSettingDefs = exports.ToolsOzoneSetUpsertSet = exports.ToolsOzoneSetQuerySets = exports.ToolsOzoneSetGetValues = exports.ToolsOzoneSetDeleteValues = exports.ToolsOzoneSetDeleteSet = exports.ToolsOzoneSetDefs = exports.ToolsOzoneSetAddValues = exports.ToolsOzoneServerGetConfig = exports.ToolsOzoneModerationSearchRepos = exports.ToolsOzoneModerationQueryStatuses = exports.ToolsOzoneModerationQueryEvents = exports.ToolsOzoneModerationGetSubjects = exports.ToolsOzoneModerationGetRepos = exports.ToolsOzoneModerationGetReporterStats = exports.ToolsOzoneModerationGetRepo = exports.ToolsOzoneModerationGetRecords = exports.ToolsOzoneModerationGetRecord = exports.ToolsOzoneModerationGetEvent = exports.ToolsOzoneModerationEmitEvent = exports.ToolsOzoneModerationDefs = exports.ToolsOzoneHostingGetAccountHistory = exports.ToolsOzoneCommunicationUpdateTemplate = exports.ToolsOzoneCommunicationListTemplates = exports.ToolsOzoneCommunicationDeleteTemplate = exports.ToolsOzoneCommunicationDefs = exports.ToolsOzoneCommunicationCreateTemplate = exports.ChatBskyModerationUpdateActorAccess = exports.ChatBskyModerationGetMessageContext = exports.ChatBskyModerationGetActorMetadata = exports.ChatBskyConvoUpdateRead = exports.ChatBskyConvoUpdateAllRead = exports.ChatBskyConvoUnmuteConvo = exports.ChatBskyConvoSendMessageBatch = exports.ChatBskyConvoSendMessage = exports.ChatBskyConvoRemoveReaction = exports.ChatBskyConvoMuteConvo = exports.ChatBskyConvoListConvos = exports.ChatBskyConvoLeaveConvo = exports.ChatBskyConvoGetMessages = exports.ChatBskyConvoGetLog = exports.ChatBskyConvoGetConvoForMembers = exports.ChatBskyConvoGetConvoAvailability = exports.ChatBskyConvoGetConvo = exports.ChatBskyConvoDeleteMessageForSelf = exports.ChatBskyConvoDefs = exports.ChatBskyConvoAddReaction = exports.ChatBskyConvoAcceptConvo = void 0;
41
- exports.AppBskyGraphListRecord = exports.AppBskyGraphFollowRecord = exports.AppBskyGraphBlockRecord = exports.AppBskyGraphNS = exports.AppBskyFeedThreadgateRecord = exports.AppBskyFeedRepostRecord = exports.AppBskyFeedPostgateRecord = exports.AppBskyFeedPostRecord = exports.AppBskyFeedLikeRecord = exports.AppBskyFeedGeneratorRecord = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorStatusRecord = exports.AppBskyActorProfileRecord = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconSchemaRecord = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.AtpBaseClient = exports.TOOLS_OZONE_TEAM = exports.TOOLS_OZONE_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = exports.COM_ATPROTO_MODERATION = exports.ToolsOzoneVerificationRevokeVerifications = exports.ToolsOzoneVerificationListVerifications = exports.ToolsOzoneVerificationGrantVerifications = exports.ToolsOzoneVerificationDefs = exports.ToolsOzoneTeamUpdateMember = exports.ToolsOzoneTeamListMembers = exports.ToolsOzoneTeamDeleteMember = exports.ToolsOzoneTeamDefs = exports.ToolsOzoneTeamAddMember = exports.ToolsOzoneSignatureSearchAccounts = exports.ToolsOzoneSignatureFindRelatedAccounts = exports.ToolsOzoneSignatureFindCorrelation = exports.ToolsOzoneSignatureDefs = exports.ToolsOzoneSettingUpsertOption = void 0;
42
- exports.ToolsOzoneVerificationNS = exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneHostingNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorDeclarationRecord = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.AppBskyLabelerServiceRecord = exports.AppBskyLabelerNS = exports.AppBskyGraphVerificationRecord = exports.AppBskyGraphStarterpackRecord = exports.AppBskyGraphListitemRecord = exports.AppBskyGraphListblockRecord = void 0;
38
+ exports.AppBskyGraphList = exports.AppBskyGraphGetSuggestedFollowsByActor = exports.AppBskyGraphGetStarterPacks = exports.AppBskyGraphGetStarterPack = exports.AppBskyGraphGetRelationships = exports.AppBskyGraphGetMutes = exports.AppBskyGraphGetLists = exports.AppBskyGraphGetListMutes = exports.AppBskyGraphGetListBlocks = exports.AppBskyGraphGetList = exports.AppBskyGraphGetKnownFollowers = exports.AppBskyGraphGetFollows = exports.AppBskyGraphGetFollowers = exports.AppBskyGraphGetBlocks = exports.AppBskyGraphGetActorStarterPacks = exports.AppBskyGraphFollow = exports.AppBskyGraphDefs = exports.AppBskyGraphBlock = exports.AppBskyFeedThreadgate = exports.AppBskyFeedSendInteractions = exports.AppBskyFeedSearchPosts = exports.AppBskyFeedRepost = exports.AppBskyFeedPostgate = exports.AppBskyFeedPost = exports.AppBskyFeedLike = exports.AppBskyFeedGetTimeline = exports.AppBskyFeedGetSuggestedFeeds = exports.AppBskyFeedGetRepostedBy = exports.AppBskyFeedGetQuotes = exports.AppBskyFeedGetPosts = exports.AppBskyFeedGetPostThread = exports.AppBskyFeedGetListFeed = exports.AppBskyFeedGetLikes = exports.AppBskyFeedGetFeedSkeleton = exports.AppBskyFeedGetFeedGenerators = exports.AppBskyFeedGetFeedGenerator = exports.AppBskyFeedGetFeed = exports.AppBskyFeedGetAuthorFeed = exports.AppBskyFeedGetActorLikes = exports.AppBskyFeedGetActorFeeds = exports.AppBskyFeedGenerator = exports.AppBskyFeedDescribeFeedGenerator = exports.AppBskyFeedDefs = exports.AppBskyEmbedVideo = exports.AppBskyEmbedRecordWithMedia = exports.AppBskyEmbedRecord = exports.AppBskyEmbedImages = exports.AppBskyEmbedExternal = exports.AppBskyEmbedDefs = exports.AppBskyActorStatus = void 0;
39
+ exports.ChatBskyActorDeclaration = exports.AppBskyVideoUploadVideo = exports.AppBskyVideoGetUploadLimits = exports.AppBskyVideoGetJobStatus = exports.AppBskyVideoDefs = exports.AppBskyUnspeccedSearchStarterPacksSkeleton = exports.AppBskyUnspeccedSearchPostsSkeleton = exports.AppBskyUnspeccedSearchActorsSkeleton = exports.AppBskyUnspeccedGetTrendsSkeleton = exports.AppBskyUnspeccedGetTrends = exports.AppBskyUnspeccedGetTrendingTopics = exports.AppBskyUnspeccedGetTaggedSuggestions = exports.AppBskyUnspeccedGetSuggestionsSkeleton = exports.AppBskyUnspeccedGetSuggestedUsersSkeleton = exports.AppBskyUnspeccedGetSuggestedUsers = exports.AppBskyUnspeccedGetSuggestedStarterPacksSkeleton = exports.AppBskyUnspeccedGetSuggestedStarterPacks = exports.AppBskyUnspeccedGetSuggestedFeedsSkeleton = exports.AppBskyUnspeccedGetSuggestedFeeds = exports.AppBskyUnspeccedGetPostThreadV2 = exports.AppBskyUnspeccedGetPostThreadOtherV2 = exports.AppBskyUnspeccedGetPopularFeedGenerators = exports.AppBskyUnspeccedGetConfig = exports.AppBskyUnspeccedDefs = exports.AppBskyRichtextFacet = exports.AppBskyNotificationUpdateSeen = exports.AppBskyNotificationRegisterPush = exports.AppBskyNotificationPutPreferencesV2 = exports.AppBskyNotificationPutPreferences = exports.AppBskyNotificationPutActivitySubscription = exports.AppBskyNotificationListNotifications = exports.AppBskyNotificationListActivitySubscriptions = exports.AppBskyNotificationGetUnreadCount = exports.AppBskyNotificationGetPreferences = exports.AppBskyNotificationDefs = exports.AppBskyNotificationDeclaration = exports.AppBskyLabelerService = exports.AppBskyLabelerGetServices = exports.AppBskyLabelerDefs = exports.AppBskyGraphVerification = exports.AppBskyGraphUnmuteThread = exports.AppBskyGraphUnmuteActorList = exports.AppBskyGraphUnmuteActor = exports.AppBskyGraphStarterpack = exports.AppBskyGraphSearchStarterPacks = exports.AppBskyGraphMuteThread = exports.AppBskyGraphMuteActorList = exports.AppBskyGraphMuteActor = exports.AppBskyGraphListitem = exports.AppBskyGraphListblock = void 0;
40
+ exports.ToolsOzoneSetUpsertSet = exports.ToolsOzoneSetQuerySets = exports.ToolsOzoneSetGetValues = exports.ToolsOzoneSetDeleteValues = exports.ToolsOzoneSetDeleteSet = exports.ToolsOzoneSetDefs = exports.ToolsOzoneSetAddValues = exports.ToolsOzoneServerGetConfig = exports.ToolsOzoneModerationSearchRepos = exports.ToolsOzoneModerationQueryStatuses = exports.ToolsOzoneModerationQueryEvents = exports.ToolsOzoneModerationGetSubjects = exports.ToolsOzoneModerationGetRepos = exports.ToolsOzoneModerationGetReporterStats = exports.ToolsOzoneModerationGetRepo = exports.ToolsOzoneModerationGetRecords = exports.ToolsOzoneModerationGetRecord = exports.ToolsOzoneModerationGetEvent = exports.ToolsOzoneModerationEmitEvent = exports.ToolsOzoneModerationDefs = exports.ToolsOzoneHostingGetAccountHistory = exports.ToolsOzoneCommunicationUpdateTemplate = exports.ToolsOzoneCommunicationListTemplates = exports.ToolsOzoneCommunicationDeleteTemplate = exports.ToolsOzoneCommunicationDefs = exports.ToolsOzoneCommunicationCreateTemplate = exports.ChatBskyModerationUpdateActorAccess = exports.ChatBskyModerationGetMessageContext = exports.ChatBskyModerationGetActorMetadata = exports.ChatBskyConvoUpdateRead = exports.ChatBskyConvoUpdateAllRead = exports.ChatBskyConvoUnmuteConvo = exports.ChatBskyConvoSendMessageBatch = exports.ChatBskyConvoSendMessage = exports.ChatBskyConvoRemoveReaction = exports.ChatBskyConvoMuteConvo = exports.ChatBskyConvoListConvos = exports.ChatBskyConvoLeaveConvo = exports.ChatBskyConvoGetMessages = exports.ChatBskyConvoGetLog = exports.ChatBskyConvoGetConvoForMembers = exports.ChatBskyConvoGetConvoAvailability = exports.ChatBskyConvoGetConvo = exports.ChatBskyConvoDeleteMessageForSelf = exports.ChatBskyConvoDefs = exports.ChatBskyConvoAddReaction = exports.ChatBskyConvoAcceptConvo = exports.ChatBskyActorExportAccountData = exports.ChatBskyActorDeleteAccount = exports.ChatBskyActorDefs = void 0;
41
+ exports.AppBskyGraphNS = exports.AppBskyFeedThreadgateRecord = exports.AppBskyFeedRepostRecord = exports.AppBskyFeedPostgateRecord = exports.AppBskyFeedPostRecord = exports.AppBskyFeedLikeRecord = exports.AppBskyFeedGeneratorRecord = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorStatusRecord = exports.AppBskyActorProfileRecord = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconSchemaRecord = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.AtpBaseClient = exports.TOOLS_OZONE_TEAM = exports.TOOLS_OZONE_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = exports.COM_ATPROTO_MODERATION = exports.ToolsOzoneVerificationRevokeVerifications = exports.ToolsOzoneVerificationListVerifications = exports.ToolsOzoneVerificationGrantVerifications = exports.ToolsOzoneVerificationDefs = exports.ToolsOzoneTeamUpdateMember = exports.ToolsOzoneTeamListMembers = exports.ToolsOzoneTeamDeleteMember = exports.ToolsOzoneTeamDefs = exports.ToolsOzoneTeamAddMember = exports.ToolsOzoneSignatureSearchAccounts = exports.ToolsOzoneSignatureFindRelatedAccounts = exports.ToolsOzoneSignatureFindCorrelation = exports.ToolsOzoneSignatureDefs = exports.ToolsOzoneSettingUpsertOption = exports.ToolsOzoneSettingRemoveOptions = exports.ToolsOzoneSettingListOptions = exports.ToolsOzoneSettingDefs = void 0;
42
+ exports.ToolsOzoneVerificationNS = exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneHostingNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorDeclarationRecord = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationDeclarationRecord = exports.AppBskyNotificationNS = exports.AppBskyLabelerServiceRecord = exports.AppBskyLabelerNS = exports.AppBskyGraphVerificationRecord = exports.AppBskyGraphStarterpackRecord = exports.AppBskyGraphListitemRecord = exports.AppBskyGraphListblockRecord = exports.AppBskyGraphListRecord = exports.AppBskyGraphFollowRecord = exports.AppBskyGraphBlockRecord = void 0;
43
43
  /**
44
44
  * GENERATED CODE - DO NOT MODIFY
45
45
  */
@@ -218,8 +218,8 @@ exports.AppBskyFeedGetFeedGenerators = __importStar(require("./types/app/bsky/fe
218
218
  exports.AppBskyFeedGetFeedSkeleton = __importStar(require("./types/app/bsky/feed/getFeedSkeleton.js"));
219
219
  exports.AppBskyFeedGetLikes = __importStar(require("./types/app/bsky/feed/getLikes.js"));
220
220
  exports.AppBskyFeedGetListFeed = __importStar(require("./types/app/bsky/feed/getListFeed.js"));
221
- exports.AppBskyFeedGetPosts = __importStar(require("./types/app/bsky/feed/getPosts.js"));
222
221
  exports.AppBskyFeedGetPostThread = __importStar(require("./types/app/bsky/feed/getPostThread.js"));
222
+ exports.AppBskyFeedGetPosts = __importStar(require("./types/app/bsky/feed/getPosts.js"));
223
223
  exports.AppBskyFeedGetQuotes = __importStar(require("./types/app/bsky/feed/getQuotes.js"));
224
224
  exports.AppBskyFeedGetRepostedBy = __importStar(require("./types/app/bsky/feed/getRepostedBy.js"));
225
225
  exports.AppBskyFeedGetSuggestedFeeds = __importStar(require("./types/app/bsky/feed/getSuggestedFeeds.js"));
@@ -263,10 +263,13 @@ exports.AppBskyGraphVerification = __importStar(require("./types/app/bsky/graph/
263
263
  exports.AppBskyLabelerDefs = __importStar(require("./types/app/bsky/labeler/defs.js"));
264
264
  exports.AppBskyLabelerGetServices = __importStar(require("./types/app/bsky/labeler/getServices.js"));
265
265
  exports.AppBskyLabelerService = __importStar(require("./types/app/bsky/labeler/service.js"));
266
+ exports.AppBskyNotificationDeclaration = __importStar(require("./types/app/bsky/notification/declaration.js"));
266
267
  exports.AppBskyNotificationDefs = __importStar(require("./types/app/bsky/notification/defs.js"));
267
268
  exports.AppBskyNotificationGetPreferences = __importStar(require("./types/app/bsky/notification/getPreferences.js"));
268
269
  exports.AppBskyNotificationGetUnreadCount = __importStar(require("./types/app/bsky/notification/getUnreadCount.js"));
270
+ exports.AppBskyNotificationListActivitySubscriptions = __importStar(require("./types/app/bsky/notification/listActivitySubscriptions.js"));
269
271
  exports.AppBskyNotificationListNotifications = __importStar(require("./types/app/bsky/notification/listNotifications.js"));
272
+ exports.AppBskyNotificationPutActivitySubscription = __importStar(require("./types/app/bsky/notification/putActivitySubscription.js"));
270
273
  exports.AppBskyNotificationPutPreferences = __importStar(require("./types/app/bsky/notification/putPreferences.js"));
271
274
  exports.AppBskyNotificationPutPreferencesV2 = __importStar(require("./types/app/bsky/notification/putPreferencesV2.js"));
272
275
  exports.AppBskyNotificationRegisterPush = __importStar(require("./types/app/bsky/notification/registerPush.js"));
@@ -715,6 +718,11 @@ class ComAtprotoLexiconSchemaRecord {
715
718
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
716
719
  return res.data;
717
720
  }
721
+ async put(params, record, headers) {
722
+ const collection = 'com.atproto.lexicon.schema';
723
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
724
+ return res.data;
725
+ }
718
726
  async delete(params, headers) {
719
727
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'com.atproto.lexicon.schema', ...params }, { headers });
720
728
  }
@@ -1224,6 +1232,11 @@ class AppBskyActorProfileRecord {
1224
1232
  }, { encoding: 'application/json', headers });
1225
1233
  return res.data;
1226
1234
  }
1235
+ async put(params, record, headers) {
1236
+ const collection = 'app.bsky.actor.profile';
1237
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1238
+ return res.data;
1239
+ }
1227
1240
  async delete(params, headers) {
1228
1241
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.actor.profile', ...params }, { headers });
1229
1242
  }
@@ -1263,6 +1276,11 @@ class AppBskyActorStatusRecord {
1263
1276
  }, { encoding: 'application/json', headers });
1264
1277
  return res.data;
1265
1278
  }
1279
+ async put(params, record, headers) {
1280
+ const collection = 'app.bsky.actor.status';
1281
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1282
+ return res.data;
1283
+ }
1266
1284
  async delete(params, headers) {
1267
1285
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.actor.status', ...params }, { headers });
1268
1286
  }
@@ -1382,9 +1400,6 @@ class AppBskyFeedNS {
1382
1400
  throw AppBskyFeedGetListFeed.toKnownErr(e);
1383
1401
  });
1384
1402
  }
1385
- getPosts(params, opts) {
1386
- return this._client.call('app.bsky.feed.getPosts', params, undefined, opts);
1387
- }
1388
1403
  getPostThread(params, opts) {
1389
1404
  return this._client
1390
1405
  .call('app.bsky.feed.getPostThread', params, undefined, opts)
@@ -1392,6 +1407,9 @@ class AppBskyFeedNS {
1392
1407
  throw AppBskyFeedGetPostThread.toKnownErr(e);
1393
1408
  });
1394
1409
  }
1410
+ getPosts(params, opts) {
1411
+ return this._client.call('app.bsky.feed.getPosts', params, undefined, opts);
1412
+ }
1395
1413
  getQuotes(params, opts) {
1396
1414
  return this._client.call('app.bsky.feed.getQuotes', params, undefined, opts);
1397
1415
  }
@@ -1445,6 +1463,11 @@ class AppBskyFeedGeneratorRecord {
1445
1463
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1446
1464
  return res.data;
1447
1465
  }
1466
+ async put(params, record, headers) {
1467
+ const collection = 'app.bsky.feed.generator';
1468
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1469
+ return res.data;
1470
+ }
1448
1471
  async delete(params, headers) {
1449
1472
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.generator', ...params }, { headers });
1450
1473
  }
@@ -1479,6 +1502,11 @@ class AppBskyFeedLikeRecord {
1479
1502
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1480
1503
  return res.data;
1481
1504
  }
1505
+ async put(params, record, headers) {
1506
+ const collection = 'app.bsky.feed.like';
1507
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1508
+ return res.data;
1509
+ }
1482
1510
  async delete(params, headers) {
1483
1511
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.like', ...params }, { headers });
1484
1512
  }
@@ -1513,6 +1541,11 @@ class AppBskyFeedPostRecord {
1513
1541
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1514
1542
  return res.data;
1515
1543
  }
1544
+ async put(params, record, headers) {
1545
+ const collection = 'app.bsky.feed.post';
1546
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1547
+ return res.data;
1548
+ }
1516
1549
  async delete(params, headers) {
1517
1550
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.post', ...params }, { headers });
1518
1551
  }
@@ -1547,6 +1580,11 @@ class AppBskyFeedPostgateRecord {
1547
1580
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1548
1581
  return res.data;
1549
1582
  }
1583
+ async put(params, record, headers) {
1584
+ const collection = 'app.bsky.feed.postgate';
1585
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1586
+ return res.data;
1587
+ }
1550
1588
  async delete(params, headers) {
1551
1589
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.postgate', ...params }, { headers });
1552
1590
  }
@@ -1581,6 +1619,11 @@ class AppBskyFeedRepostRecord {
1581
1619
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1582
1620
  return res.data;
1583
1621
  }
1622
+ async put(params, record, headers) {
1623
+ const collection = 'app.bsky.feed.repost';
1624
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1625
+ return res.data;
1626
+ }
1584
1627
  async delete(params, headers) {
1585
1628
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.repost', ...params }, { headers });
1586
1629
  }
@@ -1615,6 +1658,11 @@ class AppBskyFeedThreadgateRecord {
1615
1658
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1616
1659
  return res.data;
1617
1660
  }
1661
+ async put(params, record, headers) {
1662
+ const collection = 'app.bsky.feed.threadgate';
1663
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1664
+ return res.data;
1665
+ }
1618
1666
  async delete(params, headers) {
1619
1667
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.threadgate', ...params }, { headers });
1620
1668
  }
@@ -1777,6 +1825,11 @@ class AppBskyGraphBlockRecord {
1777
1825
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1778
1826
  return res.data;
1779
1827
  }
1828
+ async put(params, record, headers) {
1829
+ const collection = 'app.bsky.graph.block';
1830
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1831
+ return res.data;
1832
+ }
1780
1833
  async delete(params, headers) {
1781
1834
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.block', ...params }, { headers });
1782
1835
  }
@@ -1811,6 +1864,11 @@ class AppBskyGraphFollowRecord {
1811
1864
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1812
1865
  return res.data;
1813
1866
  }
1867
+ async put(params, record, headers) {
1868
+ const collection = 'app.bsky.graph.follow';
1869
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1870
+ return res.data;
1871
+ }
1814
1872
  async delete(params, headers) {
1815
1873
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.follow', ...params }, { headers });
1816
1874
  }
@@ -1845,6 +1903,11 @@ class AppBskyGraphListRecord {
1845
1903
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1846
1904
  return res.data;
1847
1905
  }
1906
+ async put(params, record, headers) {
1907
+ const collection = 'app.bsky.graph.list';
1908
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1909
+ return res.data;
1910
+ }
1848
1911
  async delete(params, headers) {
1849
1912
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.list', ...params }, { headers });
1850
1913
  }
@@ -1879,6 +1942,11 @@ class AppBskyGraphListblockRecord {
1879
1942
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1880
1943
  return res.data;
1881
1944
  }
1945
+ async put(params, record, headers) {
1946
+ const collection = 'app.bsky.graph.listblock';
1947
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1948
+ return res.data;
1949
+ }
1882
1950
  async delete(params, headers) {
1883
1951
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listblock', ...params }, { headers });
1884
1952
  }
@@ -1913,6 +1981,11 @@ class AppBskyGraphListitemRecord {
1913
1981
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1914
1982
  return res.data;
1915
1983
  }
1984
+ async put(params, record, headers) {
1985
+ const collection = 'app.bsky.graph.listitem';
1986
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1987
+ return res.data;
1988
+ }
1916
1989
  async delete(params, headers) {
1917
1990
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listitem', ...params }, { headers });
1918
1991
  }
@@ -1947,6 +2020,11 @@ class AppBskyGraphStarterpackRecord {
1947
2020
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1948
2021
  return res.data;
1949
2022
  }
2023
+ async put(params, record, headers) {
2024
+ const collection = 'app.bsky.graph.starterpack';
2025
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2026
+ return res.data;
2027
+ }
1950
2028
  async delete(params, headers) {
1951
2029
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.starterpack', ...params }, { headers });
1952
2030
  }
@@ -1981,6 +2059,11 @@ class AppBskyGraphVerificationRecord {
1981
2059
  const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
1982
2060
  return res.data;
1983
2061
  }
2062
+ async put(params, record, headers) {
2063
+ const collection = 'app.bsky.graph.verification';
2064
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2065
+ return res.data;
2066
+ }
1984
2067
  async delete(params, headers) {
1985
2068
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.verification', ...params }, { headers });
1986
2069
  }
@@ -2042,6 +2125,11 @@ class AppBskyLabelerServiceRecord {
2042
2125
  }, { encoding: 'application/json', headers });
2043
2126
  return res.data;
2044
2127
  }
2128
+ async put(params, record, headers) {
2129
+ const collection = 'app.bsky.labeler.service';
2130
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2131
+ return res.data;
2132
+ }
2045
2133
  async delete(params, headers) {
2046
2134
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.labeler.service', ...params }, { headers });
2047
2135
  }
@@ -2055,7 +2143,14 @@ class AppBskyNotificationNS {
2055
2143
  writable: true,
2056
2144
  value: void 0
2057
2145
  });
2146
+ Object.defineProperty(this, "declaration", {
2147
+ enumerable: true,
2148
+ configurable: true,
2149
+ writable: true,
2150
+ value: void 0
2151
+ });
2058
2152
  this._client = client;
2153
+ this.declaration = new AppBskyNotificationDeclarationRecord(client);
2059
2154
  }
2060
2155
  getPreferences(params, opts) {
2061
2156
  return this._client.call('app.bsky.notification.getPreferences', params, undefined, opts);
@@ -2063,9 +2158,15 @@ class AppBskyNotificationNS {
2063
2158
  getUnreadCount(params, opts) {
2064
2159
  return this._client.call('app.bsky.notification.getUnreadCount', params, undefined, opts);
2065
2160
  }
2161
+ listActivitySubscriptions(params, opts) {
2162
+ return this._client.call('app.bsky.notification.listActivitySubscriptions', params, undefined, opts);
2163
+ }
2066
2164
  listNotifications(params, opts) {
2067
2165
  return this._client.call('app.bsky.notification.listNotifications', params, undefined, opts);
2068
2166
  }
2167
+ putActivitySubscription(data, opts) {
2168
+ return this._client.call('app.bsky.notification.putActivitySubscription', opts?.qp, data, opts);
2169
+ }
2069
2170
  putPreferences(data, opts) {
2070
2171
  return this._client.call('app.bsky.notification.putPreferences', opts?.qp, data, opts);
2071
2172
  }
@@ -2080,6 +2181,45 @@ class AppBskyNotificationNS {
2080
2181
  }
2081
2182
  }
2082
2183
  exports.AppBskyNotificationNS = AppBskyNotificationNS;
2184
+ class AppBskyNotificationDeclarationRecord {
2185
+ constructor(client) {
2186
+ Object.defineProperty(this, "_client", {
2187
+ enumerable: true,
2188
+ configurable: true,
2189
+ writable: true,
2190
+ value: void 0
2191
+ });
2192
+ this._client = client;
2193
+ }
2194
+ async list(params) {
2195
+ const res = await this._client.call('com.atproto.repo.listRecords', {
2196
+ collection: 'app.bsky.notification.declaration',
2197
+ ...params,
2198
+ });
2199
+ return res.data;
2200
+ }
2201
+ async get(params) {
2202
+ const res = await this._client.call('com.atproto.repo.getRecord', {
2203
+ collection: 'app.bsky.notification.declaration',
2204
+ ...params,
2205
+ });
2206
+ return res.data;
2207
+ }
2208
+ async create(params, record, headers) {
2209
+ const collection = 'app.bsky.notification.declaration';
2210
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
2211
+ collection,
2212
+ rkey: 'self',
2213
+ ...params,
2214
+ record: { ...record, $type: collection },
2215
+ }, { encoding: 'application/json', headers });
2216
+ return res.data;
2217
+ }
2218
+ async delete(params, headers) {
2219
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.notification.declaration', ...params }, { headers });
2220
+ }
2221
+ }
2222
+ exports.AppBskyNotificationDeclarationRecord = AppBskyNotificationDeclarationRecord;
2083
2223
  class AppBskyRichtextNS {
2084
2224
  constructor(client) {
2085
2225
  Object.defineProperty(this, "_client", {
@@ -2302,6 +2442,11 @@ class ChatBskyActorDeclarationRecord {
2302
2442
  }, { encoding: 'application/json', headers });
2303
2443
  return res.data;
2304
2444
  }
2445
+ async put(params, record, headers) {
2446
+ const collection = 'chat.bsky.actor.declaration';
2447
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2448
+ return res.data;
2449
+ }
2305
2450
  async delete(params, headers) {
2306
2451
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'chat.bsky.actor.declaration', ...params }, { headers });
2307
2452
  }