@atproto/bsky 0.0.176 → 0.0.178
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 +19 -0
- package/dist/api/app/bsky/graph/getList.js +1 -6
- package/dist/api/app/bsky/graph/getList.js.map +1 -1
- package/dist/api/app/bsky/graph/getLists.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getLists.js +16 -4
- package/dist/api/app/bsky/graph/getLists.js.map +1 -1
- package/dist/api/app/bsky/graph/getListsWithMembership.d.ts +4 -0
- package/dist/api/app/bsky/graph/getListsWithMembership.d.ts.map +1 -0
- package/dist/api/app/bsky/graph/getListsWithMembership.js +88 -0
- package/dist/api/app/bsky/graph/getListsWithMembership.js.map +1 -0
- package/dist/api/app/bsky/graph/getStarterPacksWithMembership.d.ts +4 -0
- package/dist/api/app/bsky/graph/getStarterPacksWithMembership.d.ts.map +1 -0
- package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js +72 -0
- package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/api/index.js.map +1 -1
- package/dist/hydration/graph.d.ts +4 -0
- package/dist/hydration/graph.d.ts.map +1 -1
- package/dist/hydration/graph.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +3 -1
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +27 -0
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/lexicon/index.d.ts +234 -230
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +682 -674
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +17073 -16785
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +9126 -8980
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getLists.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/graph/getLists.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.js +16 -0
- package/dist/lexicon/types/app/bsky/graph/getListsWithMembership.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.d.ts +38 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.js +16 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -0
- package/dist/views/index.d.ts +2 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +6 -0
- package/dist/views/index.js.map +1 -1
- package/package.json +11 -11
- package/src/api/app/bsky/graph/getList.ts +3 -5
- package/src/api/app/bsky/graph/getLists.ts +18 -5
- package/src/api/app/bsky/graph/getListsWithMembership.ts +139 -0
- package/src/api/app/bsky/graph/getStarterPacksWithMembership.ts +135 -0
- package/src/api/index.ts +4 -0
- package/src/hydration/graph.ts +8 -0
- package/src/hydration/hydrator.ts +43 -0
- package/src/lexicon/index.ts +1247 -1221
- package/src/lexicon/lexicons.ts +9494 -9341
- package/src/lexicon/types/app/bsky/graph/getLists.ts +2 -0
- package/src/lexicon/types/app/bsky/graph/getListsWithMembership.ts +63 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacksWithMembership.ts +65 -0
- package/src/views/index.ts +11 -0
- package/tests/views/__snapshots__/lists.test.ts.snap +160 -8
- package/tests/views/lists.test.ts +270 -36
- package/tests/views/starter-packs.test.ts +132 -3
- package/tsconfig.build.tsbuildinfo +1 -1
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,209 +316,181 @@ 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
337
|
return this._server.xrpc.method(nsid, cfg);
|
|
338
338
|
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
class ComAtprotoRepoNS {
|
|
342
|
-
constructor(server) {
|
|
343
|
-
Object.defineProperty(this, "_server", {
|
|
344
|
-
enumerable: true,
|
|
345
|
-
configurable: true,
|
|
346
|
-
writable: true,
|
|
347
|
-
value: void 0
|
|
348
|
-
});
|
|
349
|
-
this._server = server;
|
|
350
|
-
}
|
|
351
|
-
applyWrites(cfg) {
|
|
352
|
-
const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
|
|
353
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
354
|
-
}
|
|
355
|
-
createRecord(cfg) {
|
|
356
|
-
const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
|
|
357
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
358
|
-
}
|
|
359
|
-
deleteRecord(cfg) {
|
|
360
|
-
const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
|
|
361
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
362
|
-
}
|
|
363
|
-
describeRepo(cfg) {
|
|
364
|
-
const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
|
|
339
|
+
getList(cfg) {
|
|
340
|
+
const nsid = 'app.bsky.graph.getList'; // @ts-ignore
|
|
365
341
|
return this._server.xrpc.method(nsid, cfg);
|
|
366
342
|
}
|
|
367
|
-
|
|
368
|
-
const nsid = '
|
|
343
|
+
getListBlocks(cfg) {
|
|
344
|
+
const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
|
|
369
345
|
return this._server.xrpc.method(nsid, cfg);
|
|
370
346
|
}
|
|
371
|
-
|
|
372
|
-
const nsid = '
|
|
347
|
+
getListMutes(cfg) {
|
|
348
|
+
const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
|
|
373
349
|
return this._server.xrpc.method(nsid, cfg);
|
|
374
350
|
}
|
|
375
|
-
|
|
376
|
-
const nsid = '
|
|
351
|
+
getLists(cfg) {
|
|
352
|
+
const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
|
|
377
353
|
return this._server.xrpc.method(nsid, cfg);
|
|
378
354
|
}
|
|
379
|
-
|
|
380
|
-
const nsid = '
|
|
355
|
+
getListsWithMembership(cfg) {
|
|
356
|
+
const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
|
|
381
357
|
return this._server.xrpc.method(nsid, cfg);
|
|
382
358
|
}
|
|
383
|
-
|
|
384
|
-
const nsid = '
|
|
359
|
+
getMutes(cfg) {
|
|
360
|
+
const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
|
|
385
361
|
return this._server.xrpc.method(nsid, cfg);
|
|
386
362
|
}
|
|
387
|
-
|
|
388
|
-
const nsid = '
|
|
363
|
+
getRelationships(cfg) {
|
|
364
|
+
const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
|
|
389
365
|
return this._server.xrpc.method(nsid, cfg);
|
|
390
366
|
}
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
class ComAtprotoServerNS {
|
|
394
|
-
constructor(server) {
|
|
395
|
-
Object.defineProperty(this, "_server", {
|
|
396
|
-
enumerable: true,
|
|
397
|
-
configurable: true,
|
|
398
|
-
writable: true,
|
|
399
|
-
value: void 0
|
|
400
|
-
});
|
|
401
|
-
this._server = server;
|
|
402
|
-
}
|
|
403
|
-
activateAccount(cfg) {
|
|
404
|
-
const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
|
|
367
|
+
getStarterPack(cfg) {
|
|
368
|
+
const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
|
|
405
369
|
return this._server.xrpc.method(nsid, cfg);
|
|
406
370
|
}
|
|
407
|
-
|
|
408
|
-
const nsid = '
|
|
371
|
+
getStarterPacks(cfg) {
|
|
372
|
+
const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
|
|
409
373
|
return this._server.xrpc.method(nsid, cfg);
|
|
410
374
|
}
|
|
411
|
-
|
|
412
|
-
const nsid = '
|
|
375
|
+
getStarterPacksWithMembership(cfg) {
|
|
376
|
+
const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
|
|
413
377
|
return this._server.xrpc.method(nsid, cfg);
|
|
414
378
|
}
|
|
415
|
-
|
|
416
|
-
const nsid = '
|
|
379
|
+
getSuggestedFollowsByActor(cfg) {
|
|
380
|
+
const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
|
|
417
381
|
return this._server.xrpc.method(nsid, cfg);
|
|
418
382
|
}
|
|
419
|
-
|
|
420
|
-
const nsid = '
|
|
383
|
+
muteActor(cfg) {
|
|
384
|
+
const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
|
|
421
385
|
return this._server.xrpc.method(nsid, cfg);
|
|
422
386
|
}
|
|
423
|
-
|
|
424
|
-
const nsid = '
|
|
387
|
+
muteActorList(cfg) {
|
|
388
|
+
const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
|
|
425
389
|
return this._server.xrpc.method(nsid, cfg);
|
|
426
390
|
}
|
|
427
|
-
|
|
428
|
-
const nsid = '
|
|
391
|
+
muteThread(cfg) {
|
|
392
|
+
const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
|
|
429
393
|
return this._server.xrpc.method(nsid, cfg);
|
|
430
394
|
}
|
|
431
|
-
|
|
432
|
-
const nsid = '
|
|
395
|
+
searchStarterPacks(cfg) {
|
|
396
|
+
const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
|
|
433
397
|
return this._server.xrpc.method(nsid, cfg);
|
|
434
398
|
}
|
|
435
|
-
|
|
436
|
-
const nsid = '
|
|
399
|
+
unmuteActor(cfg) {
|
|
400
|
+
const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
|
|
437
401
|
return this._server.xrpc.method(nsid, cfg);
|
|
438
402
|
}
|
|
439
|
-
|
|
440
|
-
const nsid = '
|
|
403
|
+
unmuteActorList(cfg) {
|
|
404
|
+
const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
|
|
441
405
|
return this._server.xrpc.method(nsid, cfg);
|
|
442
406
|
}
|
|
443
|
-
|
|
444
|
-
const nsid = '
|
|
407
|
+
unmuteThread(cfg) {
|
|
408
|
+
const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
|
|
445
409
|
return this._server.xrpc.method(nsid, cfg);
|
|
446
410
|
}
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
411
|
+
}
|
|
412
|
+
exports.AppBskyGraphNS = AppBskyGraphNS;
|
|
413
|
+
class AppBskyLabelerNS {
|
|
414
|
+
constructor(server) {
|
|
415
|
+
Object.defineProperty(this, "_server", {
|
|
416
|
+
enumerable: true,
|
|
417
|
+
configurable: true,
|
|
418
|
+
writable: true,
|
|
419
|
+
value: void 0
|
|
420
|
+
});
|
|
421
|
+
this._server = server;
|
|
450
422
|
}
|
|
451
|
-
|
|
452
|
-
const nsid = '
|
|
423
|
+
getServices(cfg) {
|
|
424
|
+
const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
|
|
453
425
|
return this._server.xrpc.method(nsid, cfg);
|
|
454
426
|
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
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;
|
|
458
438
|
}
|
|
459
|
-
|
|
460
|
-
const nsid = '
|
|
439
|
+
getPreferences(cfg) {
|
|
440
|
+
const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
|
|
461
441
|
return this._server.xrpc.method(nsid, cfg);
|
|
462
442
|
}
|
|
463
|
-
|
|
464
|
-
const nsid = '
|
|
443
|
+
getUnreadCount(cfg) {
|
|
444
|
+
const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
|
|
465
445
|
return this._server.xrpc.method(nsid, cfg);
|
|
466
446
|
}
|
|
467
|
-
|
|
468
|
-
const nsid = '
|
|
447
|
+
listActivitySubscriptions(cfg) {
|
|
448
|
+
const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
|
|
469
449
|
return this._server.xrpc.method(nsid, cfg);
|
|
470
450
|
}
|
|
471
|
-
|
|
472
|
-
const nsid = '
|
|
451
|
+
listNotifications(cfg) {
|
|
452
|
+
const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
|
|
473
453
|
return this._server.xrpc.method(nsid, cfg);
|
|
474
454
|
}
|
|
475
|
-
|
|
476
|
-
const nsid = '
|
|
455
|
+
putActivitySubscription(cfg) {
|
|
456
|
+
const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
|
|
477
457
|
return this._server.xrpc.method(nsid, cfg);
|
|
478
458
|
}
|
|
479
|
-
|
|
480
|
-
const nsid = '
|
|
459
|
+
putPreferences(cfg) {
|
|
460
|
+
const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
|
|
481
461
|
return this._server.xrpc.method(nsid, cfg);
|
|
482
462
|
}
|
|
483
|
-
|
|
484
|
-
const nsid = '
|
|
463
|
+
putPreferencesV2(cfg) {
|
|
464
|
+
const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
|
|
485
465
|
return this._server.xrpc.method(nsid, cfg);
|
|
486
466
|
}
|
|
487
|
-
|
|
488
|
-
const nsid = '
|
|
467
|
+
registerPush(cfg) {
|
|
468
|
+
const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
|
|
489
469
|
return this._server.xrpc.method(nsid, cfg);
|
|
490
470
|
}
|
|
491
|
-
|
|
492
|
-
const nsid = '
|
|
471
|
+
unregisterPush(cfg) {
|
|
472
|
+
const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
|
|
493
473
|
return this._server.xrpc.method(nsid, cfg);
|
|
494
474
|
}
|
|
495
|
-
|
|
496
|
-
const nsid = '
|
|
475
|
+
updateSeen(cfg) {
|
|
476
|
+
const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
|
|
497
477
|
return this._server.xrpc.method(nsid, cfg);
|
|
498
478
|
}
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
479
|
+
}
|
|
480
|
+
exports.AppBskyNotificationNS = AppBskyNotificationNS;
|
|
481
|
+
class AppBskyRichtextNS {
|
|
482
|
+
constructor(server) {
|
|
483
|
+
Object.defineProperty(this, "_server", {
|
|
484
|
+
enumerable: true,
|
|
485
|
+
configurable: true,
|
|
486
|
+
writable: true,
|
|
487
|
+
value: void 0
|
|
488
|
+
});
|
|
489
|
+
this._server = server;
|
|
502
490
|
}
|
|
503
491
|
}
|
|
504
|
-
exports.
|
|
505
|
-
class
|
|
492
|
+
exports.AppBskyRichtextNS = AppBskyRichtextNS;
|
|
493
|
+
class AppBskyUnspeccedNS {
|
|
506
494
|
constructor(server) {
|
|
507
495
|
Object.defineProperty(this, "_server", {
|
|
508
496
|
enumerable: true,
|
|
@@ -512,73 +500,89 @@ class ComAtprotoSyncNS {
|
|
|
512
500
|
});
|
|
513
501
|
this._server = server;
|
|
514
502
|
}
|
|
515
|
-
|
|
516
|
-
const nsid = '
|
|
503
|
+
getAgeAssuranceState(cfg) {
|
|
504
|
+
const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
|
|
517
505
|
return this._server.xrpc.method(nsid, cfg);
|
|
518
506
|
}
|
|
519
|
-
|
|
520
|
-
const nsid = '
|
|
507
|
+
getConfig(cfg) {
|
|
508
|
+
const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
|
|
521
509
|
return this._server.xrpc.method(nsid, cfg);
|
|
522
510
|
}
|
|
523
|
-
|
|
524
|
-
const nsid = '
|
|
511
|
+
getPopularFeedGenerators(cfg) {
|
|
512
|
+
const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
|
|
525
513
|
return this._server.xrpc.method(nsid, cfg);
|
|
526
514
|
}
|
|
527
|
-
|
|
528
|
-
const nsid = '
|
|
515
|
+
getPostThreadOtherV2(cfg) {
|
|
516
|
+
const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
|
|
529
517
|
return this._server.xrpc.method(nsid, cfg);
|
|
530
518
|
}
|
|
531
|
-
|
|
532
|
-
const nsid = '
|
|
519
|
+
getPostThreadV2(cfg) {
|
|
520
|
+
const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
|
|
533
521
|
return this._server.xrpc.method(nsid, cfg);
|
|
534
522
|
}
|
|
535
|
-
|
|
536
|
-
const nsid = '
|
|
523
|
+
getSuggestedFeeds(cfg) {
|
|
524
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
|
|
537
525
|
return this._server.xrpc.method(nsid, cfg);
|
|
538
526
|
}
|
|
539
|
-
|
|
540
|
-
const nsid = '
|
|
527
|
+
getSuggestedFeedsSkeleton(cfg) {
|
|
528
|
+
const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
|
|
541
529
|
return this._server.xrpc.method(nsid, cfg);
|
|
542
530
|
}
|
|
543
|
-
|
|
544
|
-
const nsid = '
|
|
531
|
+
getSuggestedStarterPacks(cfg) {
|
|
532
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
|
|
545
533
|
return this._server.xrpc.method(nsid, cfg);
|
|
546
534
|
}
|
|
547
|
-
|
|
548
|
-
const nsid = '
|
|
535
|
+
getSuggestedStarterPacksSkeleton(cfg) {
|
|
536
|
+
const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
|
|
549
537
|
return this._server.xrpc.method(nsid, cfg);
|
|
550
538
|
}
|
|
551
|
-
|
|
552
|
-
const nsid = '
|
|
539
|
+
getSuggestedUsers(cfg) {
|
|
540
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
|
|
553
541
|
return this._server.xrpc.method(nsid, cfg);
|
|
554
542
|
}
|
|
555
|
-
|
|
556
|
-
const nsid = '
|
|
543
|
+
getSuggestedUsersSkeleton(cfg) {
|
|
544
|
+
const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
|
|
557
545
|
return this._server.xrpc.method(nsid, cfg);
|
|
558
546
|
}
|
|
559
|
-
|
|
560
|
-
const nsid = '
|
|
547
|
+
getSuggestionsSkeleton(cfg) {
|
|
548
|
+
const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
|
|
561
549
|
return this._server.xrpc.method(nsid, cfg);
|
|
562
550
|
}
|
|
563
|
-
|
|
564
|
-
const nsid = '
|
|
551
|
+
getTaggedSuggestions(cfg) {
|
|
552
|
+
const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
|
|
565
553
|
return this._server.xrpc.method(nsid, cfg);
|
|
566
554
|
}
|
|
567
|
-
|
|
568
|
-
const nsid = '
|
|
555
|
+
getTrendingTopics(cfg) {
|
|
556
|
+
const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
|
|
569
557
|
return this._server.xrpc.method(nsid, cfg);
|
|
570
558
|
}
|
|
571
|
-
|
|
572
|
-
const nsid = '
|
|
559
|
+
getTrends(cfg) {
|
|
560
|
+
const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
|
|
573
561
|
return this._server.xrpc.method(nsid, cfg);
|
|
574
562
|
}
|
|
575
|
-
|
|
576
|
-
const nsid = '
|
|
577
|
-
return this._server.xrpc.
|
|
563
|
+
getTrendsSkeleton(cfg) {
|
|
564
|
+
const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
|
|
565
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
566
|
+
}
|
|
567
|
+
initAgeAssurance(cfg) {
|
|
568
|
+
const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
|
|
569
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
570
|
+
}
|
|
571
|
+
searchActorsSkeleton(cfg) {
|
|
572
|
+
const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
|
|
573
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
574
|
+
}
|
|
575
|
+
searchPostsSkeleton(cfg) {
|
|
576
|
+
const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
|
|
577
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
578
|
+
}
|
|
579
|
+
searchStarterPacksSkeleton(cfg) {
|
|
580
|
+
const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
|
|
581
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
578
582
|
}
|
|
579
583
|
}
|
|
580
|
-
exports.
|
|
581
|
-
class
|
|
584
|
+
exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
|
|
585
|
+
class AppBskyVideoNS {
|
|
582
586
|
constructor(server) {
|
|
583
587
|
Object.defineProperty(this, "_server", {
|
|
584
588
|
enumerable: true,
|
|
@@ -588,29 +592,21 @@ class ComAtprotoTempNS {
|
|
|
588
592
|
});
|
|
589
593
|
this._server = server;
|
|
590
594
|
}
|
|
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
|
|
595
|
+
getJobStatus(cfg) {
|
|
596
|
+
const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
|
|
601
597
|
return this._server.xrpc.method(nsid, cfg);
|
|
602
598
|
}
|
|
603
|
-
|
|
604
|
-
const nsid = '
|
|
599
|
+
getUploadLimits(cfg) {
|
|
600
|
+
const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
|
|
605
601
|
return this._server.xrpc.method(nsid, cfg);
|
|
606
602
|
}
|
|
607
|
-
|
|
608
|
-
const nsid = '
|
|
603
|
+
uploadVideo(cfg) {
|
|
604
|
+
const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
|
|
609
605
|
return this._server.xrpc.method(nsid, cfg);
|
|
610
606
|
}
|
|
611
607
|
}
|
|
612
|
-
exports.
|
|
613
|
-
class
|
|
608
|
+
exports.AppBskyVideoNS = AppBskyVideoNS;
|
|
609
|
+
class ChatNS {
|
|
614
610
|
constructor(server) {
|
|
615
611
|
Object.defineProperty(this, "_server", {
|
|
616
612
|
enumerable: true,
|
|
@@ -625,11 +621,11 @@ class AppNS {
|
|
|
625
621
|
value: void 0
|
|
626
622
|
});
|
|
627
623
|
this._server = server;
|
|
628
|
-
this.bsky = new
|
|
624
|
+
this.bsky = new ChatBskyNS(server);
|
|
629
625
|
}
|
|
630
626
|
}
|
|
631
|
-
exports.
|
|
632
|
-
class
|
|
627
|
+
exports.ChatNS = ChatNS;
|
|
628
|
+
class ChatBskyNS {
|
|
633
629
|
constructor(server) {
|
|
634
630
|
Object.defineProperty(this, "_server", {
|
|
635
631
|
enumerable: true,
|
|
@@ -643,68 +639,26 @@ class AppBskyNS {
|
|
|
643
639
|
writable: true,
|
|
644
640
|
value: void 0
|
|
645
641
|
});
|
|
646
|
-
Object.defineProperty(this, "
|
|
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", {
|
|
665
|
-
enumerable: true,
|
|
666
|
-
configurable: true,
|
|
667
|
-
writable: true,
|
|
668
|
-
value: void 0
|
|
669
|
-
});
|
|
670
|
-
Object.defineProperty(this, "notification", {
|
|
671
|
-
enumerable: true,
|
|
672
|
-
configurable: true,
|
|
673
|
-
writable: true,
|
|
674
|
-
value: void 0
|
|
675
|
-
});
|
|
676
|
-
Object.defineProperty(this, "richtext", {
|
|
677
|
-
enumerable: true,
|
|
678
|
-
configurable: true,
|
|
679
|
-
writable: true,
|
|
680
|
-
value: void 0
|
|
681
|
-
});
|
|
682
|
-
Object.defineProperty(this, "unspecced", {
|
|
642
|
+
Object.defineProperty(this, "convo", {
|
|
683
643
|
enumerable: true,
|
|
684
644
|
configurable: true,
|
|
685
645
|
writable: true,
|
|
686
646
|
value: void 0
|
|
687
647
|
});
|
|
688
|
-
Object.defineProperty(this, "
|
|
648
|
+
Object.defineProperty(this, "moderation", {
|
|
689
649
|
enumerable: true,
|
|
690
650
|
configurable: true,
|
|
691
651
|
writable: true,
|
|
692
652
|
value: void 0
|
|
693
653
|
});
|
|
694
654
|
this._server = server;
|
|
695
|
-
this.actor = new
|
|
696
|
-
this.
|
|
697
|
-
this.
|
|
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);
|
|
655
|
+
this.actor = new ChatBskyActorNS(server);
|
|
656
|
+
this.convo = new ChatBskyConvoNS(server);
|
|
657
|
+
this.moderation = new ChatBskyModerationNS(server);
|
|
704
658
|
}
|
|
705
659
|
}
|
|
706
|
-
exports.
|
|
707
|
-
class
|
|
660
|
+
exports.ChatBskyNS = ChatBskyNS;
|
|
661
|
+
class ChatBskyActorNS {
|
|
708
662
|
constructor(server) {
|
|
709
663
|
Object.defineProperty(this, "_server", {
|
|
710
664
|
enumerable: true,
|
|
@@ -714,49 +668,17 @@ class AppBskyActorNS {
|
|
|
714
668
|
});
|
|
715
669
|
this._server = server;
|
|
716
670
|
}
|
|
717
|
-
|
|
718
|
-
const nsid = '
|
|
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
|
|
671
|
+
deleteAccount(cfg) {
|
|
672
|
+
const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
|
|
739
673
|
return this._server.xrpc.method(nsid, cfg);
|
|
740
674
|
}
|
|
741
|
-
|
|
742
|
-
const nsid = '
|
|
675
|
+
exportAccountData(cfg) {
|
|
676
|
+
const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
|
|
743
677
|
return this._server.xrpc.method(nsid, cfg);
|
|
744
678
|
}
|
|
745
679
|
}
|
|
746
|
-
exports.
|
|
747
|
-
class
|
|
748
|
-
constructor(server) {
|
|
749
|
-
Object.defineProperty(this, "_server", {
|
|
750
|
-
enumerable: true,
|
|
751
|
-
configurable: true,
|
|
752
|
-
writable: true,
|
|
753
|
-
value: void 0
|
|
754
|
-
});
|
|
755
|
-
this._server = server;
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
exports.AppBskyEmbedNS = AppBskyEmbedNS;
|
|
759
|
-
class AppBskyFeedNS {
|
|
680
|
+
exports.ChatBskyActorNS = ChatBskyActorNS;
|
|
681
|
+
class ChatBskyConvoNS {
|
|
760
682
|
constructor(server) {
|
|
761
683
|
Object.defineProperty(this, "_server", {
|
|
762
684
|
enumerable: true,
|
|
@@ -766,81 +688,77 @@ class AppBskyFeedNS {
|
|
|
766
688
|
});
|
|
767
689
|
this._server = server;
|
|
768
690
|
}
|
|
769
|
-
|
|
770
|
-
const nsid = '
|
|
771
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
772
|
-
}
|
|
773
|
-
getActorFeeds(cfg) {
|
|
774
|
-
const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
|
|
691
|
+
acceptConvo(cfg) {
|
|
692
|
+
const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
|
|
775
693
|
return this._server.xrpc.method(nsid, cfg);
|
|
776
694
|
}
|
|
777
|
-
|
|
778
|
-
const nsid = '
|
|
695
|
+
addReaction(cfg) {
|
|
696
|
+
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
|
779
697
|
return this._server.xrpc.method(nsid, cfg);
|
|
780
698
|
}
|
|
781
|
-
|
|
782
|
-
const nsid = '
|
|
699
|
+
deleteMessageForSelf(cfg) {
|
|
700
|
+
const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
|
|
783
701
|
return this._server.xrpc.method(nsid, cfg);
|
|
784
702
|
}
|
|
785
|
-
|
|
786
|
-
const nsid = '
|
|
703
|
+
getConvo(cfg) {
|
|
704
|
+
const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
|
|
787
705
|
return this._server.xrpc.method(nsid, cfg);
|
|
788
706
|
}
|
|
789
|
-
|
|
790
|
-
const nsid = '
|
|
707
|
+
getConvoAvailability(cfg) {
|
|
708
|
+
const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
|
|
791
709
|
return this._server.xrpc.method(nsid, cfg);
|
|
792
710
|
}
|
|
793
|
-
|
|
794
|
-
const nsid = '
|
|
711
|
+
getConvoForMembers(cfg) {
|
|
712
|
+
const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
|
|
795
713
|
return this._server.xrpc.method(nsid, cfg);
|
|
796
714
|
}
|
|
797
|
-
|
|
798
|
-
const nsid = '
|
|
715
|
+
getLog(cfg) {
|
|
716
|
+
const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
|
|
799
717
|
return this._server.xrpc.method(nsid, cfg);
|
|
800
718
|
}
|
|
801
|
-
|
|
802
|
-
const nsid = '
|
|
719
|
+
getMessages(cfg) {
|
|
720
|
+
const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
|
|
803
721
|
return this._server.xrpc.method(nsid, cfg);
|
|
804
722
|
}
|
|
805
|
-
|
|
806
|
-
const nsid = '
|
|
723
|
+
leaveConvo(cfg) {
|
|
724
|
+
const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
|
|
807
725
|
return this._server.xrpc.method(nsid, cfg);
|
|
808
726
|
}
|
|
809
|
-
|
|
810
|
-
const nsid = '
|
|
727
|
+
listConvos(cfg) {
|
|
728
|
+
const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
|
|
811
729
|
return this._server.xrpc.method(nsid, cfg);
|
|
812
730
|
}
|
|
813
|
-
|
|
814
|
-
const nsid = '
|
|
731
|
+
muteConvo(cfg) {
|
|
732
|
+
const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
|
|
815
733
|
return this._server.xrpc.method(nsid, cfg);
|
|
816
734
|
}
|
|
817
|
-
|
|
818
|
-
const nsid = '
|
|
735
|
+
removeReaction(cfg) {
|
|
736
|
+
const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
|
|
819
737
|
return this._server.xrpc.method(nsid, cfg);
|
|
820
738
|
}
|
|
821
|
-
|
|
822
|
-
const nsid = '
|
|
739
|
+
sendMessage(cfg) {
|
|
740
|
+
const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
|
|
823
741
|
return this._server.xrpc.method(nsid, cfg);
|
|
824
742
|
}
|
|
825
|
-
|
|
826
|
-
const nsid = '
|
|
743
|
+
sendMessageBatch(cfg) {
|
|
744
|
+
const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
|
|
827
745
|
return this._server.xrpc.method(nsid, cfg);
|
|
828
746
|
}
|
|
829
|
-
|
|
830
|
-
const nsid = '
|
|
747
|
+
unmuteConvo(cfg) {
|
|
748
|
+
const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
|
|
831
749
|
return this._server.xrpc.method(nsid, cfg);
|
|
832
750
|
}
|
|
833
|
-
|
|
834
|
-
const nsid = '
|
|
751
|
+
updateAllRead(cfg) {
|
|
752
|
+
const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
|
|
835
753
|
return this._server.xrpc.method(nsid, cfg);
|
|
836
754
|
}
|
|
837
|
-
|
|
838
|
-
const nsid = '
|
|
755
|
+
updateRead(cfg) {
|
|
756
|
+
const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
|
|
839
757
|
return this._server.xrpc.method(nsid, cfg);
|
|
840
758
|
}
|
|
841
759
|
}
|
|
842
|
-
exports.
|
|
843
|
-
class
|
|
760
|
+
exports.ChatBskyConvoNS = ChatBskyConvoNS;
|
|
761
|
+
class ChatBskyModerationNS {
|
|
844
762
|
constructor(server) {
|
|
845
763
|
Object.defineProperty(this, "_server", {
|
|
846
764
|
enumerable: true,
|
|
@@ -850,109 +768,187 @@ class AppBskyGraphNS {
|
|
|
850
768
|
});
|
|
851
769
|
this._server = server;
|
|
852
770
|
}
|
|
853
|
-
|
|
854
|
-
const nsid = '
|
|
855
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
856
|
-
}
|
|
857
|
-
getBlocks(cfg) {
|
|
858
|
-
const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
|
|
859
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
860
|
-
}
|
|
861
|
-
getFollowers(cfg) {
|
|
862
|
-
const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
|
|
863
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
864
|
-
}
|
|
865
|
-
getFollows(cfg) {
|
|
866
|
-
const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
|
|
771
|
+
getActorMetadata(cfg) {
|
|
772
|
+
const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
|
|
867
773
|
return this._server.xrpc.method(nsid, cfg);
|
|
868
774
|
}
|
|
869
|
-
|
|
870
|
-
const nsid = '
|
|
775
|
+
getMessageContext(cfg) {
|
|
776
|
+
const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
|
|
871
777
|
return this._server.xrpc.method(nsid, cfg);
|
|
872
778
|
}
|
|
873
|
-
|
|
874
|
-
const nsid = '
|
|
779
|
+
updateActorAccess(cfg) {
|
|
780
|
+
const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
|
|
875
781
|
return this._server.xrpc.method(nsid, cfg);
|
|
876
782
|
}
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
783
|
+
}
|
|
784
|
+
exports.ChatBskyModerationNS = ChatBskyModerationNS;
|
|
785
|
+
class ComNS {
|
|
786
|
+
constructor(server) {
|
|
787
|
+
Object.defineProperty(this, "_server", {
|
|
788
|
+
enumerable: true,
|
|
789
|
+
configurable: true,
|
|
790
|
+
writable: true,
|
|
791
|
+
value: void 0
|
|
792
|
+
});
|
|
793
|
+
Object.defineProperty(this, "atproto", {
|
|
794
|
+
enumerable: true,
|
|
795
|
+
configurable: true,
|
|
796
|
+
writable: true,
|
|
797
|
+
value: void 0
|
|
798
|
+
});
|
|
799
|
+
this._server = server;
|
|
800
|
+
this.atproto = new ComAtprotoNS(server);
|
|
880
801
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
802
|
+
}
|
|
803
|
+
exports.ComNS = ComNS;
|
|
804
|
+
class ComAtprotoNS {
|
|
805
|
+
constructor(server) {
|
|
806
|
+
Object.defineProperty(this, "_server", {
|
|
807
|
+
enumerable: true,
|
|
808
|
+
configurable: true,
|
|
809
|
+
writable: true,
|
|
810
|
+
value: void 0
|
|
811
|
+
});
|
|
812
|
+
Object.defineProperty(this, "admin", {
|
|
813
|
+
enumerable: true,
|
|
814
|
+
configurable: true,
|
|
815
|
+
writable: true,
|
|
816
|
+
value: void 0
|
|
817
|
+
});
|
|
818
|
+
Object.defineProperty(this, "identity", {
|
|
819
|
+
enumerable: true,
|
|
820
|
+
configurable: true,
|
|
821
|
+
writable: true,
|
|
822
|
+
value: void 0
|
|
823
|
+
});
|
|
824
|
+
Object.defineProperty(this, "label", {
|
|
825
|
+
enumerable: true,
|
|
826
|
+
configurable: true,
|
|
827
|
+
writable: true,
|
|
828
|
+
value: void 0
|
|
829
|
+
});
|
|
830
|
+
Object.defineProperty(this, "lexicon", {
|
|
831
|
+
enumerable: true,
|
|
832
|
+
configurable: true,
|
|
833
|
+
writable: true,
|
|
834
|
+
value: void 0
|
|
835
|
+
});
|
|
836
|
+
Object.defineProperty(this, "moderation", {
|
|
837
|
+
enumerable: true,
|
|
838
|
+
configurable: true,
|
|
839
|
+
writable: true,
|
|
840
|
+
value: void 0
|
|
841
|
+
});
|
|
842
|
+
Object.defineProperty(this, "repo", {
|
|
843
|
+
enumerable: true,
|
|
844
|
+
configurable: true,
|
|
845
|
+
writable: true,
|
|
846
|
+
value: void 0
|
|
847
|
+
});
|
|
848
|
+
Object.defineProperty(this, "server", {
|
|
849
|
+
enumerable: true,
|
|
850
|
+
configurable: true,
|
|
851
|
+
writable: true,
|
|
852
|
+
value: void 0
|
|
853
|
+
});
|
|
854
|
+
Object.defineProperty(this, "sync", {
|
|
855
|
+
enumerable: true,
|
|
856
|
+
configurable: true,
|
|
857
|
+
writable: true,
|
|
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);
|
|
884
876
|
}
|
|
885
|
-
|
|
886
|
-
|
|
877
|
+
}
|
|
878
|
+
exports.ComAtprotoNS = ComAtprotoNS;
|
|
879
|
+
class ComAtprotoAdminNS {
|
|
880
|
+
constructor(server) {
|
|
881
|
+
Object.defineProperty(this, "_server", {
|
|
882
|
+
enumerable: true,
|
|
883
|
+
configurable: true,
|
|
884
|
+
writable: true,
|
|
885
|
+
value: void 0
|
|
886
|
+
});
|
|
887
|
+
this._server = server;
|
|
888
|
+
}
|
|
889
|
+
deleteAccount(cfg) {
|
|
890
|
+
const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
|
|
887
891
|
return this._server.xrpc.method(nsid, cfg);
|
|
888
892
|
}
|
|
889
|
-
|
|
890
|
-
const nsid = '
|
|
893
|
+
disableAccountInvites(cfg) {
|
|
894
|
+
const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
|
|
891
895
|
return this._server.xrpc.method(nsid, cfg);
|
|
892
896
|
}
|
|
893
|
-
|
|
894
|
-
const nsid = '
|
|
897
|
+
disableInviteCodes(cfg) {
|
|
898
|
+
const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
|
|
895
899
|
return this._server.xrpc.method(nsid, cfg);
|
|
896
900
|
}
|
|
897
|
-
|
|
898
|
-
const nsid = '
|
|
901
|
+
enableAccountInvites(cfg) {
|
|
902
|
+
const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
|
|
899
903
|
return this._server.xrpc.method(nsid, cfg);
|
|
900
904
|
}
|
|
901
|
-
|
|
902
|
-
const nsid = '
|
|
905
|
+
getAccountInfo(cfg) {
|
|
906
|
+
const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
|
|
903
907
|
return this._server.xrpc.method(nsid, cfg);
|
|
904
908
|
}
|
|
905
|
-
|
|
906
|
-
const nsid = '
|
|
909
|
+
getAccountInfos(cfg) {
|
|
910
|
+
const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
|
|
907
911
|
return this._server.xrpc.method(nsid, cfg);
|
|
908
912
|
}
|
|
909
|
-
|
|
910
|
-
const nsid = '
|
|
913
|
+
getInviteCodes(cfg) {
|
|
914
|
+
const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
|
|
911
915
|
return this._server.xrpc.method(nsid, cfg);
|
|
912
916
|
}
|
|
913
|
-
|
|
914
|
-
const nsid = '
|
|
917
|
+
getSubjectStatus(cfg) {
|
|
918
|
+
const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
|
|
915
919
|
return this._server.xrpc.method(nsid, cfg);
|
|
916
920
|
}
|
|
917
|
-
|
|
918
|
-
const nsid = '
|
|
921
|
+
searchAccounts(cfg) {
|
|
922
|
+
const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
|
|
919
923
|
return this._server.xrpc.method(nsid, cfg);
|
|
920
924
|
}
|
|
921
|
-
|
|
922
|
-
const nsid = '
|
|
925
|
+
sendEmail(cfg) {
|
|
926
|
+
const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
|
|
923
927
|
return this._server.xrpc.method(nsid, cfg);
|
|
924
928
|
}
|
|
925
|
-
|
|
926
|
-
const nsid = '
|
|
929
|
+
updateAccountEmail(cfg) {
|
|
930
|
+
const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
|
|
927
931
|
return this._server.xrpc.method(nsid, cfg);
|
|
928
932
|
}
|
|
929
|
-
|
|
930
|
-
const nsid = '
|
|
933
|
+
updateAccountHandle(cfg) {
|
|
934
|
+
const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
|
|
931
935
|
return this._server.xrpc.method(nsid, cfg);
|
|
932
936
|
}
|
|
933
|
-
|
|
934
|
-
const nsid = '
|
|
937
|
+
updateAccountPassword(cfg) {
|
|
938
|
+
const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
|
|
935
939
|
return this._server.xrpc.method(nsid, cfg);
|
|
936
940
|
}
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
constructor(server) {
|
|
941
|
-
Object.defineProperty(this, "_server", {
|
|
942
|
-
enumerable: true,
|
|
943
|
-
configurable: true,
|
|
944
|
-
writable: true,
|
|
945
|
-
value: void 0
|
|
946
|
-
});
|
|
947
|
-
this._server = server;
|
|
941
|
+
updateAccountSigningKey(cfg) {
|
|
942
|
+
const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
|
|
943
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
948
944
|
}
|
|
949
|
-
|
|
950
|
-
const nsid = '
|
|
945
|
+
updateSubjectStatus(cfg) {
|
|
946
|
+
const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
|
|
951
947
|
return this._server.xrpc.method(nsid, cfg);
|
|
952
948
|
}
|
|
953
949
|
}
|
|
954
|
-
exports.
|
|
955
|
-
class
|
|
950
|
+
exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
|
|
951
|
+
class ComAtprotoIdentityNS {
|
|
956
952
|
constructor(server) {
|
|
957
953
|
Object.defineProperty(this, "_server", {
|
|
958
954
|
enumerable: true,
|
|
@@ -962,49 +958,65 @@ class AppBskyNotificationNS {
|
|
|
962
958
|
});
|
|
963
959
|
this._server = server;
|
|
964
960
|
}
|
|
965
|
-
|
|
966
|
-
const nsid = '
|
|
961
|
+
getRecommendedDidCredentials(cfg) {
|
|
962
|
+
const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
|
|
967
963
|
return this._server.xrpc.method(nsid, cfg);
|
|
968
964
|
}
|
|
969
|
-
|
|
970
|
-
const nsid = '
|
|
965
|
+
refreshIdentity(cfg) {
|
|
966
|
+
const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
|
|
971
967
|
return this._server.xrpc.method(nsid, cfg);
|
|
972
968
|
}
|
|
973
|
-
|
|
974
|
-
const nsid = '
|
|
969
|
+
requestPlcOperationSignature(cfg) {
|
|
970
|
+
const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
|
|
975
971
|
return this._server.xrpc.method(nsid, cfg);
|
|
976
972
|
}
|
|
977
|
-
|
|
978
|
-
const nsid = '
|
|
973
|
+
resolveDid(cfg) {
|
|
974
|
+
const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
|
|
979
975
|
return this._server.xrpc.method(nsid, cfg);
|
|
980
976
|
}
|
|
981
|
-
|
|
982
|
-
const nsid = '
|
|
977
|
+
resolveHandle(cfg) {
|
|
978
|
+
const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
|
|
983
979
|
return this._server.xrpc.method(nsid, cfg);
|
|
984
980
|
}
|
|
985
|
-
|
|
986
|
-
const nsid = '
|
|
981
|
+
resolveIdentity(cfg) {
|
|
982
|
+
const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
|
|
987
983
|
return this._server.xrpc.method(nsid, cfg);
|
|
988
984
|
}
|
|
989
|
-
|
|
990
|
-
const nsid = '
|
|
985
|
+
signPlcOperation(cfg) {
|
|
986
|
+
const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
|
|
991
987
|
return this._server.xrpc.method(nsid, cfg);
|
|
992
988
|
}
|
|
993
|
-
|
|
994
|
-
const nsid = '
|
|
989
|
+
submitPlcOperation(cfg) {
|
|
990
|
+
const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
|
|
995
991
|
return this._server.xrpc.method(nsid, cfg);
|
|
996
992
|
}
|
|
997
|
-
|
|
998
|
-
const nsid = '
|
|
993
|
+
updateHandle(cfg) {
|
|
994
|
+
const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
|
|
999
995
|
return this._server.xrpc.method(nsid, cfg);
|
|
1000
996
|
}
|
|
1001
|
-
|
|
1002
|
-
|
|
997
|
+
}
|
|
998
|
+
exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
|
|
999
|
+
class ComAtprotoLabelNS {
|
|
1000
|
+
constructor(server) {
|
|
1001
|
+
Object.defineProperty(this, "_server", {
|
|
1002
|
+
enumerable: true,
|
|
1003
|
+
configurable: true,
|
|
1004
|
+
writable: true,
|
|
1005
|
+
value: void 0
|
|
1006
|
+
});
|
|
1007
|
+
this._server = server;
|
|
1008
|
+
}
|
|
1009
|
+
queryLabels(cfg) {
|
|
1010
|
+
const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
|
|
1003
1011
|
return this._server.xrpc.method(nsid, cfg);
|
|
1004
1012
|
}
|
|
1013
|
+
subscribeLabels(cfg) {
|
|
1014
|
+
const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
|
|
1015
|
+
return this._server.xrpc.streamMethod(nsid, cfg);
|
|
1016
|
+
}
|
|
1005
1017
|
}
|
|
1006
|
-
exports.
|
|
1007
|
-
class
|
|
1018
|
+
exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
|
|
1019
|
+
class ComAtprotoLexiconNS {
|
|
1008
1020
|
constructor(server) {
|
|
1009
1021
|
Object.defineProperty(this, "_server", {
|
|
1010
1022
|
enumerable: true,
|
|
@@ -1015,8 +1027,8 @@ class AppBskyRichtextNS {
|
|
|
1015
1027
|
this._server = server;
|
|
1016
1028
|
}
|
|
1017
1029
|
}
|
|
1018
|
-
exports.
|
|
1019
|
-
class
|
|
1030
|
+
exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
|
|
1031
|
+
class ComAtprotoModerationNS {
|
|
1020
1032
|
constructor(server) {
|
|
1021
1033
|
Object.defineProperty(this, "_server", {
|
|
1022
1034
|
enumerable: true,
|
|
@@ -1026,185 +1038,177 @@ class AppBskyUnspeccedNS {
|
|
|
1026
1038
|
});
|
|
1027
1039
|
this._server = server;
|
|
1028
1040
|
}
|
|
1029
|
-
|
|
1030
|
-
const nsid = '
|
|
1041
|
+
createReport(cfg) {
|
|
1042
|
+
const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
|
|
1031
1043
|
return this._server.xrpc.method(nsid, cfg);
|
|
1032
1044
|
}
|
|
1033
|
-
|
|
1034
|
-
|
|
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
|
|
1035
1059
|
return this._server.xrpc.method(nsid, cfg);
|
|
1036
1060
|
}
|
|
1037
|
-
|
|
1038
|
-
const nsid = '
|
|
1061
|
+
createRecord(cfg) {
|
|
1062
|
+
const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
|
|
1039
1063
|
return this._server.xrpc.method(nsid, cfg);
|
|
1040
1064
|
}
|
|
1041
|
-
|
|
1042
|
-
const nsid = '
|
|
1065
|
+
deleteRecord(cfg) {
|
|
1066
|
+
const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
|
|
1043
1067
|
return this._server.xrpc.method(nsid, cfg);
|
|
1044
1068
|
}
|
|
1045
|
-
|
|
1046
|
-
const nsid = '
|
|
1069
|
+
describeRepo(cfg) {
|
|
1070
|
+
const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
|
|
1047
1071
|
return this._server.xrpc.method(nsid, cfg);
|
|
1048
1072
|
}
|
|
1049
|
-
|
|
1050
|
-
const nsid = '
|
|
1073
|
+
getRecord(cfg) {
|
|
1074
|
+
const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
|
|
1051
1075
|
return this._server.xrpc.method(nsid, cfg);
|
|
1052
1076
|
}
|
|
1053
|
-
|
|
1054
|
-
const nsid = '
|
|
1077
|
+
importRepo(cfg) {
|
|
1078
|
+
const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
|
|
1079
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1080
|
+
}
|
|
1081
|
+
listMissingBlobs(cfg) {
|
|
1082
|
+
const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
|
|
1083
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1084
|
+
}
|
|
1085
|
+
listRecords(cfg) {
|
|
1086
|
+
const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
|
|
1087
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1088
|
+
}
|
|
1089
|
+
putRecord(cfg) {
|
|
1090
|
+
const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
|
|
1091
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1092
|
+
}
|
|
1093
|
+
uploadBlob(cfg) {
|
|
1094
|
+
const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
|
|
1095
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
|
|
1099
|
+
class ComAtprotoServerNS {
|
|
1100
|
+
constructor(server) {
|
|
1101
|
+
Object.defineProperty(this, "_server", {
|
|
1102
|
+
enumerable: true,
|
|
1103
|
+
configurable: true,
|
|
1104
|
+
writable: true,
|
|
1105
|
+
value: void 0
|
|
1106
|
+
});
|
|
1107
|
+
this._server = server;
|
|
1108
|
+
}
|
|
1109
|
+
activateAccount(cfg) {
|
|
1110
|
+
const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
|
|
1111
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1112
|
+
}
|
|
1113
|
+
checkAccountStatus(cfg) {
|
|
1114
|
+
const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
|
|
1115
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1116
|
+
}
|
|
1117
|
+
confirmEmail(cfg) {
|
|
1118
|
+
const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
|
|
1055
1119
|
return this._server.xrpc.method(nsid, cfg);
|
|
1056
1120
|
}
|
|
1057
|
-
|
|
1058
|
-
const nsid = '
|
|
1121
|
+
createAccount(cfg) {
|
|
1122
|
+
const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
|
|
1059
1123
|
return this._server.xrpc.method(nsid, cfg);
|
|
1060
1124
|
}
|
|
1061
|
-
|
|
1062
|
-
const nsid = '
|
|
1125
|
+
createAppPassword(cfg) {
|
|
1126
|
+
const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
|
|
1063
1127
|
return this._server.xrpc.method(nsid, cfg);
|
|
1064
1128
|
}
|
|
1065
|
-
|
|
1066
|
-
const nsid = '
|
|
1129
|
+
createInviteCode(cfg) {
|
|
1130
|
+
const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
|
|
1067
1131
|
return this._server.xrpc.method(nsid, cfg);
|
|
1068
1132
|
}
|
|
1069
|
-
|
|
1070
|
-
const nsid = '
|
|
1133
|
+
createInviteCodes(cfg) {
|
|
1134
|
+
const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
|
|
1071
1135
|
return this._server.xrpc.method(nsid, cfg);
|
|
1072
1136
|
}
|
|
1073
|
-
|
|
1074
|
-
const nsid = '
|
|
1137
|
+
createSession(cfg) {
|
|
1138
|
+
const nsid = 'com.atproto.server.createSession'; // @ts-ignore
|
|
1075
1139
|
return this._server.xrpc.method(nsid, cfg);
|
|
1076
1140
|
}
|
|
1077
|
-
|
|
1078
|
-
const nsid = '
|
|
1141
|
+
deactivateAccount(cfg) {
|
|
1142
|
+
const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
|
|
1079
1143
|
return this._server.xrpc.method(nsid, cfg);
|
|
1080
1144
|
}
|
|
1081
|
-
|
|
1082
|
-
const nsid = '
|
|
1145
|
+
deleteAccount(cfg) {
|
|
1146
|
+
const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
|
|
1083
1147
|
return this._server.xrpc.method(nsid, cfg);
|
|
1084
1148
|
}
|
|
1085
|
-
|
|
1086
|
-
const nsid = '
|
|
1149
|
+
deleteSession(cfg) {
|
|
1150
|
+
const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
|
|
1087
1151
|
return this._server.xrpc.method(nsid, cfg);
|
|
1088
1152
|
}
|
|
1089
|
-
|
|
1090
|
-
const nsid = '
|
|
1153
|
+
describeServer(cfg) {
|
|
1154
|
+
const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
|
|
1091
1155
|
return this._server.xrpc.method(nsid, cfg);
|
|
1092
1156
|
}
|
|
1093
|
-
|
|
1094
|
-
const nsid = '
|
|
1157
|
+
getAccountInviteCodes(cfg) {
|
|
1158
|
+
const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
|
|
1095
1159
|
return this._server.xrpc.method(nsid, cfg);
|
|
1096
1160
|
}
|
|
1097
|
-
|
|
1098
|
-
const nsid = '
|
|
1161
|
+
getServiceAuth(cfg) {
|
|
1162
|
+
const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
|
|
1099
1163
|
return this._server.xrpc.method(nsid, cfg);
|
|
1100
1164
|
}
|
|
1101
|
-
|
|
1102
|
-
const nsid = '
|
|
1165
|
+
getSession(cfg) {
|
|
1166
|
+
const nsid = 'com.atproto.server.getSession'; // @ts-ignore
|
|
1103
1167
|
return this._server.xrpc.method(nsid, cfg);
|
|
1104
1168
|
}
|
|
1105
|
-
|
|
1106
|
-
const nsid = '
|
|
1169
|
+
listAppPasswords(cfg) {
|
|
1170
|
+
const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
|
|
1107
1171
|
return this._server.xrpc.method(nsid, cfg);
|
|
1108
1172
|
}
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
constructor(server) {
|
|
1113
|
-
Object.defineProperty(this, "_server", {
|
|
1114
|
-
enumerable: true,
|
|
1115
|
-
configurable: true,
|
|
1116
|
-
writable: true,
|
|
1117
|
-
value: void 0
|
|
1118
|
-
});
|
|
1119
|
-
this._server = server;
|
|
1173
|
+
refreshSession(cfg) {
|
|
1174
|
+
const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
|
|
1175
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1120
1176
|
}
|
|
1121
|
-
|
|
1122
|
-
const nsid = '
|
|
1177
|
+
requestAccountDelete(cfg) {
|
|
1178
|
+
const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
|
|
1123
1179
|
return this._server.xrpc.method(nsid, cfg);
|
|
1124
1180
|
}
|
|
1125
|
-
|
|
1126
|
-
const nsid = '
|
|
1181
|
+
requestEmailConfirmation(cfg) {
|
|
1182
|
+
const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
|
|
1127
1183
|
return this._server.xrpc.method(nsid, cfg);
|
|
1128
1184
|
}
|
|
1129
|
-
|
|
1130
|
-
const nsid = '
|
|
1185
|
+
requestEmailUpdate(cfg) {
|
|
1186
|
+
const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
|
|
1131
1187
|
return this._server.xrpc.method(nsid, cfg);
|
|
1132
1188
|
}
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
constructor(server) {
|
|
1137
|
-
Object.defineProperty(this, "_server", {
|
|
1138
|
-
enumerable: true,
|
|
1139
|
-
configurable: true,
|
|
1140
|
-
writable: true,
|
|
1141
|
-
value: void 0
|
|
1142
|
-
});
|
|
1143
|
-
Object.defineProperty(this, "bsky", {
|
|
1144
|
-
enumerable: true,
|
|
1145
|
-
configurable: true,
|
|
1146
|
-
writable: true,
|
|
1147
|
-
value: void 0
|
|
1148
|
-
});
|
|
1149
|
-
this._server = server;
|
|
1150
|
-
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);
|
|
1151
1192
|
}
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
constructor(server) {
|
|
1156
|
-
Object.defineProperty(this, "_server", {
|
|
1157
|
-
enumerable: true,
|
|
1158
|
-
configurable: true,
|
|
1159
|
-
writable: true,
|
|
1160
|
-
value: void 0
|
|
1161
|
-
});
|
|
1162
|
-
Object.defineProperty(this, "actor", {
|
|
1163
|
-
enumerable: true,
|
|
1164
|
-
configurable: true,
|
|
1165
|
-
writable: true,
|
|
1166
|
-
value: void 0
|
|
1167
|
-
});
|
|
1168
|
-
Object.defineProperty(this, "convo", {
|
|
1169
|
-
enumerable: true,
|
|
1170
|
-
configurable: true,
|
|
1171
|
-
writable: true,
|
|
1172
|
-
value: void 0
|
|
1173
|
-
});
|
|
1174
|
-
Object.defineProperty(this, "moderation", {
|
|
1175
|
-
enumerable: true,
|
|
1176
|
-
configurable: true,
|
|
1177
|
-
writable: true,
|
|
1178
|
-
value: void 0
|
|
1179
|
-
});
|
|
1180
|
-
this._server = server;
|
|
1181
|
-
this.actor = new ChatBskyActorNS(server);
|
|
1182
|
-
this.convo = new ChatBskyConvoNS(server);
|
|
1183
|
-
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);
|
|
1184
1196
|
}
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
constructor(server) {
|
|
1189
|
-
Object.defineProperty(this, "_server", {
|
|
1190
|
-
enumerable: true,
|
|
1191
|
-
configurable: true,
|
|
1192
|
-
writable: true,
|
|
1193
|
-
value: void 0
|
|
1194
|
-
});
|
|
1195
|
-
this._server = server;
|
|
1197
|
+
resetPassword(cfg) {
|
|
1198
|
+
const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
|
|
1199
|
+
return this._server.xrpc.method(nsid, cfg);
|
|
1196
1200
|
}
|
|
1197
|
-
|
|
1198
|
-
const nsid = '
|
|
1201
|
+
revokeAppPassword(cfg) {
|
|
1202
|
+
const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
|
|
1199
1203
|
return this._server.xrpc.method(nsid, cfg);
|
|
1200
1204
|
}
|
|
1201
|
-
|
|
1202
|
-
const nsid = '
|
|
1205
|
+
updateEmail(cfg) {
|
|
1206
|
+
const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
|
|
1203
1207
|
return this._server.xrpc.method(nsid, cfg);
|
|
1204
1208
|
}
|
|
1205
1209
|
}
|
|
1206
|
-
exports.
|
|
1207
|
-
class
|
|
1210
|
+
exports.ComAtprotoServerNS = ComAtprotoServerNS;
|
|
1211
|
+
class ComAtprotoSyncNS {
|
|
1208
1212
|
constructor(server) {
|
|
1209
1213
|
Object.defineProperty(this, "_server", {
|
|
1210
1214
|
enumerable: true,
|
|
@@ -1214,77 +1218,73 @@ class ChatBskyConvoNS {
|
|
|
1214
1218
|
});
|
|
1215
1219
|
this._server = server;
|
|
1216
1220
|
}
|
|
1217
|
-
|
|
1218
|
-
const nsid = '
|
|
1219
|
-
return this._server.xrpc.method(nsid, cfg);
|
|
1220
|
-
}
|
|
1221
|
-
addReaction(cfg) {
|
|
1222
|
-
const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
|
|
1221
|
+
getBlob(cfg) {
|
|
1222
|
+
const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
|
|
1223
1223
|
return this._server.xrpc.method(nsid, cfg);
|
|
1224
1224
|
}
|
|
1225
|
-
|
|
1226
|
-
const nsid = '
|
|
1225
|
+
getBlocks(cfg) {
|
|
1226
|
+
const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
|
|
1227
1227
|
return this._server.xrpc.method(nsid, cfg);
|
|
1228
1228
|
}
|
|
1229
|
-
|
|
1230
|
-
const nsid = '
|
|
1229
|
+
getCheckout(cfg) {
|
|
1230
|
+
const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
|
|
1231
1231
|
return this._server.xrpc.method(nsid, cfg);
|
|
1232
1232
|
}
|
|
1233
|
-
|
|
1234
|
-
const nsid = '
|
|
1233
|
+
getHead(cfg) {
|
|
1234
|
+
const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
|
|
1235
1235
|
return this._server.xrpc.method(nsid, cfg);
|
|
1236
1236
|
}
|
|
1237
|
-
|
|
1238
|
-
const nsid = '
|
|
1237
|
+
getHostStatus(cfg) {
|
|
1238
|
+
const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
|
|
1239
1239
|
return this._server.xrpc.method(nsid, cfg);
|
|
1240
1240
|
}
|
|
1241
|
-
|
|
1242
|
-
const nsid = '
|
|
1241
|
+
getLatestCommit(cfg) {
|
|
1242
|
+
const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
|
|
1243
1243
|
return this._server.xrpc.method(nsid, cfg);
|
|
1244
1244
|
}
|
|
1245
|
-
|
|
1246
|
-
const nsid = '
|
|
1245
|
+
getRecord(cfg) {
|
|
1246
|
+
const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
|
|
1247
1247
|
return this._server.xrpc.method(nsid, cfg);
|
|
1248
1248
|
}
|
|
1249
|
-
|
|
1250
|
-
const nsid = '
|
|
1249
|
+
getRepo(cfg) {
|
|
1250
|
+
const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
|
|
1251
1251
|
return this._server.xrpc.method(nsid, cfg);
|
|
1252
1252
|
}
|
|
1253
|
-
|
|
1254
|
-
const nsid = '
|
|
1253
|
+
getRepoStatus(cfg) {
|
|
1254
|
+
const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
|
|
1255
1255
|
return this._server.xrpc.method(nsid, cfg);
|
|
1256
1256
|
}
|
|
1257
|
-
|
|
1258
|
-
const nsid = '
|
|
1257
|
+
listBlobs(cfg) {
|
|
1258
|
+
const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
|
|
1259
1259
|
return this._server.xrpc.method(nsid, cfg);
|
|
1260
1260
|
}
|
|
1261
|
-
|
|
1262
|
-
const nsid = '
|
|
1261
|
+
listHosts(cfg) {
|
|
1262
|
+
const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
|
|
1263
1263
|
return this._server.xrpc.method(nsid, cfg);
|
|
1264
1264
|
}
|
|
1265
|
-
|
|
1266
|
-
const nsid = '
|
|
1265
|
+
listRepos(cfg) {
|
|
1266
|
+
const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
|
|
1267
1267
|
return this._server.xrpc.method(nsid, cfg);
|
|
1268
1268
|
}
|
|
1269
|
-
|
|
1270
|
-
const nsid = '
|
|
1269
|
+
listReposByCollection(cfg) {
|
|
1270
|
+
const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
|
|
1271
1271
|
return this._server.xrpc.method(nsid, cfg);
|
|
1272
1272
|
}
|
|
1273
|
-
|
|
1274
|
-
const nsid = '
|
|
1273
|
+
notifyOfUpdate(cfg) {
|
|
1274
|
+
const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
|
|
1275
1275
|
return this._server.xrpc.method(nsid, cfg);
|
|
1276
1276
|
}
|
|
1277
|
-
|
|
1278
|
-
const nsid = '
|
|
1277
|
+
requestCrawl(cfg) {
|
|
1278
|
+
const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
|
|
1279
1279
|
return this._server.xrpc.method(nsid, cfg);
|
|
1280
1280
|
}
|
|
1281
|
-
|
|
1282
|
-
const nsid = '
|
|
1283
|
-
return this._server.xrpc.
|
|
1281
|
+
subscribeRepos(cfg) {
|
|
1282
|
+
const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
|
|
1283
|
+
return this._server.xrpc.streamMethod(nsid, cfg);
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
|
-
exports.
|
|
1287
|
-
class
|
|
1286
|
+
exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
|
|
1287
|
+
class ComAtprotoTempNS {
|
|
1288
1288
|
constructor(server) {
|
|
1289
1289
|
Object.defineProperty(this, "_server", {
|
|
1290
1290
|
enumerable: true,
|
|
@@ -1294,18 +1294,26 @@ class ChatBskyModerationNS {
|
|
|
1294
1294
|
});
|
|
1295
1295
|
this._server = server;
|
|
1296
1296
|
}
|
|
1297
|
-
|
|
1298
|
-
const nsid = '
|
|
1297
|
+
addReservedHandle(cfg) {
|
|
1298
|
+
const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
|
|
1299
1299
|
return this._server.xrpc.method(nsid, cfg);
|
|
1300
1300
|
}
|
|
1301
|
-
|
|
1302
|
-
const nsid = '
|
|
1301
|
+
checkHandleAvailability(cfg) {
|
|
1302
|
+
const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
|
|
1303
1303
|
return this._server.xrpc.method(nsid, cfg);
|
|
1304
1304
|
}
|
|
1305
|
-
|
|
1306
|
-
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
|
|
1307
1315
|
return this._server.xrpc.method(nsid, cfg);
|
|
1308
1316
|
}
|
|
1309
1317
|
}
|
|
1310
|
-
exports.
|
|
1318
|
+
exports.ComAtprotoTempNS = ComAtprotoTempNS;
|
|
1311
1319
|
//# sourceMappingURL=index.js.map
|