@atproto/ozone 0.0.10 → 0.0.11
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/db/index.js.map +2 -2
- package/dist/index.js +1171 -576
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +20 -6
- package/dist/lexicon/lexicons.d.ts +392 -110
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +20 -0
- package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +33 -0
- package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/{temp/transferAccount.d.ts → identity/signPlcOperation.d.ts} +6 -8
- package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +25 -0
- package/dist/lexicon/types/com/atproto/{temp/pushBlob.d.ts → repo/importRepo.d.ts} +1 -2
- package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +41 -0
- package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +38 -0
- package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +25 -0
- package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/{temp/importRepo.d.ts → server/getServiceAuth.d.ts} +8 -9
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +9 -1
- package/package.json +5 -5
- package/src/lexicon/index.ts +124 -36
- package/src/lexicon/lexicons.ts +429 -138
- package/src/lexicon/types/app/bsky/actor/defs.ts +59 -0
- package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
- package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +47 -0
- package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +31 -0
- package/src/lexicon/types/com/atproto/{temp/transferAccount.ts → identity/signPlcOperation.ts} +8 -15
- package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +38 -0
- package/src/lexicon/types/com/atproto/{temp/pushBlob.ts → repo/importRepo.ts} +2 -5
- package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +65 -0
- package/src/lexicon/types/com/atproto/server/activateAccount.ts +31 -0
- package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +51 -0
- package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +39 -0
- package/src/lexicon/types/com/atproto/server/describeServer.ts +1 -0
- package/src/lexicon/types/com/atproto/{temp/importRepo.ts → server/getServiceAuth.ts} +10 -9
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +24 -3
package/dist/index.js
CHANGED
|
@@ -103830,6 +103830,53 @@ var schemaDict = {
|
|
|
103830
103830
|
}
|
|
103831
103831
|
}
|
|
103832
103832
|
},
|
|
103833
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
103834
|
+
lexicon: 1,
|
|
103835
|
+
id: "com.atproto.identity.getRecommendedDidCredentials",
|
|
103836
|
+
defs: {
|
|
103837
|
+
main: {
|
|
103838
|
+
type: "query",
|
|
103839
|
+
description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
|
|
103840
|
+
output: {
|
|
103841
|
+
encoding: "application/json",
|
|
103842
|
+
schema: {
|
|
103843
|
+
type: "object",
|
|
103844
|
+
properties: {
|
|
103845
|
+
rotationKeys: {
|
|
103846
|
+
description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
|
|
103847
|
+
type: "array",
|
|
103848
|
+
items: {
|
|
103849
|
+
type: "string"
|
|
103850
|
+
}
|
|
103851
|
+
},
|
|
103852
|
+
alsoKnownAs: {
|
|
103853
|
+
type: "array",
|
|
103854
|
+
items: {
|
|
103855
|
+
type: "string"
|
|
103856
|
+
}
|
|
103857
|
+
},
|
|
103858
|
+
verificationMethods: {
|
|
103859
|
+
type: "unknown"
|
|
103860
|
+
},
|
|
103861
|
+
services: {
|
|
103862
|
+
type: "unknown"
|
|
103863
|
+
}
|
|
103864
|
+
}
|
|
103865
|
+
}
|
|
103866
|
+
}
|
|
103867
|
+
}
|
|
103868
|
+
}
|
|
103869
|
+
},
|
|
103870
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
103871
|
+
lexicon: 1,
|
|
103872
|
+
id: "com.atproto.identity.requestPlcOperationSignature",
|
|
103873
|
+
defs: {
|
|
103874
|
+
main: {
|
|
103875
|
+
type: "procedure",
|
|
103876
|
+
description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
|
|
103877
|
+
}
|
|
103878
|
+
}
|
|
103879
|
+
},
|
|
103833
103880
|
ComAtprotoIdentityResolveHandle: {
|
|
103834
103881
|
lexicon: 1,
|
|
103835
103882
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -103864,6 +103911,81 @@ var schemaDict = {
|
|
|
103864
103911
|
}
|
|
103865
103912
|
}
|
|
103866
103913
|
},
|
|
103914
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
103915
|
+
lexicon: 1,
|
|
103916
|
+
id: "com.atproto.identity.signPlcOperation",
|
|
103917
|
+
defs: {
|
|
103918
|
+
main: {
|
|
103919
|
+
type: "procedure",
|
|
103920
|
+
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
103921
|
+
input: {
|
|
103922
|
+
encoding: "application/json",
|
|
103923
|
+
schema: {
|
|
103924
|
+
type: "object",
|
|
103925
|
+
properties: {
|
|
103926
|
+
token: {
|
|
103927
|
+
description: "A token received through com.atproto.identity.requestPlcOperationSignature",
|
|
103928
|
+
type: "string"
|
|
103929
|
+
},
|
|
103930
|
+
rotationKeys: {
|
|
103931
|
+
type: "array",
|
|
103932
|
+
items: {
|
|
103933
|
+
type: "string"
|
|
103934
|
+
}
|
|
103935
|
+
},
|
|
103936
|
+
alsoKnownAs: {
|
|
103937
|
+
type: "array",
|
|
103938
|
+
items: {
|
|
103939
|
+
type: "string"
|
|
103940
|
+
}
|
|
103941
|
+
},
|
|
103942
|
+
verificationMethods: {
|
|
103943
|
+
type: "unknown"
|
|
103944
|
+
},
|
|
103945
|
+
services: {
|
|
103946
|
+
type: "unknown"
|
|
103947
|
+
}
|
|
103948
|
+
}
|
|
103949
|
+
}
|
|
103950
|
+
},
|
|
103951
|
+
output: {
|
|
103952
|
+
encoding: "application/json",
|
|
103953
|
+
schema: {
|
|
103954
|
+
type: "object",
|
|
103955
|
+
required: ["operation"],
|
|
103956
|
+
properties: {
|
|
103957
|
+
operation: {
|
|
103958
|
+
type: "unknown",
|
|
103959
|
+
description: "A signed DID PLC operation."
|
|
103960
|
+
}
|
|
103961
|
+
}
|
|
103962
|
+
}
|
|
103963
|
+
}
|
|
103964
|
+
}
|
|
103965
|
+
}
|
|
103966
|
+
},
|
|
103967
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
103968
|
+
lexicon: 1,
|
|
103969
|
+
id: "com.atproto.identity.submitPlcOperation",
|
|
103970
|
+
defs: {
|
|
103971
|
+
main: {
|
|
103972
|
+
type: "procedure",
|
|
103973
|
+
description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
|
|
103974
|
+
input: {
|
|
103975
|
+
encoding: "application/json",
|
|
103976
|
+
schema: {
|
|
103977
|
+
type: "object",
|
|
103978
|
+
required: ["operation"],
|
|
103979
|
+
properties: {
|
|
103980
|
+
operation: {
|
|
103981
|
+
type: "unknown"
|
|
103982
|
+
}
|
|
103983
|
+
}
|
|
103984
|
+
}
|
|
103985
|
+
}
|
|
103986
|
+
}
|
|
103987
|
+
}
|
|
103988
|
+
},
|
|
103867
103989
|
ComAtprotoIdentityUpdateHandle: {
|
|
103868
103990
|
lexicon: 1,
|
|
103869
103991
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -104536,6 +104658,76 @@ var schemaDict = {
|
|
|
104536
104658
|
}
|
|
104537
104659
|
}
|
|
104538
104660
|
},
|
|
104661
|
+
ComAtprotoRepoImportRepo: {
|
|
104662
|
+
lexicon: 1,
|
|
104663
|
+
id: "com.atproto.repo.importRepo",
|
|
104664
|
+
defs: {
|
|
104665
|
+
main: {
|
|
104666
|
+
type: "procedure",
|
|
104667
|
+
description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
|
|
104668
|
+
input: {
|
|
104669
|
+
encoding: "application/vnd.ipld.car"
|
|
104670
|
+
}
|
|
104671
|
+
}
|
|
104672
|
+
}
|
|
104673
|
+
},
|
|
104674
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
104675
|
+
lexicon: 1,
|
|
104676
|
+
id: "com.atproto.repo.listMissingBlobs",
|
|
104677
|
+
defs: {
|
|
104678
|
+
main: {
|
|
104679
|
+
type: "query",
|
|
104680
|
+
description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
|
|
104681
|
+
parameters: {
|
|
104682
|
+
type: "params",
|
|
104683
|
+
properties: {
|
|
104684
|
+
limit: {
|
|
104685
|
+
type: "integer",
|
|
104686
|
+
minimum: 1,
|
|
104687
|
+
maximum: 1e3,
|
|
104688
|
+
default: 500
|
|
104689
|
+
},
|
|
104690
|
+
cursor: {
|
|
104691
|
+
type: "string"
|
|
104692
|
+
}
|
|
104693
|
+
}
|
|
104694
|
+
},
|
|
104695
|
+
output: {
|
|
104696
|
+
encoding: "application/json",
|
|
104697
|
+
schema: {
|
|
104698
|
+
type: "object",
|
|
104699
|
+
required: ["blobs"],
|
|
104700
|
+
properties: {
|
|
104701
|
+
cursor: {
|
|
104702
|
+
type: "string"
|
|
104703
|
+
},
|
|
104704
|
+
blobs: {
|
|
104705
|
+
type: "array",
|
|
104706
|
+
items: {
|
|
104707
|
+
type: "ref",
|
|
104708
|
+
ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
|
|
104709
|
+
}
|
|
104710
|
+
}
|
|
104711
|
+
}
|
|
104712
|
+
}
|
|
104713
|
+
}
|
|
104714
|
+
},
|
|
104715
|
+
recordBlob: {
|
|
104716
|
+
type: "object",
|
|
104717
|
+
required: ["cid", "recordUri"],
|
|
104718
|
+
properties: {
|
|
104719
|
+
cid: {
|
|
104720
|
+
type: "string",
|
|
104721
|
+
format: "cid"
|
|
104722
|
+
},
|
|
104723
|
+
recordUri: {
|
|
104724
|
+
type: "string",
|
|
104725
|
+
format: "at-uri"
|
|
104726
|
+
}
|
|
104727
|
+
}
|
|
104728
|
+
}
|
|
104729
|
+
}
|
|
104730
|
+
},
|
|
104539
104731
|
ComAtprotoRepoListRecords: {
|
|
104540
104732
|
lexicon: 1,
|
|
104541
104733
|
id: "com.atproto.repo.listRecords",
|
|
@@ -104742,6 +104934,73 @@ var schemaDict = {
|
|
|
104742
104934
|
}
|
|
104743
104935
|
}
|
|
104744
104936
|
},
|
|
104937
|
+
ComAtprotoServerActivateAccount: {
|
|
104938
|
+
lexicon: 1,
|
|
104939
|
+
id: "com.atproto.server.activateAccount",
|
|
104940
|
+
defs: {
|
|
104941
|
+
main: {
|
|
104942
|
+
type: "procedure",
|
|
104943
|
+
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
|
|
104944
|
+
}
|
|
104945
|
+
}
|
|
104946
|
+
},
|
|
104947
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
104948
|
+
lexicon: 1,
|
|
104949
|
+
id: "com.atproto.server.checkAccountStatus",
|
|
104950
|
+
defs: {
|
|
104951
|
+
main: {
|
|
104952
|
+
type: "query",
|
|
104953
|
+
description: "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
|
|
104954
|
+
output: {
|
|
104955
|
+
encoding: "application/json",
|
|
104956
|
+
schema: {
|
|
104957
|
+
type: "object",
|
|
104958
|
+
required: [
|
|
104959
|
+
"activated",
|
|
104960
|
+
"validDid",
|
|
104961
|
+
"repoCommit",
|
|
104962
|
+
"repoRev",
|
|
104963
|
+
"repoBlocks",
|
|
104964
|
+
"indexedRecords",
|
|
104965
|
+
"privateStateValues",
|
|
104966
|
+
"expectedBlobs",
|
|
104967
|
+
"importedBlobs"
|
|
104968
|
+
],
|
|
104969
|
+
properties: {
|
|
104970
|
+
activated: {
|
|
104971
|
+
type: "boolean"
|
|
104972
|
+
},
|
|
104973
|
+
validDid: {
|
|
104974
|
+
type: "boolean"
|
|
104975
|
+
},
|
|
104976
|
+
repoCommit: {
|
|
104977
|
+
type: "string",
|
|
104978
|
+
format: "cid"
|
|
104979
|
+
},
|
|
104980
|
+
repoRev: {
|
|
104981
|
+
type: "string"
|
|
104982
|
+
},
|
|
104983
|
+
repoBlocks: {
|
|
104984
|
+
type: "integer"
|
|
104985
|
+
},
|
|
104986
|
+
indexedRecords: {
|
|
104987
|
+
type: "integer"
|
|
104988
|
+
},
|
|
104989
|
+
privateStateValues: {
|
|
104990
|
+
type: "integer"
|
|
104991
|
+
},
|
|
104992
|
+
expectedBlobs: {
|
|
104993
|
+
type: "integer"
|
|
104994
|
+
},
|
|
104995
|
+
importedBlobs: {
|
|
104996
|
+
type: "integer"
|
|
104997
|
+
}
|
|
104998
|
+
}
|
|
104999
|
+
}
|
|
105000
|
+
}
|
|
105001
|
+
}
|
|
105002
|
+
}
|
|
105003
|
+
},
|
|
104745
105004
|
ComAtprotoServerConfirmEmail: {
|
|
104746
105005
|
lexicon: 1,
|
|
104747
105006
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -105102,6 +105361,29 @@ var schemaDict = {
|
|
|
105102
105361
|
}
|
|
105103
105362
|
}
|
|
105104
105363
|
},
|
|
105364
|
+
ComAtprotoServerDeactivateAccount: {
|
|
105365
|
+
lexicon: 1,
|
|
105366
|
+
id: "com.atproto.server.deactivateAccount",
|
|
105367
|
+
defs: {
|
|
105368
|
+
main: {
|
|
105369
|
+
type: "procedure",
|
|
105370
|
+
description: "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
|
|
105371
|
+
input: {
|
|
105372
|
+
encoding: "application/json",
|
|
105373
|
+
schema: {
|
|
105374
|
+
type: "object",
|
|
105375
|
+
properties: {
|
|
105376
|
+
deleteAfter: {
|
|
105377
|
+
type: "string",
|
|
105378
|
+
format: "datetime",
|
|
105379
|
+
description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
|
|
105380
|
+
}
|
|
105381
|
+
}
|
|
105382
|
+
}
|
|
105383
|
+
}
|
|
105384
|
+
}
|
|
105385
|
+
}
|
|
105386
|
+
},
|
|
105105
105387
|
ComAtprotoServerDefs: {
|
|
105106
105388
|
lexicon: 1,
|
|
105107
105389
|
id: "com.atproto.server.defs",
|
|
@@ -105220,7 +105502,7 @@ var schemaDict = {
|
|
|
105220
105502
|
encoding: "application/json",
|
|
105221
105503
|
schema: {
|
|
105222
105504
|
type: "object",
|
|
105223
|
-
required: ["availableUserDomains"],
|
|
105505
|
+
required: ["did", "availableUserDomains"],
|
|
105224
105506
|
properties: {
|
|
105225
105507
|
inviteCodeRequired: {
|
|
105226
105508
|
type: "boolean",
|
|
@@ -105241,6 +105523,10 @@ var schemaDict = {
|
|
|
105241
105523
|
type: "ref",
|
|
105242
105524
|
description: "URLs of service policy documents.",
|
|
105243
105525
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
105526
|
+
},
|
|
105527
|
+
did: {
|
|
105528
|
+
type: "string",
|
|
105529
|
+
format: "did"
|
|
105244
105530
|
}
|
|
105245
105531
|
}
|
|
105246
105532
|
}
|
|
@@ -105304,6 +105590,39 @@ var schemaDict = {
|
|
|
105304
105590
|
}
|
|
105305
105591
|
}
|
|
105306
105592
|
},
|
|
105593
|
+
ComAtprotoServerGetServiceAuth: {
|
|
105594
|
+
lexicon: 1,
|
|
105595
|
+
id: "com.atproto.server.getServiceAuth",
|
|
105596
|
+
defs: {
|
|
105597
|
+
main: {
|
|
105598
|
+
type: "query",
|
|
105599
|
+
description: "Get a signed token on behalf of the requesting DID for the requested service.",
|
|
105600
|
+
parameters: {
|
|
105601
|
+
type: "params",
|
|
105602
|
+
required: ["aud"],
|
|
105603
|
+
properties: {
|
|
105604
|
+
aud: {
|
|
105605
|
+
type: "string",
|
|
105606
|
+
format: "did",
|
|
105607
|
+
description: "The DID of the service that the token will be used to authenticate with"
|
|
105608
|
+
}
|
|
105609
|
+
}
|
|
105610
|
+
},
|
|
105611
|
+
output: {
|
|
105612
|
+
encoding: "application/json",
|
|
105613
|
+
schema: {
|
|
105614
|
+
type: "object",
|
|
105615
|
+
required: ["token"],
|
|
105616
|
+
properties: {
|
|
105617
|
+
token: {
|
|
105618
|
+
type: "string"
|
|
105619
|
+
}
|
|
105620
|
+
}
|
|
105621
|
+
}
|
|
105622
|
+
}
|
|
105623
|
+
}
|
|
105624
|
+
}
|
|
105625
|
+
},
|
|
105307
105626
|
ComAtprotoServerGetSession: {
|
|
105308
105627
|
lexicon: 1,
|
|
105309
105628
|
id: "com.atproto.server.getSession",
|
|
@@ -106028,6 +106347,7 @@ var schemaDict = {
|
|
|
106028
106347
|
type: "union",
|
|
106029
106348
|
refs: [
|
|
106030
106349
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
106350
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
106031
106351
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
106032
106352
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
106033
106353
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -106124,10 +106444,10 @@ var schemaDict = {
|
|
|
106124
106444
|
}
|
|
106125
106445
|
}
|
|
106126
106446
|
},
|
|
106127
|
-
|
|
106447
|
+
identity: {
|
|
106128
106448
|
type: "object",
|
|
106129
|
-
description: "Represents
|
|
106130
|
-
required: ["seq", "did", "
|
|
106449
|
+
description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
|
|
106450
|
+
required: ["seq", "did", "time"],
|
|
106131
106451
|
properties: {
|
|
106132
106452
|
seq: {
|
|
106133
106453
|
type: "integer"
|
|
@@ -106136,21 +106456,39 @@ var schemaDict = {
|
|
|
106136
106456
|
type: "string",
|
|
106137
106457
|
format: "did"
|
|
106138
106458
|
},
|
|
106139
|
-
handle: {
|
|
106140
|
-
type: "string",
|
|
106141
|
-
format: "handle"
|
|
106142
|
-
},
|
|
106143
106459
|
time: {
|
|
106144
106460
|
type: "string",
|
|
106145
106461
|
format: "datetime"
|
|
106146
106462
|
}
|
|
106147
106463
|
}
|
|
106148
106464
|
},
|
|
106149
|
-
|
|
106465
|
+
handle: {
|
|
106150
106466
|
type: "object",
|
|
106151
|
-
description: "Represents an
|
|
106152
|
-
required: ["seq", "did", "
|
|
106153
|
-
|
|
106467
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
106468
|
+
required: ["seq", "did", "handle", "time"],
|
|
106469
|
+
properties: {
|
|
106470
|
+
seq: {
|
|
106471
|
+
type: "integer"
|
|
106472
|
+
},
|
|
106473
|
+
did: {
|
|
106474
|
+
type: "string",
|
|
106475
|
+
format: "did"
|
|
106476
|
+
},
|
|
106477
|
+
handle: {
|
|
106478
|
+
type: "string",
|
|
106479
|
+
format: "handle"
|
|
106480
|
+
},
|
|
106481
|
+
time: {
|
|
106482
|
+
type: "string",
|
|
106483
|
+
format: "datetime"
|
|
106484
|
+
}
|
|
106485
|
+
}
|
|
106486
|
+
},
|
|
106487
|
+
migrate: {
|
|
106488
|
+
type: "object",
|
|
106489
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
|
|
106490
|
+
required: ["seq", "did", "migrateTo", "time"],
|
|
106491
|
+
nullable: ["migrateTo"],
|
|
106154
106492
|
properties: {
|
|
106155
106493
|
seq: {
|
|
106156
106494
|
type: "integer"
|
|
@@ -106170,7 +106508,7 @@ var schemaDict = {
|
|
|
106170
106508
|
},
|
|
106171
106509
|
tombstone: {
|
|
106172
106510
|
type: "object",
|
|
106173
|
-
description: "Indicates that an account has been deleted.",
|
|
106511
|
+
description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
|
|
106174
106512
|
required: ["seq", "did", "time"],
|
|
106175
106513
|
properties: {
|
|
106176
106514
|
seq: {
|
|
@@ -106288,57 +106626,6 @@ var schemaDict = {
|
|
|
106288
106626
|
}
|
|
106289
106627
|
}
|
|
106290
106628
|
},
|
|
106291
|
-
ComAtprotoTempImportRepo: {
|
|
106292
|
-
lexicon: 1,
|
|
106293
|
-
id: "com.atproto.temp.importRepo",
|
|
106294
|
-
defs: {
|
|
106295
|
-
main: {
|
|
106296
|
-
type: "procedure",
|
|
106297
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
106298
|
-
parameters: {
|
|
106299
|
-
type: "params",
|
|
106300
|
-
required: ["did"],
|
|
106301
|
-
properties: {
|
|
106302
|
-
did: {
|
|
106303
|
-
type: "string",
|
|
106304
|
-
format: "did",
|
|
106305
|
-
description: "The DID of the repo."
|
|
106306
|
-
}
|
|
106307
|
-
}
|
|
106308
|
-
},
|
|
106309
|
-
input: {
|
|
106310
|
-
encoding: "application/vnd.ipld.car"
|
|
106311
|
-
},
|
|
106312
|
-
output: {
|
|
106313
|
-
encoding: "text/plain"
|
|
106314
|
-
}
|
|
106315
|
-
}
|
|
106316
|
-
}
|
|
106317
|
-
},
|
|
106318
|
-
ComAtprotoTempPushBlob: {
|
|
106319
|
-
lexicon: 1,
|
|
106320
|
-
id: "com.atproto.temp.pushBlob",
|
|
106321
|
-
defs: {
|
|
106322
|
-
main: {
|
|
106323
|
-
type: "procedure",
|
|
106324
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
106325
|
-
parameters: {
|
|
106326
|
-
type: "params",
|
|
106327
|
-
required: ["did"],
|
|
106328
|
-
properties: {
|
|
106329
|
-
did: {
|
|
106330
|
-
type: "string",
|
|
106331
|
-
format: "did",
|
|
106332
|
-
description: "The DID of the repo."
|
|
106333
|
-
}
|
|
106334
|
-
}
|
|
106335
|
-
},
|
|
106336
|
-
input: {
|
|
106337
|
-
encoding: "*/*"
|
|
106338
|
-
}
|
|
106339
|
-
}
|
|
106340
|
-
}
|
|
106341
|
-
},
|
|
106342
106629
|
ComAtprotoTempRequestPhoneVerification: {
|
|
106343
106630
|
lexicon: 1,
|
|
106344
106631
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -106361,82 +106648,6 @@ var schemaDict = {
|
|
|
106361
106648
|
}
|
|
106362
106649
|
}
|
|
106363
106650
|
},
|
|
106364
|
-
ComAtprotoTempTransferAccount: {
|
|
106365
|
-
lexicon: 1,
|
|
106366
|
-
id: "com.atproto.temp.transferAccount",
|
|
106367
|
-
defs: {
|
|
106368
|
-
main: {
|
|
106369
|
-
type: "procedure",
|
|
106370
|
-
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
106371
|
-
input: {
|
|
106372
|
-
encoding: "application/json",
|
|
106373
|
-
schema: {
|
|
106374
|
-
type: "object",
|
|
106375
|
-
required: ["handle", "did", "plcOp"],
|
|
106376
|
-
properties: {
|
|
106377
|
-
handle: {
|
|
106378
|
-
type: "string",
|
|
106379
|
-
format: "handle"
|
|
106380
|
-
},
|
|
106381
|
-
did: {
|
|
106382
|
-
type: "string",
|
|
106383
|
-
format: "did"
|
|
106384
|
-
},
|
|
106385
|
-
plcOp: {
|
|
106386
|
-
type: "unknown"
|
|
106387
|
-
}
|
|
106388
|
-
}
|
|
106389
|
-
}
|
|
106390
|
-
},
|
|
106391
|
-
output: {
|
|
106392
|
-
encoding: "application/json",
|
|
106393
|
-
schema: {
|
|
106394
|
-
type: "object",
|
|
106395
|
-
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
106396
|
-
properties: {
|
|
106397
|
-
accessJwt: {
|
|
106398
|
-
type: "string"
|
|
106399
|
-
},
|
|
106400
|
-
refreshJwt: {
|
|
106401
|
-
type: "string"
|
|
106402
|
-
},
|
|
106403
|
-
handle: {
|
|
106404
|
-
type: "string",
|
|
106405
|
-
format: "handle"
|
|
106406
|
-
},
|
|
106407
|
-
did: {
|
|
106408
|
-
type: "string",
|
|
106409
|
-
format: "did"
|
|
106410
|
-
}
|
|
106411
|
-
}
|
|
106412
|
-
}
|
|
106413
|
-
},
|
|
106414
|
-
errors: [
|
|
106415
|
-
{
|
|
106416
|
-
name: "InvalidHandle"
|
|
106417
|
-
},
|
|
106418
|
-
{
|
|
106419
|
-
name: "InvalidPassword"
|
|
106420
|
-
},
|
|
106421
|
-
{
|
|
106422
|
-
name: "InvalidInviteCode"
|
|
106423
|
-
},
|
|
106424
|
-
{
|
|
106425
|
-
name: "HandleNotAvailable"
|
|
106426
|
-
},
|
|
106427
|
-
{
|
|
106428
|
-
name: "UnsupportedDomain"
|
|
106429
|
-
},
|
|
106430
|
-
{
|
|
106431
|
-
name: "UnresolvableDid"
|
|
106432
|
-
},
|
|
106433
|
-
{
|
|
106434
|
-
name: "IncompatibleDidDoc"
|
|
106435
|
-
}
|
|
106436
|
-
]
|
|
106437
|
-
}
|
|
106438
|
-
}
|
|
106439
|
-
},
|
|
106440
106651
|
AppBskyActorDefs: {
|
|
106441
106652
|
lexicon: 1,
|
|
106442
106653
|
id: "app.bsky.actor.defs",
|
|
@@ -106732,6 +106943,61 @@ var schemaDict = {
|
|
|
106732
106943
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
106733
106944
|
}
|
|
106734
106945
|
}
|
|
106946
|
+
},
|
|
106947
|
+
mutedWordTarget: {
|
|
106948
|
+
type: "string",
|
|
106949
|
+
knownValues: ["content", "tag"],
|
|
106950
|
+
maxLength: 640,
|
|
106951
|
+
maxGraphemes: 64
|
|
106952
|
+
},
|
|
106953
|
+
mutedWord: {
|
|
106954
|
+
type: "object",
|
|
106955
|
+
description: "A word that the account owner has muted.",
|
|
106956
|
+
required: ["value", "targets"],
|
|
106957
|
+
properties: {
|
|
106958
|
+
value: {
|
|
106959
|
+
type: "string",
|
|
106960
|
+
description: "The muted word itself.",
|
|
106961
|
+
maxLength: 1e4,
|
|
106962
|
+
maxGraphemes: 1e3
|
|
106963
|
+
},
|
|
106964
|
+
targets: {
|
|
106965
|
+
type: "array",
|
|
106966
|
+
description: "The intended targets of the muted word.",
|
|
106967
|
+
items: {
|
|
106968
|
+
type: "ref",
|
|
106969
|
+
ref: "lex:app.bsky.actor.defs#mutedWordTarget"
|
|
106970
|
+
}
|
|
106971
|
+
}
|
|
106972
|
+
}
|
|
106973
|
+
},
|
|
106974
|
+
mutedWordsPref: {
|
|
106975
|
+
type: "object",
|
|
106976
|
+
required: ["items"],
|
|
106977
|
+
properties: {
|
|
106978
|
+
items: {
|
|
106979
|
+
type: "array",
|
|
106980
|
+
items: {
|
|
106981
|
+
type: "ref",
|
|
106982
|
+
ref: "lex:app.bsky.actor.defs#mutedWord"
|
|
106983
|
+
},
|
|
106984
|
+
description: "A list of words the account owner has muted."
|
|
106985
|
+
}
|
|
106986
|
+
}
|
|
106987
|
+
},
|
|
106988
|
+
hiddenPostsPref: {
|
|
106989
|
+
type: "object",
|
|
106990
|
+
required: ["items"],
|
|
106991
|
+
properties: {
|
|
106992
|
+
items: {
|
|
106993
|
+
type: "array",
|
|
106994
|
+
items: {
|
|
106995
|
+
type: "string",
|
|
106996
|
+
format: "at-uri"
|
|
106997
|
+
},
|
|
106998
|
+
description: "A list of URIs of posts the account owner has hidden."
|
|
106999
|
+
}
|
|
107000
|
+
}
|
|
106735
107001
|
}
|
|
106736
107002
|
}
|
|
106737
107003
|
},
|
|
@@ -108598,7 +108864,7 @@ var schemaDict = {
|
|
|
108598
108864
|
},
|
|
108599
108865
|
tags: {
|
|
108600
108866
|
type: "array",
|
|
108601
|
-
description: "Additional
|
|
108867
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
108602
108868
|
maxLength: 8,
|
|
108603
108869
|
items: {
|
|
108604
108870
|
type: "string",
|
|
@@ -118717,10 +118983,26 @@ var ComAtprotoIdentityNS = class {
|
|
|
118717
118983
|
constructor(server) {
|
|
118718
118984
|
this._server = server;
|
|
118719
118985
|
}
|
|
118986
|
+
getRecommendedDidCredentials(cfg) {
|
|
118987
|
+
const nsid2 = "com.atproto.identity.getRecommendedDidCredentials";
|
|
118988
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
118989
|
+
}
|
|
118990
|
+
requestPlcOperationSignature(cfg) {
|
|
118991
|
+
const nsid2 = "com.atproto.identity.requestPlcOperationSignature";
|
|
118992
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
118993
|
+
}
|
|
118720
118994
|
resolveHandle(cfg) {
|
|
118721
118995
|
const nsid2 = "com.atproto.identity.resolveHandle";
|
|
118722
118996
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118723
118997
|
}
|
|
118998
|
+
signPlcOperation(cfg) {
|
|
118999
|
+
const nsid2 = "com.atproto.identity.signPlcOperation";
|
|
119000
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119001
|
+
}
|
|
119002
|
+
submitPlcOperation(cfg) {
|
|
119003
|
+
const nsid2 = "com.atproto.identity.submitPlcOperation";
|
|
119004
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119005
|
+
}
|
|
118724
119006
|
updateHandle(cfg) {
|
|
118725
119007
|
const nsid2 = "com.atproto.identity.updateHandle";
|
|
118726
119008
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118772,6 +119054,14 @@ var ComAtprotoRepoNS = class {
|
|
|
118772
119054
|
const nsid2 = "com.atproto.repo.getRecord";
|
|
118773
119055
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118774
119056
|
}
|
|
119057
|
+
importRepo(cfg) {
|
|
119058
|
+
const nsid2 = "com.atproto.repo.importRepo";
|
|
119059
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119060
|
+
}
|
|
119061
|
+
listMissingBlobs(cfg) {
|
|
119062
|
+
const nsid2 = "com.atproto.repo.listMissingBlobs";
|
|
119063
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119064
|
+
}
|
|
118775
119065
|
listRecords(cfg) {
|
|
118776
119066
|
const nsid2 = "com.atproto.repo.listRecords";
|
|
118777
119067
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118789,6 +119079,14 @@ var ComAtprotoServerNS = class {
|
|
|
118789
119079
|
constructor(server) {
|
|
118790
119080
|
this._server = server;
|
|
118791
119081
|
}
|
|
119082
|
+
activateAccount(cfg) {
|
|
119083
|
+
const nsid2 = "com.atproto.server.activateAccount";
|
|
119084
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119085
|
+
}
|
|
119086
|
+
checkAccountStatus(cfg) {
|
|
119087
|
+
const nsid2 = "com.atproto.server.checkAccountStatus";
|
|
119088
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119089
|
+
}
|
|
118792
119090
|
confirmEmail(cfg) {
|
|
118793
119091
|
const nsid2 = "com.atproto.server.confirmEmail";
|
|
118794
119092
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118813,6 +119111,10 @@ var ComAtprotoServerNS = class {
|
|
|
118813
119111
|
const nsid2 = "com.atproto.server.createSession";
|
|
118814
119112
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118815
119113
|
}
|
|
119114
|
+
deactivateAccount(cfg) {
|
|
119115
|
+
const nsid2 = "com.atproto.server.deactivateAccount";
|
|
119116
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119117
|
+
}
|
|
118816
119118
|
deleteAccount(cfg) {
|
|
118817
119119
|
const nsid2 = "com.atproto.server.deleteAccount";
|
|
118818
119120
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118829,6 +119131,10 @@ var ComAtprotoServerNS = class {
|
|
|
118829
119131
|
const nsid2 = "com.atproto.server.getAccountInviteCodes";
|
|
118830
119132
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118831
119133
|
}
|
|
119134
|
+
getServiceAuth(cfg) {
|
|
119135
|
+
const nsid2 = "com.atproto.server.getServiceAuth";
|
|
119136
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119137
|
+
}
|
|
118832
119138
|
getSession(cfg) {
|
|
118833
119139
|
const nsid2 = "com.atproto.server.getSession";
|
|
118834
119140
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118939,22 +119245,10 @@ var ComAtprotoTempNS = class {
|
|
|
118939
119245
|
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
118940
119246
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118941
119247
|
}
|
|
118942
|
-
importRepo(cfg) {
|
|
118943
|
-
const nsid2 = "com.atproto.temp.importRepo";
|
|
118944
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
118945
|
-
}
|
|
118946
|
-
pushBlob(cfg) {
|
|
118947
|
-
const nsid2 = "com.atproto.temp.pushBlob";
|
|
118948
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
118949
|
-
}
|
|
118950
119248
|
requestPhoneVerification(cfg) {
|
|
118951
119249
|
const nsid2 = "com.atproto.temp.requestPhoneVerification";
|
|
118952
119250
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118953
119251
|
}
|
|
118954
|
-
transferAccount(cfg) {
|
|
118955
|
-
const nsid2 = "com.atproto.temp.transferAccount";
|
|
118956
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
118957
|
-
}
|
|
118958
119252
|
};
|
|
118959
119253
|
var AppNS = class {
|
|
118960
119254
|
constructor(server) {
|
|
@@ -121465,6 +121759,53 @@ var schemaDict2 = {
|
|
|
121465
121759
|
}
|
|
121466
121760
|
}
|
|
121467
121761
|
},
|
|
121762
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
121763
|
+
lexicon: 1,
|
|
121764
|
+
id: "com.atproto.identity.getRecommendedDidCredentials",
|
|
121765
|
+
defs: {
|
|
121766
|
+
main: {
|
|
121767
|
+
type: "query",
|
|
121768
|
+
description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
|
|
121769
|
+
output: {
|
|
121770
|
+
encoding: "application/json",
|
|
121771
|
+
schema: {
|
|
121772
|
+
type: "object",
|
|
121773
|
+
properties: {
|
|
121774
|
+
rotationKeys: {
|
|
121775
|
+
description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
|
|
121776
|
+
type: "array",
|
|
121777
|
+
items: {
|
|
121778
|
+
type: "string"
|
|
121779
|
+
}
|
|
121780
|
+
},
|
|
121781
|
+
alsoKnownAs: {
|
|
121782
|
+
type: "array",
|
|
121783
|
+
items: {
|
|
121784
|
+
type: "string"
|
|
121785
|
+
}
|
|
121786
|
+
},
|
|
121787
|
+
verificationMethods: {
|
|
121788
|
+
type: "unknown"
|
|
121789
|
+
},
|
|
121790
|
+
services: {
|
|
121791
|
+
type: "unknown"
|
|
121792
|
+
}
|
|
121793
|
+
}
|
|
121794
|
+
}
|
|
121795
|
+
}
|
|
121796
|
+
}
|
|
121797
|
+
}
|
|
121798
|
+
},
|
|
121799
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
121800
|
+
lexicon: 1,
|
|
121801
|
+
id: "com.atproto.identity.requestPlcOperationSignature",
|
|
121802
|
+
defs: {
|
|
121803
|
+
main: {
|
|
121804
|
+
type: "procedure",
|
|
121805
|
+
description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
|
|
121806
|
+
}
|
|
121807
|
+
}
|
|
121808
|
+
},
|
|
121468
121809
|
ComAtprotoIdentityResolveHandle: {
|
|
121469
121810
|
lexicon: 1,
|
|
121470
121811
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -121499,35 +121840,110 @@ var schemaDict2 = {
|
|
|
121499
121840
|
}
|
|
121500
121841
|
}
|
|
121501
121842
|
},
|
|
121502
|
-
|
|
121843
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
121503
121844
|
lexicon: 1,
|
|
121504
|
-
id: "com.atproto.identity.
|
|
121845
|
+
id: "com.atproto.identity.signPlcOperation",
|
|
121505
121846
|
defs: {
|
|
121506
121847
|
main: {
|
|
121507
121848
|
type: "procedure",
|
|
121508
|
-
description: "
|
|
121849
|
+
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
121509
121850
|
input: {
|
|
121510
121851
|
encoding: "application/json",
|
|
121511
121852
|
schema: {
|
|
121512
121853
|
type: "object",
|
|
121513
|
-
required: ["handle"],
|
|
121514
121854
|
properties: {
|
|
121515
|
-
|
|
121516
|
-
|
|
121517
|
-
|
|
121518
|
-
|
|
121519
|
-
|
|
121520
|
-
|
|
121521
|
-
|
|
121522
|
-
|
|
121523
|
-
|
|
121524
|
-
|
|
121525
|
-
|
|
121526
|
-
|
|
121527
|
-
|
|
121528
|
-
|
|
121529
|
-
|
|
121530
|
-
|
|
121855
|
+
token: {
|
|
121856
|
+
description: "A token received through com.atproto.identity.requestPlcOperationSignature",
|
|
121857
|
+
type: "string"
|
|
121858
|
+
},
|
|
121859
|
+
rotationKeys: {
|
|
121860
|
+
type: "array",
|
|
121861
|
+
items: {
|
|
121862
|
+
type: "string"
|
|
121863
|
+
}
|
|
121864
|
+
},
|
|
121865
|
+
alsoKnownAs: {
|
|
121866
|
+
type: "array",
|
|
121867
|
+
items: {
|
|
121868
|
+
type: "string"
|
|
121869
|
+
}
|
|
121870
|
+
},
|
|
121871
|
+
verificationMethods: {
|
|
121872
|
+
type: "unknown"
|
|
121873
|
+
},
|
|
121874
|
+
services: {
|
|
121875
|
+
type: "unknown"
|
|
121876
|
+
}
|
|
121877
|
+
}
|
|
121878
|
+
}
|
|
121879
|
+
},
|
|
121880
|
+
output: {
|
|
121881
|
+
encoding: "application/json",
|
|
121882
|
+
schema: {
|
|
121883
|
+
type: "object",
|
|
121884
|
+
required: ["operation"],
|
|
121885
|
+
properties: {
|
|
121886
|
+
operation: {
|
|
121887
|
+
type: "unknown",
|
|
121888
|
+
description: "A signed DID PLC operation."
|
|
121889
|
+
}
|
|
121890
|
+
}
|
|
121891
|
+
}
|
|
121892
|
+
}
|
|
121893
|
+
}
|
|
121894
|
+
}
|
|
121895
|
+
},
|
|
121896
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
121897
|
+
lexicon: 1,
|
|
121898
|
+
id: "com.atproto.identity.submitPlcOperation",
|
|
121899
|
+
defs: {
|
|
121900
|
+
main: {
|
|
121901
|
+
type: "procedure",
|
|
121902
|
+
description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
|
|
121903
|
+
input: {
|
|
121904
|
+
encoding: "application/json",
|
|
121905
|
+
schema: {
|
|
121906
|
+
type: "object",
|
|
121907
|
+
required: ["operation"],
|
|
121908
|
+
properties: {
|
|
121909
|
+
operation: {
|
|
121910
|
+
type: "unknown"
|
|
121911
|
+
}
|
|
121912
|
+
}
|
|
121913
|
+
}
|
|
121914
|
+
}
|
|
121915
|
+
}
|
|
121916
|
+
}
|
|
121917
|
+
},
|
|
121918
|
+
ComAtprotoIdentityUpdateHandle: {
|
|
121919
|
+
lexicon: 1,
|
|
121920
|
+
id: "com.atproto.identity.updateHandle",
|
|
121921
|
+
defs: {
|
|
121922
|
+
main: {
|
|
121923
|
+
type: "procedure",
|
|
121924
|
+
description: "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
|
|
121925
|
+
input: {
|
|
121926
|
+
encoding: "application/json",
|
|
121927
|
+
schema: {
|
|
121928
|
+
type: "object",
|
|
121929
|
+
required: ["handle"],
|
|
121930
|
+
properties: {
|
|
121931
|
+
handle: {
|
|
121932
|
+
type: "string",
|
|
121933
|
+
format: "handle",
|
|
121934
|
+
description: "The new handle."
|
|
121935
|
+
}
|
|
121936
|
+
}
|
|
121937
|
+
}
|
|
121938
|
+
}
|
|
121939
|
+
}
|
|
121940
|
+
}
|
|
121941
|
+
},
|
|
121942
|
+
ComAtprotoLabelDefs: {
|
|
121943
|
+
lexicon: 1,
|
|
121944
|
+
id: "com.atproto.label.defs",
|
|
121945
|
+
defs: {
|
|
121946
|
+
label: {
|
|
121531
121947
|
type: "object",
|
|
121532
121948
|
description: "Metadata tag on an atproto resource (eg, repo or record).",
|
|
121533
121949
|
required: ["src", "uri", "val", "cts"],
|
|
@@ -122171,6 +122587,76 @@ var schemaDict2 = {
|
|
|
122171
122587
|
}
|
|
122172
122588
|
}
|
|
122173
122589
|
},
|
|
122590
|
+
ComAtprotoRepoImportRepo: {
|
|
122591
|
+
lexicon: 1,
|
|
122592
|
+
id: "com.atproto.repo.importRepo",
|
|
122593
|
+
defs: {
|
|
122594
|
+
main: {
|
|
122595
|
+
type: "procedure",
|
|
122596
|
+
description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
|
|
122597
|
+
input: {
|
|
122598
|
+
encoding: "application/vnd.ipld.car"
|
|
122599
|
+
}
|
|
122600
|
+
}
|
|
122601
|
+
}
|
|
122602
|
+
},
|
|
122603
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
122604
|
+
lexicon: 1,
|
|
122605
|
+
id: "com.atproto.repo.listMissingBlobs",
|
|
122606
|
+
defs: {
|
|
122607
|
+
main: {
|
|
122608
|
+
type: "query",
|
|
122609
|
+
description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
|
|
122610
|
+
parameters: {
|
|
122611
|
+
type: "params",
|
|
122612
|
+
properties: {
|
|
122613
|
+
limit: {
|
|
122614
|
+
type: "integer",
|
|
122615
|
+
minimum: 1,
|
|
122616
|
+
maximum: 1e3,
|
|
122617
|
+
default: 500
|
|
122618
|
+
},
|
|
122619
|
+
cursor: {
|
|
122620
|
+
type: "string"
|
|
122621
|
+
}
|
|
122622
|
+
}
|
|
122623
|
+
},
|
|
122624
|
+
output: {
|
|
122625
|
+
encoding: "application/json",
|
|
122626
|
+
schema: {
|
|
122627
|
+
type: "object",
|
|
122628
|
+
required: ["blobs"],
|
|
122629
|
+
properties: {
|
|
122630
|
+
cursor: {
|
|
122631
|
+
type: "string"
|
|
122632
|
+
},
|
|
122633
|
+
blobs: {
|
|
122634
|
+
type: "array",
|
|
122635
|
+
items: {
|
|
122636
|
+
type: "ref",
|
|
122637
|
+
ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
|
|
122638
|
+
}
|
|
122639
|
+
}
|
|
122640
|
+
}
|
|
122641
|
+
}
|
|
122642
|
+
}
|
|
122643
|
+
},
|
|
122644
|
+
recordBlob: {
|
|
122645
|
+
type: "object",
|
|
122646
|
+
required: ["cid", "recordUri"],
|
|
122647
|
+
properties: {
|
|
122648
|
+
cid: {
|
|
122649
|
+
type: "string",
|
|
122650
|
+
format: "cid"
|
|
122651
|
+
},
|
|
122652
|
+
recordUri: {
|
|
122653
|
+
type: "string",
|
|
122654
|
+
format: "at-uri"
|
|
122655
|
+
}
|
|
122656
|
+
}
|
|
122657
|
+
}
|
|
122658
|
+
}
|
|
122659
|
+
},
|
|
122174
122660
|
ComAtprotoRepoListRecords: {
|
|
122175
122661
|
lexicon: 1,
|
|
122176
122662
|
id: "com.atproto.repo.listRecords",
|
|
@@ -122377,6 +122863,73 @@ var schemaDict2 = {
|
|
|
122377
122863
|
}
|
|
122378
122864
|
}
|
|
122379
122865
|
},
|
|
122866
|
+
ComAtprotoServerActivateAccount: {
|
|
122867
|
+
lexicon: 1,
|
|
122868
|
+
id: "com.atproto.server.activateAccount",
|
|
122869
|
+
defs: {
|
|
122870
|
+
main: {
|
|
122871
|
+
type: "procedure",
|
|
122872
|
+
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
|
|
122873
|
+
}
|
|
122874
|
+
}
|
|
122875
|
+
},
|
|
122876
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
122877
|
+
lexicon: 1,
|
|
122878
|
+
id: "com.atproto.server.checkAccountStatus",
|
|
122879
|
+
defs: {
|
|
122880
|
+
main: {
|
|
122881
|
+
type: "query",
|
|
122882
|
+
description: "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
|
|
122883
|
+
output: {
|
|
122884
|
+
encoding: "application/json",
|
|
122885
|
+
schema: {
|
|
122886
|
+
type: "object",
|
|
122887
|
+
required: [
|
|
122888
|
+
"activated",
|
|
122889
|
+
"validDid",
|
|
122890
|
+
"repoCommit",
|
|
122891
|
+
"repoRev",
|
|
122892
|
+
"repoBlocks",
|
|
122893
|
+
"indexedRecords",
|
|
122894
|
+
"privateStateValues",
|
|
122895
|
+
"expectedBlobs",
|
|
122896
|
+
"importedBlobs"
|
|
122897
|
+
],
|
|
122898
|
+
properties: {
|
|
122899
|
+
activated: {
|
|
122900
|
+
type: "boolean"
|
|
122901
|
+
},
|
|
122902
|
+
validDid: {
|
|
122903
|
+
type: "boolean"
|
|
122904
|
+
},
|
|
122905
|
+
repoCommit: {
|
|
122906
|
+
type: "string",
|
|
122907
|
+
format: "cid"
|
|
122908
|
+
},
|
|
122909
|
+
repoRev: {
|
|
122910
|
+
type: "string"
|
|
122911
|
+
},
|
|
122912
|
+
repoBlocks: {
|
|
122913
|
+
type: "integer"
|
|
122914
|
+
},
|
|
122915
|
+
indexedRecords: {
|
|
122916
|
+
type: "integer"
|
|
122917
|
+
},
|
|
122918
|
+
privateStateValues: {
|
|
122919
|
+
type: "integer"
|
|
122920
|
+
},
|
|
122921
|
+
expectedBlobs: {
|
|
122922
|
+
type: "integer"
|
|
122923
|
+
},
|
|
122924
|
+
importedBlobs: {
|
|
122925
|
+
type: "integer"
|
|
122926
|
+
}
|
|
122927
|
+
}
|
|
122928
|
+
}
|
|
122929
|
+
}
|
|
122930
|
+
}
|
|
122931
|
+
}
|
|
122932
|
+
},
|
|
122380
122933
|
ComAtprotoServerConfirmEmail: {
|
|
122381
122934
|
lexicon: 1,
|
|
122382
122935
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -122737,6 +123290,29 @@ var schemaDict2 = {
|
|
|
122737
123290
|
}
|
|
122738
123291
|
}
|
|
122739
123292
|
},
|
|
123293
|
+
ComAtprotoServerDeactivateAccount: {
|
|
123294
|
+
lexicon: 1,
|
|
123295
|
+
id: "com.atproto.server.deactivateAccount",
|
|
123296
|
+
defs: {
|
|
123297
|
+
main: {
|
|
123298
|
+
type: "procedure",
|
|
123299
|
+
description: "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
|
|
123300
|
+
input: {
|
|
123301
|
+
encoding: "application/json",
|
|
123302
|
+
schema: {
|
|
123303
|
+
type: "object",
|
|
123304
|
+
properties: {
|
|
123305
|
+
deleteAfter: {
|
|
123306
|
+
type: "string",
|
|
123307
|
+
format: "datetime",
|
|
123308
|
+
description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
|
|
123309
|
+
}
|
|
123310
|
+
}
|
|
123311
|
+
}
|
|
123312
|
+
}
|
|
123313
|
+
}
|
|
123314
|
+
}
|
|
123315
|
+
},
|
|
122740
123316
|
ComAtprotoServerDefs: {
|
|
122741
123317
|
lexicon: 1,
|
|
122742
123318
|
id: "com.atproto.server.defs",
|
|
@@ -122855,7 +123431,7 @@ var schemaDict2 = {
|
|
|
122855
123431
|
encoding: "application/json",
|
|
122856
123432
|
schema: {
|
|
122857
123433
|
type: "object",
|
|
122858
|
-
required: ["availableUserDomains"],
|
|
123434
|
+
required: ["did", "availableUserDomains"],
|
|
122859
123435
|
properties: {
|
|
122860
123436
|
inviteCodeRequired: {
|
|
122861
123437
|
type: "boolean",
|
|
@@ -122876,6 +123452,10 @@ var schemaDict2 = {
|
|
|
122876
123452
|
type: "ref",
|
|
122877
123453
|
description: "URLs of service policy documents.",
|
|
122878
123454
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
123455
|
+
},
|
|
123456
|
+
did: {
|
|
123457
|
+
type: "string",
|
|
123458
|
+
format: "did"
|
|
122879
123459
|
}
|
|
122880
123460
|
}
|
|
122881
123461
|
}
|
|
@@ -122939,6 +123519,39 @@ var schemaDict2 = {
|
|
|
122939
123519
|
}
|
|
122940
123520
|
}
|
|
122941
123521
|
},
|
|
123522
|
+
ComAtprotoServerGetServiceAuth: {
|
|
123523
|
+
lexicon: 1,
|
|
123524
|
+
id: "com.atproto.server.getServiceAuth",
|
|
123525
|
+
defs: {
|
|
123526
|
+
main: {
|
|
123527
|
+
type: "query",
|
|
123528
|
+
description: "Get a signed token on behalf of the requesting DID for the requested service.",
|
|
123529
|
+
parameters: {
|
|
123530
|
+
type: "params",
|
|
123531
|
+
required: ["aud"],
|
|
123532
|
+
properties: {
|
|
123533
|
+
aud: {
|
|
123534
|
+
type: "string",
|
|
123535
|
+
format: "did",
|
|
123536
|
+
description: "The DID of the service that the token will be used to authenticate with"
|
|
123537
|
+
}
|
|
123538
|
+
}
|
|
123539
|
+
},
|
|
123540
|
+
output: {
|
|
123541
|
+
encoding: "application/json",
|
|
123542
|
+
schema: {
|
|
123543
|
+
type: "object",
|
|
123544
|
+
required: ["token"],
|
|
123545
|
+
properties: {
|
|
123546
|
+
token: {
|
|
123547
|
+
type: "string"
|
|
123548
|
+
}
|
|
123549
|
+
}
|
|
123550
|
+
}
|
|
123551
|
+
}
|
|
123552
|
+
}
|
|
123553
|
+
}
|
|
123554
|
+
},
|
|
122942
123555
|
ComAtprotoServerGetSession: {
|
|
122943
123556
|
lexicon: 1,
|
|
122944
123557
|
id: "com.atproto.server.getSession",
|
|
@@ -123663,6 +124276,7 @@ var schemaDict2 = {
|
|
|
123663
124276
|
type: "union",
|
|
123664
124277
|
refs: [
|
|
123665
124278
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
124279
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
123666
124280
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
123667
124281
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
123668
124282
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -123759,9 +124373,27 @@ var schemaDict2 = {
|
|
|
123759
124373
|
}
|
|
123760
124374
|
}
|
|
123761
124375
|
},
|
|
124376
|
+
identity: {
|
|
124377
|
+
type: "object",
|
|
124378
|
+
description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
|
|
124379
|
+
required: ["seq", "did", "time"],
|
|
124380
|
+
properties: {
|
|
124381
|
+
seq: {
|
|
124382
|
+
type: "integer"
|
|
124383
|
+
},
|
|
124384
|
+
did: {
|
|
124385
|
+
type: "string",
|
|
124386
|
+
format: "did"
|
|
124387
|
+
},
|
|
124388
|
+
time: {
|
|
124389
|
+
type: "string",
|
|
124390
|
+
format: "datetime"
|
|
124391
|
+
}
|
|
124392
|
+
}
|
|
124393
|
+
},
|
|
123762
124394
|
handle: {
|
|
123763
124395
|
type: "object",
|
|
123764
|
-
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
124396
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
123765
124397
|
required: ["seq", "did", "handle", "time"],
|
|
123766
124398
|
properties: {
|
|
123767
124399
|
seq: {
|
|
@@ -123783,7 +124415,7 @@ var schemaDict2 = {
|
|
|
123783
124415
|
},
|
|
123784
124416
|
migrate: {
|
|
123785
124417
|
type: "object",
|
|
123786
|
-
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
124418
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
|
|
123787
124419
|
required: ["seq", "did", "migrateTo", "time"],
|
|
123788
124420
|
nullable: ["migrateTo"],
|
|
123789
124421
|
properties: {
|
|
@@ -123805,7 +124437,7 @@ var schemaDict2 = {
|
|
|
123805
124437
|
},
|
|
123806
124438
|
tombstone: {
|
|
123807
124439
|
type: "object",
|
|
123808
|
-
description: "Indicates that an account has been deleted.",
|
|
124440
|
+
description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
|
|
123809
124441
|
required: ["seq", "did", "time"],
|
|
123810
124442
|
properties: {
|
|
123811
124443
|
seq: {
|
|
@@ -123923,60 +124555,9 @@ var schemaDict2 = {
|
|
|
123923
124555
|
}
|
|
123924
124556
|
}
|
|
123925
124557
|
},
|
|
123926
|
-
|
|
124558
|
+
ComAtprotoTempRequestPhoneVerification: {
|
|
123927
124559
|
lexicon: 1,
|
|
123928
|
-
id: "com.atproto.temp.
|
|
123929
|
-
defs: {
|
|
123930
|
-
main: {
|
|
123931
|
-
type: "procedure",
|
|
123932
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
123933
|
-
parameters: {
|
|
123934
|
-
type: "params",
|
|
123935
|
-
required: ["did"],
|
|
123936
|
-
properties: {
|
|
123937
|
-
did: {
|
|
123938
|
-
type: "string",
|
|
123939
|
-
format: "did",
|
|
123940
|
-
description: "The DID of the repo."
|
|
123941
|
-
}
|
|
123942
|
-
}
|
|
123943
|
-
},
|
|
123944
|
-
input: {
|
|
123945
|
-
encoding: "application/vnd.ipld.car"
|
|
123946
|
-
},
|
|
123947
|
-
output: {
|
|
123948
|
-
encoding: "text/plain"
|
|
123949
|
-
}
|
|
123950
|
-
}
|
|
123951
|
-
}
|
|
123952
|
-
},
|
|
123953
|
-
ComAtprotoTempPushBlob: {
|
|
123954
|
-
lexicon: 1,
|
|
123955
|
-
id: "com.atproto.temp.pushBlob",
|
|
123956
|
-
defs: {
|
|
123957
|
-
main: {
|
|
123958
|
-
type: "procedure",
|
|
123959
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
123960
|
-
parameters: {
|
|
123961
|
-
type: "params",
|
|
123962
|
-
required: ["did"],
|
|
123963
|
-
properties: {
|
|
123964
|
-
did: {
|
|
123965
|
-
type: "string",
|
|
123966
|
-
format: "did",
|
|
123967
|
-
description: "The DID of the repo."
|
|
123968
|
-
}
|
|
123969
|
-
}
|
|
123970
|
-
},
|
|
123971
|
-
input: {
|
|
123972
|
-
encoding: "*/*"
|
|
123973
|
-
}
|
|
123974
|
-
}
|
|
123975
|
-
}
|
|
123976
|
-
},
|
|
123977
|
-
ComAtprotoTempRequestPhoneVerification: {
|
|
123978
|
-
lexicon: 1,
|
|
123979
|
-
id: "com.atproto.temp.requestPhoneVerification",
|
|
124560
|
+
id: "com.atproto.temp.requestPhoneVerification",
|
|
123980
124561
|
defs: {
|
|
123981
124562
|
main: {
|
|
123982
124563
|
type: "procedure",
|
|
@@ -123996,82 +124577,6 @@ var schemaDict2 = {
|
|
|
123996
124577
|
}
|
|
123997
124578
|
}
|
|
123998
124579
|
},
|
|
123999
|
-
ComAtprotoTempTransferAccount: {
|
|
124000
|
-
lexicon: 1,
|
|
124001
|
-
id: "com.atproto.temp.transferAccount",
|
|
124002
|
-
defs: {
|
|
124003
|
-
main: {
|
|
124004
|
-
type: "procedure",
|
|
124005
|
-
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
124006
|
-
input: {
|
|
124007
|
-
encoding: "application/json",
|
|
124008
|
-
schema: {
|
|
124009
|
-
type: "object",
|
|
124010
|
-
required: ["handle", "did", "plcOp"],
|
|
124011
|
-
properties: {
|
|
124012
|
-
handle: {
|
|
124013
|
-
type: "string",
|
|
124014
|
-
format: "handle"
|
|
124015
|
-
},
|
|
124016
|
-
did: {
|
|
124017
|
-
type: "string",
|
|
124018
|
-
format: "did"
|
|
124019
|
-
},
|
|
124020
|
-
plcOp: {
|
|
124021
|
-
type: "unknown"
|
|
124022
|
-
}
|
|
124023
|
-
}
|
|
124024
|
-
}
|
|
124025
|
-
},
|
|
124026
|
-
output: {
|
|
124027
|
-
encoding: "application/json",
|
|
124028
|
-
schema: {
|
|
124029
|
-
type: "object",
|
|
124030
|
-
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
124031
|
-
properties: {
|
|
124032
|
-
accessJwt: {
|
|
124033
|
-
type: "string"
|
|
124034
|
-
},
|
|
124035
|
-
refreshJwt: {
|
|
124036
|
-
type: "string"
|
|
124037
|
-
},
|
|
124038
|
-
handle: {
|
|
124039
|
-
type: "string",
|
|
124040
|
-
format: "handle"
|
|
124041
|
-
},
|
|
124042
|
-
did: {
|
|
124043
|
-
type: "string",
|
|
124044
|
-
format: "did"
|
|
124045
|
-
}
|
|
124046
|
-
}
|
|
124047
|
-
}
|
|
124048
|
-
},
|
|
124049
|
-
errors: [
|
|
124050
|
-
{
|
|
124051
|
-
name: "InvalidHandle"
|
|
124052
|
-
},
|
|
124053
|
-
{
|
|
124054
|
-
name: "InvalidPassword"
|
|
124055
|
-
},
|
|
124056
|
-
{
|
|
124057
|
-
name: "InvalidInviteCode"
|
|
124058
|
-
},
|
|
124059
|
-
{
|
|
124060
|
-
name: "HandleNotAvailable"
|
|
124061
|
-
},
|
|
124062
|
-
{
|
|
124063
|
-
name: "UnsupportedDomain"
|
|
124064
|
-
},
|
|
124065
|
-
{
|
|
124066
|
-
name: "UnresolvableDid"
|
|
124067
|
-
},
|
|
124068
|
-
{
|
|
124069
|
-
name: "IncompatibleDidDoc"
|
|
124070
|
-
}
|
|
124071
|
-
]
|
|
124072
|
-
}
|
|
124073
|
-
}
|
|
124074
|
-
},
|
|
124075
124580
|
AppBskyActorDefs: {
|
|
124076
124581
|
lexicon: 1,
|
|
124077
124582
|
id: "app.bsky.actor.defs",
|
|
@@ -124367,6 +124872,61 @@ var schemaDict2 = {
|
|
|
124367
124872
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
124368
124873
|
}
|
|
124369
124874
|
}
|
|
124875
|
+
},
|
|
124876
|
+
mutedWordTarget: {
|
|
124877
|
+
type: "string",
|
|
124878
|
+
knownValues: ["content", "tag"],
|
|
124879
|
+
maxLength: 640,
|
|
124880
|
+
maxGraphemes: 64
|
|
124881
|
+
},
|
|
124882
|
+
mutedWord: {
|
|
124883
|
+
type: "object",
|
|
124884
|
+
description: "A word that the account owner has muted.",
|
|
124885
|
+
required: ["value", "targets"],
|
|
124886
|
+
properties: {
|
|
124887
|
+
value: {
|
|
124888
|
+
type: "string",
|
|
124889
|
+
description: "The muted word itself.",
|
|
124890
|
+
maxLength: 1e4,
|
|
124891
|
+
maxGraphemes: 1e3
|
|
124892
|
+
},
|
|
124893
|
+
targets: {
|
|
124894
|
+
type: "array",
|
|
124895
|
+
description: "The intended targets of the muted word.",
|
|
124896
|
+
items: {
|
|
124897
|
+
type: "ref",
|
|
124898
|
+
ref: "lex:app.bsky.actor.defs#mutedWordTarget"
|
|
124899
|
+
}
|
|
124900
|
+
}
|
|
124901
|
+
}
|
|
124902
|
+
},
|
|
124903
|
+
mutedWordsPref: {
|
|
124904
|
+
type: "object",
|
|
124905
|
+
required: ["items"],
|
|
124906
|
+
properties: {
|
|
124907
|
+
items: {
|
|
124908
|
+
type: "array",
|
|
124909
|
+
items: {
|
|
124910
|
+
type: "ref",
|
|
124911
|
+
ref: "lex:app.bsky.actor.defs#mutedWord"
|
|
124912
|
+
},
|
|
124913
|
+
description: "A list of words the account owner has muted."
|
|
124914
|
+
}
|
|
124915
|
+
}
|
|
124916
|
+
},
|
|
124917
|
+
hiddenPostsPref: {
|
|
124918
|
+
type: "object",
|
|
124919
|
+
required: ["items"],
|
|
124920
|
+
properties: {
|
|
124921
|
+
items: {
|
|
124922
|
+
type: "array",
|
|
124923
|
+
items: {
|
|
124924
|
+
type: "string",
|
|
124925
|
+
format: "at-uri"
|
|
124926
|
+
},
|
|
124927
|
+
description: "A list of URIs of posts the account owner has hidden."
|
|
124928
|
+
}
|
|
124929
|
+
}
|
|
124370
124930
|
}
|
|
124371
124931
|
}
|
|
124372
124932
|
},
|
|
@@ -126233,7 +126793,7 @@ var schemaDict2 = {
|
|
|
126233
126793
|
},
|
|
126234
126794
|
tags: {
|
|
126235
126795
|
type: "array",
|
|
126236
|
-
description: "Additional
|
|
126796
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
126237
126797
|
maxLength: 8,
|
|
126238
126798
|
items: {
|
|
126239
126799
|
type: "string",
|
|
@@ -128032,41 +128592,69 @@ function toKnownErr23(e) {
|
|
|
128032
128592
|
return e;
|
|
128033
128593
|
}
|
|
128034
128594
|
|
|
128035
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128595
|
+
// ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
128036
128596
|
function toKnownErr24(e) {
|
|
128037
128597
|
if (e instanceof XRPCError) {
|
|
128038
128598
|
}
|
|
128039
128599
|
return e;
|
|
128040
128600
|
}
|
|
128041
128601
|
|
|
128042
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128602
|
+
// ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
128043
128603
|
function toKnownErr25(e) {
|
|
128044
128604
|
if (e instanceof XRPCError) {
|
|
128045
128605
|
}
|
|
128046
128606
|
return e;
|
|
128047
128607
|
}
|
|
128048
128608
|
|
|
128049
|
-
// ../api/src/client/types/com/atproto/
|
|
128609
|
+
// ../api/src/client/types/com/atproto/identity/resolveHandle.ts
|
|
128050
128610
|
function toKnownErr26(e) {
|
|
128051
128611
|
if (e instanceof XRPCError) {
|
|
128052
128612
|
}
|
|
128053
128613
|
return e;
|
|
128054
128614
|
}
|
|
128055
128615
|
|
|
128056
|
-
// ../api/src/client/types/com/atproto/
|
|
128616
|
+
// ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
128057
128617
|
function toKnownErr27(e) {
|
|
128058
128618
|
if (e instanceof XRPCError) {
|
|
128059
128619
|
}
|
|
128060
128620
|
return e;
|
|
128061
128621
|
}
|
|
128062
128622
|
|
|
128623
|
+
// ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
|
|
128624
|
+
function toKnownErr28(e) {
|
|
128625
|
+
if (e instanceof XRPCError) {
|
|
128626
|
+
}
|
|
128627
|
+
return e;
|
|
128628
|
+
}
|
|
128629
|
+
|
|
128630
|
+
// ../api/src/client/types/com/atproto/identity/updateHandle.ts
|
|
128631
|
+
function toKnownErr29(e) {
|
|
128632
|
+
if (e instanceof XRPCError) {
|
|
128633
|
+
}
|
|
128634
|
+
return e;
|
|
128635
|
+
}
|
|
128636
|
+
|
|
128637
|
+
// ../api/src/client/types/com/atproto/label/queryLabels.ts
|
|
128638
|
+
function toKnownErr30(e) {
|
|
128639
|
+
if (e instanceof XRPCError) {
|
|
128640
|
+
}
|
|
128641
|
+
return e;
|
|
128642
|
+
}
|
|
128643
|
+
|
|
128644
|
+
// ../api/src/client/types/com/atproto/moderation/createReport.ts
|
|
128645
|
+
function toKnownErr31(e) {
|
|
128646
|
+
if (e instanceof XRPCError) {
|
|
128647
|
+
}
|
|
128648
|
+
return e;
|
|
128649
|
+
}
|
|
128650
|
+
|
|
128063
128651
|
// ../api/src/client/types/com/atproto/repo/applyWrites.ts
|
|
128064
128652
|
var InvalidSwapError = class extends XRPCError {
|
|
128065
128653
|
constructor(src3) {
|
|
128066
128654
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128067
128655
|
}
|
|
128068
128656
|
};
|
|
128069
|
-
function
|
|
128657
|
+
function toKnownErr32(e) {
|
|
128070
128658
|
if (e instanceof XRPCError) {
|
|
128071
128659
|
if (e.error === "InvalidSwap")
|
|
128072
128660
|
return new InvalidSwapError(e);
|
|
@@ -128080,7 +128668,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
128080
128668
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128081
128669
|
}
|
|
128082
128670
|
};
|
|
128083
|
-
function
|
|
128671
|
+
function toKnownErr33(e) {
|
|
128084
128672
|
if (e instanceof XRPCError) {
|
|
128085
128673
|
if (e.error === "InvalidSwap")
|
|
128086
128674
|
return new InvalidSwapError2(e);
|
|
@@ -128094,7 +128682,7 @@ var InvalidSwapError3 = class extends XRPCError {
|
|
|
128094
128682
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128095
128683
|
}
|
|
128096
128684
|
};
|
|
128097
|
-
function
|
|
128685
|
+
function toKnownErr34(e) {
|
|
128098
128686
|
if (e instanceof XRPCError) {
|
|
128099
128687
|
if (e.error === "InvalidSwap")
|
|
128100
128688
|
return new InvalidSwapError3(e);
|
|
@@ -128103,21 +128691,35 @@ function toKnownErr30(e) {
|
|
|
128103
128691
|
}
|
|
128104
128692
|
|
|
128105
128693
|
// ../api/src/client/types/com/atproto/repo/describeRepo.ts
|
|
128106
|
-
function
|
|
128694
|
+
function toKnownErr35(e) {
|
|
128107
128695
|
if (e instanceof XRPCError) {
|
|
128108
128696
|
}
|
|
128109
128697
|
return e;
|
|
128110
128698
|
}
|
|
128111
128699
|
|
|
128112
128700
|
// ../api/src/client/types/com/atproto/repo/getRecord.ts
|
|
128113
|
-
function
|
|
128701
|
+
function toKnownErr36(e) {
|
|
128702
|
+
if (e instanceof XRPCError) {
|
|
128703
|
+
}
|
|
128704
|
+
return e;
|
|
128705
|
+
}
|
|
128706
|
+
|
|
128707
|
+
// ../api/src/client/types/com/atproto/repo/importRepo.ts
|
|
128708
|
+
function toKnownErr37(e) {
|
|
128709
|
+
if (e instanceof XRPCError) {
|
|
128710
|
+
}
|
|
128711
|
+
return e;
|
|
128712
|
+
}
|
|
128713
|
+
|
|
128714
|
+
// ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
|
|
128715
|
+
function toKnownErr38(e) {
|
|
128114
128716
|
if (e instanceof XRPCError) {
|
|
128115
128717
|
}
|
|
128116
128718
|
return e;
|
|
128117
128719
|
}
|
|
128118
128720
|
|
|
128119
128721
|
// ../api/src/client/types/com/atproto/repo/listRecords.ts
|
|
128120
|
-
function
|
|
128722
|
+
function toKnownErr39(e) {
|
|
128121
128723
|
if (e instanceof XRPCError) {
|
|
128122
128724
|
}
|
|
128123
128725
|
return e;
|
|
@@ -128129,7 +128731,7 @@ var InvalidSwapError4 = class extends XRPCError {
|
|
|
128129
128731
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128130
128732
|
}
|
|
128131
128733
|
};
|
|
128132
|
-
function
|
|
128734
|
+
function toKnownErr40(e) {
|
|
128133
128735
|
if (e instanceof XRPCError) {
|
|
128134
128736
|
if (e.error === "InvalidSwap")
|
|
128135
128737
|
return new InvalidSwapError4(e);
|
|
@@ -128138,7 +128740,21 @@ function toKnownErr34(e) {
|
|
|
128138
128740
|
}
|
|
128139
128741
|
|
|
128140
128742
|
// ../api/src/client/types/com/atproto/repo/uploadBlob.ts
|
|
128141
|
-
function
|
|
128743
|
+
function toKnownErr41(e) {
|
|
128744
|
+
if (e instanceof XRPCError) {
|
|
128745
|
+
}
|
|
128746
|
+
return e;
|
|
128747
|
+
}
|
|
128748
|
+
|
|
128749
|
+
// ../api/src/client/types/com/atproto/server/activateAccount.ts
|
|
128750
|
+
function toKnownErr42(e) {
|
|
128751
|
+
if (e instanceof XRPCError) {
|
|
128752
|
+
}
|
|
128753
|
+
return e;
|
|
128754
|
+
}
|
|
128755
|
+
|
|
128756
|
+
// ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
|
|
128757
|
+
function toKnownErr43(e) {
|
|
128142
128758
|
if (e instanceof XRPCError) {
|
|
128143
128759
|
}
|
|
128144
128760
|
return e;
|
|
@@ -128165,7 +128781,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
128165
128781
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128166
128782
|
}
|
|
128167
128783
|
};
|
|
128168
|
-
function
|
|
128784
|
+
function toKnownErr44(e) {
|
|
128169
128785
|
if (e instanceof XRPCError) {
|
|
128170
128786
|
if (e.error === "AccountNotFound")
|
|
128171
128787
|
return new AccountNotFoundError(e);
|
|
@@ -128215,7 +128831,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
128215
128831
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128216
128832
|
}
|
|
128217
128833
|
};
|
|
128218
|
-
function
|
|
128834
|
+
function toKnownErr45(e) {
|
|
128219
128835
|
if (e instanceof XRPCError) {
|
|
128220
128836
|
if (e.error === "InvalidHandle")
|
|
128221
128837
|
return new InvalidHandleError2(e);
|
|
@@ -128241,7 +128857,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
128241
128857
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128242
128858
|
}
|
|
128243
128859
|
};
|
|
128244
|
-
function
|
|
128860
|
+
function toKnownErr46(e) {
|
|
128245
128861
|
if (e instanceof XRPCError) {
|
|
128246
128862
|
if (e.error === "AccountTakedown")
|
|
128247
128863
|
return new AccountTakedownError(e);
|
|
@@ -128250,14 +128866,14 @@ function toKnownErr38(e) {
|
|
|
128250
128866
|
}
|
|
128251
128867
|
|
|
128252
128868
|
// ../api/src/client/types/com/atproto/server/createInviteCode.ts
|
|
128253
|
-
function
|
|
128869
|
+
function toKnownErr47(e) {
|
|
128254
128870
|
if (e instanceof XRPCError) {
|
|
128255
128871
|
}
|
|
128256
128872
|
return e;
|
|
128257
128873
|
}
|
|
128258
128874
|
|
|
128259
128875
|
// ../api/src/client/types/com/atproto/server/createInviteCodes.ts
|
|
128260
|
-
function
|
|
128876
|
+
function toKnownErr48(e) {
|
|
128261
128877
|
if (e instanceof XRPCError) {
|
|
128262
128878
|
}
|
|
128263
128879
|
return e;
|
|
@@ -128269,7 +128885,7 @@ var AccountTakedownError2 = class extends XRPCError {
|
|
|
128269
128885
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128270
128886
|
}
|
|
128271
128887
|
};
|
|
128272
|
-
function
|
|
128888
|
+
function toKnownErr49(e) {
|
|
128273
128889
|
if (e instanceof XRPCError) {
|
|
128274
128890
|
if (e.error === "AccountTakedown")
|
|
128275
128891
|
return new AccountTakedownError2(e);
|
|
@@ -128277,6 +128893,13 @@ function toKnownErr41(e) {
|
|
|
128277
128893
|
return e;
|
|
128278
128894
|
}
|
|
128279
128895
|
|
|
128896
|
+
// ../api/src/client/types/com/atproto/server/deactivateAccount.ts
|
|
128897
|
+
function toKnownErr50(e) {
|
|
128898
|
+
if (e instanceof XRPCError) {
|
|
128899
|
+
}
|
|
128900
|
+
return e;
|
|
128901
|
+
}
|
|
128902
|
+
|
|
128280
128903
|
// ../api/src/client/types/com/atproto/server/deleteAccount.ts
|
|
128281
128904
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
128282
128905
|
constructor(src3) {
|
|
@@ -128288,7 +128911,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
128288
128911
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128289
128912
|
}
|
|
128290
128913
|
};
|
|
128291
|
-
function
|
|
128914
|
+
function toKnownErr51(e) {
|
|
128292
128915
|
if (e instanceof XRPCError) {
|
|
128293
128916
|
if (e.error === "ExpiredToken")
|
|
128294
128917
|
return new ExpiredTokenError2(e);
|
|
@@ -128299,14 +128922,14 @@ function toKnownErr42(e) {
|
|
|
128299
128922
|
}
|
|
128300
128923
|
|
|
128301
128924
|
// ../api/src/client/types/com/atproto/server/deleteSession.ts
|
|
128302
|
-
function
|
|
128925
|
+
function toKnownErr52(e) {
|
|
128303
128926
|
if (e instanceof XRPCError) {
|
|
128304
128927
|
}
|
|
128305
128928
|
return e;
|
|
128306
128929
|
}
|
|
128307
128930
|
|
|
128308
128931
|
// ../api/src/client/types/com/atproto/server/describeServer.ts
|
|
128309
|
-
function
|
|
128932
|
+
function toKnownErr53(e) {
|
|
128310
128933
|
if (e instanceof XRPCError) {
|
|
128311
128934
|
}
|
|
128312
128935
|
return e;
|
|
@@ -128318,7 +128941,7 @@ var DuplicateCreateError = class extends XRPCError {
|
|
|
128318
128941
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128319
128942
|
}
|
|
128320
128943
|
};
|
|
128321
|
-
function
|
|
128944
|
+
function toKnownErr54(e) {
|
|
128322
128945
|
if (e instanceof XRPCError) {
|
|
128323
128946
|
if (e.error === "DuplicateCreate")
|
|
128324
128947
|
return new DuplicateCreateError(e);
|
|
@@ -128326,8 +128949,15 @@ function toKnownErr45(e) {
|
|
|
128326
128949
|
return e;
|
|
128327
128950
|
}
|
|
128328
128951
|
|
|
128952
|
+
// ../api/src/client/types/com/atproto/server/getServiceAuth.ts
|
|
128953
|
+
function toKnownErr55(e) {
|
|
128954
|
+
if (e instanceof XRPCError) {
|
|
128955
|
+
}
|
|
128956
|
+
return e;
|
|
128957
|
+
}
|
|
128958
|
+
|
|
128329
128959
|
// ../api/src/client/types/com/atproto/server/getSession.ts
|
|
128330
|
-
function
|
|
128960
|
+
function toKnownErr56(e) {
|
|
128331
128961
|
if (e instanceof XRPCError) {
|
|
128332
128962
|
}
|
|
128333
128963
|
return e;
|
|
@@ -128339,7 +128969,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
128339
128969
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128340
128970
|
}
|
|
128341
128971
|
};
|
|
128342
|
-
function
|
|
128972
|
+
function toKnownErr57(e) {
|
|
128343
128973
|
if (e instanceof XRPCError) {
|
|
128344
128974
|
if (e.error === "AccountTakedown")
|
|
128345
128975
|
return new AccountTakedownError3(e);
|
|
@@ -128353,7 +128983,7 @@ var AccountTakedownError4 = class extends XRPCError {
|
|
|
128353
128983
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128354
128984
|
}
|
|
128355
128985
|
};
|
|
128356
|
-
function
|
|
128986
|
+
function toKnownErr58(e) {
|
|
128357
128987
|
if (e instanceof XRPCError) {
|
|
128358
128988
|
if (e.error === "AccountTakedown")
|
|
128359
128989
|
return new AccountTakedownError4(e);
|
|
@@ -128362,35 +128992,35 @@ function toKnownErr48(e) {
|
|
|
128362
128992
|
}
|
|
128363
128993
|
|
|
128364
128994
|
// ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
128365
|
-
function
|
|
128995
|
+
function toKnownErr59(e) {
|
|
128366
128996
|
if (e instanceof XRPCError) {
|
|
128367
128997
|
}
|
|
128368
128998
|
return e;
|
|
128369
128999
|
}
|
|
128370
129000
|
|
|
128371
129001
|
// ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
128372
|
-
function
|
|
129002
|
+
function toKnownErr60(e) {
|
|
128373
129003
|
if (e instanceof XRPCError) {
|
|
128374
129004
|
}
|
|
128375
129005
|
return e;
|
|
128376
129006
|
}
|
|
128377
129007
|
|
|
128378
129008
|
// ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
128379
|
-
function
|
|
129009
|
+
function toKnownErr61(e) {
|
|
128380
129010
|
if (e instanceof XRPCError) {
|
|
128381
129011
|
}
|
|
128382
129012
|
return e;
|
|
128383
129013
|
}
|
|
128384
129014
|
|
|
128385
129015
|
// ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
128386
|
-
function
|
|
129016
|
+
function toKnownErr62(e) {
|
|
128387
129017
|
if (e instanceof XRPCError) {
|
|
128388
129018
|
}
|
|
128389
129019
|
return e;
|
|
128390
129020
|
}
|
|
128391
129021
|
|
|
128392
129022
|
// ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
128393
|
-
function
|
|
129023
|
+
function toKnownErr63(e) {
|
|
128394
129024
|
if (e instanceof XRPCError) {
|
|
128395
129025
|
}
|
|
128396
129026
|
return e;
|
|
@@ -128407,7 +129037,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
128407
129037
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128408
129038
|
}
|
|
128409
129039
|
};
|
|
128410
|
-
function
|
|
129040
|
+
function toKnownErr64(e) {
|
|
128411
129041
|
if (e instanceof XRPCError) {
|
|
128412
129042
|
if (e.error === "ExpiredToken")
|
|
128413
129043
|
return new ExpiredTokenError3(e);
|
|
@@ -128418,7 +129048,7 @@ function toKnownErr54(e) {
|
|
|
128418
129048
|
}
|
|
128419
129049
|
|
|
128420
129050
|
// ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
128421
|
-
function
|
|
129051
|
+
function toKnownErr65(e) {
|
|
128422
129052
|
if (e instanceof XRPCError) {
|
|
128423
129053
|
}
|
|
128424
129054
|
return e;
|
|
@@ -128440,7 +129070,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
128440
129070
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128441
129071
|
}
|
|
128442
129072
|
};
|
|
128443
|
-
function
|
|
129073
|
+
function toKnownErr66(e) {
|
|
128444
129074
|
if (e instanceof XRPCError) {
|
|
128445
129075
|
if (e.error === "ExpiredToken")
|
|
128446
129076
|
return new ExpiredTokenError4(e);
|
|
@@ -128453,21 +129083,21 @@ function toKnownErr56(e) {
|
|
|
128453
129083
|
}
|
|
128454
129084
|
|
|
128455
129085
|
// ../api/src/client/types/com/atproto/sync/getBlob.ts
|
|
128456
|
-
function
|
|
129086
|
+
function toKnownErr67(e) {
|
|
128457
129087
|
if (e instanceof XRPCError) {
|
|
128458
129088
|
}
|
|
128459
129089
|
return e;
|
|
128460
129090
|
}
|
|
128461
129091
|
|
|
128462
129092
|
// ../api/src/client/types/com/atproto/sync/getBlocks.ts
|
|
128463
|
-
function
|
|
129093
|
+
function toKnownErr68(e) {
|
|
128464
129094
|
if (e instanceof XRPCError) {
|
|
128465
129095
|
}
|
|
128466
129096
|
return e;
|
|
128467
129097
|
}
|
|
128468
129098
|
|
|
128469
129099
|
// ../api/src/client/types/com/atproto/sync/getCheckout.ts
|
|
128470
|
-
function
|
|
129100
|
+
function toKnownErr69(e) {
|
|
128471
129101
|
if (e instanceof XRPCError) {
|
|
128472
129102
|
}
|
|
128473
129103
|
return e;
|
|
@@ -128479,7 +129109,7 @@ var HeadNotFoundError = class extends XRPCError {
|
|
|
128479
129109
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128480
129110
|
}
|
|
128481
129111
|
};
|
|
128482
|
-
function
|
|
129112
|
+
function toKnownErr70(e) {
|
|
128483
129113
|
if (e instanceof XRPCError) {
|
|
128484
129114
|
if (e.error === "HeadNotFound")
|
|
128485
129115
|
return new HeadNotFoundError(e);
|
|
@@ -128493,7 +129123,7 @@ var RepoNotFoundError2 = class extends XRPCError {
|
|
|
128493
129123
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128494
129124
|
}
|
|
128495
129125
|
};
|
|
128496
|
-
function
|
|
129126
|
+
function toKnownErr71(e) {
|
|
128497
129127
|
if (e instanceof XRPCError) {
|
|
128498
129128
|
if (e.error === "RepoNotFound")
|
|
128499
129129
|
return new RepoNotFoundError2(e);
|
|
@@ -128502,196 +129132,126 @@ function toKnownErr61(e) {
|
|
|
128502
129132
|
}
|
|
128503
129133
|
|
|
128504
129134
|
// ../api/src/client/types/com/atproto/sync/getRecord.ts
|
|
128505
|
-
function
|
|
129135
|
+
function toKnownErr72(e) {
|
|
128506
129136
|
if (e instanceof XRPCError) {
|
|
128507
129137
|
}
|
|
128508
129138
|
return e;
|
|
128509
129139
|
}
|
|
128510
129140
|
|
|
128511
129141
|
// ../api/src/client/types/com/atproto/sync/getRepo.ts
|
|
128512
|
-
function
|
|
129142
|
+
function toKnownErr73(e) {
|
|
128513
129143
|
if (e instanceof XRPCError) {
|
|
128514
129144
|
}
|
|
128515
129145
|
return e;
|
|
128516
129146
|
}
|
|
128517
129147
|
|
|
128518
129148
|
// ../api/src/client/types/com/atproto/sync/listBlobs.ts
|
|
128519
|
-
function
|
|
129149
|
+
function toKnownErr74(e) {
|
|
128520
129150
|
if (e instanceof XRPCError) {
|
|
128521
129151
|
}
|
|
128522
129152
|
return e;
|
|
128523
129153
|
}
|
|
128524
129154
|
|
|
128525
129155
|
// ../api/src/client/types/com/atproto/sync/listRepos.ts
|
|
128526
|
-
function
|
|
129156
|
+
function toKnownErr75(e) {
|
|
128527
129157
|
if (e instanceof XRPCError) {
|
|
128528
129158
|
}
|
|
128529
129159
|
return e;
|
|
128530
129160
|
}
|
|
128531
129161
|
|
|
128532
129162
|
// ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
128533
|
-
function
|
|
129163
|
+
function toKnownErr76(e) {
|
|
128534
129164
|
if (e instanceof XRPCError) {
|
|
128535
129165
|
}
|
|
128536
129166
|
return e;
|
|
128537
129167
|
}
|
|
128538
129168
|
|
|
128539
129169
|
// ../api/src/client/types/com/atproto/sync/requestCrawl.ts
|
|
128540
|
-
function
|
|
129170
|
+
function toKnownErr77(e) {
|
|
128541
129171
|
if (e instanceof XRPCError) {
|
|
128542
129172
|
}
|
|
128543
129173
|
return e;
|
|
128544
129174
|
}
|
|
128545
129175
|
|
|
128546
129176
|
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
128547
|
-
function
|
|
129177
|
+
function toKnownErr78(e) {
|
|
128548
129178
|
if (e instanceof XRPCError) {
|
|
128549
129179
|
}
|
|
128550
129180
|
return e;
|
|
128551
129181
|
}
|
|
128552
129182
|
|
|
128553
129183
|
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
128554
|
-
function
|
|
128555
|
-
if (e instanceof XRPCError) {
|
|
128556
|
-
}
|
|
128557
|
-
return e;
|
|
128558
|
-
}
|
|
128559
|
-
|
|
128560
|
-
// ../api/src/client/types/com/atproto/temp/importRepo.ts
|
|
128561
|
-
function toKnownErr70(e) {
|
|
128562
|
-
if (e instanceof XRPCError) {
|
|
128563
|
-
}
|
|
128564
|
-
return e;
|
|
128565
|
-
}
|
|
128566
|
-
|
|
128567
|
-
// ../api/src/client/types/com/atproto/temp/pushBlob.ts
|
|
128568
|
-
function toKnownErr71(e) {
|
|
129184
|
+
function toKnownErr79(e) {
|
|
128569
129185
|
if (e instanceof XRPCError) {
|
|
128570
129186
|
}
|
|
128571
129187
|
return e;
|
|
128572
129188
|
}
|
|
128573
129189
|
|
|
128574
129190
|
// ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
128575
|
-
function
|
|
128576
|
-
if (e instanceof XRPCError) {
|
|
128577
|
-
}
|
|
128578
|
-
return e;
|
|
128579
|
-
}
|
|
128580
|
-
|
|
128581
|
-
// ../api/src/client/types/com/atproto/temp/transferAccount.ts
|
|
128582
|
-
var InvalidHandleError3 = class extends XRPCError {
|
|
128583
|
-
constructor(src3) {
|
|
128584
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128585
|
-
}
|
|
128586
|
-
};
|
|
128587
|
-
var InvalidPasswordError2 = class extends XRPCError {
|
|
128588
|
-
constructor(src3) {
|
|
128589
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128590
|
-
}
|
|
128591
|
-
};
|
|
128592
|
-
var InvalidInviteCodeError2 = class extends XRPCError {
|
|
128593
|
-
constructor(src3) {
|
|
128594
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128595
|
-
}
|
|
128596
|
-
};
|
|
128597
|
-
var HandleNotAvailableError2 = class extends XRPCError {
|
|
128598
|
-
constructor(src3) {
|
|
128599
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128600
|
-
}
|
|
128601
|
-
};
|
|
128602
|
-
var UnsupportedDomainError2 = class extends XRPCError {
|
|
128603
|
-
constructor(src3) {
|
|
128604
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128605
|
-
}
|
|
128606
|
-
};
|
|
128607
|
-
var UnresolvableDidError2 = class extends XRPCError {
|
|
128608
|
-
constructor(src3) {
|
|
128609
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128610
|
-
}
|
|
128611
|
-
};
|
|
128612
|
-
var IncompatibleDidDocError2 = class extends XRPCError {
|
|
128613
|
-
constructor(src3) {
|
|
128614
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128615
|
-
}
|
|
128616
|
-
};
|
|
128617
|
-
function toKnownErr73(e) {
|
|
129191
|
+
function toKnownErr80(e) {
|
|
128618
129192
|
if (e instanceof XRPCError) {
|
|
128619
|
-
if (e.error === "InvalidHandle")
|
|
128620
|
-
return new InvalidHandleError3(e);
|
|
128621
|
-
if (e.error === "InvalidPassword")
|
|
128622
|
-
return new InvalidPasswordError2(e);
|
|
128623
|
-
if (e.error === "InvalidInviteCode")
|
|
128624
|
-
return new InvalidInviteCodeError2(e);
|
|
128625
|
-
if (e.error === "HandleNotAvailable")
|
|
128626
|
-
return new HandleNotAvailableError2(e);
|
|
128627
|
-
if (e.error === "UnsupportedDomain")
|
|
128628
|
-
return new UnsupportedDomainError2(e);
|
|
128629
|
-
if (e.error === "UnresolvableDid")
|
|
128630
|
-
return new UnresolvableDidError2(e);
|
|
128631
|
-
if (e.error === "IncompatibleDidDoc")
|
|
128632
|
-
return new IncompatibleDidDocError2(e);
|
|
128633
129193
|
}
|
|
128634
129194
|
return e;
|
|
128635
129195
|
}
|
|
128636
129196
|
|
|
128637
129197
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
128638
|
-
function
|
|
129198
|
+
function toKnownErr81(e) {
|
|
128639
129199
|
if (e instanceof XRPCError) {
|
|
128640
129200
|
}
|
|
128641
129201
|
return e;
|
|
128642
129202
|
}
|
|
128643
129203
|
|
|
128644
129204
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
128645
|
-
function
|
|
129205
|
+
function toKnownErr82(e) {
|
|
128646
129206
|
if (e instanceof XRPCError) {
|
|
128647
129207
|
}
|
|
128648
129208
|
return e;
|
|
128649
129209
|
}
|
|
128650
129210
|
|
|
128651
129211
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
128652
|
-
function
|
|
129212
|
+
function toKnownErr83(e) {
|
|
128653
129213
|
if (e instanceof XRPCError) {
|
|
128654
129214
|
}
|
|
128655
129215
|
return e;
|
|
128656
129216
|
}
|
|
128657
129217
|
|
|
128658
129218
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
128659
|
-
function
|
|
129219
|
+
function toKnownErr84(e) {
|
|
128660
129220
|
if (e instanceof XRPCError) {
|
|
128661
129221
|
}
|
|
128662
129222
|
return e;
|
|
128663
129223
|
}
|
|
128664
129224
|
|
|
128665
129225
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
128666
|
-
function
|
|
129226
|
+
function toKnownErr85(e) {
|
|
128667
129227
|
if (e instanceof XRPCError) {
|
|
128668
129228
|
}
|
|
128669
129229
|
return e;
|
|
128670
129230
|
}
|
|
128671
129231
|
|
|
128672
129232
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
128673
|
-
function
|
|
129233
|
+
function toKnownErr86(e) {
|
|
128674
129234
|
if (e instanceof XRPCError) {
|
|
128675
129235
|
}
|
|
128676
129236
|
return e;
|
|
128677
129237
|
}
|
|
128678
129238
|
|
|
128679
129239
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
128680
|
-
function
|
|
129240
|
+
function toKnownErr87(e) {
|
|
128681
129241
|
if (e instanceof XRPCError) {
|
|
128682
129242
|
}
|
|
128683
129243
|
return e;
|
|
128684
129244
|
}
|
|
128685
129245
|
|
|
128686
129246
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
128687
|
-
function
|
|
129247
|
+
function toKnownErr88(e) {
|
|
128688
129248
|
if (e instanceof XRPCError) {
|
|
128689
129249
|
}
|
|
128690
129250
|
return e;
|
|
128691
129251
|
}
|
|
128692
129252
|
|
|
128693
129253
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
128694
|
-
function
|
|
129254
|
+
function toKnownErr89(e) {
|
|
128695
129255
|
if (e instanceof XRPCError) {
|
|
128696
129256
|
}
|
|
128697
129257
|
return e;
|
|
@@ -128708,7 +129268,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
128708
129268
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128709
129269
|
}
|
|
128710
129270
|
};
|
|
128711
|
-
function
|
|
129271
|
+
function toKnownErr90(e) {
|
|
128712
129272
|
if (e instanceof XRPCError) {
|
|
128713
129273
|
if (e.error === "BlockedActor")
|
|
128714
129274
|
return new BlockedActorError(e);
|
|
@@ -128729,7 +129289,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
128729
129289
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128730
129290
|
}
|
|
128731
129291
|
};
|
|
128732
|
-
function
|
|
129292
|
+
function toKnownErr91(e) {
|
|
128733
129293
|
if (e instanceof XRPCError) {
|
|
128734
129294
|
if (e.error === "BlockedActor")
|
|
128735
129295
|
return new BlockedActorError2(e);
|
|
@@ -128745,7 +129305,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
128745
129305
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128746
129306
|
}
|
|
128747
129307
|
};
|
|
128748
|
-
function
|
|
129308
|
+
function toKnownErr92(e) {
|
|
128749
129309
|
if (e instanceof XRPCError) {
|
|
128750
129310
|
if (e.error === "UnknownFeed")
|
|
128751
129311
|
return new UnknownFeedError(e);
|
|
@@ -128754,14 +129314,14 @@ function toKnownErr85(e) {
|
|
|
128754
129314
|
}
|
|
128755
129315
|
|
|
128756
129316
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
128757
|
-
function
|
|
129317
|
+
function toKnownErr93(e) {
|
|
128758
129318
|
if (e instanceof XRPCError) {
|
|
128759
129319
|
}
|
|
128760
129320
|
return e;
|
|
128761
129321
|
}
|
|
128762
129322
|
|
|
128763
129323
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
128764
|
-
function
|
|
129324
|
+
function toKnownErr94(e) {
|
|
128765
129325
|
if (e instanceof XRPCError) {
|
|
128766
129326
|
}
|
|
128767
129327
|
return e;
|
|
@@ -128773,7 +129333,7 @@ var UnknownFeedError2 = class extends XRPCError {
|
|
|
128773
129333
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128774
129334
|
}
|
|
128775
129335
|
};
|
|
128776
|
-
function
|
|
129336
|
+
function toKnownErr95(e) {
|
|
128777
129337
|
if (e instanceof XRPCError) {
|
|
128778
129338
|
if (e.error === "UnknownFeed")
|
|
128779
129339
|
return new UnknownFeedError2(e);
|
|
@@ -128782,7 +129342,7 @@ function toKnownErr88(e) {
|
|
|
128782
129342
|
}
|
|
128783
129343
|
|
|
128784
129344
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
128785
|
-
function
|
|
129345
|
+
function toKnownErr96(e) {
|
|
128786
129346
|
if (e instanceof XRPCError) {
|
|
128787
129347
|
}
|
|
128788
129348
|
return e;
|
|
@@ -128794,7 +129354,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
128794
129354
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128795
129355
|
}
|
|
128796
129356
|
};
|
|
128797
|
-
function
|
|
129357
|
+
function toKnownErr97(e) {
|
|
128798
129358
|
if (e instanceof XRPCError) {
|
|
128799
129359
|
if (e.error === "UnknownList")
|
|
128800
129360
|
return new UnknownListError(e);
|
|
@@ -128808,7 +129368,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
128808
129368
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128809
129369
|
}
|
|
128810
129370
|
};
|
|
128811
|
-
function
|
|
129371
|
+
function toKnownErr98(e) {
|
|
128812
129372
|
if (e instanceof XRPCError) {
|
|
128813
129373
|
if (e.error === "NotFound")
|
|
128814
129374
|
return new NotFoundError(e);
|
|
@@ -128817,28 +129377,28 @@ function toKnownErr91(e) {
|
|
|
128817
129377
|
}
|
|
128818
129378
|
|
|
128819
129379
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
128820
|
-
function
|
|
129380
|
+
function toKnownErr99(e) {
|
|
128821
129381
|
if (e instanceof XRPCError) {
|
|
128822
129382
|
}
|
|
128823
129383
|
return e;
|
|
128824
129384
|
}
|
|
128825
129385
|
|
|
128826
129386
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
128827
|
-
function
|
|
129387
|
+
function toKnownErr100(e) {
|
|
128828
129388
|
if (e instanceof XRPCError) {
|
|
128829
129389
|
}
|
|
128830
129390
|
return e;
|
|
128831
129391
|
}
|
|
128832
129392
|
|
|
128833
129393
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
128834
|
-
function
|
|
129394
|
+
function toKnownErr101(e) {
|
|
128835
129395
|
if (e instanceof XRPCError) {
|
|
128836
129396
|
}
|
|
128837
129397
|
return e;
|
|
128838
129398
|
}
|
|
128839
129399
|
|
|
128840
129400
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
128841
|
-
function
|
|
129401
|
+
function toKnownErr102(e) {
|
|
128842
129402
|
if (e instanceof XRPCError) {
|
|
128843
129403
|
}
|
|
128844
129404
|
return e;
|
|
@@ -128850,7 +129410,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
128850
129410
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128851
129411
|
}
|
|
128852
129412
|
};
|
|
128853
|
-
function
|
|
129413
|
+
function toKnownErr103(e) {
|
|
128854
129414
|
if (e instanceof XRPCError) {
|
|
128855
129415
|
if (e.error === "BadQueryString")
|
|
128856
129416
|
return new BadQueryStringError(e);
|
|
@@ -128859,56 +129419,56 @@ function toKnownErr96(e) {
|
|
|
128859
129419
|
}
|
|
128860
129420
|
|
|
128861
129421
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
128862
|
-
function
|
|
129422
|
+
function toKnownErr104(e) {
|
|
128863
129423
|
if (e instanceof XRPCError) {
|
|
128864
129424
|
}
|
|
128865
129425
|
return e;
|
|
128866
129426
|
}
|
|
128867
129427
|
|
|
128868
129428
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
128869
|
-
function
|
|
129429
|
+
function toKnownErr105(e) {
|
|
128870
129430
|
if (e instanceof XRPCError) {
|
|
128871
129431
|
}
|
|
128872
129432
|
return e;
|
|
128873
129433
|
}
|
|
128874
129434
|
|
|
128875
129435
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
128876
|
-
function
|
|
129436
|
+
function toKnownErr106(e) {
|
|
128877
129437
|
if (e instanceof XRPCError) {
|
|
128878
129438
|
}
|
|
128879
129439
|
return e;
|
|
128880
129440
|
}
|
|
128881
129441
|
|
|
128882
129442
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
128883
|
-
function
|
|
129443
|
+
function toKnownErr107(e) {
|
|
128884
129444
|
if (e instanceof XRPCError) {
|
|
128885
129445
|
}
|
|
128886
129446
|
return e;
|
|
128887
129447
|
}
|
|
128888
129448
|
|
|
128889
129449
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
128890
|
-
function
|
|
129450
|
+
function toKnownErr108(e) {
|
|
128891
129451
|
if (e instanceof XRPCError) {
|
|
128892
129452
|
}
|
|
128893
129453
|
return e;
|
|
128894
129454
|
}
|
|
128895
129455
|
|
|
128896
129456
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
128897
|
-
function
|
|
129457
|
+
function toKnownErr109(e) {
|
|
128898
129458
|
if (e instanceof XRPCError) {
|
|
128899
129459
|
}
|
|
128900
129460
|
return e;
|
|
128901
129461
|
}
|
|
128902
129462
|
|
|
128903
129463
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
128904
|
-
function
|
|
129464
|
+
function toKnownErr110(e) {
|
|
128905
129465
|
if (e instanceof XRPCError) {
|
|
128906
129466
|
}
|
|
128907
129467
|
return e;
|
|
128908
129468
|
}
|
|
128909
129469
|
|
|
128910
129470
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
128911
|
-
function
|
|
129471
|
+
function toKnownErr111(e) {
|
|
128912
129472
|
if (e instanceof XRPCError) {
|
|
128913
129473
|
}
|
|
128914
129474
|
return e;
|
|
@@ -128920,7 +129480,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
128920
129480
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128921
129481
|
}
|
|
128922
129482
|
};
|
|
128923
|
-
function
|
|
129483
|
+
function toKnownErr112(e) {
|
|
128924
129484
|
if (e instanceof XRPCError) {
|
|
128925
129485
|
if (e.error === "ActorNotFound")
|
|
128926
129486
|
return new ActorNotFoundError(e);
|
|
@@ -128929,77 +129489,77 @@ function toKnownErr105(e) {
|
|
|
128929
129489
|
}
|
|
128930
129490
|
|
|
128931
129491
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
128932
|
-
function
|
|
129492
|
+
function toKnownErr113(e) {
|
|
128933
129493
|
if (e instanceof XRPCError) {
|
|
128934
129494
|
}
|
|
128935
129495
|
return e;
|
|
128936
129496
|
}
|
|
128937
129497
|
|
|
128938
129498
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
128939
|
-
function
|
|
129499
|
+
function toKnownErr114(e) {
|
|
128940
129500
|
if (e instanceof XRPCError) {
|
|
128941
129501
|
}
|
|
128942
129502
|
return e;
|
|
128943
129503
|
}
|
|
128944
129504
|
|
|
128945
129505
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
128946
|
-
function
|
|
129506
|
+
function toKnownErr115(e) {
|
|
128947
129507
|
if (e instanceof XRPCError) {
|
|
128948
129508
|
}
|
|
128949
129509
|
return e;
|
|
128950
129510
|
}
|
|
128951
129511
|
|
|
128952
129512
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
128953
|
-
function
|
|
129513
|
+
function toKnownErr116(e) {
|
|
128954
129514
|
if (e instanceof XRPCError) {
|
|
128955
129515
|
}
|
|
128956
129516
|
return e;
|
|
128957
129517
|
}
|
|
128958
129518
|
|
|
128959
129519
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
128960
|
-
function
|
|
129520
|
+
function toKnownErr117(e) {
|
|
128961
129521
|
if (e instanceof XRPCError) {
|
|
128962
129522
|
}
|
|
128963
129523
|
return e;
|
|
128964
129524
|
}
|
|
128965
129525
|
|
|
128966
129526
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
128967
|
-
function
|
|
129527
|
+
function toKnownErr118(e) {
|
|
128968
129528
|
if (e instanceof XRPCError) {
|
|
128969
129529
|
}
|
|
128970
129530
|
return e;
|
|
128971
129531
|
}
|
|
128972
129532
|
|
|
128973
129533
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
128974
|
-
function
|
|
129534
|
+
function toKnownErr119(e) {
|
|
128975
129535
|
if (e instanceof XRPCError) {
|
|
128976
129536
|
}
|
|
128977
129537
|
return e;
|
|
128978
129538
|
}
|
|
128979
129539
|
|
|
128980
129540
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
128981
|
-
function
|
|
129541
|
+
function toKnownErr120(e) {
|
|
128982
129542
|
if (e instanceof XRPCError) {
|
|
128983
129543
|
}
|
|
128984
129544
|
return e;
|
|
128985
129545
|
}
|
|
128986
129546
|
|
|
128987
129547
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
128988
|
-
function
|
|
129548
|
+
function toKnownErr121(e) {
|
|
128989
129549
|
if (e instanceof XRPCError) {
|
|
128990
129550
|
}
|
|
128991
129551
|
return e;
|
|
128992
129552
|
}
|
|
128993
129553
|
|
|
128994
129554
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
128995
|
-
function
|
|
129555
|
+
function toKnownErr122(e) {
|
|
128996
129556
|
if (e instanceof XRPCError) {
|
|
128997
129557
|
}
|
|
128998
129558
|
return e;
|
|
128999
129559
|
}
|
|
129000
129560
|
|
|
129001
129561
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
129002
|
-
function
|
|
129562
|
+
function toKnownErr123(e) {
|
|
129003
129563
|
if (e instanceof XRPCError) {
|
|
129004
129564
|
}
|
|
129005
129565
|
return e;
|
|
@@ -129011,7 +129571,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
129011
129571
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129012
129572
|
}
|
|
129013
129573
|
};
|
|
129014
|
-
function
|
|
129574
|
+
function toKnownErr124(e) {
|
|
129015
129575
|
if (e instanceof XRPCError) {
|
|
129016
129576
|
if (e.error === "BadQueryString")
|
|
129017
129577
|
return new BadQueryStringError2(e);
|
|
@@ -129025,7 +129585,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
129025
129585
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129026
129586
|
}
|
|
129027
129587
|
};
|
|
129028
|
-
function
|
|
129588
|
+
function toKnownErr125(e) {
|
|
129029
129589
|
if (e instanceof XRPCError) {
|
|
129030
129590
|
if (e.error === "BadQueryString")
|
|
129031
129591
|
return new BadQueryStringError3(e);
|
|
@@ -129197,14 +129757,34 @@ var ComAtprotoIdentityNS2 = class {
|
|
|
129197
129757
|
constructor(service2) {
|
|
129198
129758
|
this._service = service2;
|
|
129199
129759
|
}
|
|
129760
|
+
getRecommendedDidCredentials(params2, opts) {
|
|
129761
|
+
return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
|
|
129762
|
+
throw toKnownErr24(e);
|
|
129763
|
+
});
|
|
129764
|
+
}
|
|
129765
|
+
requestPlcOperationSignature(data, opts) {
|
|
129766
|
+
return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
|
|
129767
|
+
throw toKnownErr25(e);
|
|
129768
|
+
});
|
|
129769
|
+
}
|
|
129200
129770
|
resolveHandle(params2, opts) {
|
|
129201
129771
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
129202
|
-
throw
|
|
129772
|
+
throw toKnownErr26(e);
|
|
129773
|
+
});
|
|
129774
|
+
}
|
|
129775
|
+
signPlcOperation(data, opts) {
|
|
129776
|
+
return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
129777
|
+
throw toKnownErr27(e);
|
|
129778
|
+
});
|
|
129779
|
+
}
|
|
129780
|
+
submitPlcOperation(data, opts) {
|
|
129781
|
+
return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
129782
|
+
throw toKnownErr28(e);
|
|
129203
129783
|
});
|
|
129204
129784
|
}
|
|
129205
129785
|
updateHandle(data, opts) {
|
|
129206
129786
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
129207
|
-
throw
|
|
129787
|
+
throw toKnownErr29(e);
|
|
129208
129788
|
});
|
|
129209
129789
|
}
|
|
129210
129790
|
};
|
|
@@ -129214,7 +129794,7 @@ var ComAtprotoLabelNS2 = class {
|
|
|
129214
129794
|
}
|
|
129215
129795
|
queryLabels(params2, opts) {
|
|
129216
129796
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
129217
|
-
throw
|
|
129797
|
+
throw toKnownErr30(e);
|
|
129218
129798
|
});
|
|
129219
129799
|
}
|
|
129220
129800
|
};
|
|
@@ -129224,7 +129804,7 @@ var ComAtprotoModerationNS2 = class {
|
|
|
129224
129804
|
}
|
|
129225
129805
|
createReport(data, opts) {
|
|
129226
129806
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
129227
|
-
throw
|
|
129807
|
+
throw toKnownErr31(e);
|
|
129228
129808
|
});
|
|
129229
129809
|
}
|
|
129230
129810
|
};
|
|
@@ -129234,42 +129814,52 @@ var ComAtprotoRepoNS2 = class {
|
|
|
129234
129814
|
}
|
|
129235
129815
|
applyWrites(data, opts) {
|
|
129236
129816
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
129237
|
-
throw
|
|
129817
|
+
throw toKnownErr32(e);
|
|
129238
129818
|
});
|
|
129239
129819
|
}
|
|
129240
129820
|
createRecord(data, opts) {
|
|
129241
129821
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
129242
|
-
throw
|
|
129822
|
+
throw toKnownErr33(e);
|
|
129243
129823
|
});
|
|
129244
129824
|
}
|
|
129245
129825
|
deleteRecord(data, opts) {
|
|
129246
129826
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
129247
|
-
throw
|
|
129827
|
+
throw toKnownErr34(e);
|
|
129248
129828
|
});
|
|
129249
129829
|
}
|
|
129250
129830
|
describeRepo(params2, opts) {
|
|
129251
129831
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
129252
|
-
throw
|
|
129832
|
+
throw toKnownErr35(e);
|
|
129253
129833
|
});
|
|
129254
129834
|
}
|
|
129255
129835
|
getRecord(params2, opts) {
|
|
129256
129836
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
129257
|
-
throw
|
|
129837
|
+
throw toKnownErr36(e);
|
|
129838
|
+
});
|
|
129839
|
+
}
|
|
129840
|
+
importRepo(data, opts) {
|
|
129841
|
+
return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
129842
|
+
throw toKnownErr37(e);
|
|
129843
|
+
});
|
|
129844
|
+
}
|
|
129845
|
+
listMissingBlobs(params2, opts) {
|
|
129846
|
+
return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
|
|
129847
|
+
throw toKnownErr38(e);
|
|
129258
129848
|
});
|
|
129259
129849
|
}
|
|
129260
129850
|
listRecords(params2, opts) {
|
|
129261
129851
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
129262
|
-
throw
|
|
129852
|
+
throw toKnownErr39(e);
|
|
129263
129853
|
});
|
|
129264
129854
|
}
|
|
129265
129855
|
putRecord(data, opts) {
|
|
129266
129856
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
129267
|
-
throw
|
|
129857
|
+
throw toKnownErr40(e);
|
|
129268
129858
|
});
|
|
129269
129859
|
}
|
|
129270
129860
|
uploadBlob(data, opts) {
|
|
129271
129861
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
129272
|
-
throw
|
|
129862
|
+
throw toKnownErr41(e);
|
|
129273
129863
|
});
|
|
129274
129864
|
}
|
|
129275
129865
|
};
|
|
@@ -129277,109 +129867,129 @@ var ComAtprotoServerNS2 = class {
|
|
|
129277
129867
|
constructor(service2) {
|
|
129278
129868
|
this._service = service2;
|
|
129279
129869
|
}
|
|
129870
|
+
activateAccount(data, opts) {
|
|
129871
|
+
return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
|
|
129872
|
+
throw toKnownErr42(e);
|
|
129873
|
+
});
|
|
129874
|
+
}
|
|
129875
|
+
checkAccountStatus(params2, opts) {
|
|
129876
|
+
return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
|
|
129877
|
+
throw toKnownErr43(e);
|
|
129878
|
+
});
|
|
129879
|
+
}
|
|
129280
129880
|
confirmEmail(data, opts) {
|
|
129281
129881
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
129282
|
-
throw
|
|
129882
|
+
throw toKnownErr44(e);
|
|
129283
129883
|
});
|
|
129284
129884
|
}
|
|
129285
129885
|
createAccount(data, opts) {
|
|
129286
129886
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
129287
|
-
throw
|
|
129887
|
+
throw toKnownErr45(e);
|
|
129288
129888
|
});
|
|
129289
129889
|
}
|
|
129290
129890
|
createAppPassword(data, opts) {
|
|
129291
129891
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
129292
|
-
throw
|
|
129892
|
+
throw toKnownErr46(e);
|
|
129293
129893
|
});
|
|
129294
129894
|
}
|
|
129295
129895
|
createInviteCode(data, opts) {
|
|
129296
129896
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
129297
|
-
throw
|
|
129897
|
+
throw toKnownErr47(e);
|
|
129298
129898
|
});
|
|
129299
129899
|
}
|
|
129300
129900
|
createInviteCodes(data, opts) {
|
|
129301
129901
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
129302
|
-
throw
|
|
129902
|
+
throw toKnownErr48(e);
|
|
129303
129903
|
});
|
|
129304
129904
|
}
|
|
129305
129905
|
createSession(data, opts) {
|
|
129306
129906
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
129307
|
-
throw
|
|
129907
|
+
throw toKnownErr49(e);
|
|
129908
|
+
});
|
|
129909
|
+
}
|
|
129910
|
+
deactivateAccount(data, opts) {
|
|
129911
|
+
return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
|
|
129912
|
+
throw toKnownErr50(e);
|
|
129308
129913
|
});
|
|
129309
129914
|
}
|
|
129310
129915
|
deleteAccount(data, opts) {
|
|
129311
129916
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
129312
|
-
throw
|
|
129917
|
+
throw toKnownErr51(e);
|
|
129313
129918
|
});
|
|
129314
129919
|
}
|
|
129315
129920
|
deleteSession(data, opts) {
|
|
129316
129921
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
129317
|
-
throw
|
|
129922
|
+
throw toKnownErr52(e);
|
|
129318
129923
|
});
|
|
129319
129924
|
}
|
|
129320
129925
|
describeServer(params2, opts) {
|
|
129321
129926
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
129322
|
-
throw
|
|
129927
|
+
throw toKnownErr53(e);
|
|
129323
129928
|
});
|
|
129324
129929
|
}
|
|
129325
129930
|
getAccountInviteCodes(params2, opts) {
|
|
129326
129931
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
129327
|
-
throw
|
|
129932
|
+
throw toKnownErr54(e);
|
|
129933
|
+
});
|
|
129934
|
+
}
|
|
129935
|
+
getServiceAuth(params2, opts) {
|
|
129936
|
+
return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
|
|
129937
|
+
throw toKnownErr55(e);
|
|
129328
129938
|
});
|
|
129329
129939
|
}
|
|
129330
129940
|
getSession(params2, opts) {
|
|
129331
129941
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
129332
|
-
throw
|
|
129942
|
+
throw toKnownErr56(e);
|
|
129333
129943
|
});
|
|
129334
129944
|
}
|
|
129335
129945
|
listAppPasswords(params2, opts) {
|
|
129336
129946
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
129337
|
-
throw
|
|
129947
|
+
throw toKnownErr57(e);
|
|
129338
129948
|
});
|
|
129339
129949
|
}
|
|
129340
129950
|
refreshSession(data, opts) {
|
|
129341
129951
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
129342
|
-
throw
|
|
129952
|
+
throw toKnownErr58(e);
|
|
129343
129953
|
});
|
|
129344
129954
|
}
|
|
129345
129955
|
requestAccountDelete(data, opts) {
|
|
129346
129956
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
129347
|
-
throw
|
|
129957
|
+
throw toKnownErr59(e);
|
|
129348
129958
|
});
|
|
129349
129959
|
}
|
|
129350
129960
|
requestEmailConfirmation(data, opts) {
|
|
129351
129961
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
129352
|
-
throw
|
|
129962
|
+
throw toKnownErr60(e);
|
|
129353
129963
|
});
|
|
129354
129964
|
}
|
|
129355
129965
|
requestEmailUpdate(data, opts) {
|
|
129356
129966
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
129357
|
-
throw
|
|
129967
|
+
throw toKnownErr61(e);
|
|
129358
129968
|
});
|
|
129359
129969
|
}
|
|
129360
129970
|
requestPasswordReset(data, opts) {
|
|
129361
129971
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
129362
|
-
throw
|
|
129972
|
+
throw toKnownErr62(e);
|
|
129363
129973
|
});
|
|
129364
129974
|
}
|
|
129365
129975
|
reserveSigningKey(data, opts) {
|
|
129366
129976
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
129367
|
-
throw
|
|
129977
|
+
throw toKnownErr63(e);
|
|
129368
129978
|
});
|
|
129369
129979
|
}
|
|
129370
129980
|
resetPassword(data, opts) {
|
|
129371
129981
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
129372
|
-
throw
|
|
129982
|
+
throw toKnownErr64(e);
|
|
129373
129983
|
});
|
|
129374
129984
|
}
|
|
129375
129985
|
revokeAppPassword(data, opts) {
|
|
129376
129986
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
129377
|
-
throw
|
|
129987
|
+
throw toKnownErr65(e);
|
|
129378
129988
|
});
|
|
129379
129989
|
}
|
|
129380
129990
|
updateEmail(data, opts) {
|
|
129381
129991
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
129382
|
-
throw
|
|
129992
|
+
throw toKnownErr66(e);
|
|
129383
129993
|
});
|
|
129384
129994
|
}
|
|
129385
129995
|
};
|
|
@@ -129389,57 +129999,57 @@ var ComAtprotoSyncNS2 = class {
|
|
|
129389
129999
|
}
|
|
129390
130000
|
getBlob(params2, opts) {
|
|
129391
130001
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
129392
|
-
throw
|
|
130002
|
+
throw toKnownErr67(e);
|
|
129393
130003
|
});
|
|
129394
130004
|
}
|
|
129395
130005
|
getBlocks(params2, opts) {
|
|
129396
130006
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
129397
|
-
throw
|
|
130007
|
+
throw toKnownErr68(e);
|
|
129398
130008
|
});
|
|
129399
130009
|
}
|
|
129400
130010
|
getCheckout(params2, opts) {
|
|
129401
130011
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
129402
|
-
throw
|
|
130012
|
+
throw toKnownErr69(e);
|
|
129403
130013
|
});
|
|
129404
130014
|
}
|
|
129405
130015
|
getHead(params2, opts) {
|
|
129406
130016
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
129407
|
-
throw
|
|
130017
|
+
throw toKnownErr70(e);
|
|
129408
130018
|
});
|
|
129409
130019
|
}
|
|
129410
130020
|
getLatestCommit(params2, opts) {
|
|
129411
130021
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
129412
|
-
throw
|
|
130022
|
+
throw toKnownErr71(e);
|
|
129413
130023
|
});
|
|
129414
130024
|
}
|
|
129415
130025
|
getRecord(params2, opts) {
|
|
129416
130026
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
129417
|
-
throw
|
|
130027
|
+
throw toKnownErr72(e);
|
|
129418
130028
|
});
|
|
129419
130029
|
}
|
|
129420
130030
|
getRepo(params2, opts) {
|
|
129421
130031
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
129422
|
-
throw
|
|
130032
|
+
throw toKnownErr73(e);
|
|
129423
130033
|
});
|
|
129424
130034
|
}
|
|
129425
130035
|
listBlobs(params2, opts) {
|
|
129426
130036
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
129427
|
-
throw
|
|
130037
|
+
throw toKnownErr74(e);
|
|
129428
130038
|
});
|
|
129429
130039
|
}
|
|
129430
130040
|
listRepos(params2, opts) {
|
|
129431
130041
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
129432
|
-
throw
|
|
130042
|
+
throw toKnownErr75(e);
|
|
129433
130043
|
});
|
|
129434
130044
|
}
|
|
129435
130045
|
notifyOfUpdate(data, opts) {
|
|
129436
130046
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
129437
|
-
throw
|
|
130047
|
+
throw toKnownErr76(e);
|
|
129438
130048
|
});
|
|
129439
130049
|
}
|
|
129440
130050
|
requestCrawl(data, opts) {
|
|
129441
130051
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
129442
|
-
throw
|
|
130052
|
+
throw toKnownErr77(e);
|
|
129443
130053
|
});
|
|
129444
130054
|
}
|
|
129445
130055
|
};
|
|
@@ -129449,32 +130059,17 @@ var ComAtprotoTempNS2 = class {
|
|
|
129449
130059
|
}
|
|
129450
130060
|
checkSignupQueue(params2, opts) {
|
|
129451
130061
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
129452
|
-
throw
|
|
130062
|
+
throw toKnownErr78(e);
|
|
129453
130063
|
});
|
|
129454
130064
|
}
|
|
129455
130065
|
fetchLabels(params2, opts) {
|
|
129456
130066
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
129457
|
-
throw
|
|
129458
|
-
});
|
|
129459
|
-
}
|
|
129460
|
-
importRepo(data, opts) {
|
|
129461
|
-
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
129462
|
-
throw toKnownErr70(e);
|
|
129463
|
-
});
|
|
129464
|
-
}
|
|
129465
|
-
pushBlob(data, opts) {
|
|
129466
|
-
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
129467
|
-
throw toKnownErr71(e);
|
|
130067
|
+
throw toKnownErr79(e);
|
|
129468
130068
|
});
|
|
129469
130069
|
}
|
|
129470
130070
|
requestPhoneVerification(data, opts) {
|
|
129471
130071
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
129472
|
-
throw
|
|
129473
|
-
});
|
|
129474
|
-
}
|
|
129475
|
-
transferAccount(data, opts) {
|
|
129476
|
-
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
129477
|
-
throw toKnownErr73(e);
|
|
130072
|
+
throw toKnownErr80(e);
|
|
129478
130073
|
});
|
|
129479
130074
|
}
|
|
129480
130075
|
};
|
|
@@ -129503,37 +130098,37 @@ var AppBskyActorNS2 = class {
|
|
|
129503
130098
|
}
|
|
129504
130099
|
getPreferences(params2, opts) {
|
|
129505
130100
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
129506
|
-
throw
|
|
130101
|
+
throw toKnownErr81(e);
|
|
129507
130102
|
});
|
|
129508
130103
|
}
|
|
129509
130104
|
getProfile(params2, opts) {
|
|
129510
130105
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
129511
|
-
throw
|
|
130106
|
+
throw toKnownErr82(e);
|
|
129512
130107
|
});
|
|
129513
130108
|
}
|
|
129514
130109
|
getProfiles(params2, opts) {
|
|
129515
130110
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
129516
|
-
throw
|
|
130111
|
+
throw toKnownErr83(e);
|
|
129517
130112
|
});
|
|
129518
130113
|
}
|
|
129519
130114
|
getSuggestions(params2, opts) {
|
|
129520
130115
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
129521
|
-
throw
|
|
130116
|
+
throw toKnownErr84(e);
|
|
129522
130117
|
});
|
|
129523
130118
|
}
|
|
129524
130119
|
putPreferences(data, opts) {
|
|
129525
130120
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
129526
|
-
throw
|
|
130121
|
+
throw toKnownErr85(e);
|
|
129527
130122
|
});
|
|
129528
130123
|
}
|
|
129529
130124
|
searchActors(params2, opts) {
|
|
129530
130125
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
129531
|
-
throw
|
|
130126
|
+
throw toKnownErr86(e);
|
|
129532
130127
|
});
|
|
129533
130128
|
}
|
|
129534
130129
|
searchActorsTypeahead(params2, opts) {
|
|
129535
130130
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
129536
|
-
throw
|
|
130131
|
+
throw toKnownErr87(e);
|
|
129537
130132
|
});
|
|
129538
130133
|
}
|
|
129539
130134
|
};
|
|
@@ -129580,82 +130175,82 @@ var AppBskyFeedNS2 = class {
|
|
|
129580
130175
|
}
|
|
129581
130176
|
describeFeedGenerator(params2, opts) {
|
|
129582
130177
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
129583
|
-
throw
|
|
130178
|
+
throw toKnownErr88(e);
|
|
129584
130179
|
});
|
|
129585
130180
|
}
|
|
129586
130181
|
getActorFeeds(params2, opts) {
|
|
129587
130182
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
129588
|
-
throw
|
|
130183
|
+
throw toKnownErr89(e);
|
|
129589
130184
|
});
|
|
129590
130185
|
}
|
|
129591
130186
|
getActorLikes(params2, opts) {
|
|
129592
130187
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
129593
|
-
throw
|
|
130188
|
+
throw toKnownErr90(e);
|
|
129594
130189
|
});
|
|
129595
130190
|
}
|
|
129596
130191
|
getAuthorFeed(params2, opts) {
|
|
129597
130192
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
129598
|
-
throw
|
|
130193
|
+
throw toKnownErr91(e);
|
|
129599
130194
|
});
|
|
129600
130195
|
}
|
|
129601
130196
|
getFeed(params2, opts) {
|
|
129602
130197
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
129603
|
-
throw
|
|
130198
|
+
throw toKnownErr92(e);
|
|
129604
130199
|
});
|
|
129605
130200
|
}
|
|
129606
130201
|
getFeedGenerator(params2, opts) {
|
|
129607
130202
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
129608
|
-
throw
|
|
130203
|
+
throw toKnownErr93(e);
|
|
129609
130204
|
});
|
|
129610
130205
|
}
|
|
129611
130206
|
getFeedGenerators(params2, opts) {
|
|
129612
130207
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
129613
|
-
throw
|
|
130208
|
+
throw toKnownErr94(e);
|
|
129614
130209
|
});
|
|
129615
130210
|
}
|
|
129616
130211
|
getFeedSkeleton(params2, opts) {
|
|
129617
130212
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
129618
|
-
throw
|
|
130213
|
+
throw toKnownErr95(e);
|
|
129619
130214
|
});
|
|
129620
130215
|
}
|
|
129621
130216
|
getLikes(params2, opts) {
|
|
129622
130217
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
129623
|
-
throw
|
|
130218
|
+
throw toKnownErr96(e);
|
|
129624
130219
|
});
|
|
129625
130220
|
}
|
|
129626
130221
|
getListFeed(params2, opts) {
|
|
129627
130222
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
129628
|
-
throw
|
|
130223
|
+
throw toKnownErr97(e);
|
|
129629
130224
|
});
|
|
129630
130225
|
}
|
|
129631
130226
|
getPostThread(params2, opts) {
|
|
129632
130227
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
129633
|
-
throw
|
|
130228
|
+
throw toKnownErr98(e);
|
|
129634
130229
|
});
|
|
129635
130230
|
}
|
|
129636
130231
|
getPosts(params2, opts) {
|
|
129637
130232
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
129638
|
-
throw
|
|
130233
|
+
throw toKnownErr99(e);
|
|
129639
130234
|
});
|
|
129640
130235
|
}
|
|
129641
130236
|
getRepostedBy(params2, opts) {
|
|
129642
130237
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
129643
|
-
throw
|
|
130238
|
+
throw toKnownErr100(e);
|
|
129644
130239
|
});
|
|
129645
130240
|
}
|
|
129646
130241
|
getSuggestedFeeds(params2, opts) {
|
|
129647
130242
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
129648
|
-
throw
|
|
130243
|
+
throw toKnownErr101(e);
|
|
129649
130244
|
});
|
|
129650
130245
|
}
|
|
129651
130246
|
getTimeline(params2, opts) {
|
|
129652
130247
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
129653
|
-
throw
|
|
130248
|
+
throw toKnownErr102(e);
|
|
129654
130249
|
});
|
|
129655
130250
|
}
|
|
129656
130251
|
searchPosts(params2, opts) {
|
|
129657
130252
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
129658
|
-
throw
|
|
130253
|
+
throw toKnownErr103(e);
|
|
129659
130254
|
});
|
|
129660
130255
|
}
|
|
129661
130256
|
};
|
|
@@ -129805,72 +130400,72 @@ var AppBskyGraphNS2 = class {
|
|
|
129805
130400
|
}
|
|
129806
130401
|
getBlocks(params2, opts) {
|
|
129807
130402
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
129808
|
-
throw
|
|
130403
|
+
throw toKnownErr104(e);
|
|
129809
130404
|
});
|
|
129810
130405
|
}
|
|
129811
130406
|
getFollowers(params2, opts) {
|
|
129812
130407
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
129813
|
-
throw
|
|
130408
|
+
throw toKnownErr105(e);
|
|
129814
130409
|
});
|
|
129815
130410
|
}
|
|
129816
130411
|
getFollows(params2, opts) {
|
|
129817
130412
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
129818
|
-
throw
|
|
130413
|
+
throw toKnownErr106(e);
|
|
129819
130414
|
});
|
|
129820
130415
|
}
|
|
129821
130416
|
getList(params2, opts) {
|
|
129822
130417
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
129823
|
-
throw
|
|
130418
|
+
throw toKnownErr107(e);
|
|
129824
130419
|
});
|
|
129825
130420
|
}
|
|
129826
130421
|
getListBlocks(params2, opts) {
|
|
129827
130422
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
129828
|
-
throw
|
|
130423
|
+
throw toKnownErr108(e);
|
|
129829
130424
|
});
|
|
129830
130425
|
}
|
|
129831
130426
|
getListMutes(params2, opts) {
|
|
129832
130427
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
129833
|
-
throw
|
|
130428
|
+
throw toKnownErr109(e);
|
|
129834
130429
|
});
|
|
129835
130430
|
}
|
|
129836
130431
|
getLists(params2, opts) {
|
|
129837
130432
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
129838
|
-
throw
|
|
130433
|
+
throw toKnownErr110(e);
|
|
129839
130434
|
});
|
|
129840
130435
|
}
|
|
129841
130436
|
getMutes(params2, opts) {
|
|
129842
130437
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
129843
|
-
throw
|
|
130438
|
+
throw toKnownErr111(e);
|
|
129844
130439
|
});
|
|
129845
130440
|
}
|
|
129846
130441
|
getRelationships(params2, opts) {
|
|
129847
130442
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
129848
|
-
throw
|
|
130443
|
+
throw toKnownErr112(e);
|
|
129849
130444
|
});
|
|
129850
130445
|
}
|
|
129851
130446
|
getSuggestedFollowsByActor(params2, opts) {
|
|
129852
130447
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
129853
|
-
throw
|
|
130448
|
+
throw toKnownErr113(e);
|
|
129854
130449
|
});
|
|
129855
130450
|
}
|
|
129856
130451
|
muteActor(data, opts) {
|
|
129857
130452
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
129858
|
-
throw
|
|
130453
|
+
throw toKnownErr114(e);
|
|
129859
130454
|
});
|
|
129860
130455
|
}
|
|
129861
130456
|
muteActorList(data, opts) {
|
|
129862
130457
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
129863
|
-
throw
|
|
130458
|
+
throw toKnownErr115(e);
|
|
129864
130459
|
});
|
|
129865
130460
|
}
|
|
129866
130461
|
unmuteActor(data, opts) {
|
|
129867
130462
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
129868
|
-
throw
|
|
130463
|
+
throw toKnownErr116(e);
|
|
129869
130464
|
});
|
|
129870
130465
|
}
|
|
129871
130466
|
unmuteActorList(data, opts) {
|
|
129872
130467
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
129873
|
-
throw
|
|
130468
|
+
throw toKnownErr117(e);
|
|
129874
130469
|
});
|
|
129875
130470
|
}
|
|
129876
130471
|
};
|
|
@@ -130015,22 +130610,22 @@ var AppBskyNotificationNS2 = class {
|
|
|
130015
130610
|
}
|
|
130016
130611
|
getUnreadCount(params2, opts) {
|
|
130017
130612
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
130018
|
-
throw
|
|
130613
|
+
throw toKnownErr118(e);
|
|
130019
130614
|
});
|
|
130020
130615
|
}
|
|
130021
130616
|
listNotifications(params2, opts) {
|
|
130022
130617
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
130023
|
-
throw
|
|
130618
|
+
throw toKnownErr119(e);
|
|
130024
130619
|
});
|
|
130025
130620
|
}
|
|
130026
130621
|
registerPush(data, opts) {
|
|
130027
130622
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
130028
|
-
throw
|
|
130623
|
+
throw toKnownErr120(e);
|
|
130029
130624
|
});
|
|
130030
130625
|
}
|
|
130031
130626
|
updateSeen(data, opts) {
|
|
130032
130627
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
130033
|
-
throw
|
|
130628
|
+
throw toKnownErr121(e);
|
|
130034
130629
|
});
|
|
130035
130630
|
}
|
|
130036
130631
|
};
|
|
@@ -130045,22 +130640,22 @@ var AppBskyUnspeccedNS2 = class {
|
|
|
130045
130640
|
}
|
|
130046
130641
|
getPopularFeedGenerators(params2, opts) {
|
|
130047
130642
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
130048
|
-
throw
|
|
130643
|
+
throw toKnownErr122(e);
|
|
130049
130644
|
});
|
|
130050
130645
|
}
|
|
130051
130646
|
getTaggedSuggestions(params2, opts) {
|
|
130052
130647
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
130053
|
-
throw
|
|
130648
|
+
throw toKnownErr123(e);
|
|
130054
130649
|
});
|
|
130055
130650
|
}
|
|
130056
130651
|
searchActorsSkeleton(params2, opts) {
|
|
130057
130652
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
130058
|
-
throw
|
|
130653
|
+
throw toKnownErr124(e);
|
|
130059
130654
|
});
|
|
130060
130655
|
}
|
|
130061
130656
|
searchPostsSkeleton(params2, opts) {
|
|
130062
130657
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
130063
|
-
throw
|
|
130658
|
+
throw toKnownErr125(e);
|
|
130064
130659
|
});
|
|
130065
130660
|
}
|
|
130066
130661
|
};
|