@atproto/api 0.14.22 → 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 +6 -0
- package/dist/agent.js +17 -7
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +56 -32
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +111 -59
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +72 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +37 -0
- 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/util.d.ts.map +1 -1
- package/dist/util.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client/index.ts +117 -48
- package/src/client/lexicons.ts +40 -0
- package/src/client/types/app/bsky/graph/verification.ts +38 -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
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;
|
|
28
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;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = 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
|
*/
|
|
@@ -248,6 +258,7 @@ exports.AppBskyGraphStarterpack = __importStar(require("./types/app/bsky/graph/s
|
|
|
248
258
|
exports.AppBskyGraphUnmuteActor = __importStar(require("./types/app/bsky/graph/unmuteActor.js"));
|
|
249
259
|
exports.AppBskyGraphUnmuteActorList = __importStar(require("./types/app/bsky/graph/unmuteActorList.js"));
|
|
250
260
|
exports.AppBskyGraphUnmuteThread = __importStar(require("./types/app/bsky/graph/unmuteThread.js"));
|
|
261
|
+
exports.AppBskyGraphVerification = __importStar(require("./types/app/bsky/graph/verification.js"));
|
|
251
262
|
exports.AppBskyLabelerDefs = __importStar(require("./types/app/bsky/labeler/defs.js"));
|
|
252
263
|
exports.AppBskyLabelerGetServices = __importStar(require("./types/app/bsky/labeler/getServices.js"));
|
|
253
264
|
exports.AppBskyLabelerService = __importStar(require("./types/app/bsky/labeler/service.js"));
|
|
@@ -656,11 +667,11 @@ class ComAtprotoLexiconNS {
|
|
|
656
667
|
value: void 0
|
|
657
668
|
});
|
|
658
669
|
this._client = client;
|
|
659
|
-
this.schema = new
|
|
670
|
+
this.schema = new ComAtprotoLexiconSchemaRecord(client);
|
|
660
671
|
}
|
|
661
672
|
}
|
|
662
673
|
exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
|
|
663
|
-
class
|
|
674
|
+
class ComAtprotoLexiconSchemaRecord {
|
|
664
675
|
constructor(client) {
|
|
665
676
|
Object.defineProperty(this, "_client", {
|
|
666
677
|
enumerable: true,
|
|
@@ -693,7 +704,7 @@ class SchemaRecord {
|
|
|
693
704
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'com.atproto.lexicon.schema', ...params }, { headers });
|
|
694
705
|
}
|
|
695
706
|
}
|
|
696
|
-
exports.
|
|
707
|
+
exports.ComAtprotoLexiconSchemaRecord = ComAtprotoLexiconSchemaRecord;
|
|
697
708
|
class ComAtprotoModerationNS {
|
|
698
709
|
constructor(client) {
|
|
699
710
|
Object.defineProperty(this, "_client", {
|
|
@@ -1132,7 +1143,7 @@ class AppBskyActorNS {
|
|
|
1132
1143
|
value: void 0
|
|
1133
1144
|
});
|
|
1134
1145
|
this._client = client;
|
|
1135
|
-
this.profile = new
|
|
1146
|
+
this.profile = new AppBskyActorProfileRecord(client);
|
|
1136
1147
|
}
|
|
1137
1148
|
getPreferences(params, opts) {
|
|
1138
1149
|
return this._client.call('app.bsky.actor.getPreferences', params, undefined, opts);
|
|
@@ -1157,7 +1168,7 @@ class AppBskyActorNS {
|
|
|
1157
1168
|
}
|
|
1158
1169
|
}
|
|
1159
1170
|
exports.AppBskyActorNS = AppBskyActorNS;
|
|
1160
|
-
class
|
|
1171
|
+
class AppBskyActorProfileRecord {
|
|
1161
1172
|
constructor(client) {
|
|
1162
1173
|
Object.defineProperty(this, "_client", {
|
|
1163
1174
|
enumerable: true,
|
|
@@ -1195,7 +1206,7 @@ class ProfileRecord {
|
|
|
1195
1206
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.actor.profile', ...params }, { headers });
|
|
1196
1207
|
}
|
|
1197
1208
|
}
|
|
1198
|
-
exports.
|
|
1209
|
+
exports.AppBskyActorProfileRecord = AppBskyActorProfileRecord;
|
|
1199
1210
|
class AppBskyEmbedNS {
|
|
1200
1211
|
constructor(client) {
|
|
1201
1212
|
Object.defineProperty(this, "_client", {
|
|
@@ -1253,12 +1264,12 @@ class AppBskyFeedNS {
|
|
|
1253
1264
|
value: void 0
|
|
1254
1265
|
});
|
|
1255
1266
|
this._client = client;
|
|
1256
|
-
this.generator = new
|
|
1257
|
-
this.like = new
|
|
1258
|
-
this.post = new
|
|
1259
|
-
this.postgate = new
|
|
1260
|
-
this.repost = new
|
|
1261
|
-
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);
|
|
1262
1273
|
}
|
|
1263
1274
|
describeFeedGenerator(params, opts) {
|
|
1264
1275
|
return this._client.call('app.bsky.feed.describeFeedGenerator', params, undefined, opts);
|
|
@@ -1344,7 +1355,7 @@ class AppBskyFeedNS {
|
|
|
1344
1355
|
}
|
|
1345
1356
|
}
|
|
1346
1357
|
exports.AppBskyFeedNS = AppBskyFeedNS;
|
|
1347
|
-
class
|
|
1358
|
+
class AppBskyFeedGeneratorRecord {
|
|
1348
1359
|
constructor(client) {
|
|
1349
1360
|
Object.defineProperty(this, "_client", {
|
|
1350
1361
|
enumerable: true,
|
|
@@ -1377,8 +1388,8 @@ class GeneratorRecord {
|
|
|
1377
1388
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.generator', ...params }, { headers });
|
|
1378
1389
|
}
|
|
1379
1390
|
}
|
|
1380
|
-
exports.
|
|
1381
|
-
class
|
|
1391
|
+
exports.AppBskyFeedGeneratorRecord = AppBskyFeedGeneratorRecord;
|
|
1392
|
+
class AppBskyFeedLikeRecord {
|
|
1382
1393
|
constructor(client) {
|
|
1383
1394
|
Object.defineProperty(this, "_client", {
|
|
1384
1395
|
enumerable: true,
|
|
@@ -1411,8 +1422,8 @@ class LikeRecord {
|
|
|
1411
1422
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.like', ...params }, { headers });
|
|
1412
1423
|
}
|
|
1413
1424
|
}
|
|
1414
|
-
exports.
|
|
1415
|
-
class
|
|
1425
|
+
exports.AppBskyFeedLikeRecord = AppBskyFeedLikeRecord;
|
|
1426
|
+
class AppBskyFeedPostRecord {
|
|
1416
1427
|
constructor(client) {
|
|
1417
1428
|
Object.defineProperty(this, "_client", {
|
|
1418
1429
|
enumerable: true,
|
|
@@ -1445,8 +1456,8 @@ class PostRecord {
|
|
|
1445
1456
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.post', ...params }, { headers });
|
|
1446
1457
|
}
|
|
1447
1458
|
}
|
|
1448
|
-
exports.
|
|
1449
|
-
class
|
|
1459
|
+
exports.AppBskyFeedPostRecord = AppBskyFeedPostRecord;
|
|
1460
|
+
class AppBskyFeedPostgateRecord {
|
|
1450
1461
|
constructor(client) {
|
|
1451
1462
|
Object.defineProperty(this, "_client", {
|
|
1452
1463
|
enumerable: true,
|
|
@@ -1479,8 +1490,8 @@ class PostgateRecord {
|
|
|
1479
1490
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.postgate', ...params }, { headers });
|
|
1480
1491
|
}
|
|
1481
1492
|
}
|
|
1482
|
-
exports.
|
|
1483
|
-
class
|
|
1493
|
+
exports.AppBskyFeedPostgateRecord = AppBskyFeedPostgateRecord;
|
|
1494
|
+
class AppBskyFeedRepostRecord {
|
|
1484
1495
|
constructor(client) {
|
|
1485
1496
|
Object.defineProperty(this, "_client", {
|
|
1486
1497
|
enumerable: true,
|
|
@@ -1513,8 +1524,8 @@ class RepostRecord {
|
|
|
1513
1524
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.repost', ...params }, { headers });
|
|
1514
1525
|
}
|
|
1515
1526
|
}
|
|
1516
|
-
exports.
|
|
1517
|
-
class
|
|
1527
|
+
exports.AppBskyFeedRepostRecord = AppBskyFeedRepostRecord;
|
|
1528
|
+
class AppBskyFeedThreadgateRecord {
|
|
1518
1529
|
constructor(client) {
|
|
1519
1530
|
Object.defineProperty(this, "_client", {
|
|
1520
1531
|
enumerable: true,
|
|
@@ -1547,7 +1558,7 @@ class ThreadgateRecord {
|
|
|
1547
1558
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.feed.threadgate', ...params }, { headers });
|
|
1548
1559
|
}
|
|
1549
1560
|
}
|
|
1550
|
-
exports.
|
|
1561
|
+
exports.AppBskyFeedThreadgateRecord = AppBskyFeedThreadgateRecord;
|
|
1551
1562
|
class AppBskyGraphNS {
|
|
1552
1563
|
constructor(client) {
|
|
1553
1564
|
Object.defineProperty(this, "_client", {
|
|
@@ -1592,13 +1603,20 @@ class AppBskyGraphNS {
|
|
|
1592
1603
|
writable: true,
|
|
1593
1604
|
value: void 0
|
|
1594
1605
|
});
|
|
1606
|
+
Object.defineProperty(this, "verification", {
|
|
1607
|
+
enumerable: true,
|
|
1608
|
+
configurable: true,
|
|
1609
|
+
writable: true,
|
|
1610
|
+
value: void 0
|
|
1611
|
+
});
|
|
1595
1612
|
this._client = client;
|
|
1596
|
-
this.block = new
|
|
1597
|
-
this.follow = new
|
|
1598
|
-
this.list = new
|
|
1599
|
-
this.listblock = new
|
|
1600
|
-
this.listitem = new
|
|
1601
|
-
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);
|
|
1602
1620
|
}
|
|
1603
1621
|
getActorStarterPacks(params, opts) {
|
|
1604
1622
|
return this._client.call('app.bsky.graph.getActorStarterPacks', params, undefined, opts);
|
|
@@ -1669,7 +1687,7 @@ class AppBskyGraphNS {
|
|
|
1669
1687
|
}
|
|
1670
1688
|
}
|
|
1671
1689
|
exports.AppBskyGraphNS = AppBskyGraphNS;
|
|
1672
|
-
class
|
|
1690
|
+
class AppBskyGraphBlockRecord {
|
|
1673
1691
|
constructor(client) {
|
|
1674
1692
|
Object.defineProperty(this, "_client", {
|
|
1675
1693
|
enumerable: true,
|
|
@@ -1702,8 +1720,8 @@ class BlockRecord {
|
|
|
1702
1720
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.block', ...params }, { headers });
|
|
1703
1721
|
}
|
|
1704
1722
|
}
|
|
1705
|
-
exports.
|
|
1706
|
-
class
|
|
1723
|
+
exports.AppBskyGraphBlockRecord = AppBskyGraphBlockRecord;
|
|
1724
|
+
class AppBskyGraphFollowRecord {
|
|
1707
1725
|
constructor(client) {
|
|
1708
1726
|
Object.defineProperty(this, "_client", {
|
|
1709
1727
|
enumerable: true,
|
|
@@ -1736,8 +1754,8 @@ class FollowRecord {
|
|
|
1736
1754
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.follow', ...params }, { headers });
|
|
1737
1755
|
}
|
|
1738
1756
|
}
|
|
1739
|
-
exports.
|
|
1740
|
-
class
|
|
1757
|
+
exports.AppBskyGraphFollowRecord = AppBskyGraphFollowRecord;
|
|
1758
|
+
class AppBskyGraphListRecord {
|
|
1741
1759
|
constructor(client) {
|
|
1742
1760
|
Object.defineProperty(this, "_client", {
|
|
1743
1761
|
enumerable: true,
|
|
@@ -1770,8 +1788,8 @@ class ListRecord {
|
|
|
1770
1788
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.list', ...params }, { headers });
|
|
1771
1789
|
}
|
|
1772
1790
|
}
|
|
1773
|
-
exports.
|
|
1774
|
-
class
|
|
1791
|
+
exports.AppBskyGraphListRecord = AppBskyGraphListRecord;
|
|
1792
|
+
class AppBskyGraphListblockRecord {
|
|
1775
1793
|
constructor(client) {
|
|
1776
1794
|
Object.defineProperty(this, "_client", {
|
|
1777
1795
|
enumerable: true,
|
|
@@ -1804,8 +1822,8 @@ class ListblockRecord {
|
|
|
1804
1822
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listblock', ...params }, { headers });
|
|
1805
1823
|
}
|
|
1806
1824
|
}
|
|
1807
|
-
exports.
|
|
1808
|
-
class
|
|
1825
|
+
exports.AppBskyGraphListblockRecord = AppBskyGraphListblockRecord;
|
|
1826
|
+
class AppBskyGraphListitemRecord {
|
|
1809
1827
|
constructor(client) {
|
|
1810
1828
|
Object.defineProperty(this, "_client", {
|
|
1811
1829
|
enumerable: true,
|
|
@@ -1838,8 +1856,8 @@ class ListitemRecord {
|
|
|
1838
1856
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.listitem', ...params }, { headers });
|
|
1839
1857
|
}
|
|
1840
1858
|
}
|
|
1841
|
-
exports.
|
|
1842
|
-
class
|
|
1859
|
+
exports.AppBskyGraphListitemRecord = AppBskyGraphListitemRecord;
|
|
1860
|
+
class AppBskyGraphStarterpackRecord {
|
|
1843
1861
|
constructor(client) {
|
|
1844
1862
|
Object.defineProperty(this, "_client", {
|
|
1845
1863
|
enumerable: true,
|
|
@@ -1872,7 +1890,41 @@ class StarterpackRecord {
|
|
|
1872
1890
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.graph.starterpack', ...params }, { headers });
|
|
1873
1891
|
}
|
|
1874
1892
|
}
|
|
1875
|
-
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;
|
|
1876
1928
|
class AppBskyLabelerNS {
|
|
1877
1929
|
constructor(client) {
|
|
1878
1930
|
Object.defineProperty(this, "_client", {
|
|
@@ -1888,14 +1940,14 @@ class AppBskyLabelerNS {
|
|
|
1888
1940
|
value: void 0
|
|
1889
1941
|
});
|
|
1890
1942
|
this._client = client;
|
|
1891
|
-
this.service = new
|
|
1943
|
+
this.service = new AppBskyLabelerServiceRecord(client);
|
|
1892
1944
|
}
|
|
1893
1945
|
getServices(params, opts) {
|
|
1894
1946
|
return this._client.call('app.bsky.labeler.getServices', params, undefined, opts);
|
|
1895
1947
|
}
|
|
1896
1948
|
}
|
|
1897
1949
|
exports.AppBskyLabelerNS = AppBskyLabelerNS;
|
|
1898
|
-
class
|
|
1950
|
+
class AppBskyLabelerServiceRecord {
|
|
1899
1951
|
constructor(client) {
|
|
1900
1952
|
Object.defineProperty(this, "_client", {
|
|
1901
1953
|
enumerable: true,
|
|
@@ -1933,7 +1985,7 @@ class ServiceRecord {
|
|
|
1933
1985
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'app.bsky.labeler.service', ...params }, { headers });
|
|
1934
1986
|
}
|
|
1935
1987
|
}
|
|
1936
|
-
exports.
|
|
1988
|
+
exports.AppBskyLabelerServiceRecord = AppBskyLabelerServiceRecord;
|
|
1937
1989
|
class AppBskyNotificationNS {
|
|
1938
1990
|
constructor(client) {
|
|
1939
1991
|
Object.defineProperty(this, "_client", {
|
|
@@ -2133,7 +2185,7 @@ class ChatBskyActorNS {
|
|
|
2133
2185
|
value: void 0
|
|
2134
2186
|
});
|
|
2135
2187
|
this._client = client;
|
|
2136
|
-
this.declaration = new
|
|
2188
|
+
this.declaration = new ChatBskyActorDeclarationRecord(client);
|
|
2137
2189
|
}
|
|
2138
2190
|
deleteAccount(data, opts) {
|
|
2139
2191
|
return this._client.call('chat.bsky.actor.deleteAccount', opts?.qp, data, opts);
|
|
@@ -2143,7 +2195,7 @@ class ChatBskyActorNS {
|
|
|
2143
2195
|
}
|
|
2144
2196
|
}
|
|
2145
2197
|
exports.ChatBskyActorNS = ChatBskyActorNS;
|
|
2146
|
-
class
|
|
2198
|
+
class ChatBskyActorDeclarationRecord {
|
|
2147
2199
|
constructor(client) {
|
|
2148
2200
|
Object.defineProperty(this, "_client", {
|
|
2149
2201
|
enumerable: true,
|
|
@@ -2181,7 +2233,7 @@ class DeclarationRecord {
|
|
|
2181
2233
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'chat.bsky.actor.declaration', ...params }, { headers });
|
|
2182
2234
|
}
|
|
2183
2235
|
}
|
|
2184
|
-
exports.
|
|
2236
|
+
exports.ChatBskyActorDeclarationRecord = ChatBskyActorDeclarationRecord;
|
|
2185
2237
|
class ChatBskyConvoNS {
|
|
2186
2238
|
constructor(client) {
|
|
2187
2239
|
Object.defineProperty(this, "_client", {
|