@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.
- package/CHANGELOG.md +24 -0
- package/dist/lexicon/index.d.ts +230 -230
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +687 -687
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +16808 -16808
- package/dist/lexicon/lexicons.js +9267 -9267
- package/dist/lexicon/lexicons.js.map +1 -1
- package/package.json +11 -11
- package/src/lexicon/index.ts +1235 -1235
- package/src/lexicon/lexicons.ts +9416 -9416
package/dist/lexicon/index.js
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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
|
|
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, "
|
|
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.
|
|
94
|
+
this.bsky = new AppBskyNS(server);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
exports.
|
|
98
|
-
class
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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.
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
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.
|
|
173
|
-
class
|
|
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
|
-
|
|
184
|
-
const nsid = '
|
|
183
|
+
getPreferences(cfg) {
|
|
184
|
+
const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
|
|
185
185
|
return this._server.xrpc.method(nsid, cfg);
|
|
186
186
|
}
|
|
187
|
-
|
|
188
|
-
const nsid = '
|
|
187
|
+
getProfile(cfg) {
|
|
188
|
+
const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
|
|
189
189
|
return this._server.xrpc.method(nsid, cfg);
|
|
190
190
|
}
|
|
191
|
-
|
|
192
|
-
const nsid = '
|
|
191
|
+
getProfiles(cfg) {
|
|
192
|
+
const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
|
|
193
193
|
return this._server.xrpc.method(nsid, cfg);
|
|
194
194
|
}
|
|
195
|
-
|
|
196
|
-
const nsid = '
|
|
195
|
+
getSuggestions(cfg) {
|
|
196
|
+
const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
|
|
197
197
|
return this._server.xrpc.method(nsid, cfg);
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
const nsid = '
|
|
199
|
+
putPreferences(cfg) {
|
|
200
|
+
const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
|
|
201
201
|
return this._server.xrpc.method(nsid, cfg);
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
const nsid = '
|
|
203
|
+
searchActors(cfg) {
|
|
204
|
+
const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
|
|
205
205
|
return this._server.xrpc.method(nsid, cfg);
|
|
206
206
|
}
|
|
207
|
-
|
|
208
|
-
const nsid = '
|
|
207
|
+
searchActorsTypeahead(cfg) {
|
|
208
|
+
const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
|
|
209
209
|
return this._server.xrpc.method(nsid, cfg);
|
|
210
210
|
}
|
|
211
|
-
|
|
212
|
-
|
|
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
|
-
|
|
216
|
-
const nsid = '
|
|
239
|
+
getActorFeeds(cfg) {
|
|
240
|
+
const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
|
|
217
241
|
return this._server.xrpc.method(nsid, cfg);
|
|
218
242
|
}
|
|
219
|
-
|
|
220
|
-
const nsid = '
|
|
243
|
+
getActorLikes(cfg) {
|
|
244
|
+
const nsid = 'app.bsky.feed.getActorLikes'; // @ts-ignore
|
|
221
245
|
return this._server.xrpc.method(nsid, cfg);
|
|
222
246
|
}
|
|
223
|
-
|
|
224
|
-
const nsid = '
|
|
247
|
+
getAuthorFeed(cfg) {
|
|
248
|
+
const nsid = 'app.bsky.feed.getAuthorFeed'; // @ts-ignore
|
|
225
249
|
return this._server.xrpc.method(nsid, cfg);
|
|
226
250
|
}
|
|
227
|
-
|
|
228
|
-
const nsid = '
|
|
251
|
+
getFeed(cfg) {
|
|
252
|
+
const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
|
|
229
253
|
return this._server.xrpc.method(nsid, cfg);
|
|
230
254
|
}
|
|
231
|
-
|
|
232
|
-
const nsid = '
|
|
255
|
+
getFeedGenerator(cfg) {
|
|
256
|
+
const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
|
|
233
257
|
return this._server.xrpc.method(nsid, cfg);
|
|
234
258
|
}
|
|
235
|
-
|
|
236
|
-
const nsid = '
|
|
259
|
+
getFeedGenerators(cfg) {
|
|
260
|
+
const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
|
|
237
261
|
return this._server.xrpc.method(nsid, cfg);
|
|
238
262
|
}
|
|
239
|
-
|
|
240
|
-
const nsid = '
|
|
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
|
-
|
|
245
|
-
|
|
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
|
-
|
|
256
|
-
const nsid = '
|
|
271
|
+
getListFeed(cfg) {
|
|
272
|
+
const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
|
|
257
273
|
return this._server.xrpc.method(nsid, cfg);
|
|
258
274
|
}
|
|
259
|
-
|
|
260
|
-
const nsid = '
|
|
275
|
+
getPostThread(cfg) {
|
|
276
|
+
const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
|
|
261
277
|
return this._server.xrpc.method(nsid, cfg);
|
|
262
278
|
}
|
|
263
|
-
|
|
264
|
-
const nsid = '
|
|
279
|
+
getPosts(cfg) {
|
|
280
|
+
const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
|
|
265
281
|
return this._server.xrpc.method(nsid, cfg);
|
|
266
282
|
}
|
|
267
|
-
|
|
268
|
-
const nsid = '
|
|
283
|
+
getQuotes(cfg) {
|
|
284
|
+
const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
|
|
269
285
|
return this._server.xrpc.method(nsid, cfg);
|
|
270
286
|
}
|
|
271
|
-
|
|
272
|
-
const nsid = '
|
|
287
|
+
getRepostedBy(cfg) {
|
|
288
|
+
const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
|
|
273
289
|
return this._server.xrpc.method(nsid, cfg);
|
|
274
290
|
}
|
|
275
|
-
|
|
276
|
-
const nsid = '
|
|
291
|
+
getSuggestedFeeds(cfg) {
|
|
292
|
+
const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
|
|
277
293
|
return this._server.xrpc.method(nsid, cfg);
|
|
278
294
|
}
|
|
279
|
-
|
|
280
|
-
const nsid = '
|
|
295
|
+
getTimeline(cfg) {
|
|
296
|
+
const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
|
|
281
297
|
return this._server.xrpc.method(nsid, cfg);
|
|
282
298
|
}
|
|
283
|
-
|
|
284
|
-
const nsid = '
|
|
299
|
+
searchPosts(cfg) {
|
|
300
|
+
const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
|
|
285
301
|
return this._server.xrpc.method(nsid, cfg);
|
|
286
302
|
}
|
|
287
|
-
|
|
288
|
-
const nsid = '
|
|
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.
|
|
293
|
-
class
|
|
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
|
-
|
|
304
|
-
const nsid = '
|
|
319
|
+
getActorStarterPacks(cfg) {
|
|
320
|
+
const nsid = 'app.bsky.graph.getActorStarterPacks'; // @ts-ignore
|
|
305
321
|
return this._server.xrpc.method(nsid, cfg);
|
|
306
322
|
}
|
|
307
|
-
|
|
308
|
-
const nsid = '
|
|
309
|
-
return this._server.xrpc.
|
|
323
|
+
getBlocks(cfg) {
|
|
324
|
+
const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
|
|
325
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
310
326
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
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
|
-
|
|
325
|
-
|
|
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
|
-
|
|
336
|
-
const nsid = '
|
|
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.
|
|
341
|
-
class
|
|
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
|
-
|
|
352
|
-
const nsid = '
|
|
423
|
+
getServices(cfg) {
|
|
424
|
+
const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
|
|
353
425
|
return this._server.xrpc.method(nsid, cfg);
|
|
354
426
|
}
|
|
355
|
-
|
|
356
|
-
|
|
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
|
-
|
|
360
|
-
const nsid = '
|
|
443
|
+
getUnreadCount(cfg) {
|
|
444
|
+
const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
|
|
361
445
|
return this._server.xrpc.method(nsid, cfg);
|
|
362
446
|
}
|
|
363
|
-
|
|
364
|
-
const nsid = '
|
|
447
|
+
listActivitySubscriptions(cfg) {
|
|
448
|
+
const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
|
|
365
449
|
return this._server.xrpc.method(nsid, cfg);
|
|
366
450
|
}
|
|
367
|
-
|
|
368
|
-
const nsid = '
|
|
451
|
+
listNotifications(cfg) {
|
|
452
|
+
const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
|
|
369
453
|
return this._server.xrpc.method(nsid, cfg);
|
|
370
454
|
}
|
|
371
|
-
|
|
372
|
-
const nsid = '
|
|
455
|
+
putActivitySubscription(cfg) {
|
|
456
|
+
const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
|
|
373
457
|
return this._server.xrpc.method(nsid, cfg);
|
|
374
458
|
}
|
|
375
|
-
|
|
376
|
-
const nsid = '
|
|
459
|
+
putPreferences(cfg) {
|
|
460
|
+
const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
|
|
377
461
|
return this._server.xrpc.method(nsid, cfg);
|
|
378
462
|
}
|
|
379
|
-
|
|
380
|
-
const nsid = '
|
|
463
|
+
putPreferencesV2(cfg) {
|
|
464
|
+
const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
|
|
381
465
|
return this._server.xrpc.method(nsid, cfg);
|
|
382
466
|
}
|
|
383
|
-
|
|
384
|
-
const nsid = '
|
|
467
|
+
registerPush(cfg) {
|
|
468
|
+
const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
|
|
385
469
|
return this._server.xrpc.method(nsid, cfg);
|
|
386
470
|
}
|
|
387
|
-
|
|
388
|
-
const nsid = '
|
|
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.
|
|
393
|
-
class
|
|
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
|
-
|
|
404
|
-
|
|
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
|
-
|
|
408
|
-
const nsid = '
|
|
507
|
+
getConfig(cfg) {
|
|
508
|
+
const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
|
|
409
509
|
return this._server.xrpc.method(nsid, cfg);
|
|
410
510
|
}
|
|
411
|
-
|
|
412
|
-
const nsid = '
|
|
511
|
+
getPopularFeedGenerators(cfg) {
|
|
512
|
+
const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
|
|
413
513
|
return this._server.xrpc.method(nsid, cfg);
|
|
414
514
|
}
|
|
415
|
-
|
|
416
|
-
const nsid = '
|
|
515
|
+
getPostThreadOtherV2(cfg) {
|
|
516
|
+
const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
|
|
417
517
|
return this._server.xrpc.method(nsid, cfg);
|
|
418
518
|
}
|
|
419
|
-
|
|
420
|
-
const nsid = '
|
|
519
|
+
getPostThreadV2(cfg) {
|
|
520
|
+
const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
|
|
421
521
|
return this._server.xrpc.method(nsid, cfg);
|
|
422
522
|
}
|
|
423
|
-
|
|
424
|
-
const nsid = '
|
|
523
|
+
getSuggestedFeeds(cfg) {
|
|
524
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
|
|
425
525
|
return this._server.xrpc.method(nsid, cfg);
|
|
426
526
|
}
|
|
427
|
-
|
|
428
|
-
const nsid = '
|
|
527
|
+
getSuggestedFeedsSkeleton(cfg) {
|
|
528
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
|
|
429
529
|
return this._server.xrpc.method(nsid, cfg);
|
|
430
530
|
}
|
|
431
|
-
|
|
432
|
-
const nsid = '
|
|
531
|
+
getSuggestedStarterPacks(cfg) {
|
|
532
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
|
|
433
533
|
return this._server.xrpc.method(nsid, cfg);
|
|
434
534
|
}
|
|
435
|
-
|
|
436
|
-
const nsid = '
|
|
535
|
+
getSuggestedStarterPacksSkeleton(cfg) {
|
|
536
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
|
|
437
537
|
return this._server.xrpc.method(nsid, cfg);
|
|
438
538
|
}
|
|
439
|
-
|
|
440
|
-
const nsid = '
|
|
539
|
+
getSuggestedUsers(cfg) {
|
|
540
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
|
|
441
541
|
return this._server.xrpc.method(nsid, cfg);
|
|
442
542
|
}
|
|
443
|
-
|
|
444
|
-
const nsid = '
|
|
543
|
+
getSuggestedUsersSkeleton(cfg) {
|
|
544
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
|
|
445
545
|
return this._server.xrpc.method(nsid, cfg);
|
|
446
546
|
}
|
|
447
|
-
|
|
448
|
-
const nsid = '
|
|
547
|
+
getSuggestionsSkeleton(cfg) {
|
|
548
|
+
const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
|
|
449
549
|
return this._server.xrpc.method(nsid, cfg);
|
|
450
550
|
}
|
|
451
|
-
|
|
452
|
-
const nsid = '
|
|
551
|
+
getTaggedSuggestions(cfg) {
|
|
552
|
+
const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
|
|
453
553
|
return this._server.xrpc.method(nsid, cfg);
|
|
454
554
|
}
|
|
455
|
-
|
|
456
|
-
const nsid = '
|
|
555
|
+
getTrendingTopics(cfg) {
|
|
556
|
+
const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
|
|
457
557
|
return this._server.xrpc.method(nsid, cfg);
|
|
458
558
|
}
|
|
459
|
-
|
|
460
|
-
const nsid = '
|
|
559
|
+
getTrends(cfg) {
|
|
560
|
+
const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
|
|
461
561
|
return this._server.xrpc.method(nsid, cfg);
|
|
462
562
|
}
|
|
463
|
-
|
|
464
|
-
const nsid = '
|
|
563
|
+
getTrendsSkeleton(cfg) {
|
|
564
|
+
const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
|
|
465
565
|
return this._server.xrpc.method(nsid, cfg);
|
|
466
566
|
}
|
|
467
|
-
|
|
468
|
-
const nsid = '
|
|
567
|
+
initAgeAssurance(cfg) {
|
|
568
|
+
const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
|
|
469
569
|
return this._server.xrpc.method(nsid, cfg);
|
|
470
570
|
}
|
|
471
|
-
|
|
472
|
-
const nsid = '
|
|
571
|
+
searchActorsSkeleton(cfg) {
|
|
572
|
+
const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
|
|
473
573
|
return this._server.xrpc.method(nsid, cfg);
|
|
474
574
|
}
|
|
475
|
-
|
|
476
|
-
const nsid = '
|
|
575
|
+
searchPostsSkeleton(cfg) {
|
|
576
|
+
const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
|
|
477
577
|
return this._server.xrpc.method(nsid, cfg);
|
|
478
578
|
}
|
|
479
|
-
|
|
480
|
-
const nsid = '
|
|
579
|
+
searchStarterPacksSkeleton(cfg) {
|
|
580
|
+
const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
|
|
481
581
|
return this._server.xrpc.method(nsid, cfg);
|
|
482
582
|
}
|
|
483
|
-
|
|
484
|
-
|
|
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
|
-
|
|
488
|
-
const nsid = '
|
|
599
|
+
getUploadLimits(cfg) {
|
|
600
|
+
const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
|
|
489
601
|
return this._server.xrpc.method(nsid, cfg);
|
|
490
602
|
}
|
|
491
|
-
|
|
492
|
-
const nsid = '
|
|
603
|
+
uploadVideo(cfg) {
|
|
604
|
+
const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
|
|
493
605
|
return this._server.xrpc.method(nsid, cfg);
|
|
494
606
|
}
|
|
495
|
-
|
|
496
|
-
|
|
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
|
-
|
|
500
|
-
const nsid = '
|
|
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.
|
|
505
|
-
class
|
|
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
|
-
|
|
516
|
-
const nsid = '
|
|
691
|
+
acceptConvo(cfg) {
|
|
692
|
+
const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
|
|
517
693
|
return this._server.xrpc.method(nsid, cfg);
|
|
518
694
|
}
|
|
519
|
-
|
|
520
|
-
const nsid = '
|
|
695
|
+
addReaction(cfg) {
|
|
696
|
+
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
|
521
697
|
return this._server.xrpc.method(nsid, cfg);
|
|
522
698
|
}
|
|
523
|
-
|
|
524
|
-
const nsid = '
|
|
699
|
+
deleteMessageForSelf(cfg) {
|
|
700
|
+
const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
|
|
525
701
|
return this._server.xrpc.method(nsid, cfg);
|
|
526
702
|
}
|
|
527
|
-
|
|
528
|
-
const nsid = '
|
|
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
|
-
|
|
532
|
-
const nsid = '
|
|
711
|
+
getConvoForMembers(cfg) {
|
|
712
|
+
const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
|
|
533
713
|
return this._server.xrpc.method(nsid, cfg);
|
|
534
714
|
}
|
|
535
|
-
|
|
536
|
-
const nsid = '
|
|
715
|
+
getLog(cfg) {
|
|
716
|
+
const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
|
|
537
717
|
return this._server.xrpc.method(nsid, cfg);
|
|
538
718
|
}
|
|
539
|
-
|
|
540
|
-
const nsid = '
|
|
719
|
+
getMessages(cfg) {
|
|
720
|
+
const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
|
|
541
721
|
return this._server.xrpc.method(nsid, cfg);
|
|
542
722
|
}
|
|
543
|
-
|
|
544
|
-
const nsid = '
|
|
723
|
+
leaveConvo(cfg) {
|
|
724
|
+
const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
|
|
545
725
|
return this._server.xrpc.method(nsid, cfg);
|
|
546
726
|
}
|
|
547
|
-
|
|
548
|
-
const nsid = '
|
|
727
|
+
listConvos(cfg) {
|
|
728
|
+
const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
|
|
549
729
|
return this._server.xrpc.method(nsid, cfg);
|
|
550
730
|
}
|
|
551
|
-
|
|
552
|
-
const nsid = '
|
|
731
|
+
muteConvo(cfg) {
|
|
732
|
+
const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
|
|
553
733
|
return this._server.xrpc.method(nsid, cfg);
|
|
554
734
|
}
|
|
555
|
-
|
|
556
|
-
const nsid = '
|
|
735
|
+
removeReaction(cfg) {
|
|
736
|
+
const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
|
|
557
737
|
return this._server.xrpc.method(nsid, cfg);
|
|
558
738
|
}
|
|
559
|
-
|
|
560
|
-
const nsid = '
|
|
739
|
+
sendMessage(cfg) {
|
|
740
|
+
const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
|
|
561
741
|
return this._server.xrpc.method(nsid, cfg);
|
|
562
742
|
}
|
|
563
|
-
|
|
564
|
-
const nsid = '
|
|
743
|
+
sendMessageBatch(cfg) {
|
|
744
|
+
const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
|
|
565
745
|
return this._server.xrpc.method(nsid, cfg);
|
|
566
746
|
}
|
|
567
|
-
|
|
568
|
-
const nsid = '
|
|
747
|
+
unmuteConvo(cfg) {
|
|
748
|
+
const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
|
|
569
749
|
return this._server.xrpc.method(nsid, cfg);
|
|
570
750
|
}
|
|
571
|
-
|
|
572
|
-
const nsid = '
|
|
751
|
+
updateAllRead(cfg) {
|
|
752
|
+
const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
|
|
573
753
|
return this._server.xrpc.method(nsid, cfg);
|
|
574
754
|
}
|
|
575
|
-
|
|
576
|
-
const nsid = '
|
|
577
|
-
return this._server.xrpc.
|
|
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.
|
|
581
|
-
class
|
|
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
|
-
|
|
592
|
-
const nsid = '
|
|
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
|
-
|
|
604
|
-
const nsid = '
|
|
775
|
+
getMessageContext(cfg) {
|
|
776
|
+
const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
|
|
605
777
|
return this._server.xrpc.method(nsid, cfg);
|
|
606
778
|
}
|
|
607
|
-
|
|
608
|
-
const nsid = '
|
|
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.
|
|
613
|
-
class
|
|
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, "
|
|
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.
|
|
800
|
+
this.atproto = new ComAtprotoNS(server);
|
|
629
801
|
}
|
|
630
802
|
}
|
|
631
|
-
exports.
|
|
632
|
-
class
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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
|
|
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
|
|
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
|
|
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
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
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.
|
|
843
|
-
class
|
|
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
|
-
|
|
854
|
-
const nsid = '
|
|
889
|
+
deleteAccount(cfg) {
|
|
890
|
+
const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
|
|
855
891
|
return this._server.xrpc.method(nsid, cfg);
|
|
856
892
|
}
|
|
857
|
-
|
|
858
|
-
const nsid = '
|
|
893
|
+
disableAccountInvites(cfg) {
|
|
894
|
+
const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
|
|
859
895
|
return this._server.xrpc.method(nsid, cfg);
|
|
860
896
|
}
|
|
861
|
-
|
|
862
|
-
const nsid = '
|
|
897
|
+
disableInviteCodes(cfg) {
|
|
898
|
+
const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
|
|
863
899
|
return this._server.xrpc.method(nsid, cfg);
|
|
864
900
|
}
|
|
865
|
-
|
|
866
|
-
const nsid = '
|
|
901
|
+
enableAccountInvites(cfg) {
|
|
902
|
+
const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
|
|
867
903
|
return this._server.xrpc.method(nsid, cfg);
|
|
868
904
|
}
|
|
869
|
-
|
|
870
|
-
const nsid = '
|
|
905
|
+
getAccountInfo(cfg) {
|
|
906
|
+
const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
|
|
871
907
|
return this._server.xrpc.method(nsid, cfg);
|
|
872
908
|
}
|
|
873
|
-
|
|
874
|
-
const nsid = '
|
|
909
|
+
getAccountInfos(cfg) {
|
|
910
|
+
const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
|
|
875
911
|
return this._server.xrpc.method(nsid, cfg);
|
|
876
912
|
}
|
|
877
|
-
|
|
878
|
-
const nsid = '
|
|
913
|
+
getInviteCodes(cfg) {
|
|
914
|
+
const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
|
|
879
915
|
return this._server.xrpc.method(nsid, cfg);
|
|
880
916
|
}
|
|
881
|
-
|
|
882
|
-
const nsid = '
|
|
917
|
+
getSubjectStatus(cfg) {
|
|
918
|
+
const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
|
|
883
919
|
return this._server.xrpc.method(nsid, cfg);
|
|
884
920
|
}
|
|
885
|
-
|
|
886
|
-
const nsid = '
|
|
921
|
+
searchAccounts(cfg) {
|
|
922
|
+
const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
|
|
887
923
|
return this._server.xrpc.method(nsid, cfg);
|
|
888
924
|
}
|
|
889
|
-
|
|
890
|
-
const nsid = '
|
|
925
|
+
sendEmail(cfg) {
|
|
926
|
+
const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
|
|
891
927
|
return this._server.xrpc.method(nsid, cfg);
|
|
892
928
|
}
|
|
893
|
-
|
|
894
|
-
const nsid = '
|
|
929
|
+
updateAccountEmail(cfg) {
|
|
930
|
+
const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
|
|
895
931
|
return this._server.xrpc.method(nsid, cfg);
|
|
896
932
|
}
|
|
897
|
-
|
|
898
|
-
const nsid = '
|
|
933
|
+
updateAccountHandle(cfg) {
|
|
934
|
+
const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
|
|
899
935
|
return this._server.xrpc.method(nsid, cfg);
|
|
900
936
|
}
|
|
901
|
-
|
|
902
|
-
const nsid = '
|
|
937
|
+
updateAccountPassword(cfg) {
|
|
938
|
+
const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
|
|
903
939
|
return this._server.xrpc.method(nsid, cfg);
|
|
904
940
|
}
|
|
905
|
-
|
|
906
|
-
const nsid = '
|
|
941
|
+
updateAccountSigningKey(cfg) {
|
|
942
|
+
const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
|
|
907
943
|
return this._server.xrpc.method(nsid, cfg);
|
|
908
944
|
}
|
|
909
|
-
|
|
910
|
-
const nsid = '
|
|
945
|
+
updateSubjectStatus(cfg) {
|
|
946
|
+
const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
|
|
911
947
|
return this._server.xrpc.method(nsid, cfg);
|
|
912
948
|
}
|
|
913
|
-
|
|
914
|
-
|
|
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
|
-
|
|
918
|
-
const nsid = '
|
|
965
|
+
refreshIdentity(cfg) {
|
|
966
|
+
const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
|
|
919
967
|
return this._server.xrpc.method(nsid, cfg);
|
|
920
968
|
}
|
|
921
|
-
|
|
922
|
-
const nsid = '
|
|
969
|
+
requestPlcOperationSignature(cfg) {
|
|
970
|
+
const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
|
|
923
971
|
return this._server.xrpc.method(nsid, cfg);
|
|
924
972
|
}
|
|
925
|
-
|
|
926
|
-
const nsid = '
|
|
973
|
+
resolveDid(cfg) {
|
|
974
|
+
const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
|
|
927
975
|
return this._server.xrpc.method(nsid, cfg);
|
|
928
976
|
}
|
|
929
|
-
|
|
930
|
-
const nsid = '
|
|
977
|
+
resolveHandle(cfg) {
|
|
978
|
+
const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
|
|
931
979
|
return this._server.xrpc.method(nsid, cfg);
|
|
932
980
|
}
|
|
933
|
-
|
|
934
|
-
const nsid = '
|
|
981
|
+
resolveIdentity(cfg) {
|
|
982
|
+
const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
|
|
935
983
|
return this._server.xrpc.method(nsid, cfg);
|
|
936
984
|
}
|
|
937
|
-
|
|
938
|
-
const nsid = '
|
|
985
|
+
signPlcOperation(cfg) {
|
|
986
|
+
const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
|
|
939
987
|
return this._server.xrpc.method(nsid, cfg);
|
|
940
988
|
}
|
|
941
|
-
|
|
942
|
-
const nsid = '
|
|
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.
|
|
947
|
-
class
|
|
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
|
-
|
|
958
|
-
const nsid = '
|
|
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.
|
|
963
|
-
class
|
|
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
|
-
|
|
974
|
-
|
|
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
|
-
|
|
978
|
-
|
|
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
|
-
|
|
982
|
-
const nsid = '
|
|
1061
|
+
createRecord(cfg) {
|
|
1062
|
+
const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
|
|
983
1063
|
return this._server.xrpc.method(nsid, cfg);
|
|
984
1064
|
}
|
|
985
|
-
|
|
986
|
-
const nsid = '
|
|
1065
|
+
deleteRecord(cfg) {
|
|
1066
|
+
const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
|
|
987
1067
|
return this._server.xrpc.method(nsid, cfg);
|
|
988
1068
|
}
|
|
989
|
-
|
|
990
|
-
const nsid = '
|
|
1069
|
+
describeRepo(cfg) {
|
|
1070
|
+
const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
|
|
991
1071
|
return this._server.xrpc.method(nsid, cfg);
|
|
992
1072
|
}
|
|
993
|
-
|
|
994
|
-
const nsid = '
|
|
1073
|
+
getRecord(cfg) {
|
|
1074
|
+
const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
|
|
995
1075
|
return this._server.xrpc.method(nsid, cfg);
|
|
996
1076
|
}
|
|
997
|
-
|
|
998
|
-
const nsid = '
|
|
1077
|
+
importRepo(cfg) {
|
|
1078
|
+
const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
|
|
999
1079
|
return this._server.xrpc.method(nsid, cfg);
|
|
1000
1080
|
}
|
|
1001
|
-
|
|
1002
|
-
const nsid = '
|
|
1081
|
+
listMissingBlobs(cfg) {
|
|
1082
|
+
const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
|
|
1003
1083
|
return this._server.xrpc.method(nsid, cfg);
|
|
1004
1084
|
}
|
|
1005
|
-
|
|
1006
|
-
const nsid = '
|
|
1085
|
+
listRecords(cfg) {
|
|
1086
|
+
const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
|
|
1007
1087
|
return this._server.xrpc.method(nsid, cfg);
|
|
1008
1088
|
}
|
|
1009
|
-
|
|
1010
|
-
const nsid = '
|
|
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
|
-
|
|
1015
|
-
|
|
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.
|
|
1027
|
-
class
|
|
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
|
-
|
|
1038
|
-
const nsid = '
|
|
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
|
-
|
|
1058
|
-
const nsid = '
|
|
1113
|
+
checkAccountStatus(cfg) {
|
|
1114
|
+
const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
|
|
1059
1115
|
return this._server.xrpc.method(nsid, cfg);
|
|
1060
1116
|
}
|
|
1061
|
-
|
|
1062
|
-
const nsid = '
|
|
1117
|
+
confirmEmail(cfg) {
|
|
1118
|
+
const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
|
|
1063
1119
|
return this._server.xrpc.method(nsid, cfg);
|
|
1064
1120
|
}
|
|
1065
|
-
|
|
1066
|
-
const nsid = '
|
|
1121
|
+
createAccount(cfg) {
|
|
1122
|
+
const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
|
|
1067
1123
|
return this._server.xrpc.method(nsid, cfg);
|
|
1068
1124
|
}
|
|
1069
|
-
|
|
1070
|
-
const nsid = '
|
|
1125
|
+
createAppPassword(cfg) {
|
|
1126
|
+
const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
|
|
1071
1127
|
return this._server.xrpc.method(nsid, cfg);
|
|
1072
1128
|
}
|
|
1073
|
-
|
|
1074
|
-
const nsid = '
|
|
1129
|
+
createInviteCode(cfg) {
|
|
1130
|
+
const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
|
|
1075
1131
|
return this._server.xrpc.method(nsid, cfg);
|
|
1076
1132
|
}
|
|
1077
|
-
|
|
1078
|
-
const nsid = '
|
|
1133
|
+
createInviteCodes(cfg) {
|
|
1134
|
+
const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
|
|
1079
1135
|
return this._server.xrpc.method(nsid, cfg);
|
|
1080
1136
|
}
|
|
1081
|
-
|
|
1082
|
-
const nsid = '
|
|
1137
|
+
createSession(cfg) {
|
|
1138
|
+
const nsid = 'com.atproto.server.createSession'; // @ts-ignore
|
|
1083
1139
|
return this._server.xrpc.method(nsid, cfg);
|
|
1084
1140
|
}
|
|
1085
|
-
|
|
1086
|
-
const nsid = '
|
|
1141
|
+
deactivateAccount(cfg) {
|
|
1142
|
+
const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
|
|
1087
1143
|
return this._server.xrpc.method(nsid, cfg);
|
|
1088
1144
|
}
|
|
1089
|
-
|
|
1090
|
-
const nsid = '
|
|
1145
|
+
deleteAccount(cfg) {
|
|
1146
|
+
const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
|
|
1091
1147
|
return this._server.xrpc.method(nsid, cfg);
|
|
1092
1148
|
}
|
|
1093
|
-
|
|
1094
|
-
const nsid = '
|
|
1149
|
+
deleteSession(cfg) {
|
|
1150
|
+
const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
|
|
1095
1151
|
return this._server.xrpc.method(nsid, cfg);
|
|
1096
1152
|
}
|
|
1097
|
-
|
|
1098
|
-
const nsid = '
|
|
1153
|
+
describeServer(cfg) {
|
|
1154
|
+
const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
|
|
1099
1155
|
return this._server.xrpc.method(nsid, cfg);
|
|
1100
1156
|
}
|
|
1101
|
-
|
|
1102
|
-
const nsid = '
|
|
1157
|
+
getAccountInviteCodes(cfg) {
|
|
1158
|
+
const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
|
|
1103
1159
|
return this._server.xrpc.method(nsid, cfg);
|
|
1104
1160
|
}
|
|
1105
|
-
|
|
1106
|
-
const nsid = '
|
|
1161
|
+
getServiceAuth(cfg) {
|
|
1162
|
+
const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
|
|
1107
1163
|
return this._server.xrpc.method(nsid, cfg);
|
|
1108
1164
|
}
|
|
1109
|
-
|
|
1110
|
-
const nsid = '
|
|
1165
|
+
getSession(cfg) {
|
|
1166
|
+
const nsid = 'com.atproto.server.getSession'; // @ts-ignore
|
|
1111
1167
|
return this._server.xrpc.method(nsid, cfg);
|
|
1112
1168
|
}
|
|
1113
|
-
|
|
1114
|
-
const nsid = '
|
|
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
|
-
|
|
1119
|
-
|
|
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
|
-
|
|
1130
|
-
const nsid = '
|
|
1177
|
+
requestAccountDelete(cfg) {
|
|
1178
|
+
const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
|
|
1131
1179
|
return this._server.xrpc.method(nsid, cfg);
|
|
1132
1180
|
}
|
|
1133
|
-
|
|
1134
|
-
const nsid = '
|
|
1181
|
+
requestEmailConfirmation(cfg) {
|
|
1182
|
+
const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
|
|
1135
1183
|
return this._server.xrpc.method(nsid, cfg);
|
|
1136
1184
|
}
|
|
1137
|
-
|
|
1138
|
-
const nsid = '
|
|
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
|
-
|
|
1143
|
-
|
|
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
|
-
|
|
1162
|
-
|
|
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
|
-
|
|
1195
|
-
|
|
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
|
-
|
|
1206
|
-
const nsid = '
|
|
1201
|
+
revokeAppPassword(cfg) {
|
|
1202
|
+
const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
|
|
1207
1203
|
return this._server.xrpc.method(nsid, cfg);
|
|
1208
1204
|
}
|
|
1209
|
-
|
|
1210
|
-
const nsid = '
|
|
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.
|
|
1215
|
-
class
|
|
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
|
-
|
|
1226
|
-
const nsid = '
|
|
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
|
-
|
|
1234
|
-
const nsid = '
|
|
1225
|
+
getBlocks(cfg) {
|
|
1226
|
+
const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
|
|
1235
1227
|
return this._server.xrpc.method(nsid, cfg);
|
|
1236
1228
|
}
|
|
1237
|
-
|
|
1238
|
-
const nsid = '
|
|
1229
|
+
getCheckout(cfg) {
|
|
1230
|
+
const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
|
|
1239
1231
|
return this._server.xrpc.method(nsid, cfg);
|
|
1240
1232
|
}
|
|
1241
|
-
|
|
1242
|
-
const nsid = '
|
|
1233
|
+
getHead(cfg) {
|
|
1234
|
+
const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
|
|
1243
1235
|
return this._server.xrpc.method(nsid, cfg);
|
|
1244
1236
|
}
|
|
1245
|
-
|
|
1246
|
-
const nsid = '
|
|
1237
|
+
getHostStatus(cfg) {
|
|
1238
|
+
const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
|
|
1247
1239
|
return this._server.xrpc.method(nsid, cfg);
|
|
1248
1240
|
}
|
|
1249
|
-
|
|
1250
|
-
const nsid = '
|
|
1241
|
+
getLatestCommit(cfg) {
|
|
1242
|
+
const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
|
|
1251
1243
|
return this._server.xrpc.method(nsid, cfg);
|
|
1252
1244
|
}
|
|
1253
|
-
|
|
1254
|
-
const nsid = '
|
|
1245
|
+
getRecord(cfg) {
|
|
1246
|
+
const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
|
|
1255
1247
|
return this._server.xrpc.method(nsid, cfg);
|
|
1256
1248
|
}
|
|
1257
|
-
|
|
1258
|
-
const nsid = '
|
|
1249
|
+
getRepo(cfg) {
|
|
1250
|
+
const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
|
|
1259
1251
|
return this._server.xrpc.method(nsid, cfg);
|
|
1260
1252
|
}
|
|
1261
|
-
|
|
1262
|
-
const nsid = '
|
|
1253
|
+
getRepoStatus(cfg) {
|
|
1254
|
+
const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
|
|
1263
1255
|
return this._server.xrpc.method(nsid, cfg);
|
|
1264
1256
|
}
|
|
1265
|
-
|
|
1266
|
-
const nsid = '
|
|
1257
|
+
listBlobs(cfg) {
|
|
1258
|
+
const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
|
|
1267
1259
|
return this._server.xrpc.method(nsid, cfg);
|
|
1268
1260
|
}
|
|
1269
|
-
|
|
1270
|
-
const nsid = '
|
|
1261
|
+
listHosts(cfg) {
|
|
1262
|
+
const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
|
|
1271
1263
|
return this._server.xrpc.method(nsid, cfg);
|
|
1272
1264
|
}
|
|
1273
|
-
|
|
1274
|
-
const nsid = '
|
|
1265
|
+
listRepos(cfg) {
|
|
1266
|
+
const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
|
|
1275
1267
|
return this._server.xrpc.method(nsid, cfg);
|
|
1276
1268
|
}
|
|
1277
|
-
|
|
1278
|
-
const nsid = '
|
|
1269
|
+
listReposByCollection(cfg) {
|
|
1270
|
+
const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
|
|
1279
1271
|
return this._server.xrpc.method(nsid, cfg);
|
|
1280
1272
|
}
|
|
1281
|
-
|
|
1282
|
-
const nsid = '
|
|
1273
|
+
notifyOfUpdate(cfg) {
|
|
1274
|
+
const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
|
|
1283
1275
|
return this._server.xrpc.method(nsid, cfg);
|
|
1284
1276
|
}
|
|
1285
|
-
|
|
1286
|
-
const nsid = '
|
|
1277
|
+
requestCrawl(cfg) {
|
|
1278
|
+
const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
|
|
1287
1279
|
return this._server.xrpc.method(nsid, cfg);
|
|
1288
1280
|
}
|
|
1289
|
-
|
|
1290
|
-
const nsid = '
|
|
1291
|
-
return this._server.xrpc.
|
|
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.
|
|
1295
|
-
class
|
|
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
|
-
|
|
1306
|
-
const nsid = '
|
|
1297
|
+
addReservedHandle(cfg) {
|
|
1298
|
+
const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
|
|
1307
1299
|
return this._server.xrpc.method(nsid, cfg);
|
|
1308
1300
|
}
|
|
1309
|
-
|
|
1310
|
-
const nsid = '
|
|
1301
|
+
checkHandleAvailability(cfg) {
|
|
1302
|
+
const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
|
|
1311
1303
|
return this._server.xrpc.method(nsid, cfg);
|
|
1312
1304
|
}
|
|
1313
|
-
|
|
1314
|
-
const nsid = '
|
|
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.
|
|
1318
|
+
exports.ComAtprotoTempNS = ComAtprotoTempNS;
|
|
1319
1319
|
//# sourceMappingURL=index.js.map
|