@atproto/api 0.4.1 → 0.4.2
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/dist/client/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +42 -0
- package/dist/client/types/com/atproto/admin/sendEmail.d.ts +24 -0
- package/dist/index.js +295 -237
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +42 -0
- package/src/client/types/com/atproto/admin/sendEmail.ts +40 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -8955,6 +8955,7 @@ __export(src_exports4, {
|
|
|
8955
8955
|
ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
|
|
8956
8956
|
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
8957
8957
|
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
8958
|
+
ComAtprotoAdminSendEmail: () => sendEmail_exports,
|
|
8958
8959
|
ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
|
|
8959
8960
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8960
8961
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
@@ -16846,6 +16847,47 @@ var schemaDict = {
|
|
|
16846
16847
|
}
|
|
16847
16848
|
}
|
|
16848
16849
|
},
|
|
16850
|
+
ComAtprotoAdminSendEmail: {
|
|
16851
|
+
lexicon: 1,
|
|
16852
|
+
id: "com.atproto.admin.sendEmail",
|
|
16853
|
+
defs: {
|
|
16854
|
+
main: {
|
|
16855
|
+
type: "procedure",
|
|
16856
|
+
description: "Send email to a user's primary email address",
|
|
16857
|
+
input: {
|
|
16858
|
+
encoding: "application/json",
|
|
16859
|
+
schema: {
|
|
16860
|
+
type: "object",
|
|
16861
|
+
required: ["recipientDid", "content"],
|
|
16862
|
+
properties: {
|
|
16863
|
+
recipientDid: {
|
|
16864
|
+
type: "string",
|
|
16865
|
+
format: "did"
|
|
16866
|
+
},
|
|
16867
|
+
content: {
|
|
16868
|
+
type: "string"
|
|
16869
|
+
},
|
|
16870
|
+
subject: {
|
|
16871
|
+
type: "string"
|
|
16872
|
+
}
|
|
16873
|
+
}
|
|
16874
|
+
}
|
|
16875
|
+
},
|
|
16876
|
+
output: {
|
|
16877
|
+
encoding: "application/json",
|
|
16878
|
+
schema: {
|
|
16879
|
+
type: "object",
|
|
16880
|
+
required: ["sent"],
|
|
16881
|
+
properties: {
|
|
16882
|
+
sent: {
|
|
16883
|
+
type: "boolean"
|
|
16884
|
+
}
|
|
16885
|
+
}
|
|
16886
|
+
}
|
|
16887
|
+
}
|
|
16888
|
+
}
|
|
16889
|
+
}
|
|
16890
|
+
},
|
|
16849
16891
|
ComAtprotoAdminTakeModerationAction: {
|
|
16850
16892
|
lexicon: 1,
|
|
16851
16893
|
id: "com.atproto.admin.takeModerationAction",
|
|
@@ -22216,18 +22258,29 @@ function toKnownErr14(e) {
|
|
|
22216
22258
|
return e;
|
|
22217
22259
|
}
|
|
22218
22260
|
|
|
22261
|
+
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
22262
|
+
var sendEmail_exports = {};
|
|
22263
|
+
__export(sendEmail_exports, {
|
|
22264
|
+
toKnownErr: () => toKnownErr15
|
|
22265
|
+
});
|
|
22266
|
+
function toKnownErr15(e) {
|
|
22267
|
+
if (e instanceof XRPCError) {
|
|
22268
|
+
}
|
|
22269
|
+
return e;
|
|
22270
|
+
}
|
|
22271
|
+
|
|
22219
22272
|
// src/client/types/com/atproto/admin/takeModerationAction.ts
|
|
22220
22273
|
var takeModerationAction_exports = {};
|
|
22221
22274
|
__export(takeModerationAction_exports, {
|
|
22222
22275
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
22223
|
-
toKnownErr: () =>
|
|
22276
|
+
toKnownErr: () => toKnownErr16
|
|
22224
22277
|
});
|
|
22225
22278
|
var SubjectHasActionError = class extends XRPCError {
|
|
22226
22279
|
constructor(src2) {
|
|
22227
22280
|
super(src2.status, src2.error, src2.message);
|
|
22228
22281
|
}
|
|
22229
22282
|
};
|
|
22230
|
-
function
|
|
22283
|
+
function toKnownErr16(e) {
|
|
22231
22284
|
if (e instanceof XRPCError) {
|
|
22232
22285
|
if (e.error === "SubjectHasAction")
|
|
22233
22286
|
return new SubjectHasActionError(e);
|
|
@@ -22238,9 +22291,9 @@ function toKnownErr15(e) {
|
|
|
22238
22291
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
22239
22292
|
var updateAccountEmail_exports = {};
|
|
22240
22293
|
__export(updateAccountEmail_exports, {
|
|
22241
|
-
toKnownErr: () =>
|
|
22294
|
+
toKnownErr: () => toKnownErr17
|
|
22242
22295
|
});
|
|
22243
|
-
function
|
|
22296
|
+
function toKnownErr17(e) {
|
|
22244
22297
|
if (e instanceof XRPCError) {
|
|
22245
22298
|
}
|
|
22246
22299
|
return e;
|
|
@@ -22249,9 +22302,9 @@ function toKnownErr16(e) {
|
|
|
22249
22302
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
22250
22303
|
var updateAccountHandle_exports = {};
|
|
22251
22304
|
__export(updateAccountHandle_exports, {
|
|
22252
|
-
toKnownErr: () =>
|
|
22305
|
+
toKnownErr: () => toKnownErr18
|
|
22253
22306
|
});
|
|
22254
|
-
function
|
|
22307
|
+
function toKnownErr18(e) {
|
|
22255
22308
|
if (e instanceof XRPCError) {
|
|
22256
22309
|
}
|
|
22257
22310
|
return e;
|
|
@@ -22260,9 +22313,9 @@ function toKnownErr17(e) {
|
|
|
22260
22313
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
22261
22314
|
var resolveHandle_exports = {};
|
|
22262
22315
|
__export(resolveHandle_exports, {
|
|
22263
|
-
toKnownErr: () =>
|
|
22316
|
+
toKnownErr: () => toKnownErr19
|
|
22264
22317
|
});
|
|
22265
|
-
function
|
|
22318
|
+
function toKnownErr19(e) {
|
|
22266
22319
|
if (e instanceof XRPCError) {
|
|
22267
22320
|
}
|
|
22268
22321
|
return e;
|
|
@@ -22271,9 +22324,9 @@ function toKnownErr18(e) {
|
|
|
22271
22324
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
22272
22325
|
var updateHandle_exports = {};
|
|
22273
22326
|
__export(updateHandle_exports, {
|
|
22274
|
-
toKnownErr: () =>
|
|
22327
|
+
toKnownErr: () => toKnownErr20
|
|
22275
22328
|
});
|
|
22276
|
-
function
|
|
22329
|
+
function toKnownErr20(e) {
|
|
22277
22330
|
if (e instanceof XRPCError) {
|
|
22278
22331
|
}
|
|
22279
22332
|
return e;
|
|
@@ -22282,9 +22335,9 @@ function toKnownErr19(e) {
|
|
|
22282
22335
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
22283
22336
|
var queryLabels_exports = {};
|
|
22284
22337
|
__export(queryLabels_exports, {
|
|
22285
|
-
toKnownErr: () =>
|
|
22338
|
+
toKnownErr: () => toKnownErr21
|
|
22286
22339
|
});
|
|
22287
|
-
function
|
|
22340
|
+
function toKnownErr21(e) {
|
|
22288
22341
|
if (e instanceof XRPCError) {
|
|
22289
22342
|
}
|
|
22290
22343
|
return e;
|
|
@@ -22293,9 +22346,9 @@ function toKnownErr20(e) {
|
|
|
22293
22346
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
22294
22347
|
var createReport_exports = {};
|
|
22295
22348
|
__export(createReport_exports, {
|
|
22296
|
-
toKnownErr: () =>
|
|
22349
|
+
toKnownErr: () => toKnownErr22
|
|
22297
22350
|
});
|
|
22298
|
-
function
|
|
22351
|
+
function toKnownErr22(e) {
|
|
22299
22352
|
if (e instanceof XRPCError) {
|
|
22300
22353
|
}
|
|
22301
22354
|
return e;
|
|
@@ -22308,7 +22361,7 @@ __export(applyWrites_exports, {
|
|
|
22308
22361
|
isCreate: () => isCreate,
|
|
22309
22362
|
isDelete: () => isDelete,
|
|
22310
22363
|
isUpdate: () => isUpdate,
|
|
22311
|
-
toKnownErr: () =>
|
|
22364
|
+
toKnownErr: () => toKnownErr23,
|
|
22312
22365
|
validateCreate: () => validateCreate,
|
|
22313
22366
|
validateDelete: () => validateDelete,
|
|
22314
22367
|
validateUpdate: () => validateUpdate
|
|
@@ -22328,7 +22381,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
22328
22381
|
super(src2.status, src2.error, src2.message);
|
|
22329
22382
|
}
|
|
22330
22383
|
};
|
|
22331
|
-
function
|
|
22384
|
+
function toKnownErr23(e) {
|
|
22332
22385
|
if (e instanceof XRPCError) {
|
|
22333
22386
|
if (e.error === "InvalidSwap")
|
|
22334
22387
|
return new InvalidSwapError2(e);
|
|
@@ -22358,14 +22411,14 @@ function validateDelete(v) {
|
|
|
22358
22411
|
var createRecord_exports = {};
|
|
22359
22412
|
__export(createRecord_exports, {
|
|
22360
22413
|
InvalidSwapError: () => InvalidSwapError3,
|
|
22361
|
-
toKnownErr: () =>
|
|
22414
|
+
toKnownErr: () => toKnownErr24
|
|
22362
22415
|
});
|
|
22363
22416
|
var InvalidSwapError3 = class extends XRPCError {
|
|
22364
22417
|
constructor(src2) {
|
|
22365
22418
|
super(src2.status, src2.error, src2.message);
|
|
22366
22419
|
}
|
|
22367
22420
|
};
|
|
22368
|
-
function
|
|
22421
|
+
function toKnownErr24(e) {
|
|
22369
22422
|
if (e instanceof XRPCError) {
|
|
22370
22423
|
if (e.error === "InvalidSwap")
|
|
22371
22424
|
return new InvalidSwapError3(e);
|
|
@@ -22377,14 +22430,14 @@ function toKnownErr23(e) {
|
|
|
22377
22430
|
var deleteRecord_exports = {};
|
|
22378
22431
|
__export(deleteRecord_exports, {
|
|
22379
22432
|
InvalidSwapError: () => InvalidSwapError4,
|
|
22380
|
-
toKnownErr: () =>
|
|
22433
|
+
toKnownErr: () => toKnownErr25
|
|
22381
22434
|
});
|
|
22382
22435
|
var InvalidSwapError4 = class extends XRPCError {
|
|
22383
22436
|
constructor(src2) {
|
|
22384
22437
|
super(src2.status, src2.error, src2.message);
|
|
22385
22438
|
}
|
|
22386
22439
|
};
|
|
22387
|
-
function
|
|
22440
|
+
function toKnownErr25(e) {
|
|
22388
22441
|
if (e instanceof XRPCError) {
|
|
22389
22442
|
if (e.error === "InvalidSwap")
|
|
22390
22443
|
return new InvalidSwapError4(e);
|
|
@@ -22395,9 +22448,9 @@ function toKnownErr24(e) {
|
|
|
22395
22448
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
22396
22449
|
var describeRepo_exports = {};
|
|
22397
22450
|
__export(describeRepo_exports, {
|
|
22398
|
-
toKnownErr: () =>
|
|
22451
|
+
toKnownErr: () => toKnownErr26
|
|
22399
22452
|
});
|
|
22400
|
-
function
|
|
22453
|
+
function toKnownErr26(e) {
|
|
22401
22454
|
if (e instanceof XRPCError) {
|
|
22402
22455
|
}
|
|
22403
22456
|
return e;
|
|
@@ -22406,9 +22459,9 @@ function toKnownErr25(e) {
|
|
|
22406
22459
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
22407
22460
|
var getRecord_exports2 = {};
|
|
22408
22461
|
__export(getRecord_exports2, {
|
|
22409
|
-
toKnownErr: () =>
|
|
22462
|
+
toKnownErr: () => toKnownErr27
|
|
22410
22463
|
});
|
|
22411
|
-
function
|
|
22464
|
+
function toKnownErr27(e) {
|
|
22412
22465
|
if (e instanceof XRPCError) {
|
|
22413
22466
|
}
|
|
22414
22467
|
return e;
|
|
@@ -22418,10 +22471,10 @@ function toKnownErr26(e) {
|
|
|
22418
22471
|
var listRecords_exports = {};
|
|
22419
22472
|
__export(listRecords_exports, {
|
|
22420
22473
|
isRecord: () => isRecord,
|
|
22421
|
-
toKnownErr: () =>
|
|
22474
|
+
toKnownErr: () => toKnownErr28,
|
|
22422
22475
|
validateRecord: () => validateRecord
|
|
22423
22476
|
});
|
|
22424
|
-
function
|
|
22477
|
+
function toKnownErr28(e) {
|
|
22425
22478
|
if (e instanceof XRPCError) {
|
|
22426
22479
|
}
|
|
22427
22480
|
return e;
|
|
@@ -22437,14 +22490,14 @@ function validateRecord(v) {
|
|
|
22437
22490
|
var putRecord_exports = {};
|
|
22438
22491
|
__export(putRecord_exports, {
|
|
22439
22492
|
InvalidSwapError: () => InvalidSwapError5,
|
|
22440
|
-
toKnownErr: () =>
|
|
22493
|
+
toKnownErr: () => toKnownErr29
|
|
22441
22494
|
});
|
|
22442
22495
|
var InvalidSwapError5 = class extends XRPCError {
|
|
22443
22496
|
constructor(src2) {
|
|
22444
22497
|
super(src2.status, src2.error, src2.message);
|
|
22445
22498
|
}
|
|
22446
22499
|
};
|
|
22447
|
-
function
|
|
22500
|
+
function toKnownErr29(e) {
|
|
22448
22501
|
if (e instanceof XRPCError) {
|
|
22449
22502
|
if (e.error === "InvalidSwap")
|
|
22450
22503
|
return new InvalidSwapError5(e);
|
|
@@ -22457,7 +22510,7 @@ var rebaseRepo_exports2 = {};
|
|
|
22457
22510
|
__export(rebaseRepo_exports2, {
|
|
22458
22511
|
ConcurrentWritesError: () => ConcurrentWritesError2,
|
|
22459
22512
|
InvalidSwapError: () => InvalidSwapError6,
|
|
22460
|
-
toKnownErr: () =>
|
|
22513
|
+
toKnownErr: () => toKnownErr30
|
|
22461
22514
|
});
|
|
22462
22515
|
var InvalidSwapError6 = class extends XRPCError {
|
|
22463
22516
|
constructor(src2) {
|
|
@@ -22469,7 +22522,7 @@ var ConcurrentWritesError2 = class extends XRPCError {
|
|
|
22469
22522
|
super(src2.status, src2.error, src2.message);
|
|
22470
22523
|
}
|
|
22471
22524
|
};
|
|
22472
|
-
function
|
|
22525
|
+
function toKnownErr30(e) {
|
|
22473
22526
|
if (e instanceof XRPCError) {
|
|
22474
22527
|
if (e.error === "InvalidSwap")
|
|
22475
22528
|
return new InvalidSwapError6(e);
|
|
@@ -22482,9 +22535,9 @@ function toKnownErr29(e) {
|
|
|
22482
22535
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
22483
22536
|
var uploadBlob_exports = {};
|
|
22484
22537
|
__export(uploadBlob_exports, {
|
|
22485
|
-
toKnownErr: () =>
|
|
22538
|
+
toKnownErr: () => toKnownErr31
|
|
22486
22539
|
});
|
|
22487
|
-
function
|
|
22540
|
+
function toKnownErr31(e) {
|
|
22488
22541
|
if (e instanceof XRPCError) {
|
|
22489
22542
|
}
|
|
22490
22543
|
return e;
|
|
@@ -22500,7 +22553,7 @@ __export(createAccount_exports, {
|
|
|
22500
22553
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
22501
22554
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
22502
22555
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
22503
|
-
toKnownErr: () =>
|
|
22556
|
+
toKnownErr: () => toKnownErr32
|
|
22504
22557
|
});
|
|
22505
22558
|
var InvalidHandleError2 = class extends XRPCError {
|
|
22506
22559
|
constructor(src2) {
|
|
@@ -22537,7 +22590,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
22537
22590
|
super(src2.status, src2.error, src2.message);
|
|
22538
22591
|
}
|
|
22539
22592
|
};
|
|
22540
|
-
function
|
|
22593
|
+
function toKnownErr32(e) {
|
|
22541
22594
|
if (e instanceof XRPCError) {
|
|
22542
22595
|
if (e.error === "InvalidHandle")
|
|
22543
22596
|
return new InvalidHandleError2(e);
|
|
@@ -22562,7 +22615,7 @@ var createAppPassword_exports = {};
|
|
|
22562
22615
|
__export(createAppPassword_exports, {
|
|
22563
22616
|
AccountTakedownError: () => AccountTakedownError,
|
|
22564
22617
|
isAppPassword: () => isAppPassword,
|
|
22565
|
-
toKnownErr: () =>
|
|
22618
|
+
toKnownErr: () => toKnownErr33,
|
|
22566
22619
|
validateAppPassword: () => validateAppPassword
|
|
22567
22620
|
});
|
|
22568
22621
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -22570,7 +22623,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
22570
22623
|
super(src2.status, src2.error, src2.message);
|
|
22571
22624
|
}
|
|
22572
22625
|
};
|
|
22573
|
-
function
|
|
22626
|
+
function toKnownErr33(e) {
|
|
22574
22627
|
if (e instanceof XRPCError) {
|
|
22575
22628
|
if (e.error === "AccountTakedown")
|
|
22576
22629
|
return new AccountTakedownError(e);
|
|
@@ -22590,9 +22643,9 @@ function validateAppPassword(v) {
|
|
|
22590
22643
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
22591
22644
|
var createInviteCode_exports = {};
|
|
22592
22645
|
__export(createInviteCode_exports, {
|
|
22593
|
-
toKnownErr: () =>
|
|
22646
|
+
toKnownErr: () => toKnownErr34
|
|
22594
22647
|
});
|
|
22595
|
-
function
|
|
22648
|
+
function toKnownErr34(e) {
|
|
22596
22649
|
if (e instanceof XRPCError) {
|
|
22597
22650
|
}
|
|
22598
22651
|
return e;
|
|
@@ -22602,10 +22655,10 @@ function toKnownErr33(e) {
|
|
|
22602
22655
|
var createInviteCodes_exports = {};
|
|
22603
22656
|
__export(createInviteCodes_exports, {
|
|
22604
22657
|
isAccountCodes: () => isAccountCodes,
|
|
22605
|
-
toKnownErr: () =>
|
|
22658
|
+
toKnownErr: () => toKnownErr35,
|
|
22606
22659
|
validateAccountCodes: () => validateAccountCodes
|
|
22607
22660
|
});
|
|
22608
|
-
function
|
|
22661
|
+
function toKnownErr35(e) {
|
|
22609
22662
|
if (e instanceof XRPCError) {
|
|
22610
22663
|
}
|
|
22611
22664
|
return e;
|
|
@@ -22624,14 +22677,14 @@ function validateAccountCodes(v) {
|
|
|
22624
22677
|
var createSession_exports = {};
|
|
22625
22678
|
__export(createSession_exports, {
|
|
22626
22679
|
AccountTakedownError: () => AccountTakedownError2,
|
|
22627
|
-
toKnownErr: () =>
|
|
22680
|
+
toKnownErr: () => toKnownErr36
|
|
22628
22681
|
});
|
|
22629
22682
|
var AccountTakedownError2 = class extends XRPCError {
|
|
22630
22683
|
constructor(src2) {
|
|
22631
22684
|
super(src2.status, src2.error, src2.message);
|
|
22632
22685
|
}
|
|
22633
22686
|
};
|
|
22634
|
-
function
|
|
22687
|
+
function toKnownErr36(e) {
|
|
22635
22688
|
if (e instanceof XRPCError) {
|
|
22636
22689
|
if (e.error === "AccountTakedown")
|
|
22637
22690
|
return new AccountTakedownError2(e);
|
|
@@ -22644,7 +22697,7 @@ var deleteAccount_exports = {};
|
|
|
22644
22697
|
__export(deleteAccount_exports, {
|
|
22645
22698
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
22646
22699
|
InvalidTokenError: () => InvalidTokenError,
|
|
22647
|
-
toKnownErr: () =>
|
|
22700
|
+
toKnownErr: () => toKnownErr37
|
|
22648
22701
|
});
|
|
22649
22702
|
var ExpiredTokenError = class extends XRPCError {
|
|
22650
22703
|
constructor(src2) {
|
|
@@ -22656,7 +22709,7 @@ var InvalidTokenError = class extends XRPCError {
|
|
|
22656
22709
|
super(src2.status, src2.error, src2.message);
|
|
22657
22710
|
}
|
|
22658
22711
|
};
|
|
22659
|
-
function
|
|
22712
|
+
function toKnownErr37(e) {
|
|
22660
22713
|
if (e instanceof XRPCError) {
|
|
22661
22714
|
if (e.error === "ExpiredToken")
|
|
22662
22715
|
return new ExpiredTokenError(e);
|
|
@@ -22669,9 +22722,9 @@ function toKnownErr36(e) {
|
|
|
22669
22722
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
22670
22723
|
var deleteSession_exports = {};
|
|
22671
22724
|
__export(deleteSession_exports, {
|
|
22672
|
-
toKnownErr: () =>
|
|
22725
|
+
toKnownErr: () => toKnownErr38
|
|
22673
22726
|
});
|
|
22674
|
-
function
|
|
22727
|
+
function toKnownErr38(e) {
|
|
22675
22728
|
if (e instanceof XRPCError) {
|
|
22676
22729
|
}
|
|
22677
22730
|
return e;
|
|
@@ -22681,10 +22734,10 @@ function toKnownErr37(e) {
|
|
|
22681
22734
|
var describeServer_exports = {};
|
|
22682
22735
|
__export(describeServer_exports, {
|
|
22683
22736
|
isLinks: () => isLinks,
|
|
22684
|
-
toKnownErr: () =>
|
|
22737
|
+
toKnownErr: () => toKnownErr39,
|
|
22685
22738
|
validateLinks: () => validateLinks
|
|
22686
22739
|
});
|
|
22687
|
-
function
|
|
22740
|
+
function toKnownErr39(e) {
|
|
22688
22741
|
if (e instanceof XRPCError) {
|
|
22689
22742
|
}
|
|
22690
22743
|
return e;
|
|
@@ -22700,14 +22753,14 @@ function validateLinks(v) {
|
|
|
22700
22753
|
var getAccountInviteCodes_exports = {};
|
|
22701
22754
|
__export(getAccountInviteCodes_exports, {
|
|
22702
22755
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
22703
|
-
toKnownErr: () =>
|
|
22756
|
+
toKnownErr: () => toKnownErr40
|
|
22704
22757
|
});
|
|
22705
22758
|
var DuplicateCreateError = class extends XRPCError {
|
|
22706
22759
|
constructor(src2) {
|
|
22707
22760
|
super(src2.status, src2.error, src2.message);
|
|
22708
22761
|
}
|
|
22709
22762
|
};
|
|
22710
|
-
function
|
|
22763
|
+
function toKnownErr40(e) {
|
|
22711
22764
|
if (e instanceof XRPCError) {
|
|
22712
22765
|
if (e.error === "DuplicateCreate")
|
|
22713
22766
|
return new DuplicateCreateError(e);
|
|
@@ -22718,9 +22771,9 @@ function toKnownErr39(e) {
|
|
|
22718
22771
|
// src/client/types/com/atproto/server/getSession.ts
|
|
22719
22772
|
var getSession_exports = {};
|
|
22720
22773
|
__export(getSession_exports, {
|
|
22721
|
-
toKnownErr: () =>
|
|
22774
|
+
toKnownErr: () => toKnownErr41
|
|
22722
22775
|
});
|
|
22723
|
-
function
|
|
22776
|
+
function toKnownErr41(e) {
|
|
22724
22777
|
if (e instanceof XRPCError) {
|
|
22725
22778
|
}
|
|
22726
22779
|
return e;
|
|
@@ -22731,7 +22784,7 @@ var listAppPasswords_exports = {};
|
|
|
22731
22784
|
__export(listAppPasswords_exports, {
|
|
22732
22785
|
AccountTakedownError: () => AccountTakedownError3,
|
|
22733
22786
|
isAppPassword: () => isAppPassword2,
|
|
22734
|
-
toKnownErr: () =>
|
|
22787
|
+
toKnownErr: () => toKnownErr42,
|
|
22735
22788
|
validateAppPassword: () => validateAppPassword2
|
|
22736
22789
|
});
|
|
22737
22790
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -22739,7 +22792,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
22739
22792
|
super(src2.status, src2.error, src2.message);
|
|
22740
22793
|
}
|
|
22741
22794
|
};
|
|
22742
|
-
function
|
|
22795
|
+
function toKnownErr42(e) {
|
|
22743
22796
|
if (e instanceof XRPCError) {
|
|
22744
22797
|
if (e.error === "AccountTakedown")
|
|
22745
22798
|
return new AccountTakedownError3(e);
|
|
@@ -22757,14 +22810,14 @@ function validateAppPassword2(v) {
|
|
|
22757
22810
|
var refreshSession_exports = {};
|
|
22758
22811
|
__export(refreshSession_exports, {
|
|
22759
22812
|
AccountTakedownError: () => AccountTakedownError4,
|
|
22760
|
-
toKnownErr: () =>
|
|
22813
|
+
toKnownErr: () => toKnownErr43
|
|
22761
22814
|
});
|
|
22762
22815
|
var AccountTakedownError4 = class extends XRPCError {
|
|
22763
22816
|
constructor(src2) {
|
|
22764
22817
|
super(src2.status, src2.error, src2.message);
|
|
22765
22818
|
}
|
|
22766
22819
|
};
|
|
22767
|
-
function
|
|
22820
|
+
function toKnownErr43(e) {
|
|
22768
22821
|
if (e instanceof XRPCError) {
|
|
22769
22822
|
if (e.error === "AccountTakedown")
|
|
22770
22823
|
return new AccountTakedownError4(e);
|
|
@@ -22775,9 +22828,9 @@ function toKnownErr42(e) {
|
|
|
22775
22828
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
22776
22829
|
var requestAccountDelete_exports = {};
|
|
22777
22830
|
__export(requestAccountDelete_exports, {
|
|
22778
|
-
toKnownErr: () =>
|
|
22831
|
+
toKnownErr: () => toKnownErr44
|
|
22779
22832
|
});
|
|
22780
|
-
function
|
|
22833
|
+
function toKnownErr44(e) {
|
|
22781
22834
|
if (e instanceof XRPCError) {
|
|
22782
22835
|
}
|
|
22783
22836
|
return e;
|
|
@@ -22786,9 +22839,9 @@ function toKnownErr43(e) {
|
|
|
22786
22839
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
22787
22840
|
var requestPasswordReset_exports = {};
|
|
22788
22841
|
__export(requestPasswordReset_exports, {
|
|
22789
|
-
toKnownErr: () =>
|
|
22842
|
+
toKnownErr: () => toKnownErr45
|
|
22790
22843
|
});
|
|
22791
|
-
function
|
|
22844
|
+
function toKnownErr45(e) {
|
|
22792
22845
|
if (e instanceof XRPCError) {
|
|
22793
22846
|
}
|
|
22794
22847
|
return e;
|
|
@@ -22799,7 +22852,7 @@ var resetPassword_exports = {};
|
|
|
22799
22852
|
__export(resetPassword_exports, {
|
|
22800
22853
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
22801
22854
|
InvalidTokenError: () => InvalidTokenError2,
|
|
22802
|
-
toKnownErr: () =>
|
|
22855
|
+
toKnownErr: () => toKnownErr46
|
|
22803
22856
|
});
|
|
22804
22857
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
22805
22858
|
constructor(src2) {
|
|
@@ -22811,7 +22864,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
22811
22864
|
super(src2.status, src2.error, src2.message);
|
|
22812
22865
|
}
|
|
22813
22866
|
};
|
|
22814
|
-
function
|
|
22867
|
+
function toKnownErr46(e) {
|
|
22815
22868
|
if (e instanceof XRPCError) {
|
|
22816
22869
|
if (e.error === "ExpiredToken")
|
|
22817
22870
|
return new ExpiredTokenError2(e);
|
|
@@ -22824,9 +22877,9 @@ function toKnownErr45(e) {
|
|
|
22824
22877
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
22825
22878
|
var revokeAppPassword_exports = {};
|
|
22826
22879
|
__export(revokeAppPassword_exports, {
|
|
22827
|
-
toKnownErr: () =>
|
|
22880
|
+
toKnownErr: () => toKnownErr47
|
|
22828
22881
|
});
|
|
22829
|
-
function
|
|
22882
|
+
function toKnownErr47(e) {
|
|
22830
22883
|
if (e instanceof XRPCError) {
|
|
22831
22884
|
}
|
|
22832
22885
|
return e;
|
|
@@ -22835,9 +22888,9 @@ function toKnownErr46(e) {
|
|
|
22835
22888
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
22836
22889
|
var getBlob_exports = {};
|
|
22837
22890
|
__export(getBlob_exports, {
|
|
22838
|
-
toKnownErr: () =>
|
|
22891
|
+
toKnownErr: () => toKnownErr48
|
|
22839
22892
|
});
|
|
22840
|
-
function
|
|
22893
|
+
function toKnownErr48(e) {
|
|
22841
22894
|
if (e instanceof XRPCError) {
|
|
22842
22895
|
}
|
|
22843
22896
|
return e;
|
|
@@ -22846,9 +22899,9 @@ function toKnownErr47(e) {
|
|
|
22846
22899
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
22847
22900
|
var getBlocks_exports = {};
|
|
22848
22901
|
__export(getBlocks_exports, {
|
|
22849
|
-
toKnownErr: () =>
|
|
22902
|
+
toKnownErr: () => toKnownErr49
|
|
22850
22903
|
});
|
|
22851
|
-
function
|
|
22904
|
+
function toKnownErr49(e) {
|
|
22852
22905
|
if (e instanceof XRPCError) {
|
|
22853
22906
|
}
|
|
22854
22907
|
return e;
|
|
@@ -22857,9 +22910,9 @@ function toKnownErr48(e) {
|
|
|
22857
22910
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
22858
22911
|
var getCheckout_exports = {};
|
|
22859
22912
|
__export(getCheckout_exports, {
|
|
22860
|
-
toKnownErr: () =>
|
|
22913
|
+
toKnownErr: () => toKnownErr50
|
|
22861
22914
|
});
|
|
22862
|
-
function
|
|
22915
|
+
function toKnownErr50(e) {
|
|
22863
22916
|
if (e instanceof XRPCError) {
|
|
22864
22917
|
}
|
|
22865
22918
|
return e;
|
|
@@ -22868,9 +22921,9 @@ function toKnownErr49(e) {
|
|
|
22868
22921
|
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
22869
22922
|
var getCommitPath_exports = {};
|
|
22870
22923
|
__export(getCommitPath_exports, {
|
|
22871
|
-
toKnownErr: () =>
|
|
22924
|
+
toKnownErr: () => toKnownErr51
|
|
22872
22925
|
});
|
|
22873
|
-
function
|
|
22926
|
+
function toKnownErr51(e) {
|
|
22874
22927
|
if (e instanceof XRPCError) {
|
|
22875
22928
|
}
|
|
22876
22929
|
return e;
|
|
@@ -22880,14 +22933,14 @@ function toKnownErr50(e) {
|
|
|
22880
22933
|
var getHead_exports = {};
|
|
22881
22934
|
__export(getHead_exports, {
|
|
22882
22935
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
22883
|
-
toKnownErr: () =>
|
|
22936
|
+
toKnownErr: () => toKnownErr52
|
|
22884
22937
|
});
|
|
22885
22938
|
var HeadNotFoundError = class extends XRPCError {
|
|
22886
22939
|
constructor(src2) {
|
|
22887
22940
|
super(src2.status, src2.error, src2.message);
|
|
22888
22941
|
}
|
|
22889
22942
|
};
|
|
22890
|
-
function
|
|
22943
|
+
function toKnownErr52(e) {
|
|
22891
22944
|
if (e instanceof XRPCError) {
|
|
22892
22945
|
if (e.error === "HeadNotFound")
|
|
22893
22946
|
return new HeadNotFoundError(e);
|
|
@@ -22898,9 +22951,9 @@ function toKnownErr51(e) {
|
|
|
22898
22951
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
22899
22952
|
var getRecord_exports3 = {};
|
|
22900
22953
|
__export(getRecord_exports3, {
|
|
22901
|
-
toKnownErr: () =>
|
|
22954
|
+
toKnownErr: () => toKnownErr53
|
|
22902
22955
|
});
|
|
22903
|
-
function
|
|
22956
|
+
function toKnownErr53(e) {
|
|
22904
22957
|
if (e instanceof XRPCError) {
|
|
22905
22958
|
}
|
|
22906
22959
|
return e;
|
|
@@ -22909,9 +22962,9 @@ function toKnownErr52(e) {
|
|
|
22909
22962
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
22910
22963
|
var getRepo_exports2 = {};
|
|
22911
22964
|
__export(getRepo_exports2, {
|
|
22912
|
-
toKnownErr: () =>
|
|
22965
|
+
toKnownErr: () => toKnownErr54
|
|
22913
22966
|
});
|
|
22914
|
-
function
|
|
22967
|
+
function toKnownErr54(e) {
|
|
22915
22968
|
if (e instanceof XRPCError) {
|
|
22916
22969
|
}
|
|
22917
22970
|
return e;
|
|
@@ -22920,9 +22973,9 @@ function toKnownErr53(e) {
|
|
|
22920
22973
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
22921
22974
|
var listBlobs_exports = {};
|
|
22922
22975
|
__export(listBlobs_exports, {
|
|
22923
|
-
toKnownErr: () =>
|
|
22976
|
+
toKnownErr: () => toKnownErr55
|
|
22924
22977
|
});
|
|
22925
|
-
function
|
|
22978
|
+
function toKnownErr55(e) {
|
|
22926
22979
|
if (e instanceof XRPCError) {
|
|
22927
22980
|
}
|
|
22928
22981
|
return e;
|
|
@@ -22932,10 +22985,10 @@ function toKnownErr54(e) {
|
|
|
22932
22985
|
var listRepos_exports = {};
|
|
22933
22986
|
__export(listRepos_exports, {
|
|
22934
22987
|
isRepo: () => isRepo,
|
|
22935
|
-
toKnownErr: () =>
|
|
22988
|
+
toKnownErr: () => toKnownErr56,
|
|
22936
22989
|
validateRepo: () => validateRepo
|
|
22937
22990
|
});
|
|
22938
|
-
function
|
|
22991
|
+
function toKnownErr56(e) {
|
|
22939
22992
|
if (e instanceof XRPCError) {
|
|
22940
22993
|
}
|
|
22941
22994
|
return e;
|
|
@@ -22950,9 +23003,9 @@ function validateRepo(v) {
|
|
|
22950
23003
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
22951
23004
|
var notifyOfUpdate_exports = {};
|
|
22952
23005
|
__export(notifyOfUpdate_exports, {
|
|
22953
|
-
toKnownErr: () =>
|
|
23006
|
+
toKnownErr: () => toKnownErr57
|
|
22954
23007
|
});
|
|
22955
|
-
function
|
|
23008
|
+
function toKnownErr57(e) {
|
|
22956
23009
|
if (e instanceof XRPCError) {
|
|
22957
23010
|
}
|
|
22958
23011
|
return e;
|
|
@@ -22961,9 +23014,9 @@ function toKnownErr56(e) {
|
|
|
22961
23014
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
22962
23015
|
var requestCrawl_exports = {};
|
|
22963
23016
|
__export(requestCrawl_exports, {
|
|
22964
|
-
toKnownErr: () =>
|
|
23017
|
+
toKnownErr: () => toKnownErr58
|
|
22965
23018
|
});
|
|
22966
|
-
function
|
|
23019
|
+
function toKnownErr58(e) {
|
|
22967
23020
|
if (e instanceof XRPCError) {
|
|
22968
23021
|
}
|
|
22969
23022
|
return e;
|
|
@@ -22972,9 +23025,9 @@ function toKnownErr57(e) {
|
|
|
22972
23025
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
22973
23026
|
var getPreferences_exports = {};
|
|
22974
23027
|
__export(getPreferences_exports, {
|
|
22975
|
-
toKnownErr: () =>
|
|
23028
|
+
toKnownErr: () => toKnownErr59
|
|
22976
23029
|
});
|
|
22977
|
-
function
|
|
23030
|
+
function toKnownErr59(e) {
|
|
22978
23031
|
if (e instanceof XRPCError) {
|
|
22979
23032
|
}
|
|
22980
23033
|
return e;
|
|
@@ -22983,9 +23036,9 @@ function toKnownErr58(e) {
|
|
|
22983
23036
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
22984
23037
|
var getProfile_exports = {};
|
|
22985
23038
|
__export(getProfile_exports, {
|
|
22986
|
-
toKnownErr: () =>
|
|
23039
|
+
toKnownErr: () => toKnownErr60
|
|
22987
23040
|
});
|
|
22988
|
-
function
|
|
23041
|
+
function toKnownErr60(e) {
|
|
22989
23042
|
if (e instanceof XRPCError) {
|
|
22990
23043
|
}
|
|
22991
23044
|
return e;
|
|
@@ -22994,9 +23047,9 @@ function toKnownErr59(e) {
|
|
|
22994
23047
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
22995
23048
|
var getProfiles_exports = {};
|
|
22996
23049
|
__export(getProfiles_exports, {
|
|
22997
|
-
toKnownErr: () =>
|
|
23050
|
+
toKnownErr: () => toKnownErr61
|
|
22998
23051
|
});
|
|
22999
|
-
function
|
|
23052
|
+
function toKnownErr61(e) {
|
|
23000
23053
|
if (e instanceof XRPCError) {
|
|
23001
23054
|
}
|
|
23002
23055
|
return e;
|
|
@@ -23005,9 +23058,9 @@ function toKnownErr60(e) {
|
|
|
23005
23058
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
23006
23059
|
var getSuggestions_exports = {};
|
|
23007
23060
|
__export(getSuggestions_exports, {
|
|
23008
|
-
toKnownErr: () =>
|
|
23061
|
+
toKnownErr: () => toKnownErr62
|
|
23009
23062
|
});
|
|
23010
|
-
function
|
|
23063
|
+
function toKnownErr62(e) {
|
|
23011
23064
|
if (e instanceof XRPCError) {
|
|
23012
23065
|
}
|
|
23013
23066
|
return e;
|
|
@@ -23016,9 +23069,9 @@ function toKnownErr61(e) {
|
|
|
23016
23069
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
23017
23070
|
var putPreferences_exports = {};
|
|
23018
23071
|
__export(putPreferences_exports, {
|
|
23019
|
-
toKnownErr: () =>
|
|
23072
|
+
toKnownErr: () => toKnownErr63
|
|
23020
23073
|
});
|
|
23021
|
-
function
|
|
23074
|
+
function toKnownErr63(e) {
|
|
23022
23075
|
if (e instanceof XRPCError) {
|
|
23023
23076
|
}
|
|
23024
23077
|
return e;
|
|
@@ -23027,9 +23080,9 @@ function toKnownErr62(e) {
|
|
|
23027
23080
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
23028
23081
|
var searchActors_exports = {};
|
|
23029
23082
|
__export(searchActors_exports, {
|
|
23030
|
-
toKnownErr: () =>
|
|
23083
|
+
toKnownErr: () => toKnownErr64
|
|
23031
23084
|
});
|
|
23032
|
-
function
|
|
23085
|
+
function toKnownErr64(e) {
|
|
23033
23086
|
if (e instanceof XRPCError) {
|
|
23034
23087
|
}
|
|
23035
23088
|
return e;
|
|
@@ -23038,9 +23091,9 @@ function toKnownErr63(e) {
|
|
|
23038
23091
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
23039
23092
|
var searchActorsTypeahead_exports = {};
|
|
23040
23093
|
__export(searchActorsTypeahead_exports, {
|
|
23041
|
-
toKnownErr: () =>
|
|
23094
|
+
toKnownErr: () => toKnownErr65
|
|
23042
23095
|
});
|
|
23043
|
-
function
|
|
23096
|
+
function toKnownErr65(e) {
|
|
23044
23097
|
if (e instanceof XRPCError) {
|
|
23045
23098
|
}
|
|
23046
23099
|
return e;
|
|
@@ -23051,11 +23104,11 @@ var describeFeedGenerator_exports = {};
|
|
|
23051
23104
|
__export(describeFeedGenerator_exports, {
|
|
23052
23105
|
isFeed: () => isFeed,
|
|
23053
23106
|
isLinks: () => isLinks2,
|
|
23054
|
-
toKnownErr: () =>
|
|
23107
|
+
toKnownErr: () => toKnownErr66,
|
|
23055
23108
|
validateFeed: () => validateFeed,
|
|
23056
23109
|
validateLinks: () => validateLinks2
|
|
23057
23110
|
});
|
|
23058
|
-
function
|
|
23111
|
+
function toKnownErr66(e) {
|
|
23059
23112
|
if (e instanceof XRPCError) {
|
|
23060
23113
|
}
|
|
23061
23114
|
return e;
|
|
@@ -23076,9 +23129,9 @@ function validateLinks2(v) {
|
|
|
23076
23129
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
23077
23130
|
var getActorFeeds_exports = {};
|
|
23078
23131
|
__export(getActorFeeds_exports, {
|
|
23079
|
-
toKnownErr: () =>
|
|
23132
|
+
toKnownErr: () => toKnownErr67
|
|
23080
23133
|
});
|
|
23081
|
-
function
|
|
23134
|
+
function toKnownErr67(e) {
|
|
23082
23135
|
if (e instanceof XRPCError) {
|
|
23083
23136
|
}
|
|
23084
23137
|
return e;
|
|
@@ -23089,7 +23142,7 @@ var getAuthorFeed_exports = {};
|
|
|
23089
23142
|
__export(getAuthorFeed_exports, {
|
|
23090
23143
|
BlockedActorError: () => BlockedActorError,
|
|
23091
23144
|
BlockedByActorError: () => BlockedByActorError,
|
|
23092
|
-
toKnownErr: () =>
|
|
23145
|
+
toKnownErr: () => toKnownErr68
|
|
23093
23146
|
});
|
|
23094
23147
|
var BlockedActorError = class extends XRPCError {
|
|
23095
23148
|
constructor(src2) {
|
|
@@ -23101,7 +23154,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
23101
23154
|
super(src2.status, src2.error, src2.message);
|
|
23102
23155
|
}
|
|
23103
23156
|
};
|
|
23104
|
-
function
|
|
23157
|
+
function toKnownErr68(e) {
|
|
23105
23158
|
if (e instanceof XRPCError) {
|
|
23106
23159
|
if (e.error === "BlockedActor")
|
|
23107
23160
|
return new BlockedActorError(e);
|
|
@@ -23115,14 +23168,14 @@ function toKnownErr67(e) {
|
|
|
23115
23168
|
var getFeed_exports = {};
|
|
23116
23169
|
__export(getFeed_exports, {
|
|
23117
23170
|
UnknownFeedError: () => UnknownFeedError,
|
|
23118
|
-
toKnownErr: () =>
|
|
23171
|
+
toKnownErr: () => toKnownErr69
|
|
23119
23172
|
});
|
|
23120
23173
|
var UnknownFeedError = class extends XRPCError {
|
|
23121
23174
|
constructor(src2) {
|
|
23122
23175
|
super(src2.status, src2.error, src2.message);
|
|
23123
23176
|
}
|
|
23124
23177
|
};
|
|
23125
|
-
function
|
|
23178
|
+
function toKnownErr69(e) {
|
|
23126
23179
|
if (e instanceof XRPCError) {
|
|
23127
23180
|
if (e.error === "UnknownFeed")
|
|
23128
23181
|
return new UnknownFeedError(e);
|
|
@@ -23133,9 +23186,9 @@ function toKnownErr68(e) {
|
|
|
23133
23186
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
23134
23187
|
var getFeedGenerator_exports = {};
|
|
23135
23188
|
__export(getFeedGenerator_exports, {
|
|
23136
|
-
toKnownErr: () =>
|
|
23189
|
+
toKnownErr: () => toKnownErr70
|
|
23137
23190
|
});
|
|
23138
|
-
function
|
|
23191
|
+
function toKnownErr70(e) {
|
|
23139
23192
|
if (e instanceof XRPCError) {
|
|
23140
23193
|
}
|
|
23141
23194
|
return e;
|
|
@@ -23144,9 +23197,9 @@ function toKnownErr69(e) {
|
|
|
23144
23197
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
23145
23198
|
var getFeedGenerators_exports = {};
|
|
23146
23199
|
__export(getFeedGenerators_exports, {
|
|
23147
|
-
toKnownErr: () =>
|
|
23200
|
+
toKnownErr: () => toKnownErr71
|
|
23148
23201
|
});
|
|
23149
|
-
function
|
|
23202
|
+
function toKnownErr71(e) {
|
|
23150
23203
|
if (e instanceof XRPCError) {
|
|
23151
23204
|
}
|
|
23152
23205
|
return e;
|
|
@@ -23156,14 +23209,14 @@ function toKnownErr70(e) {
|
|
|
23156
23209
|
var getFeedSkeleton_exports = {};
|
|
23157
23210
|
__export(getFeedSkeleton_exports, {
|
|
23158
23211
|
UnknownFeedError: () => UnknownFeedError2,
|
|
23159
|
-
toKnownErr: () =>
|
|
23212
|
+
toKnownErr: () => toKnownErr72
|
|
23160
23213
|
});
|
|
23161
23214
|
var UnknownFeedError2 = class extends XRPCError {
|
|
23162
23215
|
constructor(src2) {
|
|
23163
23216
|
super(src2.status, src2.error, src2.message);
|
|
23164
23217
|
}
|
|
23165
23218
|
};
|
|
23166
|
-
function
|
|
23219
|
+
function toKnownErr72(e) {
|
|
23167
23220
|
if (e instanceof XRPCError) {
|
|
23168
23221
|
if (e.error === "UnknownFeed")
|
|
23169
23222
|
return new UnknownFeedError2(e);
|
|
@@ -23175,10 +23228,10 @@ function toKnownErr71(e) {
|
|
|
23175
23228
|
var getLikes_exports = {};
|
|
23176
23229
|
__export(getLikes_exports, {
|
|
23177
23230
|
isLike: () => isLike,
|
|
23178
|
-
toKnownErr: () =>
|
|
23231
|
+
toKnownErr: () => toKnownErr73,
|
|
23179
23232
|
validateLike: () => validateLike
|
|
23180
23233
|
});
|
|
23181
|
-
function
|
|
23234
|
+
function toKnownErr73(e) {
|
|
23182
23235
|
if (e instanceof XRPCError) {
|
|
23183
23236
|
}
|
|
23184
23237
|
return e;
|
|
@@ -23194,14 +23247,14 @@ function validateLike(v) {
|
|
|
23194
23247
|
var getPostThread_exports = {};
|
|
23195
23248
|
__export(getPostThread_exports, {
|
|
23196
23249
|
NotFoundError: () => NotFoundError,
|
|
23197
|
-
toKnownErr: () =>
|
|
23250
|
+
toKnownErr: () => toKnownErr74
|
|
23198
23251
|
});
|
|
23199
23252
|
var NotFoundError = class extends XRPCError {
|
|
23200
23253
|
constructor(src2) {
|
|
23201
23254
|
super(src2.status, src2.error, src2.message);
|
|
23202
23255
|
}
|
|
23203
23256
|
};
|
|
23204
|
-
function
|
|
23257
|
+
function toKnownErr74(e) {
|
|
23205
23258
|
if (e instanceof XRPCError) {
|
|
23206
23259
|
if (e.error === "NotFound")
|
|
23207
23260
|
return new NotFoundError(e);
|
|
@@ -23212,9 +23265,9 @@ function toKnownErr73(e) {
|
|
|
23212
23265
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
23213
23266
|
var getPosts_exports = {};
|
|
23214
23267
|
__export(getPosts_exports, {
|
|
23215
|
-
toKnownErr: () =>
|
|
23268
|
+
toKnownErr: () => toKnownErr75
|
|
23216
23269
|
});
|
|
23217
|
-
function
|
|
23270
|
+
function toKnownErr75(e) {
|
|
23218
23271
|
if (e instanceof XRPCError) {
|
|
23219
23272
|
}
|
|
23220
23273
|
return e;
|
|
@@ -23223,9 +23276,9 @@ function toKnownErr74(e) {
|
|
|
23223
23276
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
23224
23277
|
var getRepostedBy_exports = {};
|
|
23225
23278
|
__export(getRepostedBy_exports, {
|
|
23226
|
-
toKnownErr: () =>
|
|
23279
|
+
toKnownErr: () => toKnownErr76
|
|
23227
23280
|
});
|
|
23228
|
-
function
|
|
23281
|
+
function toKnownErr76(e) {
|
|
23229
23282
|
if (e instanceof XRPCError) {
|
|
23230
23283
|
}
|
|
23231
23284
|
return e;
|
|
@@ -23234,9 +23287,9 @@ function toKnownErr75(e) {
|
|
|
23234
23287
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
23235
23288
|
var getTimeline_exports = {};
|
|
23236
23289
|
__export(getTimeline_exports, {
|
|
23237
|
-
toKnownErr: () =>
|
|
23290
|
+
toKnownErr: () => toKnownErr77
|
|
23238
23291
|
});
|
|
23239
|
-
function
|
|
23292
|
+
function toKnownErr77(e) {
|
|
23240
23293
|
if (e instanceof XRPCError) {
|
|
23241
23294
|
}
|
|
23242
23295
|
return e;
|
|
@@ -23245,9 +23298,9 @@ function toKnownErr76(e) {
|
|
|
23245
23298
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
23246
23299
|
var getBlocks_exports2 = {};
|
|
23247
23300
|
__export(getBlocks_exports2, {
|
|
23248
|
-
toKnownErr: () =>
|
|
23301
|
+
toKnownErr: () => toKnownErr78
|
|
23249
23302
|
});
|
|
23250
|
-
function
|
|
23303
|
+
function toKnownErr78(e) {
|
|
23251
23304
|
if (e instanceof XRPCError) {
|
|
23252
23305
|
}
|
|
23253
23306
|
return e;
|
|
@@ -23256,9 +23309,9 @@ function toKnownErr77(e) {
|
|
|
23256
23309
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
23257
23310
|
var getFollowers_exports = {};
|
|
23258
23311
|
__export(getFollowers_exports, {
|
|
23259
|
-
toKnownErr: () =>
|
|
23312
|
+
toKnownErr: () => toKnownErr79
|
|
23260
23313
|
});
|
|
23261
|
-
function
|
|
23314
|
+
function toKnownErr79(e) {
|
|
23262
23315
|
if (e instanceof XRPCError) {
|
|
23263
23316
|
}
|
|
23264
23317
|
return e;
|
|
@@ -23267,9 +23320,9 @@ function toKnownErr78(e) {
|
|
|
23267
23320
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
23268
23321
|
var getFollows_exports = {};
|
|
23269
23322
|
__export(getFollows_exports, {
|
|
23270
|
-
toKnownErr: () =>
|
|
23323
|
+
toKnownErr: () => toKnownErr80
|
|
23271
23324
|
});
|
|
23272
|
-
function
|
|
23325
|
+
function toKnownErr80(e) {
|
|
23273
23326
|
if (e instanceof XRPCError) {
|
|
23274
23327
|
}
|
|
23275
23328
|
return e;
|
|
@@ -23278,9 +23331,9 @@ function toKnownErr79(e) {
|
|
|
23278
23331
|
// src/client/types/app/bsky/graph/getList.ts
|
|
23279
23332
|
var getList_exports = {};
|
|
23280
23333
|
__export(getList_exports, {
|
|
23281
|
-
toKnownErr: () =>
|
|
23334
|
+
toKnownErr: () => toKnownErr81
|
|
23282
23335
|
});
|
|
23283
|
-
function
|
|
23336
|
+
function toKnownErr81(e) {
|
|
23284
23337
|
if (e instanceof XRPCError) {
|
|
23285
23338
|
}
|
|
23286
23339
|
return e;
|
|
@@ -23289,9 +23342,9 @@ function toKnownErr80(e) {
|
|
|
23289
23342
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
23290
23343
|
var getListMutes_exports = {};
|
|
23291
23344
|
__export(getListMutes_exports, {
|
|
23292
|
-
toKnownErr: () =>
|
|
23345
|
+
toKnownErr: () => toKnownErr82
|
|
23293
23346
|
});
|
|
23294
|
-
function
|
|
23347
|
+
function toKnownErr82(e) {
|
|
23295
23348
|
if (e instanceof XRPCError) {
|
|
23296
23349
|
}
|
|
23297
23350
|
return e;
|
|
@@ -23300,9 +23353,9 @@ function toKnownErr81(e) {
|
|
|
23300
23353
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
23301
23354
|
var getLists_exports = {};
|
|
23302
23355
|
__export(getLists_exports, {
|
|
23303
|
-
toKnownErr: () =>
|
|
23356
|
+
toKnownErr: () => toKnownErr83
|
|
23304
23357
|
});
|
|
23305
|
-
function
|
|
23358
|
+
function toKnownErr83(e) {
|
|
23306
23359
|
if (e instanceof XRPCError) {
|
|
23307
23360
|
}
|
|
23308
23361
|
return e;
|
|
@@ -23311,9 +23364,9 @@ function toKnownErr82(e) {
|
|
|
23311
23364
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
23312
23365
|
var getMutes_exports = {};
|
|
23313
23366
|
__export(getMutes_exports, {
|
|
23314
|
-
toKnownErr: () =>
|
|
23367
|
+
toKnownErr: () => toKnownErr84
|
|
23315
23368
|
});
|
|
23316
|
-
function
|
|
23369
|
+
function toKnownErr84(e) {
|
|
23317
23370
|
if (e instanceof XRPCError) {
|
|
23318
23371
|
}
|
|
23319
23372
|
return e;
|
|
@@ -23322,9 +23375,9 @@ function toKnownErr83(e) {
|
|
|
23322
23375
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
23323
23376
|
var muteActor_exports = {};
|
|
23324
23377
|
__export(muteActor_exports, {
|
|
23325
|
-
toKnownErr: () =>
|
|
23378
|
+
toKnownErr: () => toKnownErr85
|
|
23326
23379
|
});
|
|
23327
|
-
function
|
|
23380
|
+
function toKnownErr85(e) {
|
|
23328
23381
|
if (e instanceof XRPCError) {
|
|
23329
23382
|
}
|
|
23330
23383
|
return e;
|
|
@@ -23333,9 +23386,9 @@ function toKnownErr84(e) {
|
|
|
23333
23386
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
23334
23387
|
var muteActorList_exports = {};
|
|
23335
23388
|
__export(muteActorList_exports, {
|
|
23336
|
-
toKnownErr: () =>
|
|
23389
|
+
toKnownErr: () => toKnownErr86
|
|
23337
23390
|
});
|
|
23338
|
-
function
|
|
23391
|
+
function toKnownErr86(e) {
|
|
23339
23392
|
if (e instanceof XRPCError) {
|
|
23340
23393
|
}
|
|
23341
23394
|
return e;
|
|
@@ -23344,9 +23397,9 @@ function toKnownErr85(e) {
|
|
|
23344
23397
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
23345
23398
|
var unmuteActor_exports = {};
|
|
23346
23399
|
__export(unmuteActor_exports, {
|
|
23347
|
-
toKnownErr: () =>
|
|
23400
|
+
toKnownErr: () => toKnownErr87
|
|
23348
23401
|
});
|
|
23349
|
-
function
|
|
23402
|
+
function toKnownErr87(e) {
|
|
23350
23403
|
if (e instanceof XRPCError) {
|
|
23351
23404
|
}
|
|
23352
23405
|
return e;
|
|
@@ -23355,9 +23408,9 @@ function toKnownErr86(e) {
|
|
|
23355
23408
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
23356
23409
|
var unmuteActorList_exports = {};
|
|
23357
23410
|
__export(unmuteActorList_exports, {
|
|
23358
|
-
toKnownErr: () =>
|
|
23411
|
+
toKnownErr: () => toKnownErr88
|
|
23359
23412
|
});
|
|
23360
|
-
function
|
|
23413
|
+
function toKnownErr88(e) {
|
|
23361
23414
|
if (e instanceof XRPCError) {
|
|
23362
23415
|
}
|
|
23363
23416
|
return e;
|
|
@@ -23366,9 +23419,9 @@ function toKnownErr87(e) {
|
|
|
23366
23419
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
23367
23420
|
var getUnreadCount_exports = {};
|
|
23368
23421
|
__export(getUnreadCount_exports, {
|
|
23369
|
-
toKnownErr: () =>
|
|
23422
|
+
toKnownErr: () => toKnownErr89
|
|
23370
23423
|
});
|
|
23371
|
-
function
|
|
23424
|
+
function toKnownErr89(e) {
|
|
23372
23425
|
if (e instanceof XRPCError) {
|
|
23373
23426
|
}
|
|
23374
23427
|
return e;
|
|
@@ -23378,10 +23431,10 @@ function toKnownErr88(e) {
|
|
|
23378
23431
|
var listNotifications_exports = {};
|
|
23379
23432
|
__export(listNotifications_exports, {
|
|
23380
23433
|
isNotification: () => isNotification,
|
|
23381
|
-
toKnownErr: () =>
|
|
23434
|
+
toKnownErr: () => toKnownErr90,
|
|
23382
23435
|
validateNotification: () => validateNotification
|
|
23383
23436
|
});
|
|
23384
|
-
function
|
|
23437
|
+
function toKnownErr90(e) {
|
|
23385
23438
|
if (e instanceof XRPCError) {
|
|
23386
23439
|
}
|
|
23387
23440
|
return e;
|
|
@@ -23399,9 +23452,9 @@ function validateNotification(v) {
|
|
|
23399
23452
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
23400
23453
|
var updateSeen_exports = {};
|
|
23401
23454
|
__export(updateSeen_exports, {
|
|
23402
|
-
toKnownErr: () =>
|
|
23455
|
+
toKnownErr: () => toKnownErr91
|
|
23403
23456
|
});
|
|
23404
|
-
function
|
|
23457
|
+
function toKnownErr91(e) {
|
|
23405
23458
|
if (e instanceof XRPCError) {
|
|
23406
23459
|
}
|
|
23407
23460
|
return e;
|
|
@@ -23410,9 +23463,9 @@ function toKnownErr90(e) {
|
|
|
23410
23463
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
23411
23464
|
var getPopular_exports = {};
|
|
23412
23465
|
__export(getPopular_exports, {
|
|
23413
|
-
toKnownErr: () =>
|
|
23466
|
+
toKnownErr: () => toKnownErr92
|
|
23414
23467
|
});
|
|
23415
|
-
function
|
|
23468
|
+
function toKnownErr92(e) {
|
|
23416
23469
|
if (e instanceof XRPCError) {
|
|
23417
23470
|
}
|
|
23418
23471
|
return e;
|
|
@@ -23421,9 +23474,9 @@ function toKnownErr91(e) {
|
|
|
23421
23474
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
23422
23475
|
var getPopularFeedGenerators_exports = {};
|
|
23423
23476
|
__export(getPopularFeedGenerators_exports, {
|
|
23424
|
-
toKnownErr: () =>
|
|
23477
|
+
toKnownErr: () => toKnownErr93
|
|
23425
23478
|
});
|
|
23426
|
-
function
|
|
23479
|
+
function toKnownErr93(e) {
|
|
23427
23480
|
if (e instanceof XRPCError) {
|
|
23428
23481
|
}
|
|
23429
23482
|
return e;
|
|
@@ -23433,14 +23486,14 @@ function toKnownErr92(e) {
|
|
|
23433
23486
|
var getTimelineSkeleton_exports = {};
|
|
23434
23487
|
__export(getTimelineSkeleton_exports, {
|
|
23435
23488
|
UnknownFeedError: () => UnknownFeedError3,
|
|
23436
|
-
toKnownErr: () =>
|
|
23489
|
+
toKnownErr: () => toKnownErr94
|
|
23437
23490
|
});
|
|
23438
23491
|
var UnknownFeedError3 = class extends XRPCError {
|
|
23439
23492
|
constructor(src2) {
|
|
23440
23493
|
super(src2.status, src2.error, src2.message);
|
|
23441
23494
|
}
|
|
23442
23495
|
};
|
|
23443
|
-
function
|
|
23496
|
+
function toKnownErr94(e) {
|
|
23444
23497
|
if (e instanceof XRPCError) {
|
|
23445
23498
|
if (e.error === "UnknownFeed")
|
|
23446
23499
|
return new UnknownFeedError3(e);
|
|
@@ -24392,19 +24445,24 @@ var AdminNS = class {
|
|
|
24392
24445
|
throw toKnownErr14(e);
|
|
24393
24446
|
});
|
|
24394
24447
|
}
|
|
24448
|
+
sendEmail(data, opts) {
|
|
24449
|
+
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
24450
|
+
throw toKnownErr15(e);
|
|
24451
|
+
});
|
|
24452
|
+
}
|
|
24395
24453
|
takeModerationAction(data, opts) {
|
|
24396
24454
|
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
24397
|
-
throw
|
|
24455
|
+
throw toKnownErr16(e);
|
|
24398
24456
|
});
|
|
24399
24457
|
}
|
|
24400
24458
|
updateAccountEmail(data, opts) {
|
|
24401
24459
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
24402
|
-
throw
|
|
24460
|
+
throw toKnownErr17(e);
|
|
24403
24461
|
});
|
|
24404
24462
|
}
|
|
24405
24463
|
updateAccountHandle(data, opts) {
|
|
24406
24464
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
24407
|
-
throw
|
|
24465
|
+
throw toKnownErr18(e);
|
|
24408
24466
|
});
|
|
24409
24467
|
}
|
|
24410
24468
|
};
|
|
@@ -24414,12 +24472,12 @@ var IdentityNS = class {
|
|
|
24414
24472
|
}
|
|
24415
24473
|
resolveHandle(params2, opts) {
|
|
24416
24474
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
24417
|
-
throw
|
|
24475
|
+
throw toKnownErr19(e);
|
|
24418
24476
|
});
|
|
24419
24477
|
}
|
|
24420
24478
|
updateHandle(data, opts) {
|
|
24421
24479
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
24422
|
-
throw
|
|
24480
|
+
throw toKnownErr20(e);
|
|
24423
24481
|
});
|
|
24424
24482
|
}
|
|
24425
24483
|
};
|
|
@@ -24429,7 +24487,7 @@ var LabelNS = class {
|
|
|
24429
24487
|
}
|
|
24430
24488
|
queryLabels(params2, opts) {
|
|
24431
24489
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
24432
|
-
throw
|
|
24490
|
+
throw toKnownErr21(e);
|
|
24433
24491
|
});
|
|
24434
24492
|
}
|
|
24435
24493
|
};
|
|
@@ -24439,7 +24497,7 @@ var ModerationNS = class {
|
|
|
24439
24497
|
}
|
|
24440
24498
|
createReport(data, opts) {
|
|
24441
24499
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
24442
|
-
throw
|
|
24500
|
+
throw toKnownErr22(e);
|
|
24443
24501
|
});
|
|
24444
24502
|
}
|
|
24445
24503
|
};
|
|
@@ -24449,47 +24507,47 @@ var RepoNS = class {
|
|
|
24449
24507
|
}
|
|
24450
24508
|
applyWrites(data, opts) {
|
|
24451
24509
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
24452
|
-
throw
|
|
24510
|
+
throw toKnownErr23(e);
|
|
24453
24511
|
});
|
|
24454
24512
|
}
|
|
24455
24513
|
createRecord(data, opts) {
|
|
24456
24514
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
24457
|
-
throw
|
|
24515
|
+
throw toKnownErr24(e);
|
|
24458
24516
|
});
|
|
24459
24517
|
}
|
|
24460
24518
|
deleteRecord(data, opts) {
|
|
24461
24519
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
24462
|
-
throw
|
|
24520
|
+
throw toKnownErr25(e);
|
|
24463
24521
|
});
|
|
24464
24522
|
}
|
|
24465
24523
|
describeRepo(params2, opts) {
|
|
24466
24524
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
24467
|
-
throw
|
|
24525
|
+
throw toKnownErr26(e);
|
|
24468
24526
|
});
|
|
24469
24527
|
}
|
|
24470
24528
|
getRecord(params2, opts) {
|
|
24471
24529
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
24472
|
-
throw
|
|
24530
|
+
throw toKnownErr27(e);
|
|
24473
24531
|
});
|
|
24474
24532
|
}
|
|
24475
24533
|
listRecords(params2, opts) {
|
|
24476
24534
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
24477
|
-
throw
|
|
24535
|
+
throw toKnownErr28(e);
|
|
24478
24536
|
});
|
|
24479
24537
|
}
|
|
24480
24538
|
putRecord(data, opts) {
|
|
24481
24539
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
24482
|
-
throw
|
|
24540
|
+
throw toKnownErr29(e);
|
|
24483
24541
|
});
|
|
24484
24542
|
}
|
|
24485
24543
|
rebaseRepo(data, opts) {
|
|
24486
24544
|
return this._service.xrpc.call("com.atproto.repo.rebaseRepo", opts?.qp, data, opts).catch((e) => {
|
|
24487
|
-
throw
|
|
24545
|
+
throw toKnownErr30(e);
|
|
24488
24546
|
});
|
|
24489
24547
|
}
|
|
24490
24548
|
uploadBlob(data, opts) {
|
|
24491
24549
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
24492
|
-
throw
|
|
24550
|
+
throw toKnownErr31(e);
|
|
24493
24551
|
});
|
|
24494
24552
|
}
|
|
24495
24553
|
};
|
|
@@ -24499,82 +24557,82 @@ var ServerNS = class {
|
|
|
24499
24557
|
}
|
|
24500
24558
|
createAccount(data, opts) {
|
|
24501
24559
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
24502
|
-
throw
|
|
24560
|
+
throw toKnownErr32(e);
|
|
24503
24561
|
});
|
|
24504
24562
|
}
|
|
24505
24563
|
createAppPassword(data, opts) {
|
|
24506
24564
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
24507
|
-
throw
|
|
24565
|
+
throw toKnownErr33(e);
|
|
24508
24566
|
});
|
|
24509
24567
|
}
|
|
24510
24568
|
createInviteCode(data, opts) {
|
|
24511
24569
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
24512
|
-
throw
|
|
24570
|
+
throw toKnownErr34(e);
|
|
24513
24571
|
});
|
|
24514
24572
|
}
|
|
24515
24573
|
createInviteCodes(data, opts) {
|
|
24516
24574
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
24517
|
-
throw
|
|
24575
|
+
throw toKnownErr35(e);
|
|
24518
24576
|
});
|
|
24519
24577
|
}
|
|
24520
24578
|
createSession(data, opts) {
|
|
24521
24579
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
24522
|
-
throw
|
|
24580
|
+
throw toKnownErr36(e);
|
|
24523
24581
|
});
|
|
24524
24582
|
}
|
|
24525
24583
|
deleteAccount(data, opts) {
|
|
24526
24584
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
24527
|
-
throw
|
|
24585
|
+
throw toKnownErr37(e);
|
|
24528
24586
|
});
|
|
24529
24587
|
}
|
|
24530
24588
|
deleteSession(data, opts) {
|
|
24531
24589
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
24532
|
-
throw
|
|
24590
|
+
throw toKnownErr38(e);
|
|
24533
24591
|
});
|
|
24534
24592
|
}
|
|
24535
24593
|
describeServer(params2, opts) {
|
|
24536
24594
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
24537
|
-
throw
|
|
24595
|
+
throw toKnownErr39(e);
|
|
24538
24596
|
});
|
|
24539
24597
|
}
|
|
24540
24598
|
getAccountInviteCodes(params2, opts) {
|
|
24541
24599
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
24542
|
-
throw
|
|
24600
|
+
throw toKnownErr40(e);
|
|
24543
24601
|
});
|
|
24544
24602
|
}
|
|
24545
24603
|
getSession(params2, opts) {
|
|
24546
24604
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
24547
|
-
throw
|
|
24605
|
+
throw toKnownErr41(e);
|
|
24548
24606
|
});
|
|
24549
24607
|
}
|
|
24550
24608
|
listAppPasswords(params2, opts) {
|
|
24551
24609
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
24552
|
-
throw
|
|
24610
|
+
throw toKnownErr42(e);
|
|
24553
24611
|
});
|
|
24554
24612
|
}
|
|
24555
24613
|
refreshSession(data, opts) {
|
|
24556
24614
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
24557
|
-
throw
|
|
24615
|
+
throw toKnownErr43(e);
|
|
24558
24616
|
});
|
|
24559
24617
|
}
|
|
24560
24618
|
requestAccountDelete(data, opts) {
|
|
24561
24619
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
24562
|
-
throw
|
|
24620
|
+
throw toKnownErr44(e);
|
|
24563
24621
|
});
|
|
24564
24622
|
}
|
|
24565
24623
|
requestPasswordReset(data, opts) {
|
|
24566
24624
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
24567
|
-
throw
|
|
24625
|
+
throw toKnownErr45(e);
|
|
24568
24626
|
});
|
|
24569
24627
|
}
|
|
24570
24628
|
resetPassword(data, opts) {
|
|
24571
24629
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
24572
|
-
throw
|
|
24630
|
+
throw toKnownErr46(e);
|
|
24573
24631
|
});
|
|
24574
24632
|
}
|
|
24575
24633
|
revokeAppPassword(data, opts) {
|
|
24576
24634
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
24577
|
-
throw
|
|
24635
|
+
throw toKnownErr47(e);
|
|
24578
24636
|
});
|
|
24579
24637
|
}
|
|
24580
24638
|
};
|
|
@@ -24584,57 +24642,57 @@ var SyncNS = class {
|
|
|
24584
24642
|
}
|
|
24585
24643
|
getBlob(params2, opts) {
|
|
24586
24644
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
24587
|
-
throw
|
|
24645
|
+
throw toKnownErr48(e);
|
|
24588
24646
|
});
|
|
24589
24647
|
}
|
|
24590
24648
|
getBlocks(params2, opts) {
|
|
24591
24649
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
24592
|
-
throw
|
|
24650
|
+
throw toKnownErr49(e);
|
|
24593
24651
|
});
|
|
24594
24652
|
}
|
|
24595
24653
|
getCheckout(params2, opts) {
|
|
24596
24654
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
24597
|
-
throw
|
|
24655
|
+
throw toKnownErr50(e);
|
|
24598
24656
|
});
|
|
24599
24657
|
}
|
|
24600
24658
|
getCommitPath(params2, opts) {
|
|
24601
24659
|
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
24602
|
-
throw
|
|
24660
|
+
throw toKnownErr51(e);
|
|
24603
24661
|
});
|
|
24604
24662
|
}
|
|
24605
24663
|
getHead(params2, opts) {
|
|
24606
24664
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
24607
|
-
throw
|
|
24665
|
+
throw toKnownErr52(e);
|
|
24608
24666
|
});
|
|
24609
24667
|
}
|
|
24610
24668
|
getRecord(params2, opts) {
|
|
24611
24669
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
24612
|
-
throw
|
|
24670
|
+
throw toKnownErr53(e);
|
|
24613
24671
|
});
|
|
24614
24672
|
}
|
|
24615
24673
|
getRepo(params2, opts) {
|
|
24616
24674
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
24617
|
-
throw
|
|
24675
|
+
throw toKnownErr54(e);
|
|
24618
24676
|
});
|
|
24619
24677
|
}
|
|
24620
24678
|
listBlobs(params2, opts) {
|
|
24621
24679
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
24622
|
-
throw
|
|
24680
|
+
throw toKnownErr55(e);
|
|
24623
24681
|
});
|
|
24624
24682
|
}
|
|
24625
24683
|
listRepos(params2, opts) {
|
|
24626
24684
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
24627
|
-
throw
|
|
24685
|
+
throw toKnownErr56(e);
|
|
24628
24686
|
});
|
|
24629
24687
|
}
|
|
24630
24688
|
notifyOfUpdate(data, opts) {
|
|
24631
24689
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
24632
|
-
throw
|
|
24690
|
+
throw toKnownErr57(e);
|
|
24633
24691
|
});
|
|
24634
24692
|
}
|
|
24635
24693
|
requestCrawl(data, opts) {
|
|
24636
24694
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
24637
|
-
throw
|
|
24695
|
+
throw toKnownErr58(e);
|
|
24638
24696
|
});
|
|
24639
24697
|
}
|
|
24640
24698
|
};
|
|
@@ -24663,37 +24721,37 @@ var ActorNS = class {
|
|
|
24663
24721
|
}
|
|
24664
24722
|
getPreferences(params2, opts) {
|
|
24665
24723
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
24666
|
-
throw
|
|
24724
|
+
throw toKnownErr59(e);
|
|
24667
24725
|
});
|
|
24668
24726
|
}
|
|
24669
24727
|
getProfile(params2, opts) {
|
|
24670
24728
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
24671
|
-
throw
|
|
24729
|
+
throw toKnownErr60(e);
|
|
24672
24730
|
});
|
|
24673
24731
|
}
|
|
24674
24732
|
getProfiles(params2, opts) {
|
|
24675
24733
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
24676
|
-
throw
|
|
24734
|
+
throw toKnownErr61(e);
|
|
24677
24735
|
});
|
|
24678
24736
|
}
|
|
24679
24737
|
getSuggestions(params2, opts) {
|
|
24680
24738
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
24681
|
-
throw
|
|
24739
|
+
throw toKnownErr62(e);
|
|
24682
24740
|
});
|
|
24683
24741
|
}
|
|
24684
24742
|
putPreferences(data, opts) {
|
|
24685
24743
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
24686
|
-
throw
|
|
24744
|
+
throw toKnownErr63(e);
|
|
24687
24745
|
});
|
|
24688
24746
|
}
|
|
24689
24747
|
searchActors(params2, opts) {
|
|
24690
24748
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
24691
|
-
throw
|
|
24749
|
+
throw toKnownErr64(e);
|
|
24692
24750
|
});
|
|
24693
24751
|
}
|
|
24694
24752
|
searchActorsTypeahead(params2, opts) {
|
|
24695
24753
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
24696
|
-
throw
|
|
24754
|
+
throw toKnownErr65(e);
|
|
24697
24755
|
});
|
|
24698
24756
|
}
|
|
24699
24757
|
};
|
|
@@ -24749,62 +24807,62 @@ var FeedNS = class {
|
|
|
24749
24807
|
}
|
|
24750
24808
|
describeFeedGenerator(params2, opts) {
|
|
24751
24809
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
24752
|
-
throw
|
|
24810
|
+
throw toKnownErr66(e);
|
|
24753
24811
|
});
|
|
24754
24812
|
}
|
|
24755
24813
|
getActorFeeds(params2, opts) {
|
|
24756
24814
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
24757
|
-
throw
|
|
24815
|
+
throw toKnownErr67(e);
|
|
24758
24816
|
});
|
|
24759
24817
|
}
|
|
24760
24818
|
getAuthorFeed(params2, opts) {
|
|
24761
24819
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
24762
|
-
throw
|
|
24820
|
+
throw toKnownErr68(e);
|
|
24763
24821
|
});
|
|
24764
24822
|
}
|
|
24765
24823
|
getFeed(params2, opts) {
|
|
24766
24824
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
24767
|
-
throw
|
|
24825
|
+
throw toKnownErr69(e);
|
|
24768
24826
|
});
|
|
24769
24827
|
}
|
|
24770
24828
|
getFeedGenerator(params2, opts) {
|
|
24771
24829
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
24772
|
-
throw
|
|
24830
|
+
throw toKnownErr70(e);
|
|
24773
24831
|
});
|
|
24774
24832
|
}
|
|
24775
24833
|
getFeedGenerators(params2, opts) {
|
|
24776
24834
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
24777
|
-
throw
|
|
24835
|
+
throw toKnownErr71(e);
|
|
24778
24836
|
});
|
|
24779
24837
|
}
|
|
24780
24838
|
getFeedSkeleton(params2, opts) {
|
|
24781
24839
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
24782
|
-
throw
|
|
24840
|
+
throw toKnownErr72(e);
|
|
24783
24841
|
});
|
|
24784
24842
|
}
|
|
24785
24843
|
getLikes(params2, opts) {
|
|
24786
24844
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
24787
|
-
throw
|
|
24845
|
+
throw toKnownErr73(e);
|
|
24788
24846
|
});
|
|
24789
24847
|
}
|
|
24790
24848
|
getPostThread(params2, opts) {
|
|
24791
24849
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
24792
|
-
throw
|
|
24850
|
+
throw toKnownErr74(e);
|
|
24793
24851
|
});
|
|
24794
24852
|
}
|
|
24795
24853
|
getPosts(params2, opts) {
|
|
24796
24854
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
24797
|
-
throw
|
|
24855
|
+
throw toKnownErr75(e);
|
|
24798
24856
|
});
|
|
24799
24857
|
}
|
|
24800
24858
|
getRepostedBy(params2, opts) {
|
|
24801
24859
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
24802
|
-
throw
|
|
24860
|
+
throw toKnownErr76(e);
|
|
24803
24861
|
});
|
|
24804
24862
|
}
|
|
24805
24863
|
getTimeline(params2, opts) {
|
|
24806
24864
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
24807
|
-
throw
|
|
24865
|
+
throw toKnownErr77(e);
|
|
24808
24866
|
});
|
|
24809
24867
|
}
|
|
24810
24868
|
};
|
|
@@ -24966,57 +25024,57 @@ var GraphNS = class {
|
|
|
24966
25024
|
}
|
|
24967
25025
|
getBlocks(params2, opts) {
|
|
24968
25026
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
24969
|
-
throw
|
|
25027
|
+
throw toKnownErr78(e);
|
|
24970
25028
|
});
|
|
24971
25029
|
}
|
|
24972
25030
|
getFollowers(params2, opts) {
|
|
24973
25031
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
24974
|
-
throw
|
|
25032
|
+
throw toKnownErr79(e);
|
|
24975
25033
|
});
|
|
24976
25034
|
}
|
|
24977
25035
|
getFollows(params2, opts) {
|
|
24978
25036
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
24979
|
-
throw
|
|
25037
|
+
throw toKnownErr80(e);
|
|
24980
25038
|
});
|
|
24981
25039
|
}
|
|
24982
25040
|
getList(params2, opts) {
|
|
24983
25041
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
24984
|
-
throw
|
|
25042
|
+
throw toKnownErr81(e);
|
|
24985
25043
|
});
|
|
24986
25044
|
}
|
|
24987
25045
|
getListMutes(params2, opts) {
|
|
24988
25046
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
24989
|
-
throw
|
|
25047
|
+
throw toKnownErr82(e);
|
|
24990
25048
|
});
|
|
24991
25049
|
}
|
|
24992
25050
|
getLists(params2, opts) {
|
|
24993
25051
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
24994
|
-
throw
|
|
25052
|
+
throw toKnownErr83(e);
|
|
24995
25053
|
});
|
|
24996
25054
|
}
|
|
24997
25055
|
getMutes(params2, opts) {
|
|
24998
25056
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
24999
|
-
throw
|
|
25057
|
+
throw toKnownErr84(e);
|
|
25000
25058
|
});
|
|
25001
25059
|
}
|
|
25002
25060
|
muteActor(data, opts) {
|
|
25003
25061
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
25004
|
-
throw
|
|
25062
|
+
throw toKnownErr85(e);
|
|
25005
25063
|
});
|
|
25006
25064
|
}
|
|
25007
25065
|
muteActorList(data, opts) {
|
|
25008
25066
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25009
|
-
throw
|
|
25067
|
+
throw toKnownErr86(e);
|
|
25010
25068
|
});
|
|
25011
25069
|
}
|
|
25012
25070
|
unmuteActor(data, opts) {
|
|
25013
25071
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
25014
|
-
throw
|
|
25072
|
+
throw toKnownErr87(e);
|
|
25015
25073
|
});
|
|
25016
25074
|
}
|
|
25017
25075
|
unmuteActorList(data, opts) {
|
|
25018
25076
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25019
|
-
throw
|
|
25077
|
+
throw toKnownErr88(e);
|
|
25020
25078
|
});
|
|
25021
25079
|
}
|
|
25022
25080
|
};
|
|
@@ -25174,17 +25232,17 @@ var NotificationNS = class {
|
|
|
25174
25232
|
}
|
|
25175
25233
|
getUnreadCount(params2, opts) {
|
|
25176
25234
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
25177
|
-
throw
|
|
25235
|
+
throw toKnownErr89(e);
|
|
25178
25236
|
});
|
|
25179
25237
|
}
|
|
25180
25238
|
listNotifications(params2, opts) {
|
|
25181
25239
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
25182
|
-
throw
|
|
25240
|
+
throw toKnownErr90(e);
|
|
25183
25241
|
});
|
|
25184
25242
|
}
|
|
25185
25243
|
updateSeen(data, opts) {
|
|
25186
25244
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
25187
|
-
throw
|
|
25245
|
+
throw toKnownErr91(e);
|
|
25188
25246
|
});
|
|
25189
25247
|
}
|
|
25190
25248
|
};
|
|
@@ -25199,7 +25257,7 @@ var UnspeccedNS = class {
|
|
|
25199
25257
|
}
|
|
25200
25258
|
getPopular(params2, opts) {
|
|
25201
25259
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
25202
|
-
throw
|
|
25260
|
+
throw toKnownErr92(e);
|
|
25203
25261
|
});
|
|
25204
25262
|
}
|
|
25205
25263
|
getPopularFeedGenerators(params2, opts) {
|
|
@@ -25209,12 +25267,12 @@ var UnspeccedNS = class {
|
|
|
25209
25267
|
void 0,
|
|
25210
25268
|
opts
|
|
25211
25269
|
).catch((e) => {
|
|
25212
|
-
throw
|
|
25270
|
+
throw toKnownErr93(e);
|
|
25213
25271
|
});
|
|
25214
25272
|
}
|
|
25215
25273
|
getTimelineSkeleton(params2, opts) {
|
|
25216
25274
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
25217
|
-
throw
|
|
25275
|
+
throw toKnownErr94(e);
|
|
25218
25276
|
});
|
|
25219
25277
|
}
|
|
25220
25278
|
};
|