@atproto/bsky 0.0.177 → 0.0.179

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.
@@ -1,21 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.AppBskyLabelerNS = exports.AppBskyGraphNS = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.Server = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = exports.COM_ATPROTO_MODERATION = void 0;
3
+ exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.AppBskyLabelerNS = exports.AppBskyGraphNS = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.Server = exports.COM_ATPROTO_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = void 0;
4
4
  exports.createServer = createServer;
5
5
  /**
6
6
  * GENERATED CODE - DO NOT MODIFY
7
7
  */
8
8
  const xrpc_server_1 = require("@atproto/xrpc-server");
9
9
  const lexicons_js_1 = require("./lexicons.js");
10
- exports.COM_ATPROTO_MODERATION = {
11
- DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
12
- DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
13
- DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
14
- DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
15
- DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
16
- DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
17
- DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
18
- };
19
10
  exports.APP_BSKY_ACTOR = {
20
11
  StatusLive: 'app.bsky.actor.status#live',
21
12
  };
@@ -40,6 +31,15 @@ exports.APP_BSKY_GRAPH = {
40
31
  DefsCuratelist: 'app.bsky.graph.defs#curatelist',
41
32
  DefsReferencelist: 'app.bsky.graph.defs#referencelist',
42
33
  };
34
+ exports.COM_ATPROTO_MODERATION = {
35
+ DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
36
+ DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
37
+ DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
38
+ DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
39
+ DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
40
+ DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
41
+ DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
42
+ };
43
43
  function createServer(options) {
44
44
  return new Server(options);
45
45
  }
@@ -51,32 +51,32 @@ class Server {
51
51
  writable: true,
52
52
  value: void 0
53
53
  });
