@atproto/api 0.14.21 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/agent.js +17 -7
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +63 -32
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +133 -62
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +326 -4
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +171 -2
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/graph/verification.d.ts +19 -0
- package/dist/client/types/app/bsky/graph/verification.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/verification.js +16 -0
- package/dist/client/types/app/bsky/graph/verification.js.map +1 -0
- package/dist/client/types/com/atproto/sync/defs.d.ts +2 -0
- package/dist/client/types/com/atproto/sync/defs.d.ts.map +1 -0
- package/dist/client/types/com/atproto/sync/defs.js +7 -0
- package/dist/client/types/com/atproto/sync/defs.js.map +1 -0
- package/dist/client/types/com/atproto/sync/getHostStatus.d.ts +32 -0
- package/dist/client/types/com/atproto/sync/getHostStatus.d.ts.map +1 -0
- package/dist/client/types/com/atproto/sync/getHostStatus.js +26 -0
- package/dist/client/types/com/atproto/sync/getHostStatus.js.map +1 -0
- package/dist/client/types/com/atproto/sync/listHosts.d.ts +38 -0
- package/dist/client/types/com/atproto/sync/listHosts.d.ts.map +1 -0
- package/dist/client/types/com/atproto/sync/listHosts.js +20 -0
- package/dist/client/types/com/atproto/sync/listHosts.js.map +1 -0
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +4 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.js +15 -0
- package/dist/client/types/com/atproto/sync/requestCrawl.js.map +1 -1
- package/dist/client/util.d.ts.map +1 -1
- package/dist/util.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client/index.ts +151 -54
- package/src/client/lexicons.ts +181 -2
- package/src/client/types/app/bsky/graph/verification.ts +38 -0
- package/src/client/types/com/atproto/sync/defs.ts +23 -0
- package/src/client/types/com/atproto/sync/getHostStatus.ts +58 -0
- package/src/client/types/com/atproto/sync/listHosts.ts +65 -0
- package/src/client/types/com/atproto/sync/requestCrawl.ts +10 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
package/dist/client/index.js
CHANGED
|
@@ -15,21 +15,31 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
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;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneCommunicationNS = void 0;
|
|
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.AppBskyGraphListblock = 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 = void 0;
|
|
39
|
+
exports.ChatBskyConvoGetConvoAvailability = exports.ChatBskyConvoGetConvo = exports.ChatBskyConvoDeleteMessageForSelf = exports.ChatBskyConvoDefs = exports.ChatBskyConvoAddReaction = exports.ChatBskyConvoAcceptConvo = 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.AppBskyUnspeccedGetPopularFeedGenerators = exports.AppBskyUnspeccedGetConfig = exports.AppBskyUnspeccedDefs = exports.AppBskyRichtextFacet = exports.AppBskyNotificationUpdateSeen = exports.AppBskyNotificationRegisterPush = exports.AppBskyNotificationPutPreferences = exports.AppBskyNotificationListNotifications = exports.AppBskyNotificationGetUnreadCount = 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 = void 0;
|
|
40
|
+
exports.ToolsOzoneTeamDefs = exports.ToolsOzoneTeamAddMember = exports.ToolsOzoneSignatureSearchAccounts = exports.ToolsOzoneSignatureFindRelatedAccounts = exports.ToolsOzoneSignatureFindCorrelation = exports.ToolsOzoneSignatureDefs = exports.ToolsOzoneSettingUpsertOption = 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.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 = void 0;
|
|
41
|
+
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 = 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.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.COM_ATPROTO_MODERATION = exports.ToolsOzoneTeamUpdateMember = exports.ToolsOzoneTeamListMembers = exports.ToolsOzoneTeamDeleteMember = void 0;
|
|
42
|
+
exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorDeclarationRecord = void 0;
|
|
33
43
|
/**
|
|
34
44
|
* GENERATED CODE - DO NOT MODIFY
|
|
35
45
|
*/
|
|
@@ -58,11 +68,13 @@ const ComAtprotoServerUpdateEmail = __importStar(require("./types/com/atproto/se
|
|
|
58
68
|
const ComAtprotoSyncGetBlob = __importStar(require("./types/com/atproto/sync/getBlob.js"));
|
|
59
69
|
const ComAtprotoSyncGetBlocks = __importStar(require("./types/com/atproto/sync/getBlocks.js"));
|
|
60
70
|
const ComAtprotoSyncGetHead = __importStar(require("./types/com/atproto/sync/getHead.js"));
|
|
71
|
+
const ComAtprotoSyncGetHostStatus = __importStar(require("./types/com/atproto/sync/getHostStatus.js"));
|
|
61
72
|
const ComAtprotoSyncGetLatestCommit = __importStar(require("./types/com/atproto/sync/getLatestCommit.js"));
|
|
62
73
|
const ComAtprotoSyncGetRecord = __importStar(require("./types/com/atproto/sync/getRecord.js"));
|
|
63
74
|
const ComAtprotoSyncGetRepo = __importStar(require("./types/com/atproto/sync/getRepo.js"));
|
|
64
75
|
const ComAtprotoSyncGetRepoStatus = __importStar(require("./types/com/atproto/sync/getRepoStatus.js"));
|
|
65
76
|
const ComAtprotoSyncListBlobs = __importStar(require("./types/com/atproto/sync/listBlobs.js"));
|
|
77
|
+
const ComAtprotoSyncRequestCrawl = __importStar(require("./types/com/atproto/sync/requestCrawl.js"));
|
|
66
78
|
const AppBskyFeedGetActorLikes = __importStar(require("./types/app/bsky/feed/getActorLikes.js"));
|
|
67
79
|
const AppBskyFeedGetAuthorFeed = __importStar(require("./types/app/bsky/feed/getAuthorFeed.js"));
|
|
68
80
|
const AppBskyFeedGetFeed = __importStar(require("./types/app/bsky/feed/getFeed.js"));
|
|
@@ -157,15 +169,18 @@ exports.ComAtprotoServerReserveSigningKey = __importStar(require("./types/com/at
|
|
|
157
169
|
exports.ComAtprotoServerResetPassword = __importStar(require("./types/com/atproto/server/resetPassword.js"));
|
|
158
170
|
exports.ComAtprotoServerRevokeAppPassword = __importStar(require("./types/com/atproto/server/revokeAppPassword.js"));
|
|
159
171
|
exports.ComAtprotoServerUpdateEmail = __importStar(require("./types/com/atproto/server/updateEmail.js"));
|
|
172
|
+
exports.ComAtprotoSyncDefs = __importStar(require("./types/com/atproto/sync/defs.js"));
|
|
160
173
|
exports.ComAtprotoSyncGetBlob = __importStar(require("./types/com/atproto/sync/getBlob.js"));
|
|
161
174
|
exports.ComAtprotoSyncGetBlocks = __importStar(require("./types/com/atproto/sync/getBlocks.js"));
|
|
162
175
|
exports.ComAtprotoSyncGetCheckout = __importStar(require("./types/com/atproto/sync/getCheckout.js"));
|
|
163
176
|
exports.ComAtprotoSyncGetHead = __importStar(require("./types/com/atproto/sync/getHead.js"));
|
|
177
|
+
exports.ComAtprotoSyncGetHostStatus = __importStar(require("./types/com/atproto/sync/getHostStatus.js"));
|
|
164
178
|
exports.ComAtprotoSyncGetLatestCommit = __importStar(require("./types/com/atproto/sync/getLatestCommit.js"));
|
|
165
179
|
exports.ComAtprotoSyncGetRecord = __importStar(require("./types/com/atproto/sync/getRecord.js"));
|
|
166
180
|
exports.ComAtprotoSyncGetRepo = __importStar(require("./types/com/atproto/sync/getRepo.js"));
|
|
167
181
|
exports.ComAtprotoSyncGetRepoStatus = __importStar(require("./types/com/atproto/sync/getRepoStatus.js"));
|
|
168
182
|
exports.ComAtprotoSyncListBlobs = __importStar(require("./types/com/atproto/sync/listBlobs.js"));
|
|
183
|
+
exports.ComAtprotoSyncListHosts = __importStar(require("./types/com/atproto/sync/listHosts.js"));
|
|
169
184
|
exports.ComAtprotoSyncListRepos = __importStar(require("./types/com/atproto/sync/listRepos.js"));
|
|
170
185
|
exports.ComAtprotoSyncListReposByCollection = __importStar(require("./types/com/atproto/sync/listReposByCollection.js"));
|
|
171
186
|
exports.ComAtprotoSyncNotifyOfUpdate = __importStar(require("./types/com/atproto/sync/notifyOfUpdate.js"));
|
|
@@ -243,6 +258,7 @@ exports.AppBskyGraphStarterpack = __importStar(require("./types/app/bsky/graph/s
|
|
|
243
258
|
exports.AppBskyGraphUnmuteActor = __importStar(require("./types/app/bsky/graph/unmuteActor.js"));
|
|
244
259
|
exports.AppBskyGraphUnmuteActorList = __importStar(require("./types/app/bsky/graph/unmuteActorList.js"));
|
|
245
260
|
exports.AppBskyGraphUnmuteThread = __importStar(require("./types/app/bsky/graph/unmuteThread.js"));
|
|
261
|
+
exports.AppBskyGraphVerification = __importStar(require("./types/app/bsky/graph/verification.js"));
|
|
246
262
|
exports.AppBskyLabelerDefs = __importStar(require("./types/app/bsky/labeler/defs.js"));
|
|
247
263
|
exports.AppBskyLabelerGetServices = __importStar(require("./types/app/bsky/labeler/getServices.js"));
|
|
248
264
|
exports.AppBskyLabelerService = __importStar(require("./types/app/bsky/labeler/service.js"));
|
|
@@ -651,11 +667,11 @@ class ComAtprotoLexiconNS {
|
|
|
651
667
|
value: void 0
|
|
652
668
|
});
|
|
653
669
|
this._client = client;
|
|
654
|
-
this.schema = new
|
|
670
|
+
this.schema = new ComAtprotoLexiconSchemaRecord(client);
|
|
655
671
|
}
|
|
656
672
|
}
|
|
657
673
|
exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
|
|
658
|
-
class
|
|
674
|
+
class ComAtprotoLexiconSchemaRecord {
|
|
659
675
|
constructor(client) {
|
|
660
676
|
Object.defineProperty(this, "_client", {
|
|
661
677
|
enumerable: true,
|
|
@@ -688,7 +704,7 @@ class SchemaRecord {
|
|
|
688
704
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'com.atproto.lexicon.schema', ...params }, { headers });
|
|
689
705
|
}
|
|
690
706
|
}
|
|
691
|
-
exports.
|
|
707
|
+
exports.ComAtprotoLexiconSchemaRecord = ComAtprotoLexiconSchemaRecord;
|
|
692
708
|
class ComAtprotoModerationNS {
|
|
693
709
|
constructor(client) {
|
|
694
710
|
Object.defineProperty(this, "_client", {
|
|
@@ -931,6 +947,13 @@ class ComAtprotoSyncNS {
|
|
|
931
947
|
throw ComAtprotoSyncGetHead.toKnownErr(e);
|
|
932
948
|
});
|
|
933
949
|
}
|
|
950
|
+
getHostStatus(params, opts) {
|
|
951
|
+
return this._client
|
|
952
|
+
.call('com.atproto.sync.getHostStatus', params, undefined, opts)
|
|
953
|
+
.catch((e) => {
|
|
954
|
+
throw ComAtprotoSyncGetHostStatus.toKnownErr(e);
|
|
955
|
+
});
|
|
956
|
+
}
|
|
934
957
|
getLatestCommit(params, opts) {
|
|
935
958
|
return this._client
|
|
936
959
|
.call('com.atproto.sync.getLatestCommit', params, undefined, opts)
|
|
@@ -966,6 +989,9 @@ class ComAtprotoSyncNS {
|
|
|
966
989
|
throw ComAtprotoSyncListBlobs.toKnownErr(e);
|
|
967
990
|
});
|
|
968
991
|
}
|
|
992
|
+
listHosts(params, opts) {
|
|
993
|
+
return this._client.call('com.atproto.sync.listHosts', params, undefined, opts);
|
|
994
|
+
}
|
|
969
995
|
listRepos(params, opts) {
|
|
970
996
|
return this._client.call('com.atproto.sync.listRepos', params, undefined, opts);
|
|
971
997
|
}
|
|
@@ -976,7 +1002,11 @@ class ComAtprotoSyncNS {
|
|
|
976
1002
|
return this._client.call('com.atproto.sync.notifyOfUpdate', opts?.qp, data, opts);
|
|
977
1003
|
}
|
|
978
1004
|
requestCrawl(data, opts) {
|
|
979
|
-
return this._client
|
|
1005
|
+
return this._client
|
|
1006
|
+
.call('com.atproto.sync.requestCrawl', opts?.qp, data, opts)
|
|
1007
|
+
.catch((e) => {
|
|
1008
|
+
throw ComAtprotoSyncRequestCrawl.toKnownErr(e);
|
|
1009
|
+
});
|
|
980
1010
|
}
|
|
981
1011
|
}
|
|
982
1012
|
exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
|
|
@@ -1113,7 +1143,7 @@ class AppBskyActorNS {
|
|
|
1113
1143
|
value: void 0
|
|
1114
1144
|
});
|
|
1115
1145
|
this._client = client;
|
|
1116
|
-
this.profile = new
|
|
1146
|
+
this.profile = new AppBskyActorProfileRecord(client);
|
|
1117
1147
|
}
|
|
1118
1148
|
getPreferences(params, opts) {
|
|
1119
1149
|
return this._client.call('app.bsky.actor.getPreferences', params, undefined, opts);
|
|
@@ -1138,7 +1168,7 @@ class AppBskyActorNS {
|
|
|
1138
1168
|
}
|
|
1139
1169
|
}
|
|
1140
1170
|
exports.AppBskyActorNS = AppBskyActorNS;
|
|
1141
|
-
class
|
|
1171
|
+
class AppBskyActorProfileRecord {
|
|
1142
1172
|
constructor(client) {
|
|
1143
1173
|
Object.defineProperty(this, "_client", {
|
|
1144
1174
|
enumerable: true,
|
|
@@ -1176,7 +1206,7 @@ class ProfileRecord {
|
|
|
1176
1206
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.actor.profile', ...params }, { headers });
|
|
1177
1207
|
}
|
|
1178
1208
|
}
|
|
1179
|
-
exports.
|
|
1209
|
+
exports.AppBskyActorProfileRecord = AppBskyActorProfileRecord;
|
|
1180
1210
|
class AppBskyEmbedNS {
|
|
1181
1211
|
constructor(client) {
|
|
1182
1212
|
Object.defineProperty(this, "_client", {
|
|
@@ -1234,12 +1264,12 @@ class AppBskyFeedNS {
|
|
|
1234
1264
|
value: void 0
|
|
1235
1265
|
});
|
|
1236
1266
|
this._client = client;
|
|
1237
|
-
this.generator = new
|
|
1238
|
-
this.like = new
|
|
1239
|
-
this.post = new
|
|
1240
|
-
this.postgate = new
|
|
1241
|
-
this.repost = new
|
|
1242
|
-
this.threadgate = new
|
|
1267
|
+
this.generator = new AppBskyFeedGeneratorRecord(client);
|
|
1268
|
+
this.like = new AppBskyFeedLikeRecord(client);
|
|
1269
|
+
this.post = new AppBskyFeedPostRecord(client);
|
|
1270
|
+
this.postgate = new AppBskyFeedPostgateRecord(client);
|
|
1271
|
+
this.repost = new AppBskyFeedRepostRecord(client);
|
|
1272
|
+
this.threadgate = new AppBskyFeedThreadgateRecord(client);
|
|
1243
1273
|
}
|
|
1244
1274
|
describeFeedGenerator(params, opts) {
|
|
1245
1275
|
return this._client.call('app.bsky.feed.describeFeedGenerator', params, undefined, opts);
|
|
@@ -1325,7 +1355,7 @@ class AppBskyFeedNS {
|
|
|
1325
1355
|
}
|
|
1326
1356
|
}
|
|
1327
1357
|
exports.AppBskyFeedNS = AppBskyFeedNS;
|
|
1328
|
-
class
|
|
1358
|
+
class AppBskyFeedGeneratorRecord {
|
|
1329
1359
|
constructor(client) {
|
|
1330
1360
|
Object.defineProperty(this, "_client", {
|
|
1331
1361
|
enumerable: true,
|
|
@@ -1358,8 +1388,8 @@ class GeneratorRecord {
|
|
|
1358
1388
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.generator', ...params }, { headers });
|
|
1359
1389
|
}
|
|
1360
1390
|
}
|
|
1361
|
-
exports.
|
|
1362
|
-
class
|
|
1391
|
+
exports.AppBskyFeedGeneratorRecord = AppBskyFeedGeneratorRecord;
|
|
1392
|
+
class AppBskyFeedLikeRecord {
|
|
1363
1393
|
constructor(client) {
|
|
1364
1394
|
Object.defineProperty(this, "_client", {
|
|
1365
1395
|
enumerable: true,
|
|
@@ -1392,8 +1422,8 @@ class LikeRecord {
|
|
|
1392
1422
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.like', ...params }, { headers });
|
|
1393
1423
|
}
|
|
1394
1424
|
}
|
|
1395
|
-
exports.
|
|
1396
|
-
class
|
|
1425
|
+
exports.AppBskyFeedLikeRecord = AppBskyFeedLikeRecord;
|
|
1426
|
+
class AppBskyFeedPostRecord {
|
|
1397
1427
|
constructor(client) {
|
|
1398
1428
|
Object.defineProperty(this, "_client", {
|
|
1399
1429
|
enumerable: true,
|
|
@@ -1426,8 +1456,8 @@ class PostRecord {
|
|
|
1426
1456
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.post', ...params }, { headers });
|
|
1427
1457
|
}
|
|
1428
1458
|
}
|
|
1429
|
-
exports.
|
|
1430
|
-
class
|
|
1459
|
+
exports.AppBskyFeedPostRecord = AppBskyFeedPostRecord;
|
|
1460
|
+
class AppBskyFeedPostgateRecord {
|
|
1431
1461
|
constructor(client) {
|
|
1432
1462
|
Object.defineProperty(this, "_client", {
|
|
1433
1463
|
enumerable: true,
|
|
@@ -1460,8 +1490,8 @@ class PostgateRecord {
|
|
|
1460
1490
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.postgate', ...params }, { headers });
|
|
1461
1491
|
}
|
|
1462
1492
|
}
|
|
1463
|
-
exports.
|
|
1464
|
-
class
|
|
1493
|
+
exports.AppBskyFeedPostgateRecord = AppBskyFeedPostgateRecord;
|
|
1494
|
+
class AppBskyFeedRepostRecord {
|
|
1465
1495
|
constructor(client) {
|
|
1466
1496
|
Object.defineProperty(this, "_client", {
|
|
1467
1497
|
enumerable: true,
|
|
@@ -1494,8 +1524,8 @@ class RepostRecord {
|
|
|
1494
1524
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.repost', ...params }, { headers });
|
|
1495
1525
|
}
|
|
1496
1526
|
}
|
|
1497
|
-
exports.
|
|
1498
|
-
class
|
|
1527
|
+
exports.AppBskyFeedRepostRecord = AppBskyFeedRepostRecord;
|
|
1528
|
+
class AppBskyFeedThreadgateRecord {
|
|
1499
1529
|
constructor(client) {
|
|
1500
1530
|
Object.defineProperty(this, "_client", {
|
|
1501
1531
|
enumerable: true,
|
|
@@ -1528,7 +1558,7 @@ class ThreadgateRecord {
|
|
|
1528
1558
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.threadgate', ...params }, { headers });
|
|
1529
1559
|
}
|
|
1530
1560
|
}
|
|
1531
|
-
exports.
|
|
1561
|
+
exports.AppBskyFeedThreadgateRecord = AppBskyFeedThreadgateRecord;
|
|
1532
1562
|
class AppBskyGraphNS {
|
|
1533
1563
|
constructor(client) {
|
|
1534
1564
|
Object.defineProperty(this, "_client", {
|
|
@@ -1573,13 +1603,20 @@ class AppBskyGraphNS {
|
|
|
1573
1603
|
writable: true,
|
|
1574
1604
|
value: void 0
|
|
1575
1605
|
});
|
|
1606
|
+
Object.defineProperty(this, "verification", {
|
|
1607
|
+
enumerable: true,
|
|
1608
|
+
configurable: true,
|
|
1609
|
+
writable: true,
|
|
1610
|
+
value: void 0
|
|
1611
|
+
});
|
|
1576
1612
|
this._client = client;
|
|
1577
|
-
this.block = new
|
|
1578
|
-
this.follow = new
|
|
1579
|
-
this.list = new
|
|
1580
|
-
this.listblock = new
|
|
1581
|
-
this.listitem = new
|
|
1582
|
-
this.starterpack = new
|
|
1613
|
+
this.block = new AppBskyGraphBlockRecord(client);
|
|
1614
|
+
this.follow = new AppBskyGraphFollowRecord(client);
|
|
1615
|
+
this.list = new AppBskyGraphListRecord(client);
|
|
1616
|
+
this.listblock = new AppBskyGraphListblockRecord(client);
|
|
1617
|
+
this.listitem = new AppBskyGraphListitemRecord(client);
|
|
1618
|
+
this.starterpack = new AppBskyGraphStarterpackRecord(client);
|
|
1619
|
+
this.verification = new AppBskyGraphVerificationRecord(client);
|
|
1583
1620
|
}
|
|
1584
1621
|
getActorStarterPacks(params, opts) {
|
|
1585
1622
|
return this._client.call('app.bsky.graph.getActorStarterPacks', params, undefined, opts);
|
|
@@ -1650,7 +1687,7 @@ class AppBskyGraphNS {
|
|
|
1650
1687
|
}
|
|
1651
1688
|
}
|
|
1652
1689
|
exports.AppBskyGraphNS = AppBskyGraphNS;
|
|
1653
|
-
class
|
|
1690
|
+
class AppBskyGraphBlockRecord {
|
|
1654
1691
|
constructor(client) {
|
|
1655
1692
|
Object.defineProperty(this, "_client", {
|
|
1656
1693
|
enumerable: true,
|
|
@@ -1683,8 +1720,8 @@ class BlockRecord {
|
|
|
1683
1720
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.block', ...params }, { headers });
|
|
1684
1721
|
}
|
|
1685
1722
|
}
|
|
1686
|
-
exports.
|
|
1687
|
-
class
|
|
1723
|
+
exports.AppBskyGraphBlockRecord = AppBskyGraphBlockRecord;
|
|
1724
|
+
class AppBskyGraphFollowRecord {
|
|
1688
1725
|
constructor(client) {
|
|
1689
1726
|
Object.defineProperty(this, "_client", {
|
|
1690
1727
|
enumerable: true,
|
|
@@ -1717,8 +1754,8 @@ class FollowRecord {
|
|
|
1717
1754
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.follow', ...params }, { headers });
|
|
1718
1755
|
}
|
|
1719
1756
|
}
|
|
1720
|
-
exports.
|
|
1721
|
-
class
|
|
1757
|
+
exports.AppBskyGraphFollowRecord = AppBskyGraphFollowRecord;
|
|
1758
|
+
class AppBskyGraphListRecord {
|
|
1722
1759
|
constructor(client) {
|
|
1723
1760
|
Object.defineProperty(this, "_client", {
|
|
1724
1761
|
enumerable: true,
|
|
@@ -1751,8 +1788,8 @@ class ListRecord {
|
|
|
1751
1788
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.list', ...params }, { headers });
|
|
1752
1789
|
}
|
|
1753
1790
|
}
|
|
1754
|
-
exports.
|
|
1755
|
-
class
|
|
1791
|
+
exports.AppBskyGraphListRecord = AppBskyGraphListRecord;
|
|
1792
|
+
class AppBskyGraphListblockRecord {
|
|
1756
1793
|
constructor(client) {
|
|
1757
1794
|
Object.defineProperty(this, "_client", {
|
|
1758
1795
|
enumerable: true,
|
|
@@ -1785,8 +1822,8 @@ class ListblockRecord {
|
|
|
1785
1822
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listblock', ...params }, { headers });
|
|
1786
1823
|
}
|
|
1787
1824
|
}
|
|
1788
|
-
exports.
|
|
1789
|
-
class
|
|
1825
|
+
exports.AppBskyGraphListblockRecord = AppBskyGraphListblockRecord;
|
|
1826
|
+
class AppBskyGraphListitemRecord {
|
|
1790
1827
|
constructor(client) {
|
|
1791
1828
|
Object.defineProperty(this, "_client", {
|
|
1792
1829
|
enumerable: true,
|
|
@@ -1819,8 +1856,8 @@ class ListitemRecord {
|
|
|
1819
1856
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listitem', ...params }, { headers });
|
|
1820
1857
|
}
|
|
1821
1858
|
}
|
|
1822
|
-
exports.
|
|
1823
|
-
class
|
|
1859
|
+
exports.AppBskyGraphListitemRecord = AppBskyGraphListitemRecord;
|
|
1860
|
+
class AppBskyGraphStarterpackRecord {
|
|
1824
1861
|
constructor(client) {
|
|
1825
1862
|
Object.defineProperty(this, "_client", {
|
|
1826
1863
|
enumerable: true,
|
|
@@ -1853,7 +1890,41 @@ class StarterpackRecord {
|
|
|
1853
1890
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.starterpack', ...params }, { headers });
|
|
1854
1891
|
}
|
|
1855
1892
|
}
|
|
1856
|
-
exports.
|
|
1893
|
+
exports.AppBskyGraphStarterpackRecord = AppBskyGraphStarterpackRecord;
|
|
1894
|
+
class AppBskyGraphVerificationRecord {
|
|
1895
|
+
constructor(client) {
|
|
1896
|
+
Object.defineProperty(this, "_client", {
|
|
1897
|
+
enumerable: true,
|
|
1898
|
+
configurable: true,
|
|
1899
|
+
writable: true,
|
|
1900
|
+
value: void 0
|
|
1901
|
+
});
|
|
1902
|
+
this._client = client;
|
|
1903
|
+
}
|
|
1904
|
+
async list(params) {
|
|
1905
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1906
|
+
collection: 'app.bsky.graph.verification',
|
|
1907
|
+
...params,
|
|
1908
|
+
});
|
|
1909
|
+
return res.data;
|
|
1910
|
+
}
|
|
1911
|
+
async get(params) {
|
|
1912
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1913
|
+
collection: 'app.bsky.graph.verification',
|
|
1914
|
+
...params,
|
|
1915
|
+
});
|
|
1916
|
+
return res.data;
|
|
1917
|
+
}
|
|
1918
|
+
async create(params, record, headers) {
|
|
1919
|
+
const collection = 'app.bsky.graph.verification';
|
|
1920
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1921
|
+
return res.data;
|
|
1922
|
+
}
|
|
1923
|
+
async delete(params, headers) {
|
|
1924
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.verification', ...params }, { headers });
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
exports.AppBskyGraphVerificationRecord = AppBskyGraphVerificationRecord;
|
|
1857
1928
|
class AppBskyLabelerNS {
|
|
1858
1929
|
constructor(client) {
|
|
1859
1930
|
Object.defineProperty(this, "_client", {
|
|
@@ -1869,14 +1940,14 @@ class AppBskyLabelerNS {
|
|
|
1869
1940
|
value: void 0
|
|
1870
1941
|
});
|
|
1871
1942
|
this._client = client;
|
|
1872
|
-
this.service = new
|
|
1943
|
+
this.service = new AppBskyLabelerServiceRecord(client);
|
|
1873
1944
|
}
|
|
1874
1945
|
getServices(params, opts) {
|
|
1875
1946
|
return this._client.call('app.bsky.labeler.getServices', params, undefined, opts);
|
|
1876
1947
|
}
|
|
1877
1948
|
}
|
|
1878
1949
|
exports.AppBskyLabelerNS = AppBskyLabelerNS;
|
|
1879
|
-
class
|
|
1950
|
+
class AppBskyLabelerServiceRecord {
|
|
1880
1951
|
constructor(client) {
|
|
1881
1952
|
Object.defineProperty(this, "_client", {
|
|
1882
1953
|
enumerable: true,
|
|
@@ -1914,7 +1985,7 @@ class ServiceRecord {
|
|
|
1914
1985
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.labeler.service', ...params }, { headers });
|
|
1915
1986
|
}
|
|
1916
1987
|
}
|
|
1917
|
-
exports.
|
|
1988
|
+
exports.AppBskyLabelerServiceRecord = AppBskyLabelerServiceRecord;
|
|
1918
1989
|
class AppBskyNotificationNS {
|
|
1919
1990
|
constructor(client) {
|
|
1920
1991
|
Object.defineProperty(this, "_client", {
|
|
@@ -2114,7 +2185,7 @@ class ChatBskyActorNS {
|
|
|
2114
2185
|
value: void 0
|
|
2115
2186
|
});
|
|
2116
2187
|
this._client = client;
|
|
2117
|
-
this.declaration = new
|
|
2188
|
+
this.declaration = new ChatBskyActorDeclarationRecord(client);
|
|
2118
2189
|
}
|
|
2119
2190
|
deleteAccount(data, opts) {
|
|
2120
2191
|
return this._client.call('chat.bsky.actor.deleteAccount', opts?.qp, data, opts);
|
|
@@ -2124,7 +2195,7 @@ class ChatBskyActorNS {
|
|
|
2124
2195
|
}
|
|
2125
2196
|
}
|
|
2126
2197
|
exports.ChatBskyActorNS = ChatBskyActorNS;
|
|
2127
|
-
class
|
|
2198
|
+
class ChatBskyActorDeclarationRecord {
|
|
2128
2199
|
constructor(client) {
|
|
2129
2200
|
Object.defineProperty(this, "_client", {
|
|
2130
2201
|
enumerable: true,
|
|
@@ -2162,7 +2233,7 @@ class DeclarationRecord {
|
|
|
2162
2233
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'chat.bsky.actor.declaration', ...params }, { headers });
|
|
2163
2234
|
}
|
|
2164
2235
|
}
|
|
2165
|
-
exports.
|
|
2236
|
+
exports.ChatBskyActorDeclarationRecord = ChatBskyActorDeclarationRecord;
|
|
2166
2237
|
class ChatBskyConvoNS {
|
|
2167
2238
|
constructor(client) {
|
|
2168
2239
|
Object.defineProperty(this, "_client", {
|