@atproto/bsky 0.0.32 → 0.0.33
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 +7 -0
- package/dist/index.js +315 -242
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/lexicons.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts +26 -0
- package/package.json +5 -5
- package/src/lexicon/index.ts +12 -0
- package/src/lexicon/lexicons.ts +31 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +2 -0
- package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +39 -0
package/dist/index.js
CHANGED
|
@@ -105973,7 +105973,7 @@ var require_headers4 = __commonJS({
|
|
|
105973
105973
|
return headers;
|
|
105974
105974
|
}
|
|
105975
105975
|
};
|
|
105976
|
-
var
|
|
105976
|
+
var Headers130 = class {
|
|
105977
105977
|
constructor(init = void 0) {
|
|
105978
105978
|
if (init === kConstruct) {
|
|
105979
105979
|
return;
|
|
@@ -105986,14 +105986,14 @@ var require_headers4 = __commonJS({
|
|
|
105986
105986
|
}
|
|
105987
105987
|
}
|
|
105988
105988
|
append(name3, value) {
|
|
105989
|
-
webidl.brandCheck(this,
|
|
105989
|
+
webidl.brandCheck(this, Headers130);
|
|
105990
105990
|
webidl.argumentLengthCheck(arguments, 2, { header: "Headers.append" });
|
|
105991
105991
|
name3 = webidl.converters.ByteString(name3);
|
|
105992
105992
|
value = webidl.converters.ByteString(value);
|
|
105993
105993
|
return appendHeader(this, name3, value);
|
|
105994
105994
|
}
|
|
105995
105995
|
delete(name3) {
|
|
105996
|
-
webidl.brandCheck(this,
|
|
105996
|
+
webidl.brandCheck(this, Headers130);
|
|
105997
105997
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.delete" });
|
|
105998
105998
|
name3 = webidl.converters.ByteString(name3);
|
|
105999
105999
|
if (!isValidHeaderName(name3)) {
|
|
@@ -106013,7 +106013,7 @@ var require_headers4 = __commonJS({
|
|
|
106013
106013
|
this[kHeadersList].delete(name3);
|
|
106014
106014
|
}
|
|
106015
106015
|
get(name3) {
|
|
106016
|
-
webidl.brandCheck(this,
|
|
106016
|
+
webidl.brandCheck(this, Headers130);
|
|
106017
106017
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.get" });
|
|
106018
106018
|
name3 = webidl.converters.ByteString(name3);
|
|
106019
106019
|
if (!isValidHeaderName(name3)) {
|
|
@@ -106026,7 +106026,7 @@ var require_headers4 = __commonJS({
|
|
|
106026
106026
|
return this[kHeadersList].get(name3);
|
|
106027
106027
|
}
|
|
106028
106028
|
has(name3) {
|
|
106029
|
-
webidl.brandCheck(this,
|
|
106029
|
+
webidl.brandCheck(this, Headers130);
|
|
106030
106030
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.has" });
|
|
106031
106031
|
name3 = webidl.converters.ByteString(name3);
|
|
106032
106032
|
if (!isValidHeaderName(name3)) {
|
|
@@ -106039,7 +106039,7 @@ var require_headers4 = __commonJS({
|
|
|
106039
106039
|
return this[kHeadersList].contains(name3);
|
|
106040
106040
|
}
|
|
106041
106041
|
set(name3, value) {
|
|
106042
|
-
webidl.brandCheck(this,
|
|
106042
|
+
webidl.brandCheck(this, Headers130);
|
|
106043
106043
|
webidl.argumentLengthCheck(arguments, 2, { header: "Headers.set" });
|
|
106044
106044
|
name3 = webidl.converters.ByteString(name3);
|
|
106045
106045
|
value = webidl.converters.ByteString(value);
|
|
@@ -106064,7 +106064,7 @@ var require_headers4 = __commonJS({
|
|
|
106064
106064
|
this[kHeadersList].set(name3, value);
|
|
106065
106065
|
}
|
|
106066
106066
|
getSetCookie() {
|
|
106067
|
-
webidl.brandCheck(this,
|
|
106067
|
+
webidl.brandCheck(this, Headers130);
|
|
106068
106068
|
const list = this[kHeadersList].cookies;
|
|
106069
106069
|
if (list) {
|
|
106070
106070
|
return [...list];
|
|
@@ -106093,7 +106093,7 @@ var require_headers4 = __commonJS({
|
|
|
106093
106093
|
return headers;
|
|
106094
106094
|
}
|
|
106095
106095
|
keys() {
|
|
106096
|
-
webidl.brandCheck(this,
|
|
106096
|
+
webidl.brandCheck(this, Headers130);
|
|
106097
106097
|
if (this[kGuard] === "immutable") {
|
|
106098
106098
|
const value = this[kHeadersSortedMap];
|
|
106099
106099
|
return makeIterator(() => value, "Headers", "key");
|
|
@@ -106101,7 +106101,7 @@ var require_headers4 = __commonJS({
|
|
|
106101
106101
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key");
|
|
106102
106102
|
}
|
|
106103
106103
|
values() {
|
|
106104
|
-
webidl.brandCheck(this,
|
|
106104
|
+
webidl.brandCheck(this, Headers130);
|
|
106105
106105
|
if (this[kGuard] === "immutable") {
|
|
106106
106106
|
const value = this[kHeadersSortedMap];
|
|
106107
106107
|
return makeIterator(() => value, "Headers", "value");
|
|
@@ -106109,7 +106109,7 @@ var require_headers4 = __commonJS({
|
|
|
106109
106109
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "value");
|
|
106110
106110
|
}
|
|
106111
106111
|
entries() {
|
|
106112
|
-
webidl.brandCheck(this,
|
|
106112
|
+
webidl.brandCheck(this, Headers130);
|
|
106113
106113
|
if (this[kGuard] === "immutable") {
|
|
106114
106114
|
const value = this[kHeadersSortedMap];
|
|
106115
106115
|
return makeIterator(() => value, "Headers", "key+value");
|
|
@@ -106117,7 +106117,7 @@ var require_headers4 = __commonJS({
|
|
|
106117
106117
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key+value");
|
|
106118
106118
|
}
|
|
106119
106119
|
forEach(callbackFn, thisArg = globalThis) {
|
|
106120
|
-
webidl.brandCheck(this,
|
|
106120
|
+
webidl.brandCheck(this, Headers130);
|
|
106121
106121
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.forEach" });
|
|
106122
106122
|
if (typeof callbackFn !== "function") {
|
|
106123
106123
|
throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");
|
|
@@ -106127,12 +106127,12 @@ var require_headers4 = __commonJS({
|
|
|
106127
106127
|
}
|
|
106128
106128
|
}
|
|
106129
106129
|
[Symbol.for("nodejs.util.inspect.custom")]() {
|
|
106130
|
-
webidl.brandCheck(this,
|
|
106130
|
+
webidl.brandCheck(this, Headers130);
|
|
106131
106131
|
return this[kHeadersList];
|
|
106132
106132
|
}
|
|
106133
106133
|
};
|
|
106134
|
-
|
|
106135
|
-
Object.defineProperties(
|
|
106134
|
+
Headers130.prototype[Symbol.iterator] = Headers130.prototype.entries;
|
|
106135
|
+
Object.defineProperties(Headers130.prototype, {
|
|
106136
106136
|
append: kEnumerableProperty,
|
|
106137
106137
|
delete: kEnumerableProperty,
|
|
106138
106138
|
get: kEnumerableProperty,
|
|
@@ -106164,7 +106164,7 @@ var require_headers4 = __commonJS({
|
|
|
106164
106164
|
};
|
|
106165
106165
|
module2.exports = {
|
|
106166
106166
|
fill,
|
|
106167
|
-
Headers:
|
|
106167
|
+
Headers: Headers130,
|
|
106168
106168
|
HeadersList
|
|
106169
106169
|
};
|
|
106170
106170
|
}
|
|
@@ -106174,7 +106174,7 @@ var require_headers4 = __commonJS({
|
|
|
106174
106174
|
var require_response2 = __commonJS({
|
|
106175
106175
|
"../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/response.js"(exports, module2) {
|
|
106176
106176
|
"use strict";
|
|
106177
|
-
var { Headers:
|
|
106177
|
+
var { Headers: Headers130, HeadersList, fill } = require_headers4();
|
|
106178
106178
|
var { extractBody, cloneBody, mixinBody } = require_body();
|
|
106179
106179
|
var util2 = require_util2();
|
|
106180
106180
|
var { kEnumerableProperty } = util2;
|
|
@@ -106260,7 +106260,7 @@ var require_response2 = __commonJS({
|
|
|
106260
106260
|
init = webidl.converters.ResponseInit(init);
|
|
106261
106261
|
this[kRealm] = { settingsObject: {} };
|
|
106262
106262
|
this[kState] = makeResponse({});
|
|
106263
|
-
this[kHeaders] = new
|
|
106263
|
+
this[kHeaders] = new Headers130(kConstruct);
|
|
106264
106264
|
this[kHeaders][kGuard] = "response";
|
|
106265
106265
|
this[kHeaders][kHeadersList] = this[kState].headersList;
|
|
106266
106266
|
this[kHeaders][kRealm] = this[kRealm];
|
|
@@ -106531,7 +106531,7 @@ var require_request3 = __commonJS({
|
|
|
106531
106531
|
"../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/request.js"(exports, module2) {
|
|
106532
106532
|
"use strict";
|
|
106533
106533
|
var { extractBody, mixinBody, cloneBody } = require_body();
|
|
106534
|
-
var { Headers:
|
|
106534
|
+
var { Headers: Headers130, fill: fillHeaders, HeadersList } = require_headers4();
|
|
106535
106535
|
var { FinalizationRegistry: FinalizationRegistry2 } = require_dispatcher_weakref()();
|
|
106536
106536
|
var util2 = require_util2();
|
|
106537
106537
|
var {
|
|
@@ -106745,7 +106745,7 @@ var require_request3 = __commonJS({
|
|
|
106745
106745
|
requestFinalizer.register(ac, { signal, abort });
|
|
106746
106746
|
}
|
|
106747
106747
|
}
|
|
106748
|
-
this[kHeaders] = new
|
|
106748
|
+
this[kHeaders] = new Headers130(kConstruct);
|
|
106749
106749
|
this[kHeaders][kHeadersList] = request.headersList;
|
|
106750
106750
|
this[kHeaders][kGuard] = "request";
|
|
106751
106751
|
this[kHeaders][kRealm] = this[kRealm];
|
|
@@ -106894,7 +106894,7 @@ var require_request3 = __commonJS({
|
|
|
106894
106894
|
const clonedRequestObject = new Request2(kConstruct);
|
|
106895
106895
|
clonedRequestObject[kState] = clonedRequest;
|
|
106896
106896
|
clonedRequestObject[kRealm] = this[kRealm];
|
|
106897
|
-
clonedRequestObject[kHeaders] = new
|
|
106897
|
+
clonedRequestObject[kHeaders] = new Headers130(kConstruct);
|
|
106898
106898
|
clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList;
|
|
106899
106899
|
clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard];
|
|
106900
106900
|
clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm];
|
|
@@ -107077,7 +107077,7 @@ var require_fetch = __commonJS({
|
|
|
107077
107077
|
filterResponse,
|
|
107078
107078
|
makeResponse
|
|
107079
107079
|
} = require_response2();
|
|
107080
|
-
var { Headers:
|
|
107080
|
+
var { Headers: Headers130 } = require_headers4();
|
|
107081
107081
|
var { Request: Request2, makeRequest } = require_request3();
|
|
107082
107082
|
var zlib = require("zlib");
|
|
107083
107083
|
var {
|
|
@@ -107935,7 +107935,7 @@ var require_fetch = __commonJS({
|
|
|
107935
107935
|
}
|
|
107936
107936
|
let codings = [];
|
|
107937
107937
|
let location = "";
|
|
107938
|
-
const headers = new
|
|
107938
|
+
const headers = new Headers130();
|
|
107939
107939
|
if (Array.isArray(headersList)) {
|
|
107940
107940
|
for (let n = 0; n < headersList.length; n += 2) {
|
|
107941
107941
|
const key = headersList[n + 0].toString("latin1");
|
|
@@ -108016,7 +108016,7 @@ var require_fetch = __commonJS({
|
|
|
108016
108016
|
if (status !== 101) {
|
|
108017
108017
|
return;
|
|
108018
108018
|
}
|
|
108019
|
-
const headers = new
|
|
108019
|
+
const headers = new Headers130();
|
|
108020
108020
|
for (let n = 0; n < headersList.length; n += 2) {
|
|
108021
108021
|
const key = headersList[n + 0].toString("latin1");
|
|
108022
108022
|
const val = headersList[n + 1].toString("latin1");
|
|
@@ -109753,10 +109753,10 @@ var require_cookies2 = __commonJS({
|
|
|
109753
109753
|
var { parseSetCookie } = require_parse3();
|
|
109754
109754
|
var { stringify, getHeadersList } = require_util7();
|
|
109755
109755
|
var { webidl } = require_webidl();
|
|
109756
|
-
var { Headers:
|
|
109756
|
+
var { Headers: Headers130 } = require_headers4();
|
|
109757
109757
|
function getCookies(headers) {
|
|
109758
109758
|
webidl.argumentLengthCheck(arguments, 1, { header: "getCookies" });
|
|
109759
|
-
webidl.brandCheck(headers,
|
|
109759
|
+
webidl.brandCheck(headers, Headers130, { strict: false });
|
|
109760
109760
|
const cookie = headers.get("cookie");
|
|
109761
109761
|
const out = {};
|
|
109762
109762
|
if (!cookie) {
|
|
@@ -109770,7 +109770,7 @@ var require_cookies2 = __commonJS({
|
|
|
109770
109770
|
}
|
|
109771
109771
|
function deleteCookie(headers, name3, attributes) {
|
|
109772
109772
|
webidl.argumentLengthCheck(arguments, 2, { header: "deleteCookie" });
|
|
109773
|
-
webidl.brandCheck(headers,
|
|
109773
|
+
webidl.brandCheck(headers, Headers130, { strict: false });
|
|
109774
109774
|
name3 = webidl.converters.DOMString(name3);
|
|
109775
109775
|
attributes = webidl.converters.DeleteCookieAttributes(attributes);
|
|
109776
109776
|
setCookie(headers, {
|
|
@@ -109782,7 +109782,7 @@ var require_cookies2 = __commonJS({
|
|
|
109782
109782
|
}
|
|
109783
109783
|
function getSetCookies(headers) {
|
|
109784
109784
|
webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
|
|
109785
|
-
webidl.brandCheck(headers,
|
|
109785
|
+
webidl.brandCheck(headers, Headers130, { strict: false });
|
|
109786
109786
|
const cookies = getHeadersList(headers).cookies;
|
|
109787
109787
|
if (!cookies) {
|
|
109788
109788
|
return [];
|
|
@@ -109791,7 +109791,7 @@ var require_cookies2 = __commonJS({
|
|
|
109791
109791
|
}
|
|
109792
109792
|
function setCookie(headers, cookie) {
|
|
109793
109793
|
webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
|
|
109794
|
-
webidl.brandCheck(headers,
|
|
109794
|
+
webidl.brandCheck(headers, Headers130, { strict: false });
|
|
109795
109795
|
cookie = webidl.converters.Cookie(cookie);
|
|
109796
109796
|
const str = stringify(cookie);
|
|
109797
109797
|
if (str) {
|
|
@@ -110277,7 +110277,7 @@ var require_connection = __commonJS({
|
|
|
110277
110277
|
var { CloseEvent } = require_events();
|
|
110278
110278
|
var { makeRequest } = require_request3();
|
|
110279
110279
|
var { fetching } = require_fetch();
|
|
110280
|
-
var { Headers:
|
|
110280
|
+
var { Headers: Headers130 } = require_headers4();
|
|
110281
110281
|
var { getGlobalDispatcher } = require_global2();
|
|
110282
110282
|
var { kHeadersList } = require_symbols2();
|
|
110283
110283
|
var channels = {};
|
|
@@ -110302,7 +110302,7 @@ var require_connection = __commonJS({
|
|
|
110302
110302
|
redirect: "error"
|
|
110303
110303
|
});
|
|
110304
110304
|
if (options.headers) {
|
|
110305
|
-
const headersList = new
|
|
110305
|
+
const headersList = new Headers130(options.headers)[kHeadersList];
|
|
110306
110306
|
request.headersList = headersList;
|
|
110307
110307
|
}
|
|
110308
110308
|
const keyValue = crypto7.randomBytes(16).toString("base64");
|
|
@@ -151223,6 +151223,32 @@ var schemaDict = {
|
|
|
151223
151223
|
}
|
|
151224
151224
|
}
|
|
151225
151225
|
},
|
|
151226
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
151227
|
+
lexicon: 1,
|
|
151228
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
151229
|
+
defs: {
|
|
151230
|
+
main: {
|
|
151231
|
+
type: "procedure",
|
|
151232
|
+
description: "Update the password for a user account as an administrator.",
|
|
151233
|
+
input: {
|
|
151234
|
+
encoding: "application/json",
|
|
151235
|
+
schema: {
|
|
151236
|
+
type: "object",
|
|
151237
|
+
required: ["did", "password"],
|
|
151238
|
+
properties: {
|
|
151239
|
+
did: {
|
|
151240
|
+
type: "string",
|
|
151241
|
+
format: "did"
|
|
151242
|
+
},
|
|
151243
|
+
password: {
|
|
151244
|
+
type: "string"
|
|
151245
|
+
}
|
|
151246
|
+
}
|
|
151247
|
+
}
|
|
151248
|
+
}
|
|
151249
|
+
}
|
|
151250
|
+
}
|
|
151251
|
+
},
|
|
151226
151252
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
151227
151253
|
lexicon: 1,
|
|
151228
151254
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -154319,7 +154345,9 @@ var schemaDict = {
|
|
|
154319
154345
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
154320
154346
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
154321
154347
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
154322
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
154348
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
154349
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
154350
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
154323
154351
|
]
|
|
154324
154352
|
}
|
|
154325
154353
|
},
|
|
@@ -158144,83 +158172,90 @@ function toKnownErr21(e) {
|
|
|
158144
158172
|
return e;
|
|
158145
158173
|
}
|
|
158146
158174
|
|
|
158147
|
-
// ../api/src/client/types/com/atproto/admin/
|
|
158175
|
+
// ../api/src/client/types/com/atproto/admin/updateAccountPassword.ts
|
|
158148
158176
|
function toKnownErr22(e) {
|
|
158149
158177
|
if (e instanceof XRPCError) {
|
|
158150
158178
|
}
|
|
158151
158179
|
return e;
|
|
158152
158180
|
}
|
|
158153
158181
|
|
|
158154
|
-
// ../api/src/client/types/com/atproto/admin/
|
|
158182
|
+
// ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
|
|
158155
158183
|
function toKnownErr23(e) {
|
|
158156
158184
|
if (e instanceof XRPCError) {
|
|
158157
158185
|
}
|
|
158158
158186
|
return e;
|
|
158159
158187
|
}
|
|
158160
158188
|
|
|
158161
|
-
// ../api/src/client/types/com/atproto/
|
|
158189
|
+
// ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
158162
158190
|
function toKnownErr24(e) {
|
|
158163
158191
|
if (e instanceof XRPCError) {
|
|
158164
158192
|
}
|
|
158165
158193
|
return e;
|
|
158166
158194
|
}
|
|
158167
158195
|
|
|
158168
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158196
|
+
// ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
158169
158197
|
function toKnownErr25(e) {
|
|
158170
158198
|
if (e instanceof XRPCError) {
|
|
158171
158199
|
}
|
|
158172
158200
|
return e;
|
|
158173
158201
|
}
|
|
158174
158202
|
|
|
158175
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158203
|
+
// ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
158176
158204
|
function toKnownErr26(e) {
|
|
158177
158205
|
if (e instanceof XRPCError) {
|
|
158178
158206
|
}
|
|
158179
158207
|
return e;
|
|
158180
158208
|
}
|
|
158181
158209
|
|
|
158182
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158210
|
+
// ../api/src/client/types/com/atproto/identity/resolveHandle.ts
|
|
158183
158211
|
function toKnownErr27(e) {
|
|
158184
158212
|
if (e instanceof XRPCError) {
|
|
158185
158213
|
}
|
|
158186
158214
|
return e;
|
|
158187
158215
|
}
|
|
158188
158216
|
|
|
158189
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158217
|
+
// ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
158190
158218
|
function toKnownErr28(e) {
|
|
158191
158219
|
if (e instanceof XRPCError) {
|
|
158192
158220
|
}
|
|
158193
158221
|
return e;
|
|
158194
158222
|
}
|
|
158195
158223
|
|
|
158196
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158224
|
+
// ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
|
|
158197
158225
|
function toKnownErr29(e) {
|
|
158198
158226
|
if (e instanceof XRPCError) {
|
|
158199
158227
|
}
|
|
158200
158228
|
return e;
|
|
158201
158229
|
}
|
|
158202
158230
|
|
|
158203
|
-
// ../api/src/client/types/com/atproto/
|
|
158231
|
+
// ../api/src/client/types/com/atproto/identity/updateHandle.ts
|
|
158204
158232
|
function toKnownErr30(e) {
|
|
158205
158233
|
if (e instanceof XRPCError) {
|
|
158206
158234
|
}
|
|
158207
158235
|
return e;
|
|
158208
158236
|
}
|
|
158209
158237
|
|
|
158210
|
-
// ../api/src/client/types/com/atproto/
|
|
158238
|
+
// ../api/src/client/types/com/atproto/label/queryLabels.ts
|
|
158211
158239
|
function toKnownErr31(e) {
|
|
158212
158240
|
if (e instanceof XRPCError) {
|
|
158213
158241
|
}
|
|
158214
158242
|
return e;
|
|
158215
158243
|
}
|
|
158216
158244
|
|
|
158245
|
+
// ../api/src/client/types/com/atproto/moderation/createReport.ts
|
|
158246
|
+
function toKnownErr32(e) {
|
|
158247
|
+
if (e instanceof XRPCError) {
|
|
158248
|
+
}
|
|
158249
|
+
return e;
|
|
158250
|
+
}
|
|
158251
|
+
|
|
158217
158252
|
// ../api/src/client/types/com/atproto/repo/applyWrites.ts
|
|
158218
158253
|
var InvalidSwapError = class extends XRPCError {
|
|
158219
158254
|
constructor(src3) {
|
|
158220
158255
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158221
158256
|
}
|
|
158222
158257
|
};
|
|
158223
|
-
function
|
|
158258
|
+
function toKnownErr33(e) {
|
|
158224
158259
|
if (e instanceof XRPCError) {
|
|
158225
158260
|
if (e.error === "InvalidSwap")
|
|
158226
158261
|
return new InvalidSwapError(e);
|
|
@@ -158234,7 +158269,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
158234
158269
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158235
158270
|
}
|
|
158236
158271
|
};
|
|
158237
|
-
function
|
|
158272
|
+
function toKnownErr34(e) {
|
|
158238
158273
|
if (e instanceof XRPCError) {
|
|
158239
158274
|
if (e.error === "InvalidSwap")
|
|
158240
158275
|
return new InvalidSwapError2(e);
|
|
@@ -158248,7 +158283,7 @@ var InvalidSwapError3 = class extends XRPCError {
|
|
|
158248
158283
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158249
158284
|
}
|
|
158250
158285
|
};
|
|
158251
|
-
function
|
|
158286
|
+
function toKnownErr35(e) {
|
|
158252
158287
|
if (e instanceof XRPCError) {
|
|
158253
158288
|
if (e.error === "InvalidSwap")
|
|
158254
158289
|
return new InvalidSwapError3(e);
|
|
@@ -158257,35 +158292,35 @@ function toKnownErr34(e) {
|
|
|
158257
158292
|
}
|
|
158258
158293
|
|
|
158259
158294
|
// ../api/src/client/types/com/atproto/repo/describeRepo.ts
|
|
158260
|
-
function
|
|
158295
|
+
function toKnownErr36(e) {
|
|
158261
158296
|
if (e instanceof XRPCError) {
|
|
158262
158297
|
}
|
|
158263
158298
|
return e;
|
|
158264
158299
|
}
|
|
158265
158300
|
|
|
158266
158301
|
// ../api/src/client/types/com/atproto/repo/getRecord.ts
|
|
158267
|
-
function
|
|
158302
|
+
function toKnownErr37(e) {
|
|
158268
158303
|
if (e instanceof XRPCError) {
|
|
158269
158304
|
}
|
|
158270
158305
|
return e;
|
|
158271
158306
|
}
|
|
158272
158307
|
|
|
158273
158308
|
// ../api/src/client/types/com/atproto/repo/importRepo.ts
|
|
158274
|
-
function
|
|
158309
|
+
function toKnownErr38(e) {
|
|
158275
158310
|
if (e instanceof XRPCError) {
|
|
158276
158311
|
}
|
|
158277
158312
|
return e;
|
|
158278
158313
|
}
|
|
158279
158314
|
|
|
158280
158315
|
// ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
|
|
158281
|
-
function
|
|
158316
|
+
function toKnownErr39(e) {
|
|
158282
158317
|
if (e instanceof XRPCError) {
|
|
158283
158318
|
}
|
|
158284
158319
|
return e;
|
|
158285
158320
|
}
|
|
158286
158321
|
|
|
158287
158322
|
// ../api/src/client/types/com/atproto/repo/listRecords.ts
|
|
158288
|
-
function
|
|
158323
|
+
function toKnownErr40(e) {
|
|
158289
158324
|
if (e instanceof XRPCError) {
|
|
158290
158325
|
}
|
|
158291
158326
|
return e;
|
|
@@ -158297,7 +158332,7 @@ var InvalidSwapError4 = class extends XRPCError {
|
|
|
158297
158332
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158298
158333
|
}
|
|
158299
158334
|
};
|
|
158300
|
-
function
|
|
158335
|
+
function toKnownErr41(e) {
|
|
158301
158336
|
if (e instanceof XRPCError) {
|
|
158302
158337
|
if (e.error === "InvalidSwap")
|
|
158303
158338
|
return new InvalidSwapError4(e);
|
|
@@ -158306,21 +158341,21 @@ function toKnownErr40(e) {
|
|
|
158306
158341
|
}
|
|
158307
158342
|
|
|
158308
158343
|
// ../api/src/client/types/com/atproto/repo/uploadBlob.ts
|
|
158309
|
-
function
|
|
158344
|
+
function toKnownErr42(e) {
|
|
158310
158345
|
if (e instanceof XRPCError) {
|
|
158311
158346
|
}
|
|
158312
158347
|
return e;
|
|
158313
158348
|
}
|
|
158314
158349
|
|
|
158315
158350
|
// ../api/src/client/types/com/atproto/server/activateAccount.ts
|
|
158316
|
-
function
|
|
158351
|
+
function toKnownErr43(e) {
|
|
158317
158352
|
if (e instanceof XRPCError) {
|
|
158318
158353
|
}
|
|
158319
158354
|
return e;
|
|
158320
158355
|
}
|
|
158321
158356
|
|
|
158322
158357
|
// ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
|
|
158323
|
-
function
|
|
158358
|
+
function toKnownErr44(e) {
|
|
158324
158359
|
if (e instanceof XRPCError) {
|
|
158325
158360
|
}
|
|
158326
158361
|
return e;
|
|
@@ -158347,7 +158382,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
158347
158382
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158348
158383
|
}
|
|
158349
158384
|
};
|
|
158350
|
-
function
|
|
158385
|
+
function toKnownErr45(e) {
|
|
158351
158386
|
if (e instanceof XRPCError) {
|
|
158352
158387
|
if (e.error === "AccountNotFound")
|
|
158353
158388
|
return new AccountNotFoundError(e);
|
|
@@ -158397,7 +158432,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
158397
158432
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158398
158433
|
}
|
|
158399
158434
|
};
|
|
158400
|
-
function
|
|
158435
|
+
function toKnownErr46(e) {
|
|
158401
158436
|
if (e instanceof XRPCError) {
|
|
158402
158437
|
if (e.error === "InvalidHandle")
|
|
158403
158438
|
return new InvalidHandleError2(e);
|
|
@@ -158423,7 +158458,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
158423
158458
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158424
158459
|
}
|
|
158425
158460
|
};
|
|
158426
|
-
function
|
|
158461
|
+
function toKnownErr47(e) {
|
|
158427
158462
|
if (e instanceof XRPCError) {
|
|
158428
158463
|
if (e.error === "AccountTakedown")
|
|
158429
158464
|
return new AccountTakedownError(e);
|
|
@@ -158432,14 +158467,14 @@ function toKnownErr46(e) {
|
|
|
158432
158467
|
}
|
|
158433
158468
|
|
|
158434
158469
|
// ../api/src/client/types/com/atproto/server/createInviteCode.ts
|
|
158435
|
-
function
|
|
158470
|
+
function toKnownErr48(e) {
|
|
158436
158471
|
if (e instanceof XRPCError) {
|
|
158437
158472
|
}
|
|
158438
158473
|
return e;
|
|
158439
158474
|
}
|
|
158440
158475
|
|
|
158441
158476
|
// ../api/src/client/types/com/atproto/server/createInviteCodes.ts
|
|
158442
|
-
function
|
|
158477
|
+
function toKnownErr49(e) {
|
|
158443
158478
|
if (e instanceof XRPCError) {
|
|
158444
158479
|
}
|
|
158445
158480
|
return e;
|
|
@@ -158451,7 +158486,7 @@ var AccountTakedownError2 = class extends XRPCError {
|
|
|
158451
158486
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158452
158487
|
}
|
|
158453
158488
|
};
|
|
158454
|
-
function
|
|
158489
|
+
function toKnownErr50(e) {
|
|
158455
158490
|
if (e instanceof XRPCError) {
|
|
158456
158491
|
if (e.error === "AccountTakedown")
|
|
158457
158492
|
return new AccountTakedownError2(e);
|
|
@@ -158460,7 +158495,7 @@ function toKnownErr49(e) {
|
|
|
158460
158495
|
}
|
|
158461
158496
|
|
|
158462
158497
|
// ../api/src/client/types/com/atproto/server/deactivateAccount.ts
|
|
158463
|
-
function
|
|
158498
|
+
function toKnownErr51(e) {
|
|
158464
158499
|
if (e instanceof XRPCError) {
|
|
158465
158500
|
}
|
|
158466
158501
|
return e;
|
|
@@ -158477,7 +158512,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
158477
158512
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158478
158513
|
}
|
|
158479
158514
|
};
|
|
158480
|
-
function
|
|
158515
|
+
function toKnownErr52(e) {
|
|
158481
158516
|
if (e instanceof XRPCError) {
|
|
158482
158517
|
if (e.error === "ExpiredToken")
|
|
158483
158518
|
return new ExpiredTokenError2(e);
|
|
@@ -158488,14 +158523,14 @@ function toKnownErr51(e) {
|
|
|
158488
158523
|
}
|
|
158489
158524
|
|
|
158490
158525
|
// ../api/src/client/types/com/atproto/server/deleteSession.ts
|
|
158491
|
-
function
|
|
158526
|
+
function toKnownErr53(e) {
|
|
158492
158527
|
if (e instanceof XRPCError) {
|
|
158493
158528
|
}
|
|
158494
158529
|
return e;
|
|
158495
158530
|
}
|
|
158496
158531
|
|
|
158497
158532
|
// ../api/src/client/types/com/atproto/server/describeServer.ts
|
|
158498
|
-
function
|
|
158533
|
+
function toKnownErr54(e) {
|
|
158499
158534
|
if (e instanceof XRPCError) {
|
|
158500
158535
|
}
|
|
158501
158536
|
return e;
|
|
@@ -158507,7 +158542,7 @@ var DuplicateCreateError = class extends XRPCError {
|
|
|
158507
158542
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158508
158543
|
}
|
|
158509
158544
|
};
|
|
158510
|
-
function
|
|
158545
|
+
function toKnownErr55(e) {
|
|
158511
158546
|
if (e instanceof XRPCError) {
|
|
158512
158547
|
if (e.error === "DuplicateCreate")
|
|
158513
158548
|
return new DuplicateCreateError(e);
|
|
@@ -158516,14 +158551,14 @@ function toKnownErr54(e) {
|
|
|
158516
158551
|
}
|
|
158517
158552
|
|
|
158518
158553
|
// ../api/src/client/types/com/atproto/server/getServiceAuth.ts
|
|
158519
|
-
function
|
|
158554
|
+
function toKnownErr56(e) {
|
|
158520
158555
|
if (e instanceof XRPCError) {
|
|
158521
158556
|
}
|
|
158522
158557
|
return e;
|
|
158523
158558
|
}
|
|
158524
158559
|
|
|
158525
158560
|
// ../api/src/client/types/com/atproto/server/getSession.ts
|
|
158526
|
-
function
|
|
158561
|
+
function toKnownErr57(e) {
|
|
158527
158562
|
if (e instanceof XRPCError) {
|
|
158528
158563
|
}
|
|
158529
158564
|
return e;
|
|
@@ -158535,7 +158570,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
158535
158570
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158536
158571
|
}
|
|
158537
158572
|
};
|
|
158538
|
-
function
|
|
158573
|
+
function toKnownErr58(e) {
|
|
158539
158574
|
if (e instanceof XRPCError) {
|
|
158540
158575
|
if (e.error === "AccountTakedown")
|
|
158541
158576
|
return new AccountTakedownError3(e);
|
|
@@ -158549,7 +158584,7 @@ var AccountTakedownError4 = class extends XRPCError {
|
|
|
158549
158584
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158550
158585
|
}
|
|
158551
158586
|
};
|
|
158552
|
-
function
|
|
158587
|
+
function toKnownErr59(e) {
|
|
158553
158588
|
if (e instanceof XRPCError) {
|
|
158554
158589
|
if (e.error === "AccountTakedown")
|
|
158555
158590
|
return new AccountTakedownError4(e);
|
|
@@ -158558,35 +158593,35 @@ function toKnownErr58(e) {
|
|
|
158558
158593
|
}
|
|
158559
158594
|
|
|
158560
158595
|
// ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
158561
|
-
function
|
|
158596
|
+
function toKnownErr60(e) {
|
|
158562
158597
|
if (e instanceof XRPCError) {
|
|
158563
158598
|
}
|
|
158564
158599
|
return e;
|
|
158565
158600
|
}
|
|
158566
158601
|
|
|
158567
158602
|
// ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
158568
|
-
function
|
|
158603
|
+
function toKnownErr61(e) {
|
|
158569
158604
|
if (e instanceof XRPCError) {
|
|
158570
158605
|
}
|
|
158571
158606
|
return e;
|
|
158572
158607
|
}
|
|
158573
158608
|
|
|
158574
158609
|
// ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
158575
|
-
function
|
|
158610
|
+
function toKnownErr62(e) {
|
|
158576
158611
|
if (e instanceof XRPCError) {
|
|
158577
158612
|
}
|
|
158578
158613
|
return e;
|
|
158579
158614
|
}
|
|
158580
158615
|
|
|
158581
158616
|
// ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
158582
|
-
function
|
|
158617
|
+
function toKnownErr63(e) {
|
|
158583
158618
|
if (e instanceof XRPCError) {
|
|
158584
158619
|
}
|
|
158585
158620
|
return e;
|
|
158586
158621
|
}
|
|
158587
158622
|
|
|
158588
158623
|
// ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
158589
|
-
function
|
|
158624
|
+
function toKnownErr64(e) {
|
|
158590
158625
|
if (e instanceof XRPCError) {
|
|
158591
158626
|
}
|
|
158592
158627
|
return e;
|
|
@@ -158603,7 +158638,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
158603
158638
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158604
158639
|
}
|
|
158605
158640
|
};
|
|
158606
|
-
function
|
|
158641
|
+
function toKnownErr65(e) {
|
|
158607
158642
|
if (e instanceof XRPCError) {
|
|
158608
158643
|
if (e.error === "ExpiredToken")
|
|
158609
158644
|
return new ExpiredTokenError3(e);
|
|
@@ -158614,7 +158649,7 @@ function toKnownErr64(e) {
|
|
|
158614
158649
|
}
|
|
158615
158650
|
|
|
158616
158651
|
// ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
158617
|
-
function
|
|
158652
|
+
function toKnownErr66(e) {
|
|
158618
158653
|
if (e instanceof XRPCError) {
|
|
158619
158654
|
}
|
|
158620
158655
|
return e;
|
|
@@ -158636,7 +158671,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
158636
158671
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158637
158672
|
}
|
|
158638
158673
|
};
|
|
158639
|
-
function
|
|
158674
|
+
function toKnownErr67(e) {
|
|
158640
158675
|
if (e instanceof XRPCError) {
|
|
158641
158676
|
if (e.error === "ExpiredToken")
|
|
158642
158677
|
return new ExpiredTokenError4(e);
|
|
@@ -158649,21 +158684,21 @@ function toKnownErr66(e) {
|
|
|
158649
158684
|
}
|
|
158650
158685
|
|
|
158651
158686
|
// ../api/src/client/types/com/atproto/sync/getBlob.ts
|
|
158652
|
-
function
|
|
158687
|
+
function toKnownErr68(e) {
|
|
158653
158688
|
if (e instanceof XRPCError) {
|
|
158654
158689
|
}
|
|
158655
158690
|
return e;
|
|
158656
158691
|
}
|
|
158657
158692
|
|
|
158658
158693
|
// ../api/src/client/types/com/atproto/sync/getBlocks.ts
|
|
158659
|
-
function
|
|
158694
|
+
function toKnownErr69(e) {
|
|
158660
158695
|
if (e instanceof XRPCError) {
|
|
158661
158696
|
}
|
|
158662
158697
|
return e;
|
|
158663
158698
|
}
|
|
158664
158699
|
|
|
158665
158700
|
// ../api/src/client/types/com/atproto/sync/getCheckout.ts
|
|
158666
|
-
function
|
|
158701
|
+
function toKnownErr70(e) {
|
|
158667
158702
|
if (e instanceof XRPCError) {
|
|
158668
158703
|
}
|
|
158669
158704
|
return e;
|
|
@@ -158675,7 +158710,7 @@ var HeadNotFoundError = class extends XRPCError {
|
|
|
158675
158710
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158676
158711
|
}
|
|
158677
158712
|
};
|
|
158678
|
-
function
|
|
158713
|
+
function toKnownErr71(e) {
|
|
158679
158714
|
if (e instanceof XRPCError) {
|
|
158680
158715
|
if (e.error === "HeadNotFound")
|
|
158681
158716
|
return new HeadNotFoundError(e);
|
|
@@ -158687,14 +158722,14 @@ function toKnownErr70(e) {
|
|
|
158687
158722
|
var getLatestCommit_exports = {};
|
|
158688
158723
|
__export(getLatestCommit_exports, {
|
|
158689
158724
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
158690
|
-
toKnownErr: () =>
|
|
158725
|
+
toKnownErr: () => toKnownErr72
|
|
158691
158726
|
});
|
|
158692
158727
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
158693
158728
|
constructor(src3) {
|
|
158694
158729
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158695
158730
|
}
|
|
158696
158731
|
};
|
|
158697
|
-
function
|
|
158732
|
+
function toKnownErr72(e) {
|
|
158698
158733
|
if (e instanceof XRPCError) {
|
|
158699
158734
|
if (e.error === "RepoNotFound")
|
|
158700
158735
|
return new RepoNotFoundError2(e);
|
|
@@ -158703,126 +158738,126 @@ function toKnownErr71(e) {
|
|
|
158703
158738
|
}
|
|
158704
158739
|
|
|
158705
158740
|
// ../api/src/client/types/com/atproto/sync/getRecord.ts
|
|
158706
|
-
function
|
|
158741
|
+
function toKnownErr73(e) {
|
|
158707
158742
|
if (e instanceof XRPCError) {
|
|
158708
158743
|
}
|
|
158709
158744
|
return e;
|
|
158710
158745
|
}
|
|
158711
158746
|
|
|
158712
158747
|
// ../api/src/client/types/com/atproto/sync/getRepo.ts
|
|
158713
|
-
function
|
|
158748
|
+
function toKnownErr74(e) {
|
|
158714
158749
|
if (e instanceof XRPCError) {
|
|
158715
158750
|
}
|
|
158716
158751
|
return e;
|
|
158717
158752
|
}
|
|
158718
158753
|
|
|
158719
158754
|
// ../api/src/client/types/com/atproto/sync/listBlobs.ts
|
|
158720
|
-
function
|
|
158755
|
+
function toKnownErr75(e) {
|
|
158721
158756
|
if (e instanceof XRPCError) {
|
|
158722
158757
|
}
|
|
158723
158758
|
return e;
|
|
158724
158759
|
}
|
|
158725
158760
|
|
|
158726
158761
|
// ../api/src/client/types/com/atproto/sync/listRepos.ts
|
|
158727
|
-
function
|
|
158762
|
+
function toKnownErr76(e) {
|
|
158728
158763
|
if (e instanceof XRPCError) {
|
|
158729
158764
|
}
|
|
158730
158765
|
return e;
|
|
158731
158766
|
}
|
|
158732
158767
|
|
|
158733
158768
|
// ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
158734
|
-
function
|
|
158769
|
+
function toKnownErr77(e) {
|
|
158735
158770
|
if (e instanceof XRPCError) {
|
|
158736
158771
|
}
|
|
158737
158772
|
return e;
|
|
158738
158773
|
}
|
|
158739
158774
|
|
|
158740
158775
|
// ../api/src/client/types/com/atproto/sync/requestCrawl.ts
|
|
158741
|
-
function
|
|
158776
|
+
function toKnownErr78(e) {
|
|
158742
158777
|
if (e instanceof XRPCError) {
|
|
158743
158778
|
}
|
|
158744
158779
|
return e;
|
|
158745
158780
|
}
|
|
158746
158781
|
|
|
158747
158782
|
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
158748
|
-
function
|
|
158783
|
+
function toKnownErr79(e) {
|
|
158749
158784
|
if (e instanceof XRPCError) {
|
|
158750
158785
|
}
|
|
158751
158786
|
return e;
|
|
158752
158787
|
}
|
|
158753
158788
|
|
|
158754
158789
|
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
158755
|
-
function
|
|
158790
|
+
function toKnownErr80(e) {
|
|
158756
158791
|
if (e instanceof XRPCError) {
|
|
158757
158792
|
}
|
|
158758
158793
|
return e;
|
|
158759
158794
|
}
|
|
158760
158795
|
|
|
158761
158796
|
// ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
158762
|
-
function
|
|
158797
|
+
function toKnownErr81(e) {
|
|
158763
158798
|
if (e instanceof XRPCError) {
|
|
158764
158799
|
}
|
|
158765
158800
|
return e;
|
|
158766
158801
|
}
|
|
158767
158802
|
|
|
158768
158803
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
158769
|
-
function
|
|
158804
|
+
function toKnownErr82(e) {
|
|
158770
158805
|
if (e instanceof XRPCError) {
|
|
158771
158806
|
}
|
|
158772
158807
|
return e;
|
|
158773
158808
|
}
|
|
158774
158809
|
|
|
158775
158810
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
158776
|
-
function
|
|
158811
|
+
function toKnownErr83(e) {
|
|
158777
158812
|
if (e instanceof XRPCError) {
|
|
158778
158813
|
}
|
|
158779
158814
|
return e;
|
|
158780
158815
|
}
|
|
158781
158816
|
|
|
158782
158817
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
158783
|
-
function
|
|
158818
|
+
function toKnownErr84(e) {
|
|
158784
158819
|
if (e instanceof XRPCError) {
|
|
158785
158820
|
}
|
|
158786
158821
|
return e;
|
|
158787
158822
|
}
|
|
158788
158823
|
|
|
158789
158824
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
158790
|
-
function
|
|
158825
|
+
function toKnownErr85(e) {
|
|
158791
158826
|
if (e instanceof XRPCError) {
|
|
158792
158827
|
}
|
|
158793
158828
|
return e;
|
|
158794
158829
|
}
|
|
158795
158830
|
|
|
158796
158831
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
158797
|
-
function
|
|
158832
|
+
function toKnownErr86(e) {
|
|
158798
158833
|
if (e instanceof XRPCError) {
|
|
158799
158834
|
}
|
|
158800
158835
|
return e;
|
|
158801
158836
|
}
|
|
158802
158837
|
|
|
158803
158838
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
158804
|
-
function
|
|
158839
|
+
function toKnownErr87(e) {
|
|
158805
158840
|
if (e instanceof XRPCError) {
|
|
158806
158841
|
}
|
|
158807
158842
|
return e;
|
|
158808
158843
|
}
|
|
158809
158844
|
|
|
158810
158845
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
158811
|
-
function
|
|
158846
|
+
function toKnownErr88(e) {
|
|
158812
158847
|
if (e instanceof XRPCError) {
|
|
158813
158848
|
}
|
|
158814
158849
|
return e;
|
|
158815
158850
|
}
|
|
158816
158851
|
|
|
158817
158852
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
158818
|
-
function
|
|
158853
|
+
function toKnownErr89(e) {
|
|
158819
158854
|
if (e instanceof XRPCError) {
|
|
158820
158855
|
}
|
|
158821
158856
|
return e;
|
|
158822
158857
|
}
|
|
158823
158858
|
|
|
158824
158859
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
158825
|
-
function
|
|
158860
|
+
function toKnownErr90(e) {
|
|
158826
158861
|
if (e instanceof XRPCError) {
|
|
158827
158862
|
}
|
|
158828
158863
|
return e;
|
|
@@ -158839,7 +158874,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
158839
158874
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158840
158875
|
}
|
|
158841
158876
|
};
|
|
158842
|
-
function
|
|
158877
|
+
function toKnownErr91(e) {
|
|
158843
158878
|
if (e instanceof XRPCError) {
|
|
158844
158879
|
if (e.error === "BlockedActor")
|
|
158845
158880
|
return new BlockedActorError(e);
|
|
@@ -158860,7 +158895,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
158860
158895
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158861
158896
|
}
|
|
158862
158897
|
};
|
|
158863
|
-
function
|
|
158898
|
+
function toKnownErr92(e) {
|
|
158864
158899
|
if (e instanceof XRPCError) {
|
|
158865
158900
|
if (e.error === "BlockedActor")
|
|
158866
158901
|
return new BlockedActorError2(e);
|
|
@@ -158876,7 +158911,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
158876
158911
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158877
158912
|
}
|
|
158878
158913
|
};
|
|
158879
|
-
function
|
|
158914
|
+
function toKnownErr93(e) {
|
|
158880
158915
|
if (e instanceof XRPCError) {
|
|
158881
158916
|
if (e.error === "UnknownFeed")
|
|
158882
158917
|
return new UnknownFeedError(e);
|
|
@@ -158885,14 +158920,14 @@ function toKnownErr92(e) {
|
|
|
158885
158920
|
}
|
|
158886
158921
|
|
|
158887
158922
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
158888
|
-
function
|
|
158923
|
+
function toKnownErr94(e) {
|
|
158889
158924
|
if (e instanceof XRPCError) {
|
|
158890
158925
|
}
|
|
158891
158926
|
return e;
|
|
158892
158927
|
}
|
|
158893
158928
|
|
|
158894
158929
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
158895
|
-
function
|
|
158930
|
+
function toKnownErr95(e) {
|
|
158896
158931
|
if (e instanceof XRPCError) {
|
|
158897
158932
|
}
|
|
158898
158933
|
return e;
|
|
@@ -158902,14 +158937,14 @@ function toKnownErr94(e) {
|
|
|
158902
158937
|
var getFeedSkeleton_exports = {};
|
|
158903
158938
|
__export(getFeedSkeleton_exports, {
|
|
158904
158939
|
UnknownFeedError: () => UnknownFeedError2,
|
|
158905
|
-
toKnownErr: () =>
|
|
158940
|
+
toKnownErr: () => toKnownErr96
|
|
158906
158941
|
});
|
|
158907
158942
|
var UnknownFeedError2 = class extends XRPCError {
|
|
158908
158943
|
constructor(src3) {
|
|
158909
158944
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158910
158945
|
}
|
|
158911
158946
|
};
|
|
158912
|
-
function
|
|
158947
|
+
function toKnownErr96(e) {
|
|
158913
158948
|
if (e instanceof XRPCError) {
|
|
158914
158949
|
if (e.error === "UnknownFeed")
|
|
158915
158950
|
return new UnknownFeedError2(e);
|
|
@@ -158918,7 +158953,7 @@ function toKnownErr95(e) {
|
|
|
158918
158953
|
}
|
|
158919
158954
|
|
|
158920
158955
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
158921
|
-
function
|
|
158956
|
+
function toKnownErr97(e) {
|
|
158922
158957
|
if (e instanceof XRPCError) {
|
|
158923
158958
|
}
|
|
158924
158959
|
return e;
|
|
@@ -158930,7 +158965,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
158930
158965
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158931
158966
|
}
|
|
158932
158967
|
};
|
|
158933
|
-
function
|
|
158968
|
+
function toKnownErr98(e) {
|
|
158934
158969
|
if (e instanceof XRPCError) {
|
|
158935
158970
|
if (e.error === "UnknownList")
|
|
158936
158971
|
return new UnknownListError(e);
|
|
@@ -158944,7 +158979,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
158944
158979
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158945
158980
|
}
|
|
158946
158981
|
};
|
|
158947
|
-
function
|
|
158982
|
+
function toKnownErr99(e) {
|
|
158948
158983
|
if (e instanceof XRPCError) {
|
|
158949
158984
|
if (e.error === "NotFound")
|
|
158950
158985
|
return new NotFoundError(e);
|
|
@@ -158953,28 +158988,28 @@ function toKnownErr98(e) {
|
|
|
158953
158988
|
}
|
|
158954
158989
|
|
|
158955
158990
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
158956
|
-
function
|
|
158991
|
+
function toKnownErr100(e) {
|
|
158957
158992
|
if (e instanceof XRPCError) {
|
|
158958
158993
|
}
|
|
158959
158994
|
return e;
|
|
158960
158995
|
}
|
|
158961
158996
|
|
|
158962
158997
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
158963
|
-
function
|
|
158998
|
+
function toKnownErr101(e) {
|
|
158964
158999
|
if (e instanceof XRPCError) {
|
|
158965
159000
|
}
|
|
158966
159001
|
return e;
|
|
158967
159002
|
}
|
|
158968
159003
|
|
|
158969
159004
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
158970
|
-
function
|
|
159005
|
+
function toKnownErr102(e) {
|
|
158971
159006
|
if (e instanceof XRPCError) {
|
|
158972
159007
|
}
|
|
158973
159008
|
return e;
|
|
158974
159009
|
}
|
|
158975
159010
|
|
|
158976
159011
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
158977
|
-
function
|
|
159012
|
+
function toKnownErr103(e) {
|
|
158978
159013
|
if (e instanceof XRPCError) {
|
|
158979
159014
|
}
|
|
158980
159015
|
return e;
|
|
@@ -158986,7 +159021,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
158986
159021
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158987
159022
|
}
|
|
158988
159023
|
};
|
|
158989
|
-
function
|
|
159024
|
+
function toKnownErr104(e) {
|
|
158990
159025
|
if (e instanceof XRPCError) {
|
|
158991
159026
|
if (e.error === "BadQueryString")
|
|
158992
159027
|
return new BadQueryStringError(e);
|
|
@@ -158995,56 +159030,56 @@ function toKnownErr103(e) {
|
|
|
158995
159030
|
}
|
|
158996
159031
|
|
|
158997
159032
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
158998
|
-
function
|
|
159033
|
+
function toKnownErr105(e) {
|
|
158999
159034
|
if (e instanceof XRPCError) {
|
|
159000
159035
|
}
|
|
159001
159036
|
return e;
|
|
159002
159037
|
}
|
|
159003
159038
|
|
|
159004
159039
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
159005
|
-
function
|
|
159040
|
+
function toKnownErr106(e) {
|
|
159006
159041
|
if (e instanceof XRPCError) {
|
|
159007
159042
|
}
|
|
159008
159043
|
return e;
|
|
159009
159044
|
}
|
|
159010
159045
|
|
|
159011
159046
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
159012
|
-
function
|
|
159047
|
+
function toKnownErr107(e) {
|
|
159013
159048
|
if (e instanceof XRPCError) {
|
|
159014
159049
|
}
|
|
159015
159050
|
return e;
|
|
159016
159051
|
}
|
|
159017
159052
|
|
|
159018
159053
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
159019
|
-
function
|
|
159054
|
+
function toKnownErr108(e) {
|
|
159020
159055
|
if (e instanceof XRPCError) {
|
|
159021
159056
|
}
|
|
159022
159057
|
return e;
|
|
159023
159058
|
}
|
|
159024
159059
|
|
|
159025
159060
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
159026
|
-
function
|
|
159061
|
+
function toKnownErr109(e) {
|
|
159027
159062
|
if (e instanceof XRPCError) {
|
|
159028
159063
|
}
|
|
159029
159064
|
return e;
|
|
159030
159065
|
}
|
|
159031
159066
|
|
|
159032
159067
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
159033
|
-
function
|
|
159068
|
+
function toKnownErr110(e) {
|
|
159034
159069
|
if (e instanceof XRPCError) {
|
|
159035
159070
|
}
|
|
159036
159071
|
return e;
|
|
159037
159072
|
}
|
|
159038
159073
|
|
|
159039
159074
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
159040
|
-
function
|
|
159075
|
+
function toKnownErr111(e) {
|
|
159041
159076
|
if (e instanceof XRPCError) {
|
|
159042
159077
|
}
|
|
159043
159078
|
return e;
|
|
159044
159079
|
}
|
|
159045
159080
|
|
|
159046
159081
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
159047
|
-
function
|
|
159082
|
+
function toKnownErr112(e) {
|
|
159048
159083
|
if (e instanceof XRPCError) {
|
|
159049
159084
|
}
|
|
159050
159085
|
return e;
|
|
@@ -159056,7 +159091,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
159056
159091
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
159057
159092
|
}
|
|
159058
159093
|
};
|
|
159059
|
-
function
|
|
159094
|
+
function toKnownErr113(e) {
|
|
159060
159095
|
if (e instanceof XRPCError) {
|
|
159061
159096
|
if (e.error === "ActorNotFound")
|
|
159062
159097
|
return new ActorNotFoundError(e);
|
|
@@ -159065,77 +159100,77 @@ function toKnownErr112(e) {
|
|
|
159065
159100
|
}
|
|
159066
159101
|
|
|
159067
159102
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
159068
|
-
function
|
|
159103
|
+
function toKnownErr114(e) {
|
|
159069
159104
|
if (e instanceof XRPCError) {
|
|
159070
159105
|
}
|
|
159071
159106
|
return e;
|
|
159072
159107
|
}
|
|
159073
159108
|
|
|
159074
159109
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
159075
|
-
function
|
|
159110
|
+
function toKnownErr115(e) {
|
|
159076
159111
|
if (e instanceof XRPCError) {
|
|
159077
159112
|
}
|
|
159078
159113
|
return e;
|
|
159079
159114
|
}
|
|
159080
159115
|
|
|
159081
159116
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
159082
|
-
function
|
|
159117
|
+
function toKnownErr116(e) {
|
|
159083
159118
|
if (e instanceof XRPCError) {
|
|
159084
159119
|
}
|
|
159085
159120
|
return e;
|
|
159086
159121
|
}
|
|
159087
159122
|
|
|
159088
159123
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
159089
|
-
function
|
|
159124
|
+
function toKnownErr117(e) {
|
|
159090
159125
|
if (e instanceof XRPCError) {
|
|
159091
159126
|
}
|
|
159092
159127
|
return e;
|
|
159093
159128
|
}
|
|
159094
159129
|
|
|
159095
159130
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
159096
|
-
function
|
|
159131
|
+
function toKnownErr118(e) {
|
|
159097
159132
|
if (e instanceof XRPCError) {
|
|
159098
159133
|
}
|
|
159099
159134
|
return e;
|
|
159100
159135
|
}
|
|
159101
159136
|
|
|
159102
159137
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
159103
|
-
function
|
|
159138
|
+
function toKnownErr119(e) {
|
|
159104
159139
|
if (e instanceof XRPCError) {
|
|
159105
159140
|
}
|
|
159106
159141
|
return e;
|
|
159107
159142
|
}
|
|
159108
159143
|
|
|
159109
159144
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
159110
|
-
function
|
|
159145
|
+
function toKnownErr120(e) {
|
|
159111
159146
|
if (e instanceof XRPCError) {
|
|
159112
159147
|
}
|
|
159113
159148
|
return e;
|
|
159114
159149
|
}
|
|
159115
159150
|
|
|
159116
159151
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
159117
|
-
function
|
|
159152
|
+
function toKnownErr121(e) {
|
|
159118
159153
|
if (e instanceof XRPCError) {
|
|
159119
159154
|
}
|
|
159120
159155
|
return e;
|
|
159121
159156
|
}
|
|
159122
159157
|
|
|
159123
159158
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
159124
|
-
function
|
|
159159
|
+
function toKnownErr122(e) {
|
|
159125
159160
|
if (e instanceof XRPCError) {
|
|
159126
159161
|
}
|
|
159127
159162
|
return e;
|
|
159128
159163
|
}
|
|
159129
159164
|
|
|
159130
159165
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
159131
|
-
function
|
|
159166
|
+
function toKnownErr123(e) {
|
|
159132
159167
|
if (e instanceof XRPCError) {
|
|
159133
159168
|
}
|
|
159134
159169
|
return e;
|
|
159135
159170
|
}
|
|
159136
159171
|
|
|
159137
159172
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
159138
|
-
function
|
|
159173
|
+
function toKnownErr124(e) {
|
|
159139
159174
|
if (e instanceof XRPCError) {
|
|
159140
159175
|
}
|
|
159141
159176
|
return e;
|
|
@@ -159147,7 +159182,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
159147
159182
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
159148
159183
|
}
|
|
159149
159184
|
};
|
|
159150
|
-
function
|
|
159185
|
+
function toKnownErr125(e) {
|
|
159151
159186
|
if (e instanceof XRPCError) {
|
|
159152
159187
|
if (e.error === "BadQueryString")
|
|
159153
159188
|
return new BadQueryStringError2(e);
|
|
@@ -159161,7 +159196,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
159161
159196
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
159162
159197
|
}
|
|
159163
159198
|
};
|
|
159164
|
-
function
|
|
159199
|
+
function toKnownErr126(e) {
|
|
159165
159200
|
if (e instanceof XRPCError) {
|
|
159166
159201
|
if (e.error === "BadQueryString")
|
|
159167
159202
|
return new BadQueryStringError3(e);
|
|
@@ -159318,14 +159353,19 @@ var ComAtprotoAdminNS = class {
|
|
|
159318
159353
|
throw toKnownErr21(e);
|
|
159319
159354
|
});
|
|
159320
159355
|
}
|
|
159356
|
+
updateAccountPassword(data, opts) {
|
|
159357
|
+
return this._service.xrpc.call("com.atproto.admin.updateAccountPassword", opts?.qp, data, opts).catch((e) => {
|
|
159358
|
+
throw toKnownErr22(e);
|
|
159359
|
+
});
|
|
159360
|
+
}
|
|
159321
159361
|
updateCommunicationTemplate(data, opts) {
|
|
159322
159362
|
return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
159323
|
-
throw
|
|
159363
|
+
throw toKnownErr23(e);
|
|
159324
159364
|
});
|
|
159325
159365
|
}
|
|
159326
159366
|
updateSubjectStatus(data, opts) {
|
|
159327
159367
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
159328
|
-
throw
|
|
159368
|
+
throw toKnownErr24(e);
|
|
159329
159369
|
});
|
|
159330
159370
|
}
|
|
159331
159371
|
};
|
|
@@ -159335,32 +159375,32 @@ var ComAtprotoIdentityNS = class {
|
|
|
159335
159375
|
}
|
|
159336
159376
|
getRecommendedDidCredentials(params2, opts) {
|
|
159337
159377
|
return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
|
|
159338
|
-
throw
|
|
159378
|
+
throw toKnownErr25(e);
|
|
159339
159379
|
});
|
|
159340
159380
|
}
|
|
159341
159381
|
requestPlcOperationSignature(data, opts) {
|
|
159342
159382
|
return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
|
|
159343
|
-
throw
|
|
159383
|
+
throw toKnownErr26(e);
|
|
159344
159384
|
});
|
|
159345
159385
|
}
|
|
159346
159386
|
resolveHandle(params2, opts) {
|
|
159347
159387
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
159348
|
-
throw
|
|
159388
|
+
throw toKnownErr27(e);
|
|
159349
159389
|
});
|
|
159350
159390
|
}
|
|
159351
159391
|
signPlcOperation(data, opts) {
|
|
159352
159392
|
return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
159353
|
-
throw
|
|
159393
|
+
throw toKnownErr28(e);
|
|
159354
159394
|
});
|
|
159355
159395
|
}
|
|
159356
159396
|
submitPlcOperation(data, opts) {
|
|
159357
159397
|
return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
159358
|
-
throw
|
|
159398
|
+
throw toKnownErr29(e);
|
|
159359
159399
|
});
|
|
159360
159400
|
}
|
|
159361
159401
|
updateHandle(data, opts) {
|
|
159362
159402
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
159363
|
-
throw
|
|
159403
|
+
throw toKnownErr30(e);
|
|
159364
159404
|
});
|
|
159365
159405
|
}
|
|
159366
159406
|
};
|
|
@@ -159370,7 +159410,7 @@ var ComAtprotoLabelNS = class {
|
|
|
159370
159410
|
}
|
|
159371
159411
|
queryLabels(params2, opts) {
|
|
159372
159412
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
159373
|
-
throw
|
|
159413
|
+
throw toKnownErr31(e);
|
|
159374
159414
|
});
|
|
159375
159415
|
}
|
|
159376
159416
|
};
|
|
@@ -159380,7 +159420,7 @@ var ComAtprotoModerationNS = class {
|
|
|
159380
159420
|
}
|
|
159381
159421
|
createReport(data, opts) {
|
|
159382
159422
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
159383
|
-
throw
|
|
159423
|
+
throw toKnownErr32(e);
|
|
159384
159424
|
});
|
|
159385
159425
|
}
|
|
159386
159426
|
};
|
|
@@ -159390,52 +159430,52 @@ var ComAtprotoRepoNS = class {
|
|
|
159390
159430
|
}
|
|
159391
159431
|
applyWrites(data, opts) {
|
|
159392
159432
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
159393
|
-
throw
|
|
159433
|
+
throw toKnownErr33(e);
|
|
159394
159434
|
});
|
|
159395
159435
|
}
|
|
159396
159436
|
createRecord(data, opts) {
|
|
159397
159437
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
159398
|
-
throw
|
|
159438
|
+
throw toKnownErr34(e);
|
|
159399
159439
|
});
|
|
159400
159440
|
}
|
|
159401
159441
|
deleteRecord(data, opts) {
|
|
159402
159442
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
159403
|
-
throw
|
|
159443
|
+
throw toKnownErr35(e);
|
|
159404
159444
|
});
|
|
159405
159445
|
}
|
|
159406
159446
|
describeRepo(params2, opts) {
|
|
159407
159447
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
159408
|
-
throw
|
|
159448
|
+
throw toKnownErr36(e);
|
|
159409
159449
|
});
|
|
159410
159450
|
}
|
|
159411
159451
|
getRecord(params2, opts) {
|
|
159412
159452
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
159413
|
-
throw
|
|
159453
|
+
throw toKnownErr37(e);
|
|
159414
159454
|
});
|
|
159415
159455
|
}
|
|
159416
159456
|
importRepo(data, opts) {
|
|
159417
159457
|
return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
159418
|
-
throw
|
|
159458
|
+
throw toKnownErr38(e);
|
|
159419
159459
|
});
|
|
159420
159460
|
}
|
|
159421
159461
|
listMissingBlobs(params2, opts) {
|
|
159422
159462
|
return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
|
|
159423
|
-
throw
|
|
159463
|
+
throw toKnownErr39(e);
|
|
159424
159464
|
});
|
|
159425
159465
|
}
|
|
159426
159466
|
listRecords(params2, opts) {
|
|
159427
159467
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
159428
|
-
throw
|
|
159468
|
+
throw toKnownErr40(e);
|
|
159429
159469
|
});
|
|
159430
159470
|
}
|
|
159431
159471
|
putRecord(data, opts) {
|
|
159432
159472
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
159433
|
-
throw
|
|
159473
|
+
throw toKnownErr41(e);
|
|
159434
159474
|
});
|
|
159435
159475
|
}
|
|
159436
159476
|
uploadBlob(data, opts) {
|
|
159437
159477
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
159438
|
-
throw
|
|
159478
|
+
throw toKnownErr42(e);
|
|
159439
159479
|
});
|
|
159440
159480
|
}
|
|
159441
159481
|
};
|
|
@@ -159445,127 +159485,127 @@ var ComAtprotoServerNS = class {
|
|
|
159445
159485
|
}
|
|
159446
159486
|
activateAccount(data, opts) {
|
|
159447
159487
|
return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
|
|
159448
|
-
throw
|
|
159488
|
+
throw toKnownErr43(e);
|
|
159449
159489
|
});
|
|
159450
159490
|
}
|
|
159451
159491
|
checkAccountStatus(params2, opts) {
|
|
159452
159492
|
return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
|
|
159453
|
-
throw
|
|
159493
|
+
throw toKnownErr44(e);
|
|
159454
159494
|
});
|
|
159455
159495
|
}
|
|
159456
159496
|
confirmEmail(data, opts) {
|
|
159457
159497
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
159458
|
-
throw
|
|
159498
|
+
throw toKnownErr45(e);
|
|
159459
159499
|
});
|
|
159460
159500
|
}
|
|
159461
159501
|
createAccount(data, opts) {
|
|
159462
159502
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
159463
|
-
throw
|
|
159503
|
+
throw toKnownErr46(e);
|
|
159464
159504
|
});
|
|
159465
159505
|
}
|
|
159466
159506
|
createAppPassword(data, opts) {
|
|
159467
159507
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
159468
|
-
throw
|
|
159508
|
+
throw toKnownErr47(e);
|
|
159469
159509
|
});
|
|
159470
159510
|
}
|
|
159471
159511
|
createInviteCode(data, opts) {
|
|
159472
159512
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
159473
|
-
throw
|
|
159513
|
+
throw toKnownErr48(e);
|
|
159474
159514
|
});
|
|
159475
159515
|
}
|
|
159476
159516
|
createInviteCodes(data, opts) {
|
|
159477
159517
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
159478
|
-
throw
|
|
159518
|
+
throw toKnownErr49(e);
|
|
159479
159519
|
});
|
|
159480
159520
|
}
|
|
159481
159521
|
createSession(data, opts) {
|
|
159482
159522
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
159483
|
-
throw
|
|
159523
|
+
throw toKnownErr50(e);
|
|
159484
159524
|
});
|
|
159485
159525
|
}
|
|
159486
159526
|
deactivateAccount(data, opts) {
|
|
159487
159527
|
return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
|
|
159488
|
-
throw
|
|
159528
|
+
throw toKnownErr51(e);
|
|
159489
159529
|
});
|
|
159490
159530
|
}
|
|
159491
159531
|
deleteAccount(data, opts) {
|
|
159492
159532
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
159493
|
-
throw
|
|
159533
|
+
throw toKnownErr52(e);
|
|
159494
159534
|
});
|
|
159495
159535
|
}
|
|
159496
159536
|
deleteSession(data, opts) {
|
|
159497
159537
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
159498
|
-
throw
|
|
159538
|
+
throw toKnownErr53(e);
|
|
159499
159539
|
});
|
|
159500
159540
|
}
|
|
159501
159541
|
describeServer(params2, opts) {
|
|
159502
159542
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
159503
|
-
throw
|
|
159543
|
+
throw toKnownErr54(e);
|
|
159504
159544
|
});
|
|
159505
159545
|
}
|
|
159506
159546
|
getAccountInviteCodes(params2, opts) {
|
|
159507
159547
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
159508
|
-
throw
|
|
159548
|
+
throw toKnownErr55(e);
|
|
159509
159549
|
});
|
|
159510
159550
|
}
|
|
159511
159551
|
getServiceAuth(params2, opts) {
|
|
159512
159552
|
return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
|
|
159513
|
-
throw
|
|
159553
|
+
throw toKnownErr56(e);
|
|
159514
159554
|
});
|
|
159515
159555
|
}
|
|
159516
159556
|
getSession(params2, opts) {
|
|
159517
159557
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
159518
|
-
throw
|
|
159558
|
+
throw toKnownErr57(e);
|
|
159519
159559
|
});
|
|
159520
159560
|
}
|
|
159521
159561
|
listAppPasswords(params2, opts) {
|
|
159522
159562
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
159523
|
-
throw
|
|
159563
|
+
throw toKnownErr58(e);
|
|
159524
159564
|
});
|
|
159525
159565
|
}
|
|
159526
159566
|
refreshSession(data, opts) {
|
|
159527
159567
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
159528
|
-
throw
|
|
159568
|
+
throw toKnownErr59(e);
|
|
159529
159569
|
});
|
|
159530
159570
|
}
|
|
159531
159571
|
requestAccountDelete(data, opts) {
|
|
159532
159572
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
159533
|
-
throw
|
|
159573
|
+
throw toKnownErr60(e);
|
|
159534
159574
|
});
|
|
159535
159575
|
}
|
|
159536
159576
|
requestEmailConfirmation(data, opts) {
|
|
159537
159577
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
159538
|
-
throw
|
|
159578
|
+
throw toKnownErr61(e);
|
|
159539
159579
|
});
|
|
159540
159580
|
}
|
|
159541
159581
|
requestEmailUpdate(data, opts) {
|
|
159542
159582
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
159543
|
-
throw
|
|
159583
|
+
throw toKnownErr62(e);
|
|
159544
159584
|
});
|
|
159545
159585
|
}
|
|
159546
159586
|
requestPasswordReset(data, opts) {
|
|
159547
159587
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
159548
|
-
throw
|
|
159588
|
+
throw toKnownErr63(e);
|
|
159549
159589
|
});
|
|
159550
159590
|
}
|
|
159551
159591
|
reserveSigningKey(data, opts) {
|
|
159552
159592
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
159553
|
-
throw
|
|
159593
|
+
throw toKnownErr64(e);
|
|
159554
159594
|
});
|
|
159555
159595
|
}
|
|
159556
159596
|
resetPassword(data, opts) {
|
|
159557
159597
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
159558
|
-
throw
|
|
159598
|
+
throw toKnownErr65(e);
|
|
159559
159599
|
});
|
|
159560
159600
|
}
|
|
159561
159601
|
revokeAppPassword(data, opts) {
|
|
159562
159602
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
159563
|
-
throw
|
|
159603
|
+
throw toKnownErr66(e);
|
|
159564
159604
|
});
|
|
159565
159605
|
}
|
|
159566
159606
|
updateEmail(data, opts) {
|
|
159567
159607
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
159568
|
-
throw
|
|
159608
|
+
throw toKnownErr67(e);
|
|
159569
159609
|
});
|
|
159570
159610
|
}
|
|
159571
159611
|
};
|
|
@@ -159575,57 +159615,57 @@ var ComAtprotoSyncNS = class {
|
|
|
159575
159615
|
}
|
|
159576
159616
|
getBlob(params2, opts) {
|
|
159577
159617
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
159578
|
-
throw
|
|
159618
|
+
throw toKnownErr68(e);
|
|
159579
159619
|
});
|
|
159580
159620
|
}
|
|
159581
159621
|
getBlocks(params2, opts) {
|
|
159582
159622
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159583
|
-
throw
|
|
159623
|
+
throw toKnownErr69(e);
|
|
159584
159624
|
});
|
|
159585
159625
|
}
|
|
159586
159626
|
getCheckout(params2, opts) {
|
|
159587
159627
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
159588
|
-
throw
|
|
159628
|
+
throw toKnownErr70(e);
|
|
159589
159629
|
});
|
|
159590
159630
|
}
|
|
159591
159631
|
getHead(params2, opts) {
|
|
159592
159632
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
159593
|
-
throw
|
|
159633
|
+
throw toKnownErr71(e);
|
|
159594
159634
|
});
|
|
159595
159635
|
}
|
|
159596
159636
|
getLatestCommit(params2, opts) {
|
|
159597
159637
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
159598
|
-
throw
|
|
159638
|
+
throw toKnownErr72(e);
|
|
159599
159639
|
});
|
|
159600
159640
|
}
|
|
159601
159641
|
getRecord(params2, opts) {
|
|
159602
159642
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
159603
|
-
throw
|
|
159643
|
+
throw toKnownErr73(e);
|
|
159604
159644
|
});
|
|
159605
159645
|
}
|
|
159606
159646
|
getRepo(params2, opts) {
|
|
159607
159647
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
159608
|
-
throw
|
|
159648
|
+
throw toKnownErr74(e);
|
|
159609
159649
|
});
|
|
159610
159650
|
}
|
|
159611
159651
|
listBlobs(params2, opts) {
|
|
159612
159652
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
159613
|
-
throw
|
|
159653
|
+
throw toKnownErr75(e);
|
|
159614
159654
|
});
|
|
159615
159655
|
}
|
|
159616
159656
|
listRepos(params2, opts) {
|
|
159617
159657
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
159618
|
-
throw
|
|
159658
|
+
throw toKnownErr76(e);
|
|
159619
159659
|
});
|
|
159620
159660
|
}
|
|
159621
159661
|
notifyOfUpdate(data, opts) {
|
|
159622
159662
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
159623
|
-
throw
|
|
159663
|
+
throw toKnownErr77(e);
|
|
159624
159664
|
});
|
|
159625
159665
|
}
|
|
159626
159666
|
requestCrawl(data, opts) {
|
|
159627
159667
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
159628
|
-
throw
|
|
159668
|
+
throw toKnownErr78(e);
|
|
159629
159669
|
});
|
|
159630
159670
|
}
|
|
159631
159671
|
};
|
|
@@ -159635,17 +159675,17 @@ var ComAtprotoTempNS = class {
|
|
|
159635
159675
|
}
|
|
159636
159676
|
checkSignupQueue(params2, opts) {
|
|
159637
159677
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
159638
|
-
throw
|
|
159678
|
+
throw toKnownErr79(e);
|
|
159639
159679
|
});
|
|
159640
159680
|
}
|
|
159641
159681
|
fetchLabels(params2, opts) {
|
|
159642
159682
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
159643
|
-
throw
|
|
159683
|
+
throw toKnownErr80(e);
|
|
159644
159684
|
});
|
|
159645
159685
|
}
|
|
159646
159686
|
requestPhoneVerification(data, opts) {
|
|
159647
159687
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
159648
|
-
throw
|
|
159688
|
+
throw toKnownErr81(e);
|
|
159649
159689
|
});
|
|
159650
159690
|
}
|
|
159651
159691
|
};
|
|
@@ -159674,37 +159714,37 @@ var AppBskyActorNS = class {
|
|
|
159674
159714
|
}
|
|
159675
159715
|
getPreferences(params2, opts) {
|
|
159676
159716
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
159677
|
-
throw
|
|
159717
|
+
throw toKnownErr82(e);
|
|
159678
159718
|
});
|
|
159679
159719
|
}
|
|
159680
159720
|
getProfile(params2, opts) {
|
|
159681
159721
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
159682
|
-
throw
|
|
159722
|
+
throw toKnownErr83(e);
|
|
159683
159723
|
});
|
|
159684
159724
|
}
|
|
159685
159725
|
getProfiles(params2, opts) {
|
|
159686
159726
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
159687
|
-
throw
|
|
159727
|
+
throw toKnownErr84(e);
|
|
159688
159728
|
});
|
|
159689
159729
|
}
|
|
159690
159730
|
getSuggestions(params2, opts) {
|
|
159691
159731
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
159692
|
-
throw
|
|
159732
|
+
throw toKnownErr85(e);
|
|
159693
159733
|
});
|
|
159694
159734
|
}
|
|
159695
159735
|
putPreferences(data, opts) {
|
|
159696
159736
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
159697
|
-
throw
|
|
159737
|
+
throw toKnownErr86(e);
|
|
159698
159738
|
});
|
|
159699
159739
|
}
|
|
159700
159740
|
searchActors(params2, opts) {
|
|
159701
159741
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
159702
|
-
throw
|
|
159742
|
+
throw toKnownErr87(e);
|
|
159703
159743
|
});
|
|
159704
159744
|
}
|
|
159705
159745
|
searchActorsTypeahead(params2, opts) {
|
|
159706
159746
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
159707
|
-
throw
|
|
159747
|
+
throw toKnownErr88(e);
|
|
159708
159748
|
});
|
|
159709
159749
|
}
|
|
159710
159750
|
};
|
|
@@ -159751,82 +159791,82 @@ var AppBskyFeedNS = class {
|
|
|
159751
159791
|
}
|
|
159752
159792
|
describeFeedGenerator(params2, opts) {
|
|
159753
159793
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159754
|
-
throw
|
|
159794
|
+
throw toKnownErr89(e);
|
|
159755
159795
|
});
|
|
159756
159796
|
}
|
|
159757
159797
|
getActorFeeds(params2, opts) {
|
|
159758
159798
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
159759
|
-
throw
|
|
159799
|
+
throw toKnownErr90(e);
|
|
159760
159800
|
});
|
|
159761
159801
|
}
|
|
159762
159802
|
getActorLikes(params2, opts) {
|
|
159763
159803
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
159764
|
-
throw
|
|
159804
|
+
throw toKnownErr91(e);
|
|
159765
159805
|
});
|
|
159766
159806
|
}
|
|
159767
159807
|
getAuthorFeed(params2, opts) {
|
|
159768
159808
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
159769
|
-
throw
|
|
159809
|
+
throw toKnownErr92(e);
|
|
159770
159810
|
});
|
|
159771
159811
|
}
|
|
159772
159812
|
getFeed(params2, opts) {
|
|
159773
159813
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
159774
|
-
throw
|
|
159814
|
+
throw toKnownErr93(e);
|
|
159775
159815
|
});
|
|
159776
159816
|
}
|
|
159777
159817
|
getFeedGenerator(params2, opts) {
|
|
159778
159818
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159779
|
-
throw
|
|
159819
|
+
throw toKnownErr94(e);
|
|
159780
159820
|
});
|
|
159781
159821
|
}
|
|
159782
159822
|
getFeedGenerators(params2, opts) {
|
|
159783
159823
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159784
|
-
throw
|
|
159824
|
+
throw toKnownErr95(e);
|
|
159785
159825
|
});
|
|
159786
159826
|
}
|
|
159787
159827
|
getFeedSkeleton(params2, opts) {
|
|
159788
159828
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
159789
|
-
throw
|
|
159829
|
+
throw toKnownErr96(e);
|
|
159790
159830
|
});
|
|
159791
159831
|
}
|
|
159792
159832
|
getLikes(params2, opts) {
|
|
159793
159833
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
159794
|
-
throw
|
|
159834
|
+
throw toKnownErr97(e);
|
|
159795
159835
|
});
|
|
159796
159836
|
}
|
|
159797
159837
|
getListFeed(params2, opts) {
|
|
159798
159838
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
159799
|
-
throw
|
|
159839
|
+
throw toKnownErr98(e);
|
|
159800
159840
|
});
|
|
159801
159841
|
}
|
|
159802
159842
|
getPostThread(params2, opts) {
|
|
159803
159843
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
159804
|
-
throw
|
|
159844
|
+
throw toKnownErr99(e);
|
|
159805
159845
|
});
|
|
159806
159846
|
}
|
|
159807
159847
|
getPosts(params2, opts) {
|
|
159808
159848
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
159809
|
-
throw
|
|
159849
|
+
throw toKnownErr100(e);
|
|
159810
159850
|
});
|
|
159811
159851
|
}
|
|
159812
159852
|
getRepostedBy(params2, opts) {
|
|
159813
159853
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
159814
|
-
throw
|
|
159854
|
+
throw toKnownErr101(e);
|
|
159815
159855
|
});
|
|
159816
159856
|
}
|
|
159817
159857
|
getSuggestedFeeds(params2, opts) {
|
|
159818
159858
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
159819
|
-
throw
|
|
159859
|
+
throw toKnownErr102(e);
|
|
159820
159860
|
});
|
|
159821
159861
|
}
|
|
159822
159862
|
getTimeline(params2, opts) {
|
|
159823
159863
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
159824
|
-
throw
|
|
159864
|
+
throw toKnownErr103(e);
|
|
159825
159865
|
});
|
|
159826
159866
|
}
|
|
159827
159867
|
searchPosts(params2, opts) {
|
|
159828
159868
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
159829
|
-
throw
|
|
159869
|
+
throw toKnownErr104(e);
|
|
159830
159870
|
});
|
|
159831
159871
|
}
|
|
159832
159872
|
};
|
|
@@ -159976,72 +160016,72 @@ var AppBskyGraphNS = class {
|
|
|
159976
160016
|
}
|
|
159977
160017
|
getBlocks(params2, opts) {
|
|
159978
160018
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159979
|
-
throw
|
|
160019
|
+
throw toKnownErr105(e);
|
|
159980
160020
|
});
|
|
159981
160021
|
}
|
|
159982
160022
|
getFollowers(params2, opts) {
|
|
159983
160023
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
159984
|
-
throw
|
|
160024
|
+
throw toKnownErr106(e);
|
|
159985
160025
|
});
|
|
159986
160026
|
}
|
|
159987
160027
|
getFollows(params2, opts) {
|
|
159988
160028
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
159989
|
-
throw
|
|
160029
|
+
throw toKnownErr107(e);
|
|
159990
160030
|
});
|
|
159991
160031
|
}
|
|
159992
160032
|
getList(params2, opts) {
|
|
159993
160033
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
159994
|
-
throw
|
|
160034
|
+
throw toKnownErr108(e);
|
|
159995
160035
|
});
|
|
159996
160036
|
}
|
|
159997
160037
|
getListBlocks(params2, opts) {
|
|
159998
160038
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
159999
|
-
throw
|
|
160039
|
+
throw toKnownErr109(e);
|
|
160000
160040
|
});
|
|
160001
160041
|
}
|
|
160002
160042
|
getListMutes(params2, opts) {
|
|
160003
160043
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
160004
|
-
throw
|
|
160044
|
+
throw toKnownErr110(e);
|
|
160005
160045
|
});
|
|
160006
160046
|
}
|
|
160007
160047
|
getLists(params2, opts) {
|
|
160008
160048
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
160009
|
-
throw
|
|
160049
|
+
throw toKnownErr111(e);
|
|
160010
160050
|
});
|
|
160011
160051
|
}
|
|
160012
160052
|
getMutes(params2, opts) {
|
|
160013
160053
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
160014
|
-
throw
|
|
160054
|
+
throw toKnownErr112(e);
|
|
160015
160055
|
});
|
|
160016
160056
|
}
|
|
160017
160057
|
getRelationships(params2, opts) {
|
|
160018
160058
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
160019
|
-
throw
|
|
160059
|
+
throw toKnownErr113(e);
|
|
160020
160060
|
});
|
|
160021
160061
|
}
|
|
160022
160062
|
getSuggestedFollowsByActor(params2, opts) {
|
|
160023
160063
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
160024
|
-
throw
|
|
160064
|
+
throw toKnownErr114(e);
|
|
160025
160065
|
});
|
|
160026
160066
|
}
|
|
160027
160067
|
muteActor(data, opts) {
|
|
160028
160068
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
160029
|
-
throw
|
|
160069
|
+
throw toKnownErr115(e);
|
|
160030
160070
|
});
|
|
160031
160071
|
}
|
|
160032
160072
|
muteActorList(data, opts) {
|
|
160033
160073
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
160034
|
-
throw
|
|
160074
|
+
throw toKnownErr116(e);
|
|
160035
160075
|
});
|
|
160036
160076
|
}
|
|
160037
160077
|
unmuteActor(data, opts) {
|
|
160038
160078
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
160039
|
-
throw
|
|
160079
|
+
throw toKnownErr117(e);
|
|
160040
160080
|
});
|
|
160041
160081
|
}
|
|
160042
160082
|
unmuteActorList(data, opts) {
|
|
160043
160083
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
160044
|
-
throw
|
|
160084
|
+
throw toKnownErr118(e);
|
|
160045
160085
|
});
|
|
160046
160086
|
}
|
|
160047
160087
|
};
|
|
@@ -160186,22 +160226,22 @@ var AppBskyNotificationNS = class {
|
|
|
160186
160226
|
}
|
|
160187
160227
|
getUnreadCount(params2, opts) {
|
|
160188
160228
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
160189
|
-
throw
|
|
160229
|
+
throw toKnownErr119(e);
|
|
160190
160230
|
});
|
|
160191
160231
|
}
|
|
160192
160232
|
listNotifications(params2, opts) {
|
|
160193
160233
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
160194
|
-
throw
|
|
160234
|
+
throw toKnownErr120(e);
|
|
160195
160235
|
});
|
|
160196
160236
|
}
|
|
160197
160237
|
registerPush(data, opts) {
|
|
160198
160238
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
160199
|
-
throw
|
|
160239
|
+
throw toKnownErr121(e);
|
|
160200
160240
|
});
|
|
160201
160241
|
}
|
|
160202
160242
|
updateSeen(data, opts) {
|
|
160203
160243
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
160204
|
-
throw
|
|
160244
|
+
throw toKnownErr122(e);
|
|
160205
160245
|
});
|
|
160206
160246
|
}
|
|
160207
160247
|
};
|
|
@@ -160216,22 +160256,22 @@ var AppBskyUnspeccedNS = class {
|
|
|
160216
160256
|
}
|
|
160217
160257
|
getPopularFeedGenerators(params2, opts) {
|
|
160218
160258
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
160219
|
-
throw
|
|
160259
|
+
throw toKnownErr123(e);
|
|
160220
160260
|
});
|
|
160221
160261
|
}
|
|
160222
160262
|
getTaggedSuggestions(params2, opts) {
|
|
160223
160263
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
160224
|
-
throw
|
|
160264
|
+
throw toKnownErr124(e);
|
|
160225
160265
|
});
|
|
160226
160266
|
}
|
|
160227
160267
|
searchActorsSkeleton(params2, opts) {
|
|
160228
160268
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
160229
|
-
throw
|
|
160269
|
+
throw toKnownErr125(e);
|
|
160230
160270
|
});
|
|
160231
160271
|
}
|
|
160232
160272
|
searchPostsSkeleton(params2, opts) {
|
|
160233
160273
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
160234
|
-
throw
|
|
160274
|
+
throw toKnownErr126(e);
|
|
160235
160275
|
});
|
|
160236
160276
|
}
|
|
160237
160277
|
};
|
|
@@ -163600,6 +163640,32 @@ var schemaDict2 = {
|
|
|
163600
163640
|
}
|
|
163601
163641
|
}
|
|
163602
163642
|
},
|
|
163643
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
163644
|
+
lexicon: 1,
|
|
163645
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
163646
|
+
defs: {
|
|
163647
|
+
main: {
|
|
163648
|
+
type: "procedure",
|
|
163649
|
+
description: "Update the password for a user account as an administrator.",
|
|
163650
|
+
input: {
|
|
163651
|
+
encoding: "application/json",
|
|
163652
|
+
schema: {
|
|
163653
|
+
type: "object",
|
|
163654
|
+
required: ["did", "password"],
|
|
163655
|
+
properties: {
|
|
163656
|
+
did: {
|
|
163657
|
+
type: "string",
|
|
163658
|
+
format: "did"
|
|
163659
|
+
},
|
|
163660
|
+
password: {
|
|
163661
|
+
type: "string"
|
|
163662
|
+
}
|
|
163663
|
+
}
|
|
163664
|
+
}
|
|
163665
|
+
}
|
|
163666
|
+
}
|
|
163667
|
+
}
|
|
163668
|
+
},
|
|
163603
163669
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
163604
163670
|
lexicon: 1,
|
|
163605
163671
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -166696,7 +166762,9 @@ var schemaDict2 = {
|
|
|
166696
166762
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
166697
166763
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
166698
166764
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
166699
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
166765
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
166766
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
166767
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
166700
166768
|
]
|
|
166701
166769
|
}
|
|
166702
166770
|
},
|
|
@@ -170375,6 +170443,7 @@ var ids = {
|
|
|
170375
170443
|
ComAtprotoAdminSendEmail: "com.atproto.admin.sendEmail",
|
|
170376
170444
|
ComAtprotoAdminUpdateAccountEmail: "com.atproto.admin.updateAccountEmail",
|
|
170377
170445
|
ComAtprotoAdminUpdateAccountHandle: "com.atproto.admin.updateAccountHandle",
|
|
170446
|
+
ComAtprotoAdminUpdateAccountPassword: "com.atproto.admin.updateAccountPassword",
|
|
170378
170447
|
ComAtprotoAdminUpdateCommunicationTemplate: "com.atproto.admin.updateCommunicationTemplate",
|
|
170379
170448
|
ComAtprotoAdminUpdateSubjectStatus: "com.atproto.admin.updateSubjectStatus",
|
|
170380
170449
|
ComAtprotoIdentityGetRecommendedDidCredentials: "com.atproto.identity.getRecommendedDidCredentials",
|
|
@@ -174056,6 +174125,10 @@ var ComAtprotoAdminNS2 = class {
|
|
|
174056
174125
|
const nsid2 = "com.atproto.admin.updateAccountHandle";
|
|
174057
174126
|
return this._server.xrpc.method(nsid2, cfg);
|
|
174058
174127
|
}
|
|
174128
|
+
updateAccountPassword(cfg) {
|
|
174129
|
+
const nsid2 = "com.atproto.admin.updateAccountPassword";
|
|
174130
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174131
|
+
}
|
|
174059
174132
|
updateCommunicationTemplate(cfg) {
|
|
174060
174133
|
const nsid2 = "com.atproto.admin.updateCommunicationTemplate";
|
|
174061
174134
|
return this._server.xrpc.method(nsid2, cfg);
|