54
- Object.defineProperty(this, "com", {
54
+ Object.defineProperty(this, "app", {
55
55
  enumerable: true,
56
56
  configurable: true,
57
57
  writable: true,
58
58
  value: void 0
59
59
  });
60
- Object.defineProperty(this, "app", {
60
+ Object.defineProperty(this, "chat", {
61
61
  enumerable: true,
62
62
  configurable: true,
63
63
  writable: true,
64
64
  value: void 0
65
65
  });
66
- Object.defineProperty(this, "chat", {
66
+ Object.defineProperty(this, "com", {
67
67
  enumerable: true,
68
68
  configurable: true,
69
69
  writable: true,
70
70
  value: void 0
71
71
  });
72
72
  this.xrpc = (0, xrpc_server_1.createServer)(lexicons_js_1.schemas, options);
73
- this.com = new ComNS(this);
74
73
  this.app = new AppNS(this);
75
74
  this.chat = new ChatNS(this);
75
+ this.com = new ComNS(this);
76
76
  }
77
77
  }
78
78
  exports.Server = Server;
79
- class ComNS {
79
+ class AppNS {
80
80
  constructor(server) {
81
81
  Object.defineProperty(this, "_server", {
82
82
  enumerable: true,
@@ -84,18 +84,18 @@ class ComNS {
84
84
  writable: true,
85
85
  value: void 0
86
86
  });
87
- Object.defineProperty(this, "atproto", {
87
+ Object.defineProperty(this, "bsky", {
88
88
  enumerable: true,
89
89
  configurable: true,
90
90
  writable: true,
91
91
  value: void 0
92
92
  });
93
93
  this._server = server;
94
- this.atproto = new ComAtprotoNS(server);
94
+ this.bsky = new AppBskyNS(server);
95
95
  }
96
96
  }
97
- exports.ComNS = ComNS;
98
- class ComAtprotoNS {
97
+ exports.AppNS = AppNS;
98
+ class AppBskyNS {
99
99
  constructor(server) {
100
100
  Object.defineProperty(this, "_server", {
101
101
  enumerable: true,
@@ -103,74 +103,74 @@ class ComAtprotoNS {
103
103
  writable: true,
104
104
  value: void 0
105
105
  });
106
- Object.defineProperty(this, "admin", {
106
+ Object.defineProperty(this, "actor", {
107
107
  enumerable: true,
108
108
  configurable: true,
109
109
  writable: true,
110
110
  value: void 0
111
111
  });
112
- Object.defineProperty(this, "identity", {
112
+ Object.defineProperty(this, "embed", {
113
113
  enumerable: true,
114
114
  configurable: true,
115
115
  writable: true,
116
116
  value: void 0
117
117
  });
118
- Object.defineProperty(this, "label", {
118
+ Object.defineProperty(this, "feed", {
119
119
  enumerable: true,
120
120
  configurable: true,
121
121
  writable: true,
122
122
  value: void 0
123
123
  });
124
- Object.defineProperty(this, "lexicon", {
124
+ Object.defineProperty(this, "graph", {
125
125
  enumerable: true,
126
126
  configurable: true,
127
127
  writable: true,
128
128
  value: void 0
129
129
  });
130
- Object.defineProperty(this, "moderation", {
130
+ Object.defineProperty(this, "labeler", {
131
131
  enumerable: true,
132
132
  configurable: true,
133
133
  writable: true,
134
134
  value: void 0
135
135
  });
136
- Object.defineProperty(this, "repo", {
136
+ Object.defineProperty(this, "notification", {
137
137
  enumerable: true,
138
138
  configurable: true,
139
139
  writable: true,
140
140
  value: void 0
141
141
  });
142
- Object.defineProperty(this, "server", {
142
+ Object.defineProperty(this, "richtext", {
143
143
  enumerable: true,
144
144
  configurable: true,
145
145
  writable: true,
146
146
  value: void 0
147
147
  });
148
- Object.defineProperty(this, "sync", {
148
+ Object.defineProperty(this, "unspecced", {
149
149
  enumerable: true,
150
150
  configurable: true,
151
151
  writable: true,
152
152
  value: void 0
153
153
  });
154
- Object.defineProperty(this, "temp", {
154
+ Object.defineProperty(this, "video", {
155
155
  enumerable: true,
156
156
  configurable: true,
157
157
  writable: true,
158
158
  value: void 0
159
159
  });
160
160
  this._server = server;
161
- this.admin = new ComAtprotoAdminNS(server);
162
- this.identity = new ComAtprotoIdentityNS(server);
163
- this.label = new ComAtprotoLabelNS(server);
164
- this.lexicon = new ComAtprotoLexiconNS(server);
165
- this.moderation = new ComAtprotoModerationNS(server);
166
- this.repo = new ComAtprotoRepoNS(server);
167
- this.server = new ComAtprotoServerNS(server);
168
- this.sync = new ComAtprotoSyncNS(server);
169
- this.temp = new ComAtprotoTempNS(server);
161
+ this.actor = new AppBskyActorNS(server);
162
+ this.embed = new AppBskyEmbedNS(server);
163
+ this.feed = new AppBskyFeedNS(server);
164
+ this.graph = new AppBskyGraphNS(server);
165
+ this.labeler = new AppBskyLabelerNS(server);
166
+ this.notification = new AppBskyNotificationNS(server);
167
+ this.richtext = new AppBskyRichtextNS(server);
168
+ this.unspecced = new AppBskyUnspeccedNS(server);
169
+ this.video = new AppBskyVideoNS(server);
170
170
  }
171
171
  }
172
- exports.ComAtprotoNS = ComAtprotoNS;
173
- class ComAtprotoAdminNS {
172
+ exports.AppBskyNS = AppBskyNS;
173
+ class AppBskyActorNS {
174
174
  constructor(server) {
175
175
  Object.defineProperty(this, "_server", {
176
176
  enumerable: true,
@@ -180,117 +180,133 @@ class ComAtprotoAdminNS {
180
180
  });
181
181
  this._server = server;
182
182
  }
183
- deleteAccount(cfg) {
184
- const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
183
+ getPreferences(cfg) {
184
+ const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
185
185
  return this._server.xrpc.method(nsid, cfg);
186
186
  }
187
- disableAccountInvites(cfg) {
188
- const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
187
+ getProfile(cfg) {
188
+ const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
189
189
  return this._server.xrpc.method(nsid, cfg);
190
190
  }
191
- disableInviteCodes(cfg) {
192
- const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
191
+ getProfiles(cfg) {
192
+ const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
193
193
  return this._server.xrpc.method(nsid, cfg);
194
194
  }
195
- enableAccountInvites(cfg) {
196
- const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
195
+ getSuggestions(cfg) {
196
+ const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
197
197
  return this._server.xrpc.method(nsid, cfg);
198
198
  }
199
- getAccountInfo(cfg) {
200
- const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
199
+ putPreferences(cfg) {
200
+ const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
201
201
  return this._server.xrpc.method(nsid, cfg);
202
202
  }
203
- getAccountInfos(cfg) {
204
- const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
203
+ searchActors(cfg) {
204
+ const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
205
205
  return this._server.xrpc.method(nsid, cfg);
206
206
  }
207
- getInviteCodes(cfg) {
208
- const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
207
+ searchActorsTypeahead(cfg) {
208
+ const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
209
209
  return this._server.xrpc.method(nsid, cfg);
210
210
  }
211
- getSubjectStatus(cfg) {
212
- const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
211
+ }
212
+ exports.AppBskyActorNS = AppBskyActorNS;
213
+ class AppBskyEmbedNS {
214
+ constructor(server) {
215
+ Object.defineProperty(this, "_server", {
216
+ enumerable: true,
217
+ configurable: true,
218
+ writable: true,
219
+ value: void 0
220
+ });
221
+ this._server = server;
222
+ }
223
+ }
224
+ exports.AppBskyEmbedNS = AppBskyEmbedNS;
225
+ class AppBskyFeedNS {
226
+ constructor(server) {
227
+ Object.defineProperty(this, "_server", {
228
+ enumerable: true,
229
+ configurable: true,
230
+ writable: true,
231
+ value: void 0
232
+ });
233
+ this._server = server;
234
+ }
235
+ describeFeedGenerator(cfg) {
236
+ const nsid = 'app.bsky.feed.describeFeedGenerator'; // @ts-ignore
213
237
  return this._server.xrpc.method(nsid, cfg);
214
238
  }
215
- searchAccounts(cfg) {
216
- const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
239
+ getActorFeeds(cfg) {
240
+ const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
217
241
  return this._server.xrpc.method(nsid, cfg);
218
242
  }
219
- sendEmail(cfg) {
220
- const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
243
+ getActorLikes(cfg) {
244
+ const nsid = 'app.bsky.feed.getActorLikes'; // @ts-ignore
221
245
  return this._server.xrpc.method(nsid, cfg);
222
246
  }
223
- updateAccountEmail(cfg) {
224
- const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
247
+ getAuthorFeed(cfg) {
248
+ const nsid = 'app.bsky.feed.getAuthorFeed'; // @ts-ignore
225
249
  return this._server.xrpc.method(nsid, cfg);
226
250
  }
227
- updateAccountHandle(cfg) {
228
- const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
251
+ getFeed(cfg) {
252
+ const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
229
253
  return this._server.xrpc.method(nsid, cfg);
230
254
  }
231
- updateAccountPassword(cfg) {
232
- const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
255
+ getFeedGenerator(cfg) {
256
+ const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
233
257
  return this._server.xrpc.method(nsid, cfg);
234
258
  }
235
- updateAccountSigningKey(cfg) {
236
- const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
259
+ getFeedGenerators(cfg) {
260
+ const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
237
261
  return this._server.xrpc.method(nsid, cfg);
238
262
  }
239
- updateSubjectStatus(cfg) {
240
- const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
263
+ getFeedSkeleton(cfg) {
264
+ const nsid = 'app.bsky.feed.getFeedSkeleton'; // @ts-ignore
241
265
  return this._server.xrpc.method(nsid, cfg);
242
266
  }
243
- }
244
- exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
245
- class ComAtprotoIdentityNS {
246
- constructor(server) {
247
- Object.defineProperty(this, "_server", {
248
- enumerable: true,
249
- configurable: true,
250
- writable: true,
251
- value: void 0
252
- });
253
- this._server = server;
267
+ getLikes(cfg) {
268
+ const nsid = 'app.bsky.feed.getLikes'; // @ts-ignore
269
+ return this._server.xrpc.method(nsid, cfg);
254
270
  }
255
- getRecommendedDidCredentials(cfg) {
256
- const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
271
+ getListFeed(cfg) {
272
+ const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
257
273
  return this._server.xrpc.method(nsid, cfg);
258
274
  }
259
- refreshIdentity(cfg) {
260
- const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
275
+ getPostThread(cfg) {
276
+ const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
261
277
  return this._server.xrpc.method(nsid, cfg);
262
278
  }
263
- requestPlcOperationSignature(cfg) {
264
- const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
279
+ getPosts(cfg) {
280
+ const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
265
281
  return this._server.xrpc.method(nsid, cfg);
266
282
  }
267
- resolveDid(cfg) {
268
- const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
283
+ getQuotes(cfg) {
284
+ const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
269
285
  return this._server.xrpc.method(nsid, cfg);
270
286
  }
271
- resolveHandle(cfg) {
272
- const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
287
+ getRepostedBy(cfg) {
288
+ const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
273
289
  return this._server.xrpc.method(nsid, cfg);
274
290
  }
275
- resolveIdentity(cfg) {
276
- const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
291
+ getSuggestedFeeds(cfg) {
292
+ const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
277
293
  return this._server.xrpc.method(nsid, cfg);
278
294
  }
279
- signPlcOperation(cfg) {
280
- const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
295
+ getTimeline(cfg) {
296
+ const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
281
297
  return this._server.xrpc.method(nsid, cfg);
282
298
  }
283
- submitPlcOperation(cfg) {
284
- const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
299
+ searchPosts(cfg) {
300
+ const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
285
301
  return this._server.xrpc.method(nsid, cfg);
286
302
  }
287
- updateHandle(cfg) {
288
- const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
303
+ sendInteractions(cfg) {
304
+ const nsid = 'app.bsky.feed.sendInteractions'; // @ts-ignore
289
305
  return this._server.xrpc.method(nsid, cfg);
290
306
  }
291
307
  }
292
- exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
293
- class ComAtprotoLabelNS {
308
+ exports.AppBskyFeedNS = AppBskyFeedNS;
309
+ class AppBskyGraphNS {
294
310
  constructor(server) {
295
311
  Object.defineProperty(this, "_server", {
296
312
  enumerable: true,
@@ -300,45 +316,101 @@ class ComAtprotoLabelNS {
300
316
  });
301
317
  this._server = server;
302
318
  }
303
- queryLabels(cfg) {
304
- const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
319
+ getActorStarterPacks(cfg) {
320
+ const nsid = 'app.bsky.graph.getActorStarterPacks'; // @ts-ignore
305
321
  return this._server.xrpc.method(nsid, cfg);
306
322
  }
307
- subscribeLabels(cfg) {
308
- const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
309
- return this._server.xrpc.streamMethod(nsid, cfg);
323
+ getBlocks(cfg) {
324
+ const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
325
+ return this._server.xrpc.method(nsid, cfg);
310
326
  }
311
- }
312
- exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
313
- class ComAtprotoLexiconNS {
314
- constructor(server) {
315
- Object.defineProperty(this, "_server", {
316
- enumerable: true,
317
- configurable: true,
318
- writable: true,
319
- value: void 0
320
- });
321
- this._server = server;
327
+ getFollowers(cfg) {
328
+ const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
329
+ return this._server.xrpc.method(nsid, cfg);
322
330
  }
323
- }
324
- exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
325
- class ComAtprotoModerationNS {
326
- constructor(server) {
327
- Object.defineProperty(this, "_server", {
328
- enumerable: true,
329
- configurable: true,
330
- writable: true,
331
- value: void 0
332
- });
333
- this._server = server;
331
+ getFollows(cfg) {
332
+ const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
333
+ return this._server.xrpc.method(nsid, cfg);
334
334
  }
335
- createReport(cfg) {
336
- const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
335
+ getKnownFollowers(cfg) {
336
+ const nsid = 'app.bsky.graph.getKnownFollowers'; // @ts-ignore
337
+ return this._server.xrpc.method(nsid, cfg);
338
+ }
339
+ getList(cfg) {
340
+ const nsid = 'app.bsky.graph.getList'; // @ts-ignore
341
+ return this._server.xrpc.method(nsid, cfg);
342
+ }
343
+ getListBlocks(cfg) {
344
+ const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
345
+ return this._server.xrpc.method(nsid, cfg);
346
+ }
347
+ getListMutes(cfg) {
348
+ const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
349
+ return this._server.xrpc.method(nsid, cfg);
350
+ }
351
+ getLists(cfg) {
352
+ const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
353
+ return this._server.xrpc.method(nsid, cfg);
354
+ }
355
+ getListsWithMembership(cfg) {
356
+ const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
357
+ return this._server.xrpc.method(nsid, cfg);
358
+ }
359
+ getMutes(cfg) {
360
+ const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
361
+ return this._server.xrpc.method(nsid, cfg);
362
+ }
363
+ getRelationships(cfg) {
364
+ const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
365
+ return this._server.xrpc.method(nsid, cfg);
366
+ }
367
+ getStarterPack(cfg) {
368
+ const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
369
+ return this._server.xrpc.method(nsid, cfg);
370
+ }
371
+ getStarterPacks(cfg) {
372
+ const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
373
+ return this._server.xrpc.method(nsid, cfg);
374
+ }
375
+ getStarterPacksWithMembership(cfg) {
376
+ const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
377
+ return this._server.xrpc.method(nsid, cfg);
378
+ }
379
+ getSuggestedFollowsByActor(cfg) {
380
+ const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
381
+ return this._server.xrpc.method(nsid, cfg);
382
+ }
383
+ muteActor(cfg) {
384
+ const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
385
+ return this._server.xrpc.method(nsid, cfg);
386
+ }
387
+ muteActorList(cfg) {
388
+ const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
389
+ return this._server.xrpc.method(nsid, cfg);
390
+ }
391
+ muteThread(cfg) {
392
+ const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
393
+ return this._server.xrpc.method(nsid, cfg);
394
+ }
395
+ searchStarterPacks(cfg) {
396
+ const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
397
+ return this._server.xrpc.method(nsid, cfg);
398
+ }
399
+ unmuteActor(cfg) {
400
+ const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
401
+ return this._server.xrpc.method(nsid, cfg);
402
+ }
403
+ unmuteActorList(cfg) {
404
+ const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
405
+ return this._server.xrpc.method(nsid, cfg);
406
+ }
407
+ unmuteThread(cfg) {
408
+ const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
337
409
  return this._server.xrpc.method(nsid, cfg);
338
410
  }
339
411
  }
340
- exports.ComAtprotoModerationNS = ComAtprotoModerationNS;
341
- class ComAtprotoRepoNS {
412
+ exports.AppBskyGraphNS = AppBskyGraphNS;
413
+ class AppBskyLabelerNS {
342
414
  constructor(server) {
343
415
  Object.defineProperty(this, "_server", {
344
416
  enumerable: true,
@@ -348,49 +420,65 @@ class ComAtprotoRepoNS {
348
420
  });
349
421
  this._server = server;
350
422
  }
351
- applyWrites(cfg) {
352
- const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
423
+ getServices(cfg) {
424
+ const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
353
425
  return this._server.xrpc.method(nsid, cfg);
354
426
  }
355
- createRecord(cfg) {
356
- const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
427
+ }
428
+ exports.AppBskyLabelerNS = AppBskyLabelerNS;
429
+ class AppBskyNotificationNS {
430
+ constructor(server) {
431
+ Object.defineProperty(this, "_server", {
432
+ enumerable: true,
433
+ configurable: true,
434
+ writable: true,
435
+ value: void 0
436
+ });
437
+ this._server = server;
438
+ }
439
+ getPreferences(cfg) {
440
+ const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
357
441
  return this._server.xrpc.method(nsid, cfg);
358
442
  }
359
- deleteRecord(cfg) {
360
- const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
443
+ getUnreadCount(cfg) {
444
+ const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
361
445
  return this._server.xrpc.method(nsid, cfg);
362
446
  }
363
- describeRepo(cfg) {
364
- const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
447
+ listActivitySubscriptions(cfg) {
448
+ const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
365
449
  return this._server.xrpc.method(nsid, cfg);
366
450
  }
367
- getRecord(cfg) {
368
- const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
451
+ listNotifications(cfg) {
452
+ const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
369
453
  return this._server.xrpc.method(nsid, cfg);
370
454
  }
371
- importRepo(cfg) {
372
- const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
455
+ putActivitySubscription(cfg) {
456
+ const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
373
457
  return this._server.xrpc.method(nsid, cfg);
374
458
  }
375
- listMissingBlobs(cfg) {
376
- const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
459
+ putPreferences(cfg) {
460
+ const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
377
461
  return this._server.xrpc.method(nsid, cfg);
378
462
  }
379
- listRecords(cfg) {
380
- const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
463
+ putPreferencesV2(cfg) {
464
+ const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
381
465
  return this._server.xrpc.method(nsid, cfg);
382
466
  }
383
- putRecord(cfg) {
384
- const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
467
+ registerPush(cfg) {
468
+ const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
385
469
  return this._server.xrpc.method(nsid, cfg);
386
470
  }
387
- uploadBlob(cfg) {
388
- const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
471
+ unregisterPush(cfg) {
472
+ const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
473
+ return this._server.xrpc.method(nsid, cfg);
474
+ }
475
+ updateSeen(cfg) {
476
+ const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
389
477
  return this._server.xrpc.method(nsid, cfg);
390
478
  }
391
479
  }
392
- exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
393
- class ComAtprotoServerNS {
480
+ exports.AppBskyNotificationNS = AppBskyNotificationNS;
481
+ class AppBskyRichtextNS {
394
482
  constructor(server) {
395
483
  Object.defineProperty(this, "_server", {
396
484
  enumerable: true,
@@ -400,109 +488,197 @@ class ComAtprotoServerNS {
400
488
  });
401
489
  this._server = server;
402
490
  }
403
- activateAccount(cfg) {
404
- const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
491
+ }
492
+ exports.AppBskyRichtextNS = AppBskyRichtextNS;
493
+ class AppBskyUnspeccedNS {
494
+ constructor(server) {
495
+ Object.defineProperty(this, "_server", {
496
+ enumerable: true,
497
+ configurable: true,
498
+ writable: true,
499
+ value: void 0
500
+ });
501
+ this._server = server;
502
+ }
503
+ getAgeAssuranceState(cfg) {
504
+ const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
405
505
  return this._server.xrpc.method(nsid, cfg);
406
506
  }
407
- checkAccountStatus(cfg) {
408
- const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
507
+ getConfig(cfg) {
508
+ const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
409
509
  return this._server.xrpc.method(nsid, cfg);
410
510
  }
411
- confirmEmail(cfg) {
412
- const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
511
+ getPopularFeedGenerators(cfg) {
512
+ const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
413
513
  return this._server.xrpc.method(nsid, cfg);
414
514
  }
415
- createAccount(cfg) {
416
- const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
515
+ getPostThreadOtherV2(cfg) {
516
+ const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
417
517
  return this._server.xrpc.method(nsid, cfg);
418
518
  }
419
- createAppPassword(cfg) {
420
- const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
519
+ getPostThreadV2(cfg) {
520
+ const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
421
521
  return this._server.xrpc.method(nsid, cfg);
422
522
  }
423
- createInviteCode(cfg) {
424
- const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
523
+ getSuggestedFeeds(cfg) {
524
+ const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
425
525
  return this._server.xrpc.method(nsid, cfg);
426
526
  }
427
- createInviteCodes(cfg) {
428
- const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
527
+ getSuggestedFeedsSkeleton(cfg) {
528
+ const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
429
529
  return this._server.xrpc.method(nsid, cfg);
430
530
  }
431
- createSession(cfg) {
432
- const nsid = 'com.atproto.server.createSession'; // @ts-ignore
531
+ getSuggestedStarterPacks(cfg) {
532
+ const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
433
533
  return this._server.xrpc.method(nsid, cfg);
434
534
  }
435
- deactivateAccount(cfg) {
436
- const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
535
+ getSuggestedStarterPacksSkeleton(cfg) {
536
+ const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
437
537
  return this._server.xrpc.method(nsid, cfg);
438
538
  }
439
- deleteAccount(cfg) {
440
- const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
539
+ getSuggestedUsers(cfg) {
540
+ const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
441
541
  return this._server.xrpc.method(nsid, cfg);
442
542
  }
443
- deleteSession(cfg) {
444
- const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
543
+ getSuggestedUsersSkeleton(cfg) {
544
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
445
545
  return this._server.xrpc.method(nsid, cfg);
446
546
  }
447
- describeServer(cfg) {
448
- const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
547
+ getSuggestionsSkeleton(cfg) {
548
+ const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
449
549
  return this._server.xrpc.method(nsid, cfg);
450
550
  }
451
- getAccountInviteCodes(cfg) {
452
- const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
551
+ getTaggedSuggestions(cfg) {
552
+ const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
453
553
  return this._server.xrpc.method(nsid, cfg);
454
554
  }
455
- getServiceAuth(cfg) {
456
- const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
555
+ getTrendingTopics(cfg) {
556
+ const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
457
557
  return this._server.xrpc.method(nsid, cfg);
458
558
  }
459
- getSession(cfg) {
460
- const nsid = 'com.atproto.server.getSession'; // @ts-ignore
559
+ getTrends(cfg) {
560
+ const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
461
561
  return this._server.xrpc.method(nsid, cfg);
462
562
  }
463
- listAppPasswords(cfg) {
464
- const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
563
+ getTrendsSkeleton(cfg) {
564
+ const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
465
565
  return this._server.xrpc.method(nsid, cfg);
466
566
  }
467
- refreshSession(cfg) {
468
- const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
567
+ initAgeAssurance(cfg) {
568
+ const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
469
569
  return this._server.xrpc.method(nsid, cfg);
470
570
  }
471
- requestAccountDelete(cfg) {
472
- const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
571
+ searchActorsSkeleton(cfg) {
572
+ const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
473
573
  return this._server.xrpc.method(nsid, cfg);
474
574
  }
475
- requestEmailConfirmation(cfg) {
476
- const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
575
+ searchPostsSkeleton(cfg) {
576
+ const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
477
577
  return this._server.xrpc.method(nsid, cfg);
478
578
  }
479
- requestEmailUpdate(cfg) {
480
- const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
579
+ searchStarterPacksSkeleton(cfg) {
580
+ const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
481
581
  return this._server.xrpc.method(nsid, cfg);
482
582
  }
483
- requestPasswordReset(cfg) {
484
- const nsid = 'com.atproto.server.requestPasswordReset'; // @ts-ignore
583
+ }
584
+ exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
585
+ class AppBskyVideoNS {
586
+ constructor(server) {
587
+ Object.defineProperty(this, "_server", {
588
+ enumerable: true,
589
+ configurable: true,
590
+ writable: true,
591
+ value: void 0
592
+ });
593
+ this._server = server;
594
+ }
595
+ getJobStatus(cfg) {
596
+ const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
485
597
  return this._server.xrpc.method(nsid, cfg);
486
598
  }
487
- reserveSigningKey(cfg) {
488
- const nsid = 'com.atproto.server.reserveSigningKey'; // @ts-ignore
599
+ getUploadLimits(cfg) {
600
+ const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
489
601
  return this._server.xrpc.method(nsid, cfg);
490
602
  }
491
- resetPassword(cfg) {
492
- const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
603
+ uploadVideo(cfg) {
604
+ const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
493
605
  return this._server.xrpc.method(nsid, cfg);
494
606
  }
495
- revokeAppPassword(cfg) {
496
- const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
607
+ }
608
+ exports.AppBskyVideoNS = AppBskyVideoNS;
609
+ class ChatNS {
610
+ constructor(server) {
611
+ Object.defineProperty(this, "_server", {
612
+ enumerable: true,
613
+ configurable: true,
614
+ writable: true,
615
+ value: void 0
616
+ });
617
+ Object.defineProperty(this, "bsky", {
618
+ enumerable: true,
619
+ configurable: true,
620
+ writable: true,
621
+ value: void 0
622
+ });
623
+ this._server = server;
624
+ this.bsky = new ChatBskyNS(server);
625
+ }
626
+ }
627
+ exports.ChatNS = ChatNS;
628
+ class ChatBskyNS {
629
+ constructor(server) {
630
+ Object.defineProperty(this, "_server", {
631
+ enumerable: true,
632
+ configurable: true,
633
+ writable: true,
634
+ value: void 0
635
+ });
636
+ Object.defineProperty(this, "actor", {
637
+ enumerable: true,
638
+ configurable: true,
639
+ writable: true,
640
+ value: void 0
641
+ });
642
+ Object.defineProperty(this, "convo", {
643
+ enumerable: true,
644
+ configurable: true,
645
+ writable: true,
646
+ value: void 0
647
+ });
648
+ Object.defineProperty(this, "moderation", {
649
+ enumerable: true,
650
+ configurable: true,
651
+ writable: true,
652
+ value: void 0
653
+ });
654
+ this._server = server;
655
+ this.actor = new ChatBskyActorNS(server);
656
+ this.convo = new ChatBskyConvoNS(server);
657
+ this.moderation = new ChatBskyModerationNS(server);
658
+ }
659
+ }
660
+ exports.ChatBskyNS = ChatBskyNS;
661
+ class ChatBskyActorNS {
662
+ constructor(server) {
663
+ Object.defineProperty(this, "_server", {
664
+ enumerable: true,
665
+ configurable: true,
666
+ writable: true,
667
+ value: void 0
668
+ });
669
+ this._server = server;
670
+ }
671
+ deleteAccount(cfg) {
672
+ const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
497
673
  return this._server.xrpc.method(nsid, cfg);
498
674
  }
499
- updateEmail(cfg) {
500
- const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
675
+ exportAccountData(cfg) {
676
+ const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
501
677
  return this._server.xrpc.method(nsid, cfg);
502
678
  }
503
679
  }
504
- exports.ComAtprotoServerNS = ComAtprotoServerNS;
505
- class ComAtprotoSyncNS {
680
+ exports.ChatBskyActorNS = ChatBskyActorNS;
681
+ class ChatBskyConvoNS {
506
682
  constructor(server) {
507
683
  Object.defineProperty(this, "_server", {
508
684
  enumerable: true,
@@ -512,73 +688,77 @@ class ComAtprotoSyncNS {
512
688
  });
513
689
  this._server = server;
514
690
  }
515
- getBlob(cfg) {
516
- const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
691
+ acceptConvo(cfg) {
692
+ const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
517
693
  return this._server.xrpc.method(nsid, cfg);
518
694
  }
519
- getBlocks(cfg) {
520
- const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
695
+ addReaction(cfg) {
696
+ const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
521
697
  return this._server.xrpc.method(nsid, cfg);
522
698
  }
523
- getCheckout(cfg) {
524
- const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
699
+ deleteMessageForSelf(cfg) {
700
+ const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
525
701
  return this._server.xrpc.method(nsid, cfg);
526
702
  }
527
- getHead(cfg) {
528
- const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
703
+ getConvo(cfg) {
704
+ const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
705
+ return this._server.xrpc.method(nsid, cfg);
706
+ }
707
+ getConvoAvailability(cfg) {
708
+ const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
529
709
  return this._server.xrpc.method(nsid, cfg);
530
710
  }
531
- getHostStatus(cfg) {
532
- const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
711
+ getConvoForMembers(cfg) {
712
+ const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
533
713
  return this._server.xrpc.method(nsid, cfg);
534
714
  }
535
- getLatestCommit(cfg) {
536
- const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
715
+ getLog(cfg) {
716
+ const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
537
717
  return this._server.xrpc.method(nsid, cfg);
538
718
  }
539
- getRecord(cfg) {
540
- const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
719
+ getMessages(cfg) {
720
+ const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
541
721
  return this._server.xrpc.method(nsid, cfg);
542
722
  }
543
- getRepo(cfg) {
544
- const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
723
+ leaveConvo(cfg) {
724
+ const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
545
725
  return this._server.xrpc.method(nsid, cfg);
546
726
  }
547
- getRepoStatus(cfg) {
548
- const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
727
+ listConvos(cfg) {
728
+ const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
549
729
  return this._server.xrpc.method(nsid, cfg);
550
730
  }
551
- listBlobs(cfg) {
552
- const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
731
+ muteConvo(cfg) {
732
+ const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
553
733
  return this._server.xrpc.method(nsid, cfg);
554
734
  }
555
- listHosts(cfg) {
556
- const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
735
+ removeReaction(cfg) {
736
+ const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
557
737
  return this._server.xrpc.method(nsid, cfg);
558
738
  }
559
- listRepos(cfg) {
560
- const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
739
+ sendMessage(cfg) {
740
+ const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
561
741
  return this._server.xrpc.method(nsid, cfg);
562
742
  }
563
- listReposByCollection(cfg) {
564
- const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
743
+ sendMessageBatch(cfg) {
744
+ const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
565
745
  return this._server.xrpc.method(nsid, cfg);
566
746
  }
567
- notifyOfUpdate(cfg) {
568
- const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
747
+ unmuteConvo(cfg) {
748
+ const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
569
749
  return this._server.xrpc.method(nsid, cfg);
570
750
  }
571
- requestCrawl(cfg) {
572
- const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
751
+ updateAllRead(cfg) {
752
+ const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
573
753
  return this._server.xrpc.method(nsid, cfg);
574
754
  }
575
- subscribeRepos(cfg) {
576
- const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
577
- return this._server.xrpc.streamMethod(nsid, cfg);
755
+ updateRead(cfg) {
756
+ const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
757
+ return this._server.xrpc.method(nsid, cfg);
578
758
  }
579
759
  }
580
- exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
581
- class ComAtprotoTempNS {
760
+ exports.ChatBskyConvoNS = ChatBskyConvoNS;
761
+ class ChatBskyModerationNS {
582
762
  constructor(server) {
583
763
  Object.defineProperty(this, "_server", {
584
764
  enumerable: true,
@@ -588,29 +768,21 @@ class ComAtprotoTempNS {
588
768
  });
589
769
  this._server = server;
590
770
  }
591
- addReservedHandle(cfg) {
592
- const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
593
- return this._server.xrpc.method(nsid, cfg);
594
- }
595
- checkHandleAvailability(cfg) {
596
- const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
597
- return this._server.xrpc.method(nsid, cfg);
598
- }
599
- checkSignupQueue(cfg) {
600
- const nsid = 'com.atproto.temp.checkSignupQueue'; // @ts-ignore
771
+ getActorMetadata(cfg) {
772
+ const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
601
773
  return this._server.xrpc.method(nsid, cfg);
602
774
  }
603
- fetchLabels(cfg) {
604
- const nsid = 'com.atproto.temp.fetchLabels'; // @ts-ignore
775
+ getMessageContext(cfg) {
776
+ const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
605
777
  return this._server.xrpc.method(nsid, cfg);
606
778
  }
607
- requestPhoneVerification(cfg) {
608
- const nsid = 'com.atproto.temp.requestPhoneVerification'; // @ts-ignore
779
+ updateActorAccess(cfg) {
780
+ const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
609
781
  return this._server.xrpc.method(nsid, cfg);
610
782
  }
611
783
  }
612
- exports.ComAtprotoTempNS = ComAtprotoTempNS;
613
- class AppNS {
784
+ exports.ChatBskyModerationNS = ChatBskyModerationNS;
785
+ class ComNS {
614
786
  constructor(server) {
615
787
  Object.defineProperty(this, "_server", {
616
788
  enumerable: true,
@@ -618,18 +790,18 @@ class AppNS {
618
790
  writable: true,
619
791
  value: void 0
620
792
  });
621
- Object.defineProperty(this, "bsky", {
793
+ Object.defineProperty(this, "atproto", {
622
794
  enumerable: true,
623
795
  configurable: true,
624
796
  writable: true,
625
797
  value: void 0
626
798
  });
627
799
  this._server = server;
628
- this.bsky = new AppBskyNS(server);
800
+ this.atproto = new ComAtprotoNS(server);
629
801
  }
630
802
  }
631
- exports.AppNS = AppNS;
632
- class AppBskyNS {
803
+ exports.ComNS = ComNS;
804
+ class ComAtprotoNS {
633
805
  constructor(server) {
634
806
  Object.defineProperty(this, "_server", {
635
807
  enumerable: true,
@@ -637,210 +809,74 @@ class AppBskyNS {
637
809
  writable: true,
638
810
  value: void 0
639
811
  });
640
- Object.defineProperty(this, "actor", {
641
- enumerable: true,
642
- configurable: true,
643
- writable: true,
644
- value: void 0
645
- });
646
- Object.defineProperty(this, "embed", {
647
- enumerable: true,
648
- configurable: true,
649
- writable: true,
650
- value: void 0
651
- });
652
- Object.defineProperty(this, "feed", {
653
- enumerable: true,
654
- configurable: true,
655
- writable: true,
656
- value: void 0
657
- });
658
- Object.defineProperty(this, "graph", {
659
- enumerable: true,
660
- configurable: true,
661
- writable: true,
662
- value: void 0
663
- });
664
- Object.defineProperty(this, "labeler", {
812
+ Object.defineProperty(this, "admin", {
665
813
  enumerable: true,
666
814
  configurable: true,
667
815
  writable: true,
668
816
  value: void 0
669
817
  });
670
- Object.defineProperty(this, "notification", {
818
+ Object.defineProperty(this, "identity", {
671
819
  enumerable: true,
672
820
  configurable: true,
673
821
  writable: true,
674
822
  value: void 0
675
823
  });
676
- Object.defineProperty(this, "richtext", {
824
+ Object.defineProperty(this, "label", {
677
825
  enumerable: true,
678
826
  configurable: true,
679
827
  writable: true,
680
828
  value: void 0
681
829
  });
682
- Object.defineProperty(this, "unspecced", {
830
+ Object.defineProperty(this, "lexicon", {
683
831
  enumerable: true,
684
832
  configurable: true,
685
833
  writable: true,
686
834
  value: void 0
687
835
  });
688
- Object.defineProperty(this, "video", {
836
+ Object.defineProperty(this, "moderation", {
689
837
  enumerable: true,
690
838
  configurable: true,
691
839
  writable: true,
692
840
  value: void 0
693
841
  });
694
- this._server = server;
695
- this.actor = new AppBskyActorNS(server);
696
- this.embed = new AppBskyEmbedNS(server);
697
- this.feed = new AppBskyFeedNS(server);
698
- this.graph = new AppBskyGraphNS(server);
699
- this.labeler = new AppBskyLabelerNS(server);
700
- this.notification = new AppBskyNotificationNS(server);
701
- this.richtext = new AppBskyRichtextNS(server);
702
- this.unspecced = new AppBskyUnspeccedNS(server);
703
- this.video = new AppBskyVideoNS(server);
704
- }
705
- }
706
- exports.AppBskyNS = AppBskyNS;
707
- class AppBskyActorNS {
708
- constructor(server) {
709
- Object.defineProperty(this, "_server", {
842
+ Object.defineProperty(this, "repo", {
710
843
  enumerable: true,
711
844
  configurable: true,
712
845
  writable: true,
713
846
  value: void 0
714
847
  });
715
- this._server = server;
716
- }
717
- getPreferences(cfg) {
718
- const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
719
- return this._server.xrpc.method(nsid, cfg);
720
- }
721
- getProfile(cfg) {
722
- const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
723
- return this._server.xrpc.method(nsid, cfg);
724
- }
725
- getProfiles(cfg) {
726
- const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
727
- return this._server.xrpc.method(nsid, cfg);
728
- }
729
- getSuggestions(cfg) {
730
- const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
731
- return this._server.xrpc.method(nsid, cfg);
732
- }
733
- putPreferences(cfg) {
734
- const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
735
- return this._server.xrpc.method(nsid, cfg);
736
- }
737
- searchActors(cfg) {
738
- const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
739
- return this._server.xrpc.method(nsid, cfg);
740
- }
741
- searchActorsTypeahead(cfg) {
742
- const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
743
- return this._server.xrpc.method(nsid, cfg);
744
- }
745
- }
746
- exports.AppBskyActorNS = AppBskyActorNS;
747
- class AppBskyEmbedNS {
748
- constructor(server) {
749
- Object.defineProperty(this, "_server", {
848
+ Object.defineProperty(this, "server", {
750
849
  enumerable: true,
751
850
  configurable: true,
752
851
  writable: true,
753
852
  value: void 0
754
853
  });
755
- this._server = server;
756
- }
757
- }
758
- exports.AppBskyEmbedNS = AppBskyEmbedNS;
759
- class AppBskyFeedNS {
760
- constructor(server) {
761
- Object.defineProperty(this, "_server", {
854
+ Object.defineProperty(this, "sync", {
762
855
  enumerable: true,
763
856
  configurable: true,
764
857
  writable: true,
765
- value: void 0
766
- });
767
- this._server = server;
768
- }
769
- describeFeedGenerator(cfg) {
770
- const nsid = 'app.bsky.feed.describeFeedGenerator'; // @ts-ignore
771
- return this._server.xrpc.method(nsid, cfg);
772
- }
773
- getActorFeeds(cfg) {
774
- const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
775
- return this._server.xrpc.method(nsid, cfg);
776
- }
777
- getActorLikes(cfg) {
778
- const nsid = 'app.bsky.feed.getActorLikes'; // @ts-ignore
779
- return this._server.xrpc.method(nsid, cfg);
780
- }
781
- getAuthorFeed(cfg) {
782
- const nsid = 'app.bsky.feed.getAuthorFeed'; // @ts-ignore
783
- return this._server.xrpc.method(nsid, cfg);
784
- }
785
- getFeed(cfg) {
786
- const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
787
- return this._server.xrpc.method(nsid, cfg);
788
- }
789
- getFeedGenerator(cfg) {
790
- const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
791
- return this._server.xrpc.method(nsid, cfg);
792
- }
793
- getFeedGenerators(cfg) {
794
- const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
795
- return this._server.xrpc.method(nsid, cfg);
796
- }
797
- getFeedSkeleton(cfg) {
798
- const nsid = 'app.bsky.feed.getFeedSkeleton'; // @ts-ignore
799
- return this._server.xrpc.method(nsid, cfg);
800
- }
801
- getLikes(cfg) {
802
- const nsid = 'app.bsky.feed.getLikes'; // @ts-ignore
803
- return this._server.xrpc.method(nsid, cfg);
804
- }
805
- getListFeed(cfg) {
806
- const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
807
- return this._server.xrpc.method(nsid, cfg);
808
- }
809
- getPostThread(cfg) {
810
- const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
811
- return this._server.xrpc.method(nsid, cfg);
812
- }
813
- getPosts(cfg) {
814
- const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
815
- return this._server.xrpc.method(nsid, cfg);
816
- }
817
- getQuotes(cfg) {
818
- const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
819
- return this._server.xrpc.method(nsid, cfg);
820
- }
821
- getRepostedBy(cfg) {
822
- const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
823
- return this._server.xrpc.method(nsid, cfg);
824
- }
825
- getSuggestedFeeds(cfg) {
826
- const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
827
- return this._server.xrpc.method(nsid, cfg);
828
- }
829
- getTimeline(cfg) {
830
- const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
831
- return this._server.xrpc.method(nsid, cfg);
832
- }
833
- searchPosts(cfg) {
834
- const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
835
- return this._server.xrpc.method(nsid, cfg);
836
- }
837
- sendInteractions(cfg) {
838
- const nsid = 'app.bsky.feed.sendInteractions'; // @ts-ignore
839
- return this._server.xrpc.method(nsid, cfg);
858
+ value: void 0
859
+ });
860
+ Object.defineProperty(this, "temp", {
861
+ enumerable: true,
862
+ configurable: true,
863
+ writable: true,
864
+ value: void 0
865
+ });
866
+ this._server = server;
867
+ this.admin = new ComAtprotoAdminNS(server);
868
+ this.identity = new ComAtprotoIdentityNS(server);
869
+ this.label = new ComAtprotoLabelNS(server);
870
+ this.lexicon = new ComAtprotoLexiconNS(server);
871
+ this.moderation = new ComAtprotoModerationNS(server);
872
+ this.repo = new ComAtprotoRepoNS(server);
873
+ this.server = new ComAtprotoServerNS(server);
874
+ this.sync = new ComAtprotoSyncNS(server);
875
+ this.temp = new ComAtprotoTempNS(server);
840
876
  }
841
877
  }
842
- exports.AppBskyFeedNS = AppBskyFeedNS;
843
- class AppBskyGraphNS {
878
+ exports.ComAtprotoNS = ComAtprotoNS;
879
+ class ComAtprotoAdminNS {
844
880
  constructor(server) {
845
881
  Object.defineProperty(this, "_server", {
846
882
  enumerable: true,
@@ -850,101 +886,117 @@ class AppBskyGraphNS {
850
886
  });
851
887
  this._server = server;
852
888
  }
853
- getActorStarterPacks(cfg) {
854
- const nsid = 'app.bsky.graph.getActorStarterPacks'; // @ts-ignore
889
+ deleteAccount(cfg) {
890
+ const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
855
891
  return this._server.xrpc.method(nsid, cfg);
856
892
  }
857
- getBlocks(cfg) {
858
- const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
893
+ disableAccountInvites(cfg) {
894
+ const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
859
895
  return this._server.xrpc.method(nsid, cfg);
860
896
  }
861
- getFollowers(cfg) {
862
- const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
897
+ disableInviteCodes(cfg) {
898
+ const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
863
899
  return this._server.xrpc.method(nsid, cfg);
864
900
  }
865
- getFollows(cfg) {
866
- const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
901
+ enableAccountInvites(cfg) {
902
+ const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
867
903
  return this._server.xrpc.method(nsid, cfg);
868
904
  }
869
- getKnownFollowers(cfg) {
870
- const nsid = 'app.bsky.graph.getKnownFollowers'; // @ts-ignore
905
+ getAccountInfo(cfg) {
906
+ const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
871
907
  return this._server.xrpc.method(nsid, cfg);
872
908
  }
873
- getList(cfg) {
874
- const nsid = 'app.bsky.graph.getList'; // @ts-ignore
909
+ getAccountInfos(cfg) {
910
+ const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
875
911
  return this._server.xrpc.method(nsid, cfg);
876
912
  }
877
- getListBlocks(cfg) {
878
- const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
913
+ getInviteCodes(cfg) {
914
+ const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
879
915
  return this._server.xrpc.method(nsid, cfg);
880
916
  }
881
- getListMutes(cfg) {
882
- const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
917
+ getSubjectStatus(cfg) {
918
+ const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
883
919
  return this._server.xrpc.method(nsid, cfg);
884
920
  }
885
- getLists(cfg) {
886
- const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
921
+ searchAccounts(cfg) {
922
+ const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
887
923
  return this._server.xrpc.method(nsid, cfg);
888
924
  }
889
- getListsWithMembership(cfg) {
890
- const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
925
+ sendEmail(cfg) {
926
+ const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
891
927
  return this._server.xrpc.method(nsid, cfg);
892
928
  }
893
- getMutes(cfg) {
894
- const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
929
+ updateAccountEmail(cfg) {
930
+ const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
895
931
  return this._server.xrpc.method(nsid, cfg);
896
932
  }
897
- getRelationships(cfg) {
898
- const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
933
+ updateAccountHandle(cfg) {
934
+ const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
899
935
  return this._server.xrpc.method(nsid, cfg);
900
936
  }
901
- getStarterPack(cfg) {
902
- const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
937
+ updateAccountPassword(cfg) {
938
+ const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
903
939
  return this._server.xrpc.method(nsid, cfg);
904
940
  }
905
- getStarterPacks(cfg) {
906
- const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
941
+ updateAccountSigningKey(cfg) {
942
+ const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
907
943
  return this._server.xrpc.method(nsid, cfg);
908
944
  }
909
- getStarterPacksWithMembership(cfg) {
910
- const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
945
+ updateSubjectStatus(cfg) {
946
+ const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
911
947
  return this._server.xrpc.method(nsid, cfg);
912
948
  }
913
- getSuggestedFollowsByActor(cfg) {
914
- const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
949
+ }
950
+ exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
951
+ class ComAtprotoIdentityNS {
952
+ constructor(server) {
953
+ Object.defineProperty(this, "_server", {
954
+ enumerable: true,
955
+ configurable: true,
956
+ writable: true,
957
+ value: void 0
958
+ });
959
+ this._server = server;
960
+ }
961
+ getRecommendedDidCredentials(cfg) {
962
+ const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
915
963
  return this._server.xrpc.method(nsid, cfg);
916
964
  }
917
- muteActor(cfg) {
918
- const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
965
+ refreshIdentity(cfg) {
966
+ const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
919
967
  return this._server.xrpc.method(nsid, cfg);
920
968
  }
921
- muteActorList(cfg) {
922
- const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
969
+ requestPlcOperationSignature(cfg) {
970
+ const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
923
971
  return this._server.xrpc.method(nsid, cfg);
924
972
  }
925
- muteThread(cfg) {
926
- const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
973
+ resolveDid(cfg) {
974
+ const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
927
975
  return this._server.xrpc.method(nsid, cfg);
928
976
  }
929
- searchStarterPacks(cfg) {
930
- const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
977
+ resolveHandle(cfg) {
978
+ const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
931
979
  return this._server.xrpc.method(nsid, cfg);
932
980
  }
933
- unmuteActor(cfg) {
934
- const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
981
+ resolveIdentity(cfg) {
982
+ const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
935
983
  return this._server.xrpc.method(nsid, cfg);
936
984
  }
937
- unmuteActorList(cfg) {
938
- const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
985
+ signPlcOperation(cfg) {
986
+ const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
939
987
  return this._server.xrpc.method(nsid, cfg);
940
988
  }
941
- unmuteThread(cfg) {
942
- const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
989
+ submitPlcOperation(cfg) {
990
+ const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
991
+ return this._server.xrpc.method(nsid, cfg);
992
+ }
993
+ updateHandle(cfg) {
994
+ const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
943
995
  return this._server.xrpc.method(nsid, cfg);
944
996
  }
945
997
  }
946
- exports.AppBskyGraphNS = AppBskyGraphNS;
947
- class AppBskyLabelerNS {
998
+ exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
999
+ class ComAtprotoLabelNS {
948
1000
  constructor(server) {
949
1001
  Object.defineProperty(this, "_server", {
950
1002
  enumerable: true,
@@ -954,13 +1006,17 @@ class AppBskyLabelerNS {
954
1006
  });
955
1007
  this._server = server;
956
1008
  }
957
- getServices(cfg) {
958
- const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
1009
+ queryLabels(cfg) {
1010
+ const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
959
1011
  return this._server.xrpc.method(nsid, cfg);
960
1012
  }
1013
+ subscribeLabels(cfg) {
1014
+ const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
1015
+ return this._server.xrpc.streamMethod(nsid, cfg);
1016
+ }
961
1017
  }
962
- exports.AppBskyLabelerNS = AppBskyLabelerNS;
963
- class AppBskyNotificationNS {
1018
+ exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
1019
+ class ComAtprotoLexiconNS {
964
1020
  constructor(server) {
965
1021
  Object.defineProperty(this, "_server", {
966
1022
  enumerable: true,
@@ -970,61 +1026,77 @@ class AppBskyNotificationNS {
970
1026
  });
971
1027
  this._server = server;
972
1028
  }
973
- getPreferences(cfg) {
974
- const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
1029
+ }
1030
+ exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
1031
+ class ComAtprotoModerationNS {
1032
+ constructor(server) {
1033
+ Object.defineProperty(this, "_server", {
1034
+ enumerable: true,
1035
+ configurable: true,
1036
+ writable: true,
1037
+ value: void 0
1038
+ });
1039
+ this._server = server;
1040
+ }
1041
+ createReport(cfg) {
1042
+ const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
975
1043
  return this._server.xrpc.method(nsid, cfg);
976
1044
  }
977
- getUnreadCount(cfg) {
978
- const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
1045
+ }
1046
+ exports.ComAtprotoModerationNS = ComAtprotoModerationNS;
1047
+ class ComAtprotoRepoNS {
1048
+ constructor(server) {
1049
+ Object.defineProperty(this, "_server", {
1050
+ enumerable: true,
1051
+ configurable: true,
1052
+ writable: true,
1053
+ value: void 0
1054
+ });
1055
+ this._server = server;
1056
+ }
1057
+ applyWrites(cfg) {
1058
+ const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
979
1059
  return this._server.xrpc.method(nsid, cfg);
980
1060
  }
981
- listActivitySubscriptions(cfg) {
982
- const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
1061
+ createRecord(cfg) {
1062
+ const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
983
1063
  return this._server.xrpc.method(nsid, cfg);
984
1064
  }
985
- listNotifications(cfg) {
986
- const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
1065
+ deleteRecord(cfg) {
1066
+ const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
987
1067
  return this._server.xrpc.method(nsid, cfg);
988
1068
  }
989
- putActivitySubscription(cfg) {
990
- const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
1069
+ describeRepo(cfg) {
1070
+ const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
991
1071
  return this._server.xrpc.method(nsid, cfg);
992
1072
  }
993
- putPreferences(cfg) {
994
- const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
1073
+ getRecord(cfg) {
1074
+ const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
995
1075
  return this._server.xrpc.method(nsid, cfg);
996
1076
  }
997
- putPreferencesV2(cfg) {
998
- const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
1077
+ importRepo(cfg) {
1078
+ const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
999
1079
  return this._server.xrpc.method(nsid, cfg);
1000
1080
  }
1001
- registerPush(cfg) {
1002
- const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
1081
+ listMissingBlobs(cfg) {
1082
+ const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
1003
1083
  return this._server.xrpc.method(nsid, cfg);
1004
1084
  }
1005
- unregisterPush(cfg) {
1006
- const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
1085
+ listRecords(cfg) {
1086
+ const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
1007
1087
  return this._server.xrpc.method(nsid, cfg);
1008
1088
  }
1009
- updateSeen(cfg) {
1010
- const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
1089
+ putRecord(cfg) {
1090
+ const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
1011
1091
  return this._server.xrpc.method(nsid, cfg);
1012
1092
  }
1013
- }
1014
- exports.AppBskyNotificationNS = AppBskyNotificationNS;
1015
- class AppBskyRichtextNS {
1016
- constructor(server) {
1017
- Object.defineProperty(this, "_server", {
1018
- enumerable: true,
1019
- configurable: true,
1020
- writable: true,
1021
- value: void 0
1022
- });
1023
- this._server = server;
1093
+ uploadBlob(cfg) {
1094
+ const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
1095
+ return this._server.xrpc.method(nsid, cfg);
1024
1096
  }
1025
1097
  }
1026
- exports.AppBskyRichtextNS = AppBskyRichtextNS;
1027
- class AppBskyUnspeccedNS {
1098
+ exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
1099
+ class ComAtprotoServerNS {
1028
1100
  constructor(server) {
1029
1101
  Object.defineProperty(this, "_server", {
1030
1102
  enumerable: true,
@@ -1034,185 +1106,109 @@ class AppBskyUnspeccedNS {
1034
1106
  });
1035
1107
  this._server = server;
1036
1108
  }
1037
- getAgeAssuranceState(cfg) {
1038
- const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
1039
- return this._server.xrpc.method(nsid, cfg);
1040
- }
1041
- getConfig(cfg) {
1042
- const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
1043
- return this._server.xrpc.method(nsid, cfg);
1044
- }
1045
- getPopularFeedGenerators(cfg) {
1046
- const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
1047
- return this._server.xrpc.method(nsid, cfg);
1048
- }
1049
- getPostThreadOtherV2(cfg) {
1050
- const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
1051
- return this._server.xrpc.method(nsid, cfg);
1052
- }
1053
- getPostThreadV2(cfg) {
1054
- const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
1109
+ activateAccount(cfg) {
1110
+ const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
1055
1111
  return this._server.xrpc.method(nsid, cfg);
1056
1112
  }
1057
- getSuggestedFeeds(cfg) {
1058
- const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
1113
+ checkAccountStatus(cfg) {
1114
+ const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
1059
1115
  return this._server.xrpc.method(nsid, cfg);
1060
1116
  }
1061
- getSuggestedFeedsSkeleton(cfg) {
1062
- const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
1117
+ confirmEmail(cfg) {
1118
+ const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
1063
1119
  return this._server.xrpc.method(nsid, cfg);
1064
1120
  }
1065
- getSuggestedStarterPacks(cfg) {
1066
- const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
1121
+ createAccount(cfg) {
1122
+ const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
1067
1123
  return this._server.xrpc.method(nsid, cfg);
1068
1124
  }
1069
- getSuggestedStarterPacksSkeleton(cfg) {
1070
- const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
1125
+ createAppPassword(cfg) {
1126
+ const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
1071
1127
  return this._server.xrpc.method(nsid, cfg);
1072
1128
  }
1073
- getSuggestedUsers(cfg) {
1074
- const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
1129
+ createInviteCode(cfg) {
1130
+ const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
1075
1131
  return this._server.xrpc.method(nsid, cfg);
1076
1132
  }
1077
- getSuggestedUsersSkeleton(cfg) {
1078
- const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
1133
+ createInviteCodes(cfg) {
1134
+ const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
1079
1135
  return this._server.xrpc.method(nsid, cfg);
1080
1136
  }
1081
- getSuggestionsSkeleton(cfg) {
1082
- const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
1137
+ createSession(cfg) {
1138
+ const nsid = 'com.atproto.server.createSession'; // @ts-ignore
1083
1139
  return this._server.xrpc.method(nsid, cfg);
1084
1140
  }
1085
- getTaggedSuggestions(cfg) {
1086
- const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
1141
+ deactivateAccount(cfg) {
1142
+ const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
1087
1143
  return this._server.xrpc.method(nsid, cfg);
1088
1144
  }
1089
- getTrendingTopics(cfg) {
1090
- const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
1145
+ deleteAccount(cfg) {
1146
+ const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
1091
1147
  return this._server.xrpc.method(nsid, cfg);
1092
1148
  }
1093
- getTrends(cfg) {
1094
- const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
1149
+ deleteSession(cfg) {
1150
+ const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
1095
1151
  return this._server.xrpc.method(nsid, cfg);
1096
1152
  }
1097
- getTrendsSkeleton(cfg) {
1098
- const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
1153
+ describeServer(cfg) {
1154
+ const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
1099
1155
  return this._server.xrpc.method(nsid, cfg);
1100
1156
  }
1101
- initAgeAssurance(cfg) {
1102
- const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
1157
+ getAccountInviteCodes(cfg) {
1158
+ const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
1103
1159
  return this._server.xrpc.method(nsid, cfg);
1104
1160
  }
1105
- searchActorsSkeleton(cfg) {
1106
- const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
1161
+ getServiceAuth(cfg) {
1162
+ const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
1107
1163
  return this._server.xrpc.method(nsid, cfg);
1108
1164
  }
1109
- searchPostsSkeleton(cfg) {
1110
- const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
1165
+ getSession(cfg) {
1166
+ const nsid = 'com.atproto.server.getSession'; // @ts-ignore
1111
1167
  return this._server.xrpc.method(nsid, cfg);
1112
1168
  }
1113
- searchStarterPacksSkeleton(cfg) {
1114
- const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
1169
+ listAppPasswords(cfg) {
1170
+ const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
1115
1171
  return this._server.xrpc.method(nsid, cfg);
1116
1172
  }
1117
- }
1118
- exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
1119
- class AppBskyVideoNS {
1120
- constructor(server) {
1121
- Object.defineProperty(this, "_server", {
1122
- enumerable: true,
1123
- configurable: true,
1124
- writable: true,
1125
- value: void 0
1126
- });
1127
- this._server = server;
1173
+ refreshSession(cfg) {
1174
+ const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
1175
+ return this._server.xrpc.method(nsid, cfg);
1128
1176
  }
1129
- getJobStatus(cfg) {
1130
- const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
1177
+ requestAccountDelete(cfg) {
1178
+ const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
1131
1179
  return this._server.xrpc.method(nsid, cfg);
1132
1180
  }
1133
- getUploadLimits(cfg) {
1134
- const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
1181
+ requestEmailConfirmation(cfg) {
1182
+ const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
1135
1183
  return this._server.xrpc.method(nsid, cfg);
1136
1184
  }
1137
- uploadVideo(cfg) {
1138
- const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
1185
+ requestEmailUpdate(cfg) {
1186
+ const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
1139
1187
  return this._server.xrpc.method(nsid, cfg);
1140
1188
  }
1141
- }
1142
- exports.AppBskyVideoNS = AppBskyVideoNS;
1143
- class ChatNS {
1144
- constructor(server) {
1145
- Object.defineProperty(this, "_server", {
1146
- enumerable: true,
1147
- configurable: true,
1148
- writable: true,
1149
- value: void 0
1150
- });
1151
- Object.defineProperty(this, "bsky", {
1152
- enumerable: true,
1153
- configurable: true,
1154
- writable: true,
1155
- value: void 0
1156
- });
1157
- this._server = server;
1158
- this.bsky = new ChatBskyNS(server);
1189
+ requestPasswordReset(cfg) {
1190
+ const nsid = 'com.atproto.server.requestPasswordReset'; // @ts-ignore
1191
+ return this._server.xrpc.method(nsid, cfg);
1159
1192
  }
1160
- }
1161
- exports.ChatNS = ChatNS;
1162
- class ChatBskyNS {
1163
- constructor(server) {
1164
- Object.defineProperty(this, "_server", {
1165
- enumerable: true,
1166
- configurable: true,
1167
- writable: true,
1168
- value: void 0
1169
- });
1170
- Object.defineProperty(this, "actor", {
1171
- enumerable: true,
1172
- configurable: true,
1173
- writable: true,
1174
- value: void 0
1175
- });
1176
- Object.defineProperty(this, "convo", {
1177
- enumerable: true,
1178
- configurable: true,
1179
- writable: true,
1180
- value: void 0
1181
- });
1182
- Object.defineProperty(this, "moderation", {
1183
- enumerable: true,
1184
- configurable: true,
1185
- writable: true,
1186
- value: void 0
1187
- });
1188
- this._server = server;
1189
- this.actor = new ChatBskyActorNS(server);
1190
- this.convo = new ChatBskyConvoNS(server);
1191
- this.moderation = new ChatBskyModerationNS(server);
1193
+ reserveSigningKey(cfg) {
1194
+ const nsid = 'com.atproto.server.reserveSigningKey'; // @ts-ignore
1195
+ return this._server.xrpc.method(nsid, cfg);
1192
1196
  }
1193
- }
1194
- exports.ChatBskyNS = ChatBskyNS;
1195
- class ChatBskyActorNS {
1196
- constructor(server) {
1197
- Object.defineProperty(this, "_server", {
1198
- enumerable: true,
1199
- configurable: true,
1200
- writable: true,
1201
- value: void 0
1202
- });
1203
- this._server = server;
1197
+ resetPassword(cfg) {
1198
+ const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
1199
+ return this._server.xrpc.method(nsid, cfg);
1204
1200
  }
1205
- deleteAccount(cfg) {
1206
- const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
1201
+ revokeAppPassword(cfg) {
1202
+ const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
1207
1203
  return this._server.xrpc.method(nsid, cfg);
1208
1204
  }
1209
- exportAccountData(cfg) {
1210
- const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
1205
+ updateEmail(cfg) {
1206
+ const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
1211
1207
  return this._server.xrpc.method(nsid, cfg);
1212
1208
  }
1213
1209
  }
1214
- exports.ChatBskyActorNS = ChatBskyActorNS;
1215
- class ChatBskyConvoNS {
1210
+ exports.ComAtprotoServerNS = ComAtprotoServerNS;
1211
+ class ComAtprotoSyncNS {
1216
1212
  constructor(server) {
1217
1213
  Object.defineProperty(this, "_server", {
1218
1214
  enumerable: true,
@@ -1222,77 +1218,73 @@ class ChatBskyConvoNS {
1222
1218
  });
1223
1219
  this._server = server;
1224
1220
  }
1225
- acceptConvo(cfg) {
1226
- const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
1227
- return this._server.xrpc.method(nsid, cfg);
1228
- }
1229
- addReaction(cfg) {
1230
- const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
1221
+ getBlob(cfg) {
1222
+ const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
1231
1223
  return this._server.xrpc.method(nsid, cfg);
1232
1224
  }
1233
- deleteMessageForSelf(cfg) {
1234
- const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
1225
+ getBlocks(cfg) {
1226
+ const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
1235
1227
  return this._server.xrpc.method(nsid, cfg);
1236
1228
  }
1237
- getConvo(cfg) {
1238
- const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
1229
+ getCheckout(cfg) {
1230
+ const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
1239
1231
  return this._server.xrpc.method(nsid, cfg);
1240
1232
  }
1241
- getConvoAvailability(cfg) {
1242
- const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
1233
+ getHead(cfg) {
1234
+ const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
1243
1235
  return this._server.xrpc.method(nsid, cfg);
1244
1236
  }
1245
- getConvoForMembers(cfg) {
1246
- const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
1237
+ getHostStatus(cfg) {
1238
+ const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
1247
1239
  return this._server.xrpc.method(nsid, cfg);
1248
1240
  }
1249
- getLog(cfg) {
1250
- const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
1241
+ getLatestCommit(cfg) {
1242
+ const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
1251
1243
  return this._server.xrpc.method(nsid, cfg);
1252
1244
  }
1253
- getMessages(cfg) {
1254
- const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
1245
+ getRecord(cfg) {
1246
+ const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
1255
1247
  return this._server.xrpc.method(nsid, cfg);
1256
1248
  }
1257
- leaveConvo(cfg) {
1258
- const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
1249
+ getRepo(cfg) {
1250
+ const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
1259
1251
  return this._server.xrpc.method(nsid, cfg);
1260
1252
  }
1261
- listConvos(cfg) {
1262
- const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
1253
+ getRepoStatus(cfg) {
1254
+ const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
1263
1255
  return this._server.xrpc.method(nsid, cfg);
1264
1256
  }
1265
- muteConvo(cfg) {
1266
- const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
1257
+ listBlobs(cfg) {
1258
+ const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
1267
1259
  return this._server.xrpc.method(nsid, cfg);
1268
1260
  }
1269
- removeReaction(cfg) {
1270
- const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
1261
+ listHosts(cfg) {
1262
+ const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
1271
1263
  return this._server.xrpc.method(nsid, cfg);
1272
1264
  }
1273
- sendMessage(cfg) {
1274
- const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
1265
+ listRepos(cfg) {
1266
+ const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
1275
1267
  return this._server.xrpc.method(nsid, cfg);
1276
1268
  }
1277
- sendMessageBatch(cfg) {
1278
- const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
1269
+ listReposByCollection(cfg) {
1270
+ const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
1279
1271
  return this._server.xrpc.method(nsid, cfg);
1280
1272
  }
1281
- unmuteConvo(cfg) {
1282
- const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
1273
+ notifyOfUpdate(cfg) {
1274
+ const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
1283
1275
  return this._server.xrpc.method(nsid, cfg);
1284
1276
  }
1285
- updateAllRead(cfg) {
1286
- const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
1277
+ requestCrawl(cfg) {
1278
+ const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
1287
1279
  return this._server.xrpc.method(nsid, cfg);
1288
1280
  }
1289
- updateRead(cfg) {
1290
- const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
1291
- return this._server.xrpc.method(nsid, cfg);
1281
+ subscribeRepos(cfg) {
1282
+ const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
1283
+ return this._server.xrpc.streamMethod(nsid, cfg);
1292
1284
  }
1293
1285
  }
1294
- exports.ChatBskyConvoNS = ChatBskyConvoNS;
1295
- class ChatBskyModerationNS {
1286
+ exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
1287
+ class ComAtprotoTempNS {
1296
1288
  constructor(server) {
1297
1289
  Object.defineProperty(this, "_server", {
1298
1290
  enumerable: true,
@@ -1302,18 +1294,26 @@ class ChatBskyModerationNS {
1302
1294
  });
1303
1295
  this._server = server;
1304
1296
  }
1305
- getActorMetadata(cfg) {
1306
- const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
1297
+ addReservedHandle(cfg) {
1298
+ const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
1307
1299
  return this._server.xrpc.method(nsid, cfg);
1308
1300
  }
1309
- getMessageContext(cfg) {
1310
- const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
1301
+ checkHandleAvailability(cfg) {
1302
+ const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
1311
1303
  return this._server.xrpc.method(nsid, cfg);
1312
1304
  }
1313
- updateActorAccess(cfg) {
1314
- const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
1305
+ checkSignupQueue(cfg) {
1306
+ const nsid = 'com.atproto.temp.checkSignupQueue'; // @ts-ignore
1307
+ return this._server.xrpc.method(nsid, cfg);
1308
+ }
1309
+ fetchLabels(cfg) {
1310
+ const nsid = 'com.atproto.temp.fetchLabels'; // @ts-ignore
1311
+ return this._server.xrpc.method(nsid, cfg);
1312
+ }
1313
+ requestPhoneVerification(cfg) {
1314
+ const nsid = 'com.atproto.temp.requestPhoneVerification'; // @ts-ignore
1315
1315
  return this._server.xrpc.method(nsid, cfg);
1316
1316
  }
1317
1317
  }
1318
- exports.ChatBskyModerationNS = ChatBskyModerationNS;
1318
+ exports.ComAtprotoTempNS = ComAtprotoTempNS;
1319
1319
  //# sourceMappingURL=index.js.map