@atproto/ozone 0.0.11 → 0.0.12
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 +282 -210
- 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
|
@@ -103728,6 +103728,32 @@ var schemaDict = {
|
|
|
103728
103728
|
}
|
|
103729
103729
|
}
|
|
103730
103730
|
},
|
|
103731
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
103732
|
+
lexicon: 1,
|
|
103733
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
103734
|
+
defs: {
|
|
103735
|
+
main: {
|
|
103736
|
+
type: "procedure",
|
|
103737
|
+
description: "Update the password for a user account as an administrator.",
|
|
103738
|
+
input: {
|
|
103739
|
+
encoding: "application/json",
|
|
103740
|
+
schema: {
|
|
103741
|
+
type: "object",
|
|
103742
|
+
required: ["did", "password"],
|
|
103743
|
+
properties: {
|
|
103744
|
+
did: {
|
|
103745
|
+
type: "string",
|
|
103746
|
+
format: "did"
|
|
103747
|
+
},
|
|
103748
|
+
password: {
|
|
103749
|
+
type: "string"
|
|
103750
|
+
}
|
|
103751
|
+
}
|
|
103752
|
+
}
|
|
103753
|
+
}
|
|
103754
|
+
}
|
|
103755
|
+
}
|
|
103756
|
+
},
|
|
103731
103757
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
103732
103758
|
lexicon: 1,
|
|
103733
103759
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -106824,7 +106850,9 @@ var schemaDict = {
|
|
|
106824
106850
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
106825
106851
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
106826
106852
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
106827
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
106853
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
106854
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
106855
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
106828
106856
|
]
|
|
106829
106857
|
}
|
|
106830
106858
|
},
|
|
@@ -118970,6 +118998,10 @@ var ComAtprotoAdminNS = class {
|
|
|
118970
118998
|
const nsid2 = "com.atproto.admin.updateAccountHandle";
|
|
118971
118999
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118972
119000
|
}
|
|
119001
|
+
updateAccountPassword(cfg) {
|
|
119002
|
+
const nsid2 = "com.atproto.admin.updateAccountPassword";
|
|
119003
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119004
|
+
}
|
|
118973
119005
|
updateCommunicationTemplate(cfg) {
|
|
118974
119006
|
const nsid2 = "com.atproto.admin.updateCommunicationTemplate";
|
|
118975
119007
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -121657,6 +121689,32 @@ var schemaDict2 = {
|
|
|
121657
121689
|
}
|
|
121658
121690
|
}
|
|
121659
121691
|
},
|
|
121692
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
121693
|
+
lexicon: 1,
|
|
121694
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
121695
|
+
defs: {
|
|
121696
|
+
main: {
|
|
121697
|
+
type: "procedure",
|
|
121698
|
+
description: "Update the password for a user account as an administrator.",
|
|
121699
|
+
input: {
|
|
121700
|
+
encoding: "application/json",
|
|
121701
|
+
schema: {
|
|
121702
|
+
type: "object",
|
|
121703
|
+
required: ["did", "password"],
|
|
121704
|
+
properties: {
|
|
121705
|
+
did: {
|
|
121706
|
+
type: "string",
|
|
121707
|
+
format: "did"
|
|
121708
|
+
},
|
|
121709
|
+
password: {
|
|
121710
|
+
type: "string"
|
|
121711
|
+
}
|
|
121712
|
+
}
|
|
121713
|
+
}
|
|
121714
|
+
}
|
|
121715
|
+
}
|
|
121716
|
+
}
|
|
121717
|
+
},
|
|
121660
121718
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
121661
121719
|
lexicon: 1,
|
|
121662
121720
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -124753,7 +124811,9 @@ var schemaDict2 = {
|
|
|
124753
124811
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
124754
124812
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
124755
124813
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
124756
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
124814
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
124815
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
124816
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
124757
124817
|
]
|
|
124758
124818
|
}
|
|
124759
124819
|
},
|
|
@@ -128578,83 +128638,90 @@ function toKnownErr21(e) {
|
|
|
128578
128638
|
return e;
|
|
128579
128639
|
}
|
|
128580
128640
|
|
|
128581
|
-
// ../api/src/client/types/com/atproto/admin/
|
|
128641
|
+
// ../api/src/client/types/com/atproto/admin/updateAccountPassword.ts
|
|
128582
128642
|
function toKnownErr22(e) {
|
|
128583
128643
|
if (e instanceof XRPCError) {
|
|
128584
128644
|
}
|
|
128585
128645
|
return e;
|
|
128586
128646
|
}
|
|
128587
128647
|
|
|
128588
|
-
// ../api/src/client/types/com/atproto/admin/
|
|
128648
|
+
// ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
|
|
128589
128649
|
function toKnownErr23(e) {
|
|
128590
128650
|
if (e instanceof XRPCError) {
|
|
128591
128651
|
}
|
|
128592
128652
|
return e;
|
|
128593
128653
|
}
|
|
128594
128654
|
|
|
128595
|
-
// ../api/src/client/types/com/atproto/
|
|
128655
|
+
// ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
128596
128656
|
function toKnownErr24(e) {
|
|
128597
128657
|
if (e instanceof XRPCError) {
|
|
128598
128658
|
}
|
|
128599
128659
|
return e;
|
|
128600
128660
|
}
|
|
128601
128661
|
|
|
128602
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128662
|
+
// ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
128603
128663
|
function toKnownErr25(e) {
|
|
128604
128664
|
if (e instanceof XRPCError) {
|
|
128605
128665
|
}
|
|
128606
128666
|
return e;
|
|
128607
128667
|
}
|
|
128608
128668
|
|
|
128609
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128669
|
+
// ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
128610
128670
|
function toKnownErr26(e) {
|
|
128611
128671
|
if (e instanceof XRPCError) {
|
|
128612
128672
|
}
|
|
128613
128673
|
return e;
|
|
128614
128674
|
}
|
|
128615
128675
|
|
|
128616
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128676
|
+
// ../api/src/client/types/com/atproto/identity/resolveHandle.ts
|
|
128617
128677
|
function toKnownErr27(e) {
|
|
128618
128678
|
if (e instanceof XRPCError) {
|
|
128619
128679
|
}
|
|
128620
128680
|
return e;
|
|
128621
128681
|
}
|
|
128622
128682
|
|
|
128623
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128683
|
+
// ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
128624
128684
|
function toKnownErr28(e) {
|
|
128625
128685
|
if (e instanceof XRPCError) {
|
|
128626
128686
|
}
|
|
128627
128687
|
return e;
|
|
128628
128688
|
}
|
|
128629
128689
|
|
|
128630
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128690
|
+
// ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
|
|
128631
128691
|
function toKnownErr29(e) {
|
|
128632
128692
|
if (e instanceof XRPCError) {
|
|
128633
128693
|
}
|
|
128634
128694
|
return e;
|
|
128635
128695
|
}
|
|
128636
128696
|
|
|
128637
|
-
// ../api/src/client/types/com/atproto/
|
|
128697
|
+
// ../api/src/client/types/com/atproto/identity/updateHandle.ts
|
|
128638
128698
|
function toKnownErr30(e) {
|
|
128639
128699
|
if (e instanceof XRPCError) {
|
|
128640
128700
|
}
|
|
128641
128701
|
return e;
|
|
128642
128702
|
}
|
|
128643
128703
|
|
|
128644
|
-
// ../api/src/client/types/com/atproto/
|
|
128704
|
+
// ../api/src/client/types/com/atproto/label/queryLabels.ts
|
|
128645
128705
|
function toKnownErr31(e) {
|
|
128646
128706
|
if (e instanceof XRPCError) {
|
|
128647
128707
|
}
|
|
128648
128708
|
return e;
|
|
128649
128709
|
}
|
|
128650
128710
|
|
|
128711
|
+
// ../api/src/client/types/com/atproto/moderation/createReport.ts
|
|
128712
|
+
function toKnownErr32(e) {
|
|
128713
|
+
if (e instanceof XRPCError) {
|
|
128714
|
+
}
|
|
128715
|
+
return e;
|
|
128716
|
+
}
|
|
128717
|
+
|
|
128651
128718
|
// ../api/src/client/types/com/atproto/repo/applyWrites.ts
|
|
128652
128719
|
var InvalidSwapError = class extends XRPCError {
|
|
128653
128720
|
constructor(src3) {
|
|
128654
128721
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128655
128722
|
}
|
|
128656
128723
|
};
|
|
128657
|
-
function
|
|
128724
|
+
function toKnownErr33(e) {
|
|
128658
128725
|
if (e instanceof XRPCError) {
|
|
128659
128726
|
if (e.error === "InvalidSwap")
|
|
128660
128727
|
return new InvalidSwapError(e);
|
|
@@ -128668,7 +128735,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
128668
128735
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128669
128736
|
}
|
|
128670
128737
|
};
|
|
128671
|
-
function
|
|
128738
|
+
function toKnownErr34(e) {
|
|
128672
128739
|
if (e instanceof XRPCError) {
|
|
128673
128740
|
if (e.error === "InvalidSwap")
|
|
128674
128741
|
return new InvalidSwapError2(e);
|
|
@@ -128682,7 +128749,7 @@ var InvalidSwapError3 = class extends XRPCError {
|
|
|
128682
128749
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128683
128750
|
}
|
|
128684
128751
|
};
|
|
128685
|
-
function
|
|
128752
|
+
function toKnownErr35(e) {
|
|
128686
128753
|
if (e instanceof XRPCError) {
|
|
128687
128754
|
if (e.error === "InvalidSwap")
|
|
128688
128755
|
return new InvalidSwapError3(e);
|
|
@@ -128691,35 +128758,35 @@ function toKnownErr34(e) {
|
|
|
128691
128758
|
}
|
|
128692
128759
|
|
|
128693
128760
|
// ../api/src/client/types/com/atproto/repo/describeRepo.ts
|
|
128694
|
-
function
|
|
128761
|
+
function toKnownErr36(e) {
|
|
128695
128762
|
if (e instanceof XRPCError) {
|
|
128696
128763
|
}
|
|
128697
128764
|
return e;
|
|
128698
128765
|
}
|
|
128699
128766
|
|
|
128700
128767
|
// ../api/src/client/types/com/atproto/repo/getRecord.ts
|
|
128701
|
-
function
|
|
128768
|
+
function toKnownErr37(e) {
|
|
128702
128769
|
if (e instanceof XRPCError) {
|
|
128703
128770
|
}
|
|
128704
128771
|
return e;
|
|
128705
128772
|
}
|
|
128706
128773
|
|
|
128707
128774
|
// ../api/src/client/types/com/atproto/repo/importRepo.ts
|
|
128708
|
-
function
|
|
128775
|
+
function toKnownErr38(e) {
|
|
128709
128776
|
if (e instanceof XRPCError) {
|
|
128710
128777
|
}
|
|
128711
128778
|
return e;
|
|
128712
128779
|
}
|
|
128713
128780
|
|
|
128714
128781
|
// ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
|
|
128715
|
-
function
|
|
128782
|
+
function toKnownErr39(e) {
|
|
128716
128783
|
if (e instanceof XRPCError) {
|
|
128717
128784
|
}
|
|
128718
128785
|
return e;
|
|
128719
128786
|
}
|
|
128720
128787
|
|
|
128721
128788
|
// ../api/src/client/types/com/atproto/repo/listRecords.ts
|
|
128722
|
-
function
|
|
128789
|
+
function toKnownErr40(e) {
|
|
128723
128790
|
if (e instanceof XRPCError) {
|
|
128724
128791
|
}
|
|
128725
128792
|
return e;
|
|
@@ -128731,7 +128798,7 @@ var InvalidSwapError4 = class extends XRPCError {
|
|
|
128731
128798
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128732
128799
|
}
|
|
128733
128800
|
};
|
|
128734
|
-
function
|
|
128801
|
+
function toKnownErr41(e) {
|
|
128735
128802
|
if (e instanceof XRPCError) {
|
|
128736
128803
|
if (e.error === "InvalidSwap")
|
|
128737
128804
|
return new InvalidSwapError4(e);
|
|
@@ -128740,21 +128807,21 @@ function toKnownErr40(e) {
|
|
|
128740
128807
|
}
|
|
128741
128808
|
|
|
128742
128809
|
// ../api/src/client/types/com/atproto/repo/uploadBlob.ts
|
|
128743
|
-
function
|
|
128810
|
+
function toKnownErr42(e) {
|
|
128744
128811
|
if (e instanceof XRPCError) {
|
|
128745
128812
|
}
|
|
128746
128813
|
return e;
|
|
128747
128814
|
}
|
|
128748
128815
|
|
|
128749
128816
|
// ../api/src/client/types/com/atproto/server/activateAccount.ts
|
|
128750
|
-
function
|
|
128817
|
+
function toKnownErr43(e) {
|
|
128751
128818
|
if (e instanceof XRPCError) {
|
|
128752
128819
|
}
|
|
128753
128820
|
return e;
|
|
128754
128821
|
}
|
|
128755
128822
|
|
|
128756
128823
|
// ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
|
|
128757
|
-
function
|
|
128824
|
+
function toKnownErr44(e) {
|
|
128758
128825
|
if (e instanceof XRPCError) {
|
|
128759
128826
|
}
|
|
128760
128827
|
return e;
|
|
@@ -128781,7 +128848,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
128781
128848
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128782
128849
|
}
|
|
128783
128850
|
};
|
|
128784
|
-
function
|
|
128851
|
+
function toKnownErr45(e) {
|
|
128785
128852
|
if (e instanceof XRPCError) {
|
|
128786
128853
|
if (e.error === "AccountNotFound")
|
|
128787
128854
|
return new AccountNotFoundError(e);
|
|
@@ -128831,7 +128898,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
128831
128898
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128832
128899
|
}
|
|
128833
128900
|
};
|
|
128834
|
-
function
|
|
128901
|
+
function toKnownErr46(e) {
|
|
128835
128902
|
if (e instanceof XRPCError) {
|
|
128836
128903
|
if (e.error === "InvalidHandle")
|
|
128837
128904
|
return new InvalidHandleError2(e);
|
|
@@ -128857,7 +128924,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
128857
128924
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128858
128925
|
}
|
|
128859
128926
|
};
|
|
128860
|
-
function
|
|
128927
|
+
function toKnownErr47(e) {
|
|
128861
128928
|
if (e instanceof XRPCError) {
|
|
128862
128929
|
if (e.error === "AccountTakedown")
|
|
128863
128930
|
return new AccountTakedownError(e);
|
|
@@ -128866,14 +128933,14 @@ function toKnownErr46(e) {
|
|
|
128866
128933
|
}
|
|
128867
128934
|
|
|
128868
128935
|
// ../api/src/client/types/com/atproto/server/createInviteCode.ts
|
|
128869
|
-
function
|
|
128936
|
+
function toKnownErr48(e) {
|
|
128870
128937
|
if (e instanceof XRPCError) {
|
|
128871
128938
|
}
|
|
128872
128939
|
return e;
|
|
128873
128940
|
}
|
|
128874
128941
|
|
|
128875
128942
|
// ../api/src/client/types/com/atproto/server/createInviteCodes.ts
|
|
128876
|
-
function
|
|
128943
|
+
function toKnownErr49(e) {
|
|
128877
128944
|
if (e instanceof XRPCError) {
|
|
128878
128945
|
}
|
|
128879
128946
|
return e;
|
|
@@ -128885,7 +128952,7 @@ var AccountTakedownError2 = class extends XRPCError {
|
|
|
128885
128952
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128886
128953
|
}
|
|
128887
128954
|
};
|
|
128888
|
-
function
|
|
128955
|
+
function toKnownErr50(e) {
|
|
128889
128956
|
if (e instanceof XRPCError) {
|
|
128890
128957
|
if (e.error === "AccountTakedown")
|
|
128891
128958
|
return new AccountTakedownError2(e);
|
|
@@ -128894,7 +128961,7 @@ function toKnownErr49(e) {
|
|
|
128894
128961
|
}
|
|
128895
128962
|
|
|
128896
128963
|
// ../api/src/client/types/com/atproto/server/deactivateAccount.ts
|
|
128897
|
-
function
|
|
128964
|
+
function toKnownErr51(e) {
|
|
128898
128965
|
if (e instanceof XRPCError) {
|
|
128899
128966
|
}
|
|
128900
128967
|
return e;
|
|
@@ -128911,7 +128978,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
128911
128978
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128912
128979
|
}
|
|
128913
128980
|
};
|
|
128914
|
-
function
|
|
128981
|
+
function toKnownErr52(e) {
|
|
128915
128982
|
if (e instanceof XRPCError) {
|
|
128916
128983
|
if (e.error === "ExpiredToken")
|
|
128917
128984
|
return new ExpiredTokenError2(e);
|
|
@@ -128922,14 +128989,14 @@ function toKnownErr51(e) {
|
|
|
128922
128989
|
}
|
|
128923
128990
|
|
|
128924
128991
|
// ../api/src/client/types/com/atproto/server/deleteSession.ts
|
|
128925
|
-
function
|
|
128992
|
+
function toKnownErr53(e) {
|
|
128926
128993
|
if (e instanceof XRPCError) {
|
|
128927
128994
|
}
|
|
128928
128995
|
return e;
|
|
128929
128996
|
}
|
|
128930
128997
|
|
|
128931
128998
|
// ../api/src/client/types/com/atproto/server/describeServer.ts
|
|
128932
|
-
function
|
|
128999
|
+
function toKnownErr54(e) {
|
|
128933
129000
|
if (e instanceof XRPCError) {
|
|
128934
129001
|
}
|
|
128935
129002
|
return e;
|
|
@@ -128941,7 +129008,7 @@ var DuplicateCreateError = class extends XRPCError {
|
|
|
128941
129008
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128942
129009
|
}
|
|
128943
129010
|
};
|
|
128944
|
-
function
|
|
129011
|
+
function toKnownErr55(e) {
|
|
128945
129012
|
if (e instanceof XRPCError) {
|
|
128946
129013
|
if (e.error === "DuplicateCreate")
|
|
128947
129014
|
return new DuplicateCreateError(e);
|
|
@@ -128950,14 +129017,14 @@ function toKnownErr54(e) {
|
|
|
128950
129017
|
}
|
|
128951
129018
|
|
|
128952
129019
|
// ../api/src/client/types/com/atproto/server/getServiceAuth.ts
|
|
128953
|
-
function
|
|
129020
|
+
function toKnownErr56(e) {
|
|
128954
129021
|
if (e instanceof XRPCError) {
|
|
128955
129022
|
}
|
|
128956
129023
|
return e;
|
|
128957
129024
|
}
|
|
128958
129025
|
|
|
128959
129026
|
// ../api/src/client/types/com/atproto/server/getSession.ts
|
|
128960
|
-
function
|
|
129027
|
+
function toKnownErr57(e) {
|
|
128961
129028
|
if (e instanceof XRPCError) {
|
|
128962
129029
|
}
|
|
128963
129030
|
return e;
|
|
@@ -128969,7 +129036,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
128969
129036
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128970
129037
|
}
|
|
128971
129038
|
};
|
|
128972
|
-
function
|
|
129039
|
+
function toKnownErr58(e) {
|
|
128973
129040
|
if (e instanceof XRPCError) {
|
|
128974
129041
|
if (e.error === "AccountTakedown")
|
|
128975
129042
|
return new AccountTakedownError3(e);
|
|
@@ -128983,7 +129050,7 @@ var AccountTakedownError4 = class extends XRPCError {
|
|
|
128983
129050
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128984
129051
|
}
|
|
128985
129052
|
};
|
|
128986
|
-
function
|
|
129053
|
+
function toKnownErr59(e) {
|
|
128987
129054
|
if (e instanceof XRPCError) {
|
|
128988
129055
|
if (e.error === "AccountTakedown")
|
|
128989
129056
|
return new AccountTakedownError4(e);
|
|
@@ -128992,35 +129059,35 @@ function toKnownErr58(e) {
|
|
|
128992
129059
|
}
|
|
128993
129060
|
|
|
128994
129061
|
// ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
128995
|
-
function
|
|
129062
|
+
function toKnownErr60(e) {
|
|
128996
129063
|
if (e instanceof XRPCError) {
|
|
128997
129064
|
}
|
|
128998
129065
|
return e;
|
|
128999
129066
|
}
|
|
129000
129067
|
|
|
129001
129068
|
// ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
129002
|
-
function
|
|
129069
|
+
function toKnownErr61(e) {
|
|
129003
129070
|
if (e instanceof XRPCError) {
|
|
129004
129071
|
}
|
|
129005
129072
|
return e;
|
|
129006
129073
|
}
|
|
129007
129074
|
|
|
129008
129075
|
// ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
129009
|
-
function
|
|
129076
|
+
function toKnownErr62(e) {
|
|
129010
129077
|
if (e instanceof XRPCError) {
|
|
129011
129078
|
}
|
|
129012
129079
|
return e;
|
|
129013
129080
|
}
|
|
129014
129081
|
|
|
129015
129082
|
// ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
129016
|
-
function
|
|
129083
|
+
function toKnownErr63(e) {
|
|
129017
129084
|
if (e instanceof XRPCError) {
|
|
129018
129085
|
}
|
|
129019
129086
|
return e;
|
|
129020
129087
|
}
|
|
129021
129088
|
|
|
129022
129089
|
// ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
129023
|
-
function
|
|
129090
|
+
function toKnownErr64(e) {
|
|
129024
129091
|
if (e instanceof XRPCError) {
|
|
129025
129092
|
}
|
|
129026
129093
|
return e;
|
|
@@ -129037,7 +129104,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
129037
129104
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129038
129105
|
}
|
|
129039
129106
|
};
|
|
129040
|
-
function
|
|
129107
|
+
function toKnownErr65(e) {
|
|
129041
129108
|
if (e instanceof XRPCError) {
|
|
129042
129109
|
if (e.error === "ExpiredToken")
|
|
129043
129110
|
return new ExpiredTokenError3(e);
|
|
@@ -129048,7 +129115,7 @@ function toKnownErr64(e) {
|
|
|
129048
129115
|
}
|
|
129049
129116
|
|
|
129050
129117
|
// ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
129051
|
-
function
|
|
129118
|
+
function toKnownErr66(e) {
|
|
129052
129119
|
if (e instanceof XRPCError) {
|
|
129053
129120
|
}
|
|
129054
129121
|
return e;
|
|
@@ -129070,7 +129137,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
129070
129137
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129071
129138
|
}
|
|
129072
129139
|
};
|
|
129073
|
-
function
|
|
129140
|
+
function toKnownErr67(e) {
|
|
129074
129141
|
if (e instanceof XRPCError) {
|
|
129075
129142
|
if (e.error === "ExpiredToken")
|
|
129076
129143
|
return new ExpiredTokenError4(e);
|
|
@@ -129083,21 +129150,21 @@ function toKnownErr66(e) {
|
|
|
129083
129150
|
}
|
|
129084
129151
|
|
|
129085
129152
|
// ../api/src/client/types/com/atproto/sync/getBlob.ts
|
|
129086
|
-
function
|
|
129153
|
+
function toKnownErr68(e) {
|
|
129087
129154
|
if (e instanceof XRPCError) {
|
|
129088
129155
|
}
|
|
129089
129156
|
return e;
|
|
129090
129157
|
}
|
|
129091
129158
|
|
|
129092
129159
|
// ../api/src/client/types/com/atproto/sync/getBlocks.ts
|
|
129093
|
-
function
|
|
129160
|
+
function toKnownErr69(e) {
|
|
129094
129161
|
if (e instanceof XRPCError) {
|
|
129095
129162
|
}
|
|
129096
129163
|
return e;
|
|
129097
129164
|
}
|
|
129098
129165
|
|
|
129099
129166
|
// ../api/src/client/types/com/atproto/sync/getCheckout.ts
|
|
129100
|
-
function
|
|
129167
|
+
function toKnownErr70(e) {
|
|
129101
129168
|
if (e instanceof XRPCError) {
|
|
129102
129169
|
}
|
|
129103
129170
|
return e;
|
|
@@ -129109,7 +129176,7 @@ var HeadNotFoundError = class extends XRPCError {
|
|
|
129109
129176
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129110
129177
|
}
|
|
129111
129178
|
};
|
|
129112
|
-
function
|
|
129179
|
+
function toKnownErr71(e) {
|
|
129113
129180
|
if (e instanceof XRPCError) {
|
|
129114
129181
|
if (e.error === "HeadNotFound")
|
|
129115
129182
|
return new HeadNotFoundError(e);
|
|
@@ -129123,7 +129190,7 @@ var RepoNotFoundError2 = class extends XRPCError {
|
|
|
129123
129190
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129124
129191
|
}
|
|
129125
129192
|
};
|
|
129126
|
-
function
|
|
129193
|
+
function toKnownErr72(e) {
|
|
129127
129194
|
if (e instanceof XRPCError) {
|
|
129128
129195
|
if (e.error === "RepoNotFound")
|
|
129129
129196
|
return new RepoNotFoundError2(e);
|
|
@@ -129132,126 +129199,126 @@ function toKnownErr71(e) {
|
|
|
129132
129199
|
}
|
|
129133
129200
|
|
|
129134
129201
|
// ../api/src/client/types/com/atproto/sync/getRecord.ts
|
|
129135
|
-
function
|
|
129202
|
+
function toKnownErr73(e) {
|
|
129136
129203
|
if (e instanceof XRPCError) {
|
|
129137
129204
|
}
|
|
129138
129205
|
return e;
|
|
129139
129206
|
}
|
|
129140
129207
|
|
|
129141
129208
|
// ../api/src/client/types/com/atproto/sync/getRepo.ts
|
|
129142
|
-
function
|
|
129209
|
+
function toKnownErr74(e) {
|
|
129143
129210
|
if (e instanceof XRPCError) {
|
|
129144
129211
|
}
|
|
129145
129212
|
return e;
|
|
129146
129213
|
}
|
|
129147
129214
|
|
|
129148
129215
|
// ../api/src/client/types/com/atproto/sync/listBlobs.ts
|
|
129149
|
-
function
|
|
129216
|
+
function toKnownErr75(e) {
|
|
129150
129217
|
if (e instanceof XRPCError) {
|
|
129151
129218
|
}
|
|
129152
129219
|
return e;
|
|
129153
129220
|
}
|
|
129154
129221
|
|
|
129155
129222
|
// ../api/src/client/types/com/atproto/sync/listRepos.ts
|
|
129156
|
-
function
|
|
129223
|
+
function toKnownErr76(e) {
|
|
129157
129224
|
if (e instanceof XRPCError) {
|
|
129158
129225
|
}
|
|
129159
129226
|
return e;
|
|
129160
129227
|
}
|
|
129161
129228
|
|
|
129162
129229
|
// ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
129163
|
-
function
|
|
129230
|
+
function toKnownErr77(e) {
|
|
129164
129231
|
if (e instanceof XRPCError) {
|
|
129165
129232
|
}
|
|
129166
129233
|
return e;
|
|
129167
129234
|
}
|
|
129168
129235
|
|
|
129169
129236
|
// ../api/src/client/types/com/atproto/sync/requestCrawl.ts
|
|
129170
|
-
function
|
|
129237
|
+
function toKnownErr78(e) {
|
|
129171
129238
|
if (e instanceof XRPCError) {
|
|
129172
129239
|
}
|
|
129173
129240
|
return e;
|
|
129174
129241
|
}
|
|
129175
129242
|
|
|
129176
129243
|
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
129177
|
-
function
|
|
129244
|
+
function toKnownErr79(e) {
|
|
129178
129245
|
if (e instanceof XRPCError) {
|
|
129179
129246
|
}
|
|
129180
129247
|
return e;
|
|
129181
129248
|
}
|
|
129182
129249
|
|
|
129183
129250
|
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
129184
|
-
function
|
|
129251
|
+
function toKnownErr80(e) {
|
|
129185
129252
|
if (e instanceof XRPCError) {
|
|
129186
129253
|
}
|
|
129187
129254
|
return e;
|
|
129188
129255
|
}
|
|
129189
129256
|
|
|
129190
129257
|
// ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
129191
|
-
function
|
|
129258
|
+
function toKnownErr81(e) {
|
|
129192
129259
|
if (e instanceof XRPCError) {
|
|
129193
129260
|
}
|
|
129194
129261
|
return e;
|
|
129195
129262
|
}
|
|
129196
129263
|
|
|
129197
129264
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
129198
|
-
function
|
|
129265
|
+
function toKnownErr82(e) {
|
|
129199
129266
|
if (e instanceof XRPCError) {
|
|
129200
129267
|
}
|
|
129201
129268
|
return e;
|
|
129202
129269
|
}
|
|
129203
129270
|
|
|
129204
129271
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
129205
|
-
function
|
|
129272
|
+
function toKnownErr83(e) {
|
|
129206
129273
|
if (e instanceof XRPCError) {
|
|
129207
129274
|
}
|
|
129208
129275
|
return e;
|
|
129209
129276
|
}
|
|
129210
129277
|
|
|
129211
129278
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
129212
|
-
function
|
|
129279
|
+
function toKnownErr84(e) {
|
|
129213
129280
|
if (e instanceof XRPCError) {
|
|
129214
129281
|
}
|
|
129215
129282
|
return e;
|
|
129216
129283
|
}
|
|
129217
129284
|
|
|
129218
129285
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
129219
|
-
function
|
|
129286
|
+
function toKnownErr85(e) {
|
|
129220
129287
|
if (e instanceof XRPCError) {
|
|
129221
129288
|
}
|
|
129222
129289
|
return e;
|
|
129223
129290
|
}
|
|
129224
129291
|
|
|
129225
129292
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
129226
|
-
function
|
|
129293
|
+
function toKnownErr86(e) {
|
|
129227
129294
|
if (e instanceof XRPCError) {
|
|
129228
129295
|
}
|
|
129229
129296
|
return e;
|
|
129230
129297
|
}
|
|
129231
129298
|
|
|
129232
129299
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
129233
|
-
function
|
|
129300
|
+
function toKnownErr87(e) {
|
|
129234
129301
|
if (e instanceof XRPCError) {
|
|
129235
129302
|
}
|
|
129236
129303
|
return e;
|
|
129237
129304
|
}
|
|
129238
129305
|
|
|
129239
129306
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
129240
|
-
function
|
|
129307
|
+
function toKnownErr88(e) {
|
|
129241
129308
|
if (e instanceof XRPCError) {
|
|
129242
129309
|
}
|
|
129243
129310
|
return e;
|
|
129244
129311
|
}
|
|
129245
129312
|
|
|
129246
129313
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
129247
|
-
function
|
|
129314
|
+
function toKnownErr89(e) {
|
|
129248
129315
|
if (e instanceof XRPCError) {
|
|
129249
129316
|
}
|
|
129250
129317
|
return e;
|
|
129251
129318
|
}
|
|
129252
129319
|
|
|
129253
129320
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
129254
|
-
function
|
|
129321
|
+
function toKnownErr90(e) {
|
|
129255
129322
|
if (e instanceof XRPCError) {
|
|
129256
129323
|
}
|
|
129257
129324
|
return e;
|
|
@@ -129268,7 +129335,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
129268
129335
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129269
129336
|
}
|
|
129270
129337
|
};
|
|
129271
|
-
function
|
|
129338
|
+
function toKnownErr91(e) {
|
|
129272
129339
|
if (e instanceof XRPCError) {
|
|
129273
129340
|
if (e.error === "BlockedActor")
|
|
129274
129341
|
return new BlockedActorError(e);
|
|
@@ -129289,7 +129356,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
129289
129356
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129290
129357
|
}
|
|
129291
129358
|
};
|
|
129292
|
-
function
|
|
129359
|
+
function toKnownErr92(e) {
|
|
129293
129360
|
if (e instanceof XRPCError) {
|
|
129294
129361
|
if (e.error === "BlockedActor")
|
|
129295
129362
|
return new BlockedActorError2(e);
|
|
@@ -129305,7 +129372,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
129305
129372
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129306
129373
|
}
|
|
129307
129374
|
};
|
|
129308
|
-
function
|
|
129375
|
+
function toKnownErr93(e) {
|
|
129309
129376
|
if (e instanceof XRPCError) {
|
|
129310
129377
|
if (e.error === "UnknownFeed")
|
|
129311
129378
|
return new UnknownFeedError(e);
|
|
@@ -129314,14 +129381,14 @@ function toKnownErr92(e) {
|
|
|
129314
129381
|
}
|
|
129315
129382
|
|
|
129316
129383
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
129317
|
-
function
|
|
129384
|
+
function toKnownErr94(e) {
|
|
129318
129385
|
if (e instanceof XRPCError) {
|
|
129319
129386
|
}
|
|
129320
129387
|
return e;
|
|
129321
129388
|
}
|
|
129322
129389
|
|
|
129323
129390
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
129324
|
-
function
|
|
129391
|
+
function toKnownErr95(e) {
|
|
129325
129392
|
if (e instanceof XRPCError) {
|
|
129326
129393
|
}
|
|
129327
129394
|
return e;
|
|
@@ -129333,7 +129400,7 @@ var UnknownFeedError2 = class extends XRPCError {
|
|
|
129333
129400
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129334
129401
|
}
|
|
129335
129402
|
};
|
|
129336
|
-
function
|
|
129403
|
+
function toKnownErr96(e) {
|
|
129337
129404
|
if (e instanceof XRPCError) {
|
|
129338
129405
|
if (e.error === "UnknownFeed")
|
|
129339
129406
|
return new UnknownFeedError2(e);
|
|
@@ -129342,7 +129409,7 @@ function toKnownErr95(e) {
|
|
|
129342
129409
|
}
|
|
129343
129410
|
|
|
129344
129411
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
129345
|
-
function
|
|
129412
|
+
function toKnownErr97(e) {
|
|
129346
129413
|
if (e instanceof XRPCError) {
|
|
129347
129414
|
}
|
|
129348
129415
|
return e;
|
|
@@ -129354,7 +129421,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
129354
129421
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129355
129422
|
}
|
|
129356
129423
|
};
|
|
129357
|
-
function
|
|
129424
|
+
function toKnownErr98(e) {
|
|
129358
129425
|
if (e instanceof XRPCError) {
|
|
129359
129426
|
if (e.error === "UnknownList")
|
|
129360
129427
|
return new UnknownListError(e);
|
|
@@ -129368,7 +129435,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
129368
129435
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129369
129436
|
}
|
|
129370
129437
|
};
|
|
129371
|
-
function
|
|
129438
|
+
function toKnownErr99(e) {
|
|
129372
129439
|
if (e instanceof XRPCError) {
|
|
129373
129440
|
if (e.error === "NotFound")
|
|
129374
129441
|
return new NotFoundError(e);
|
|
@@ -129377,28 +129444,28 @@ function toKnownErr98(e) {
|
|
|
129377
129444
|
}
|
|
129378
129445
|
|
|
129379
129446
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
129380
|
-
function
|
|
129447
|
+
function toKnownErr100(e) {
|
|
129381
129448
|
if (e instanceof XRPCError) {
|
|
129382
129449
|
}
|
|
129383
129450
|
return e;
|
|
129384
129451
|
}
|
|
129385
129452
|
|
|
129386
129453
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
129387
|
-
function
|
|
129454
|
+
function toKnownErr101(e) {
|
|
129388
129455
|
if (e instanceof XRPCError) {
|
|
129389
129456
|
}
|
|
129390
129457
|
return e;
|
|
129391
129458
|
}
|
|
129392
129459
|
|
|
129393
129460
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
129394
|
-
function
|
|
129461
|
+
function toKnownErr102(e) {
|
|
129395
129462
|
if (e instanceof XRPCError) {
|
|
129396
129463
|
}
|
|
129397
129464
|
return e;
|
|
129398
129465
|
}
|
|
129399
129466
|
|
|
129400
129467
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
129401
|
-
function
|
|
129468
|
+
function toKnownErr103(e) {
|
|
129402
129469
|
if (e instanceof XRPCError) {
|
|
129403
129470
|
}
|
|
129404
129471
|
return e;
|
|
@@ -129410,7 +129477,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
129410
129477
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129411
129478
|
}
|
|
129412
129479
|
};
|
|
129413
|
-
function
|
|
129480
|
+
function toKnownErr104(e) {
|
|
129414
129481
|
if (e instanceof XRPCError) {
|
|
129415
129482
|
if (e.error === "BadQueryString")
|
|
129416
129483
|
return new BadQueryStringError(e);
|
|
@@ -129419,56 +129486,56 @@ function toKnownErr103(e) {
|
|
|
129419
129486
|
}
|
|
129420
129487
|
|
|
129421
129488
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
129422
|
-
function
|
|
129489
|
+
function toKnownErr105(e) {
|
|
129423
129490
|
if (e instanceof XRPCError) {
|
|
129424
129491
|
}
|
|
129425
129492
|
return e;
|
|
129426
129493
|
}
|
|
129427
129494
|
|
|
129428
129495
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
129429
|
-
function
|
|
129496
|
+
function toKnownErr106(e) {
|
|
129430
129497
|
if (e instanceof XRPCError) {
|
|
129431
129498
|
}
|
|
129432
129499
|
return e;
|
|
129433
129500
|
}
|
|
129434
129501
|
|
|
129435
129502
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
129436
|
-
function
|
|
129503
|
+
function toKnownErr107(e) {
|
|
129437
129504
|
if (e instanceof XRPCError) {
|
|
129438
129505
|
}
|
|
129439
129506
|
return e;
|
|
129440
129507
|
}
|
|
129441
129508
|
|
|
129442
129509
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
129443
|
-
function
|
|
129510
|
+
function toKnownErr108(e) {
|
|
129444
129511
|
if (e instanceof XRPCError) {
|
|
129445
129512
|
}
|
|
129446
129513
|
return e;
|
|
129447
129514
|
}
|
|
129448
129515
|
|
|
129449
129516
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
129450
|
-
function
|
|
129517
|
+
function toKnownErr109(e) {
|
|
129451
129518
|
if (e instanceof XRPCError) {
|
|
129452
129519
|
}
|
|
129453
129520
|
return e;
|
|
129454
129521
|
}
|
|
129455
129522
|
|
|
129456
129523
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
129457
|
-
function
|
|
129524
|
+
function toKnownErr110(e) {
|
|
129458
129525
|
if (e instanceof XRPCError) {
|
|
129459
129526
|
}
|
|
129460
129527
|
return e;
|
|
129461
129528
|
}
|
|
129462
129529
|
|
|
129463
129530
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
129464
|
-
function
|
|
129531
|
+
function toKnownErr111(e) {
|
|
129465
129532
|
if (e instanceof XRPCError) {
|
|
129466
129533
|
}
|
|
129467
129534
|
return e;
|
|
129468
129535
|
}
|
|
129469
129536
|
|
|
129470
129537
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
129471
|
-
function
|
|
129538
|
+
function toKnownErr112(e) {
|
|
129472
129539
|
if (e instanceof XRPCError) {
|
|
129473
129540
|
}
|
|
129474
129541
|
return e;
|
|
@@ -129480,7 +129547,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
129480
129547
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129481
129548
|
}
|
|
129482
129549
|
};
|
|
129483
|
-
function
|
|
129550
|
+
function toKnownErr113(e) {
|
|
129484
129551
|
if (e instanceof XRPCError) {
|
|
129485
129552
|
if (e.error === "ActorNotFound")
|
|
129486
129553
|
return new ActorNotFoundError(e);
|
|
@@ -129489,77 +129556,77 @@ function toKnownErr112(e) {
|
|
|
129489
129556
|
}
|
|
129490
129557
|
|
|
129491
129558
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
129492
|
-
function
|
|
129559
|
+
function toKnownErr114(e) {
|
|
129493
129560
|
if (e instanceof XRPCError) {
|
|
129494
129561
|
}
|
|
129495
129562
|
return e;
|
|
129496
129563
|
}
|
|
129497
129564
|
|
|
129498
129565
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
129499
|
-
function
|
|
129566
|
+
function toKnownErr115(e) {
|
|
129500
129567
|
if (e instanceof XRPCError) {
|
|
129501
129568
|
}
|
|
129502
129569
|
return e;
|
|
129503
129570
|
}
|
|
129504
129571
|
|
|
129505
129572
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
129506
|
-
function
|
|
129573
|
+
function toKnownErr116(e) {
|
|
129507
129574
|
if (e instanceof XRPCError) {
|
|
129508
129575
|
}
|
|
129509
129576
|
return e;
|
|
129510
129577
|
}
|
|
129511
129578
|
|
|
129512
129579
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
129513
|
-
function
|
|
129580
|
+
function toKnownErr117(e) {
|
|
129514
129581
|
if (e instanceof XRPCError) {
|
|
129515
129582
|
}
|
|
129516
129583
|
return e;
|
|
129517
129584
|
}
|
|
129518
129585
|
|
|
129519
129586
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
129520
|
-
function
|
|
129587
|
+
function toKnownErr118(e) {
|
|
129521
129588
|
if (e instanceof XRPCError) {
|
|
129522
129589
|
}
|
|
129523
129590
|
return e;
|
|
129524
129591
|
}
|
|
129525
129592
|
|
|
129526
129593
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
129527
|
-
function
|
|
129594
|
+
function toKnownErr119(e) {
|
|
129528
129595
|
if (e instanceof XRPCError) {
|
|
129529
129596
|
}
|
|
129530
129597
|
return e;
|
|
129531
129598
|
}
|
|
129532
129599
|
|
|
129533
129600
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
129534
|
-
function
|
|
129601
|
+
function toKnownErr120(e) {
|
|
129535
129602
|
if (e instanceof XRPCError) {
|
|
129536
129603
|
}
|
|
129537
129604
|
return e;
|
|
129538
129605
|
}
|
|
129539
129606
|
|
|
129540
129607
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
129541
|
-
function
|
|
129608
|
+
function toKnownErr121(e) {
|
|
129542
129609
|
if (e instanceof XRPCError) {
|
|
129543
129610
|
}
|
|
129544
129611
|
return e;
|
|
129545
129612
|
}
|
|
129546
129613
|
|
|
129547
129614
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
129548
|
-
function
|
|
129615
|
+
function toKnownErr122(e) {
|
|
129549
129616
|
if (e instanceof XRPCError) {
|
|
129550
129617
|
}
|
|
129551
129618
|
return e;
|
|
129552
129619
|
}
|
|
129553
129620
|
|
|
129554
129621
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
129555
|
-
function
|
|
129622
|
+
function toKnownErr123(e) {
|
|
129556
129623
|
if (e instanceof XRPCError) {
|
|
129557
129624
|
}
|
|
129558
129625
|
return e;
|
|
129559
129626
|
}
|
|
129560
129627
|
|
|
129561
129628
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
129562
|
-
function
|
|
129629
|
+
function toKnownErr124(e) {
|
|
129563
129630
|
if (e instanceof XRPCError) {
|
|
129564
129631
|
}
|
|
129565
129632
|
return e;
|
|
@@ -129571,7 +129638,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
129571
129638
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129572
129639
|
}
|
|
129573
129640
|
};
|
|
129574
|
-
function
|
|
129641
|
+
function toKnownErr125(e) {
|
|
129575
129642
|
if (e instanceof XRPCError) {
|
|
129576
129643
|
if (e.error === "BadQueryString")
|
|
129577
129644
|
return new BadQueryStringError2(e);
|
|
@@ -129585,7 +129652,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
129585
129652
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129586
129653
|
}
|
|
129587
129654
|
};
|
|
129588
|
-
function
|
|
129655
|
+
function toKnownErr126(e) {
|
|
129589
129656
|
if (e instanceof XRPCError) {
|
|
129590
129657
|
if (e.error === "BadQueryString")
|
|
129591
129658
|
return new BadQueryStringError3(e);
|
|
@@ -129742,14 +129809,19 @@ var ComAtprotoAdminNS2 = class {
|
|
|
129742
129809
|
throw toKnownErr21(e);
|
|
129743
129810
|
});
|
|
129744
129811
|
}
|
|
129812
|
+
updateAccountPassword(data, opts) {
|
|
129813
|
+
return this._service.xrpc.call("com.atproto.admin.updateAccountPassword", opts?.qp, data, opts).catch((e) => {
|
|
129814
|
+
throw toKnownErr22(e);
|
|
129815
|
+
});
|
|
129816
|
+
}
|
|
129745
129817
|
updateCommunicationTemplate(data, opts) {
|
|
129746
129818
|
return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
129747
|
-
throw
|
|
129819
|
+
throw toKnownErr23(e);
|
|
129748
129820
|
});
|
|
129749
129821
|
}
|
|
129750
129822
|
updateSubjectStatus(data, opts) {
|
|
129751
129823
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
129752
|
-
throw
|
|
129824
|
+
throw toKnownErr24(e);
|
|
129753
129825
|
});
|
|
129754
129826
|
}
|
|
129755
129827
|
};
|
|
@@ -129759,32 +129831,32 @@ var ComAtprotoIdentityNS2 = class {
|
|
|
129759
129831
|
}
|
|
129760
129832
|
getRecommendedDidCredentials(params2, opts) {
|
|
129761
129833
|
return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
|
|
129762
|
-
throw
|
|
129834
|
+
throw toKnownErr25(e);
|
|
129763
129835
|
});
|
|
129764
129836
|
}
|
|
129765
129837
|
requestPlcOperationSignature(data, opts) {
|
|
129766
129838
|
return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
|
|
129767
|
-
throw
|
|
129839
|
+
throw toKnownErr26(e);
|
|
129768
129840
|
});
|
|
129769
129841
|
}
|
|
129770
129842
|
resolveHandle(params2, opts) {
|
|
129771
129843
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
129772
|
-
throw
|
|
129844
|
+
throw toKnownErr27(e);
|
|
129773
129845
|
});
|
|
129774
129846
|
}
|
|
129775
129847
|
signPlcOperation(data, opts) {
|
|
129776
129848
|
return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
129777
|
-
throw
|
|
129849
|
+
throw toKnownErr28(e);
|
|
129778
129850
|
});
|
|
129779
129851
|
}
|
|
129780
129852
|
submitPlcOperation(data, opts) {
|
|
129781
129853
|
return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
129782
|
-
throw
|
|
129854
|
+
throw toKnownErr29(e);
|
|
129783
129855
|
});
|
|
129784
129856
|
}
|
|
129785
129857
|
updateHandle(data, opts) {
|
|
129786
129858
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
129787
|
-
throw
|
|
129859
|
+
throw toKnownErr30(e);
|
|
129788
129860
|
});
|
|
129789
129861
|
}
|
|
129790
129862
|
};
|
|
@@ -129794,7 +129866,7 @@ var ComAtprotoLabelNS2 = class {
|
|
|
129794
129866
|
}
|
|
129795
129867
|
queryLabels(params2, opts) {
|
|
129796
129868
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
129797
|
-
throw
|
|
129869
|
+
throw toKnownErr31(e);
|
|
129798
129870
|
});
|
|
129799
129871
|
}
|
|
129800
129872
|
};
|
|
@@ -129804,7 +129876,7 @@ var ComAtprotoModerationNS2 = class {
|
|
|
129804
129876
|
}
|
|
129805
129877
|
createReport(data, opts) {
|
|
129806
129878
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
129807
|
-
throw
|
|
129879
|
+
throw toKnownErr32(e);
|
|
129808
129880
|
});
|
|
129809
129881
|
}
|
|
129810
129882
|
};
|
|
@@ -129814,52 +129886,52 @@ var ComAtprotoRepoNS2 = class {
|
|
|
129814
129886
|
}
|
|
129815
129887
|
applyWrites(data, opts) {
|
|
129816
129888
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
129817
|
-
throw
|
|
129889
|
+
throw toKnownErr33(e);
|
|
129818
129890
|
});
|
|
129819
129891
|
}
|
|
129820
129892
|
createRecord(data, opts) {
|
|
129821
129893
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
129822
|
-
throw
|
|
129894
|
+
throw toKnownErr34(e);
|
|
129823
129895
|
});
|
|
129824
129896
|
}
|
|
129825
129897
|
deleteRecord(data, opts) {
|
|
129826
129898
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
129827
|
-
throw
|
|
129899
|
+
throw toKnownErr35(e);
|
|
129828
129900
|
});
|
|
129829
129901
|
}
|
|
129830
129902
|
describeRepo(params2, opts) {
|
|
129831
129903
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
129832
|
-
throw
|
|
129904
|
+
throw toKnownErr36(e);
|
|
129833
129905
|
});
|
|
129834
129906
|
}
|
|
129835
129907
|
getRecord(params2, opts) {
|
|
129836
129908
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
129837
|
-
throw
|
|
129909
|
+
throw toKnownErr37(e);
|
|
129838
129910
|
});
|
|
129839
129911
|
}
|
|
129840
129912
|
importRepo(data, opts) {
|
|
129841
129913
|
return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
129842
|
-
throw
|
|
129914
|
+
throw toKnownErr38(e);
|
|
129843
129915
|
});
|
|
129844
129916
|
}
|
|
129845
129917
|
listMissingBlobs(params2, opts) {
|
|
129846
129918
|
return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
|
|
129847
|
-
throw
|
|
129919
|
+
throw toKnownErr39(e);
|
|
129848
129920
|
});
|
|
129849
129921
|
}
|
|
129850
129922
|
listRecords(params2, opts) {
|
|
129851
129923
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
129852
|
-
throw
|
|
129924
|
+
throw toKnownErr40(e);
|
|
129853
129925
|
});
|
|
129854
129926
|
}
|
|
129855
129927
|
putRecord(data, opts) {
|
|
129856
129928
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
129857
|
-
throw
|
|
129929
|
+
throw toKnownErr41(e);
|
|
129858
129930
|
});
|
|
129859
129931
|
}
|
|
129860
129932
|
uploadBlob(data, opts) {
|
|
129861
129933
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
129862
|
-
throw
|
|
129934
|
+
throw toKnownErr42(e);
|
|
129863
129935
|
});
|
|
129864
129936
|
}
|
|
129865
129937
|
};
|
|
@@ -129869,127 +129941,127 @@ var ComAtprotoServerNS2 = class {
|
|
|
129869
129941
|
}
|
|
129870
129942
|
activateAccount(data, opts) {
|
|
129871
129943
|
return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
|
|
129872
|
-
throw
|
|
129944
|
+
throw toKnownErr43(e);
|
|
129873
129945
|
});
|
|
129874
129946
|
}
|
|
129875
129947
|
checkAccountStatus(params2, opts) {
|
|
129876
129948
|
return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
|
|
129877
|
-
throw
|
|
129949
|
+
throw toKnownErr44(e);
|
|
129878
129950
|
});
|
|
129879
129951
|
}
|
|
129880
129952
|
confirmEmail(data, opts) {
|
|
129881
129953
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
129882
|
-
throw
|
|
129954
|
+
throw toKnownErr45(e);
|
|
129883
129955
|
});
|
|
129884
129956
|
}
|
|
129885
129957
|
createAccount(data, opts) {
|
|
129886
129958
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
129887
|
-
throw
|
|
129959
|
+
throw toKnownErr46(e);
|
|
129888
129960
|
});
|
|
129889
129961
|
}
|
|
129890
129962
|
createAppPassword(data, opts) {
|
|
129891
129963
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
129892
|
-
throw
|
|
129964
|
+
throw toKnownErr47(e);
|
|
129893
129965
|
});
|
|
129894
129966
|
}
|
|
129895
129967
|
createInviteCode(data, opts) {
|
|
129896
129968
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
129897
|
-
throw
|
|
129969
|
+
throw toKnownErr48(e);
|
|
129898
129970
|
});
|
|
129899
129971
|
}
|
|
129900
129972
|
createInviteCodes(data, opts) {
|
|
129901
129973
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
129902
|
-
throw
|
|
129974
|
+
throw toKnownErr49(e);
|
|
129903
129975
|
});
|
|
129904
129976
|
}
|
|
129905
129977
|
createSession(data, opts) {
|
|
129906
129978
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
129907
|
-
throw
|
|
129979
|
+
throw toKnownErr50(e);
|
|
129908
129980
|
});
|
|
129909
129981
|
}
|
|
129910
129982
|
deactivateAccount(data, opts) {
|
|
129911
129983
|
return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
|
|
129912
|
-
throw
|
|
129984
|
+
throw toKnownErr51(e);
|
|
129913
129985
|
});
|
|
129914
129986
|
}
|
|
129915
129987
|
deleteAccount(data, opts) {
|
|
129916
129988
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
129917
|
-
throw
|
|
129989
|
+
throw toKnownErr52(e);
|
|
129918
129990
|
});
|
|
129919
129991
|
}
|
|
129920
129992
|
deleteSession(data, opts) {
|
|
129921
129993
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
129922
|
-
throw
|
|
129994
|
+
throw toKnownErr53(e);
|
|
129923
129995
|
});
|
|
129924
129996
|
}
|
|
129925
129997
|
describeServer(params2, opts) {
|
|
129926
129998
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
129927
|
-
throw
|
|
129999
|
+
throw toKnownErr54(e);
|
|
129928
130000
|
});
|
|
129929
130001
|
}
|
|
129930
130002
|
getAccountInviteCodes(params2, opts) {
|
|
129931
130003
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
129932
|
-
throw
|
|
130004
|
+
throw toKnownErr55(e);
|
|
129933
130005
|
});
|
|
129934
130006
|
}
|
|
129935
130007
|
getServiceAuth(params2, opts) {
|
|
129936
130008
|
return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
|
|
129937
|
-
throw
|
|
130009
|
+
throw toKnownErr56(e);
|
|
129938
130010
|
});
|
|
129939
130011
|
}
|
|
129940
130012
|
getSession(params2, opts) {
|
|
129941
130013
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
129942
|
-
throw
|
|
130014
|
+
throw toKnownErr57(e);
|
|
129943
130015
|
});
|
|
129944
130016
|
}
|
|
129945
130017
|
listAppPasswords(params2, opts) {
|
|
129946
130018
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
129947
|
-
throw
|
|
130019
|
+
throw toKnownErr58(e);
|
|
129948
130020
|
});
|
|
129949
130021
|
}
|
|
129950
130022
|
refreshSession(data, opts) {
|
|
129951
130023
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
129952
|
-
throw
|
|
130024
|
+
throw toKnownErr59(e);
|
|
129953
130025
|
});
|
|
129954
130026
|
}
|
|
129955
130027
|
requestAccountDelete(data, opts) {
|
|
129956
130028
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
129957
|
-
throw
|
|
130029
|
+
throw toKnownErr60(e);
|
|
129958
130030
|
});
|
|
129959
130031
|
}
|
|
129960
130032
|
requestEmailConfirmation(data, opts) {
|
|
129961
130033
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
129962
|
-
throw
|
|
130034
|
+
throw toKnownErr61(e);
|
|
129963
130035
|
});
|
|
129964
130036
|
}
|
|
129965
130037
|
requestEmailUpdate(data, opts) {
|
|
129966
130038
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
129967
|
-
throw
|
|
130039
|
+
throw toKnownErr62(e);
|
|
129968
130040
|
});
|
|
129969
130041
|
}
|
|
129970
130042
|
requestPasswordReset(data, opts) {
|
|
129971
130043
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
129972
|
-
throw
|
|
130044
|
+
throw toKnownErr63(e);
|
|
129973
130045
|
});
|
|
129974
130046
|
}
|
|
129975
130047
|
reserveSigningKey(data, opts) {
|
|
129976
130048
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
129977
|
-
throw
|
|
130049
|
+
throw toKnownErr64(e);
|
|
129978
130050
|
});
|
|
129979
130051
|
}
|
|
129980
130052
|
resetPassword(data, opts) {
|
|
129981
130053
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
129982
|
-
throw
|
|
130054
|
+
throw toKnownErr65(e);
|
|
129983
130055
|
});
|
|
129984
130056
|
}
|
|
129985
130057
|
revokeAppPassword(data, opts) {
|
|
129986
130058
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
129987
|
-
throw
|
|
130059
|
+
throw toKnownErr66(e);
|
|
129988
130060
|
});
|
|
129989
130061
|
}
|
|
129990
130062
|
updateEmail(data, opts) {
|
|
129991
130063
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
129992
|
-
throw
|
|
130064
|
+
throw toKnownErr67(e);
|
|
129993
130065
|
});
|
|
129994
130066
|
}
|
|
129995
130067
|
};
|
|
@@ -129999,57 +130071,57 @@ var ComAtprotoSyncNS2 = class {
|
|
|
129999
130071
|
}
|
|
130000
130072
|
getBlob(params2, opts) {
|
|
130001
130073
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
130002
|
-
throw
|
|
130074
|
+
throw toKnownErr68(e);
|
|
130003
130075
|
});
|
|
130004
130076
|
}
|
|
130005
130077
|
getBlocks(params2, opts) {
|
|
130006
130078
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
130007
|
-
throw
|
|
130079
|
+
throw toKnownErr69(e);
|
|
130008
130080
|
});
|
|
130009
130081
|
}
|
|
130010
130082
|
getCheckout(params2, opts) {
|
|
130011
130083
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
130012
|
-
throw
|
|
130084
|
+
throw toKnownErr70(e);
|
|
130013
130085
|
});
|
|
130014
130086
|
}
|
|
130015
130087
|
getHead(params2, opts) {
|
|
130016
130088
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
130017
|
-
throw
|
|
130089
|
+
throw toKnownErr71(e);
|
|
130018
130090
|
});
|
|
130019
130091
|
}
|
|
130020
130092
|
getLatestCommit(params2, opts) {
|
|
130021
130093
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
130022
|
-
throw
|
|
130094
|
+
throw toKnownErr72(e);
|
|
130023
130095
|
});
|
|
130024
130096
|
}
|
|
130025
130097
|
getRecord(params2, opts) {
|
|
130026
130098
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
130027
|
-
throw
|
|
130099
|
+
throw toKnownErr73(e);
|
|
130028
130100
|
});
|
|
130029
130101
|
}
|
|
130030
130102
|
getRepo(params2, opts) {
|
|
130031
130103
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
130032
|
-
throw
|
|
130104
|
+
throw toKnownErr74(e);
|
|
130033
130105
|
});
|
|
130034
130106
|
}
|
|
130035
130107
|
listBlobs(params2, opts) {
|
|
130036
130108
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
130037
|
-
throw
|
|
130109
|
+
throw toKnownErr75(e);
|
|
130038
130110
|
});
|
|
130039
130111
|
}
|
|
130040
130112
|
listRepos(params2, opts) {
|
|
130041
130113
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
130042
|
-
throw
|
|
130114
|
+
throw toKnownErr76(e);
|
|
130043
130115
|
});
|
|
130044
130116
|
}
|
|
130045
130117
|
notifyOfUpdate(data, opts) {
|
|
130046
130118
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
130047
|
-
throw
|
|
130119
|
+
throw toKnownErr77(e);
|
|
130048
130120
|
});
|
|
130049
130121
|
}
|
|
130050
130122
|
requestCrawl(data, opts) {
|
|
130051
130123
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
130052
|
-
throw
|
|
130124
|
+
throw toKnownErr78(e);
|
|
130053
130125
|
});
|
|
130054
130126
|
}
|
|
130055
130127
|
};
|
|
@@ -130059,17 +130131,17 @@ var ComAtprotoTempNS2 = class {
|
|
|
130059
130131
|
}
|
|
130060
130132
|
checkSignupQueue(params2, opts) {
|
|
130061
130133
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
130062
|
-
throw
|
|
130134
|
+
throw toKnownErr79(e);
|
|
130063
130135
|
});
|
|
130064
130136
|
}
|
|
130065
130137
|
fetchLabels(params2, opts) {
|
|
130066
130138
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
130067
|
-
throw
|
|
130139
|
+
throw toKnownErr80(e);
|
|
130068
130140
|
});
|
|
130069
130141
|
}
|
|
130070
130142
|
requestPhoneVerification(data, opts) {
|
|
130071
130143
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
130072
|
-
throw
|
|
130144
|
+
throw toKnownErr81(e);
|
|
130073
130145
|
});
|
|
130074
130146
|
}
|
|
130075
130147
|
};
|
|
@@ -130098,37 +130170,37 @@ var AppBskyActorNS2 = class {
|
|
|
130098
130170
|
}
|
|
130099
130171
|
getPreferences(params2, opts) {
|
|
130100
130172
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
130101
|
-
throw
|
|
130173
|
+
throw toKnownErr82(e);
|
|
130102
130174
|
});
|
|
130103
130175
|
}
|
|
130104
130176
|
getProfile(params2, opts) {
|
|
130105
130177
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
130106
|
-
throw
|
|
130178
|
+
throw toKnownErr83(e);
|
|
130107
130179
|
});
|
|
130108
130180
|
}
|
|
130109
130181
|
getProfiles(params2, opts) {
|
|
130110
130182
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
130111
|
-
throw
|
|
130183
|
+
throw toKnownErr84(e);
|
|
130112
130184
|
});
|
|
130113
130185
|
}
|
|
130114
130186
|
getSuggestions(params2, opts) {
|
|
130115
130187
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
130116
|
-
throw
|
|
130188
|
+
throw toKnownErr85(e);
|
|
130117
130189
|
});
|
|
130118
130190
|
}
|
|
130119
130191
|
putPreferences(data, opts) {
|
|
130120
130192
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
130121
|
-
throw
|
|
130193
|
+
throw toKnownErr86(e);
|
|
130122
130194
|
});
|
|
130123
130195
|
}
|
|
130124
130196
|
searchActors(params2, opts) {
|
|
130125
130197
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
130126
|
-
throw
|
|
130198
|
+
throw toKnownErr87(e);
|
|
130127
130199
|
});
|
|
130128
130200
|
}
|
|
130129
130201
|
searchActorsTypeahead(params2, opts) {
|
|
130130
130202
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
130131
|
-
throw
|
|
130203
|
+
throw toKnownErr88(e);
|
|
130132
130204
|
});
|
|
130133
130205
|
}
|
|
130134
130206
|
};
|
|
@@ -130175,82 +130247,82 @@ var AppBskyFeedNS2 = class {
|
|
|
130175
130247
|
}
|
|
130176
130248
|
describeFeedGenerator(params2, opts) {
|
|
130177
130249
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
130178
|
-
throw
|
|
130250
|
+
throw toKnownErr89(e);
|
|
130179
130251
|
});
|
|
130180
130252
|
}
|
|
130181
130253
|
getActorFeeds(params2, opts) {
|
|
130182
130254
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
130183
|
-
throw
|
|
130255
|
+
throw toKnownErr90(e);
|
|
130184
130256
|
});
|
|
130185
130257
|
}
|
|
130186
130258
|
getActorLikes(params2, opts) {
|
|
130187
130259
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
130188
|
-
throw
|
|
130260
|
+
throw toKnownErr91(e);
|
|
130189
130261
|
});
|
|
130190
130262
|
}
|
|
130191
130263
|
getAuthorFeed(params2, opts) {
|
|
130192
130264
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
130193
|
-
throw
|
|
130265
|
+
throw toKnownErr92(e);
|
|
130194
130266
|
});
|
|
130195
130267
|
}
|
|
130196
130268
|
getFeed(params2, opts) {
|
|
130197
130269
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
130198
|
-
throw
|
|
130270
|
+
throw toKnownErr93(e);
|
|
130199
130271
|
});
|
|
130200
130272
|
}
|
|
130201
130273
|
getFeedGenerator(params2, opts) {
|
|
130202
130274
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
130203
|
-
throw
|
|
130275
|
+
throw toKnownErr94(e);
|
|
130204
130276
|
});
|
|
130205
130277
|
}
|
|
130206
130278
|
getFeedGenerators(params2, opts) {
|
|
130207
130279
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
130208
|
-
throw
|
|
130280
|
+
throw toKnownErr95(e);
|
|
130209
130281
|
});
|
|
130210
130282
|
}
|
|
130211
130283
|
getFeedSkeleton(params2, opts) {
|
|
130212
130284
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
130213
|
-
throw
|
|
130285
|
+
throw toKnownErr96(e);
|
|
130214
130286
|
});
|
|
130215
130287
|
}
|
|
130216
130288
|
getLikes(params2, opts) {
|
|
130217
130289
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
130218
|
-
throw
|
|
130290
|
+
throw toKnownErr97(e);
|
|
130219
130291
|
});
|
|
130220
130292
|
}
|
|
130221
130293
|
getListFeed(params2, opts) {
|
|
130222
130294
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
130223
|
-
throw
|
|
130295
|
+
throw toKnownErr98(e);
|
|
130224
130296
|
});
|
|
130225
130297
|
}
|
|
130226
130298
|
getPostThread(params2, opts) {
|
|
130227
130299
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
130228
|
-
throw
|
|
130300
|
+
throw toKnownErr99(e);
|
|
130229
130301
|
});
|
|
130230
130302
|
}
|
|
130231
130303
|
getPosts(params2, opts) {
|
|
130232
130304
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
130233
|
-
throw
|
|
130305
|
+
throw toKnownErr100(e);
|
|
130234
130306
|
});
|
|
130235
130307
|
}
|
|
130236
130308
|
getRepostedBy(params2, opts) {
|
|
130237
130309
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
130238
|
-
throw
|
|
130310
|
+
throw toKnownErr101(e);
|
|
130239
130311
|
});
|
|
130240
130312
|
}
|
|
130241
130313
|
getSuggestedFeeds(params2, opts) {
|
|
130242
130314
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
130243
|
-
throw
|
|
130315
|
+
throw toKnownErr102(e);
|
|
130244
130316
|
});
|
|
130245
130317
|
}
|
|
130246
130318
|
getTimeline(params2, opts) {
|
|
130247
130319
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
130248
|
-
throw
|
|
130320
|
+
throw toKnownErr103(e);
|
|
130249
130321
|
});
|
|
130250
130322
|
}
|
|
130251
130323
|
searchPosts(params2, opts) {
|
|
130252
130324
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
130253
|
-
throw
|
|
130325
|
+
throw toKnownErr104(e);
|
|
130254
130326
|
});
|
|
130255
130327
|
}
|
|
130256
130328
|
};
|
|
@@ -130400,72 +130472,72 @@ var AppBskyGraphNS2 = class {
|
|
|
130400
130472
|
}
|
|
130401
130473
|
getBlocks(params2, opts) {
|
|
130402
130474
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
130403
|
-
throw
|
|
130475
|
+
throw toKnownErr105(e);
|
|
130404
130476
|
});
|
|
130405
130477
|
}
|
|
130406
130478
|
getFollowers(params2, opts) {
|
|
130407
130479
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
130408
|
-
throw
|
|
130480
|
+
throw toKnownErr106(e);
|
|
130409
130481
|
});
|
|
130410
130482
|
}
|
|
130411
130483
|
getFollows(params2, opts) {
|
|
130412
130484
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
130413
|
-
throw
|
|
130485
|
+
throw toKnownErr107(e);
|
|
130414
130486
|
});
|
|
130415
130487
|
}
|
|
130416
130488
|
getList(params2, opts) {
|
|
130417
130489
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
130418
|
-
throw
|
|
130490
|
+
throw toKnownErr108(e);
|
|
130419
130491
|
});
|
|
130420
130492
|
}
|
|
130421
130493
|
getListBlocks(params2, opts) {
|
|
130422
130494
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
130423
|
-
throw
|
|
130495
|
+
throw toKnownErr109(e);
|
|
130424
130496
|
});
|
|
130425
130497
|
}
|
|
130426
130498
|
getListMutes(params2, opts) {
|
|
130427
130499
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
130428
|
-
throw
|
|
130500
|
+
throw toKnownErr110(e);
|
|
130429
130501
|
});
|
|
130430
130502
|
}
|
|
130431
130503
|
getLists(params2, opts) {
|
|
130432
130504
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
130433
|
-
throw
|
|
130505
|
+
throw toKnownErr111(e);
|
|
130434
130506
|
});
|
|
130435
130507
|
}
|
|
130436
130508
|
getMutes(params2, opts) {
|
|
130437
130509
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
130438
|
-
throw
|
|
130510
|
+
throw toKnownErr112(e);
|
|
130439
130511
|
});
|
|
130440
130512
|
}
|
|
130441
130513
|
getRelationships(params2, opts) {
|
|
130442
130514
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
130443
|
-
throw
|
|
130515
|
+
throw toKnownErr113(e);
|
|
130444
130516
|
});
|
|
130445
130517
|
}
|
|
130446
130518
|
getSuggestedFollowsByActor(params2, opts) {
|
|
130447
130519
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
130448
|
-
throw
|
|
130520
|
+
throw toKnownErr114(e);
|
|
130449
130521
|
});
|
|
130450
130522
|
}
|
|
130451
130523
|
muteActor(data, opts) {
|
|
130452
130524
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
130453
|
-
throw
|
|
130525
|
+
throw toKnownErr115(e);
|
|
130454
130526
|
});
|
|
130455
130527
|
}
|
|
130456
130528
|
muteActorList(data, opts) {
|
|
130457
130529
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
130458
|
-
throw
|
|
130530
|
+
throw toKnownErr116(e);
|
|
130459
130531
|
});
|
|
130460
130532
|
}
|
|
130461
130533
|
unmuteActor(data, opts) {
|
|
130462
130534
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
130463
|
-
throw
|
|
130535
|
+
throw toKnownErr117(e);
|
|
130464
130536
|
});
|
|
130465
130537
|
}
|
|
130466
130538
|
unmuteActorList(data, opts) {
|
|
130467
130539
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
130468
|
-
throw
|
|
130540
|
+
throw toKnownErr118(e);
|
|
130469
130541
|
});
|
|
130470
130542
|
}
|
|
130471
130543
|
};
|
|
@@ -130610,22 +130682,22 @@ var AppBskyNotificationNS2 = class {
|
|
|
130610
130682
|
}
|
|
130611
130683
|
getUnreadCount(params2, opts) {
|
|
130612
130684
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
130613
|
-
throw
|
|
130685
|
+
throw toKnownErr119(e);
|
|
130614
130686
|
});
|
|
130615
130687
|
}
|
|
130616
130688
|
listNotifications(params2, opts) {
|
|
130617
130689
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
130618
|
-
throw
|
|
130690
|
+
throw toKnownErr120(e);
|
|
130619
130691
|
});
|
|
130620
130692
|
}
|
|
130621
130693
|
registerPush(data, opts) {
|
|
130622
130694
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
130623
|
-
throw
|
|
130695
|
+
throw toKnownErr121(e);
|
|
130624
130696
|
});
|
|
130625
130697
|
}
|
|
130626
130698
|
updateSeen(data, opts) {
|
|
130627
130699
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
130628
|
-
throw
|
|
130700
|
+
throw toKnownErr122(e);
|
|
130629
130701
|
});
|
|
130630
130702
|
}
|
|
130631
130703
|
};
|
|
@@ -130640,22 +130712,22 @@ var AppBskyUnspeccedNS2 = class {
|
|
|
130640
130712
|
}
|
|
130641
130713
|
getPopularFeedGenerators(params2, opts) {
|
|
130642
130714
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
130643
|
-
throw
|
|
130715
|
+
throw toKnownErr123(e);
|
|
130644
130716
|
});
|
|
130645
130717
|
}
|
|
130646
130718
|
getTaggedSuggestions(params2, opts) {
|
|
130647
130719
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
130648
|
-
throw
|
|
130720
|
+
throw toKnownErr124(e);
|
|
130649
130721
|
});
|
|
130650
130722
|
}
|
|
130651
130723
|
searchActorsSkeleton(params2, opts) {
|
|
130652
130724
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
130653
|
-
throw
|
|
130725
|
+
throw toKnownErr125(e);
|
|
130654
130726
|
});
|
|
130655
130727
|
}
|
|
130656
130728
|
searchPostsSkeleton(params2, opts) {
|
|
130657
130729
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
130658
|
-
throw
|
|
130730
|
+
throw toKnownErr126(e);
|
|
130659
130731
|
});
|
|
130660
130732
|
}
|
|
130661
130733
|
};
|