@atproto/ozone 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/db/index.js.map +2 -2
- package/dist/index.js +1259 -592
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +22 -6
- package/dist/lexicon/lexicons.d.ts +419 -110
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -1
- package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts +26 -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 +136 -36
- package/src/lexicon/lexicons.ts +460 -138
- package/src/lexicon/types/app/bsky/actor/defs.ts +61 -0
- package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +39 -0
- 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
|
@@ -103728,6 +103728,32 @@ var schemaDict = {
|
|
|
103728
103728
|
}
|
|
103729
103729
|
}
|
|
103730
103730
|
},
|
|
103731
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
103732
|
+
lexicon: 1,
|
|
103733
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
103734
|
+
defs: {
|
|
103735
|
+
main: {
|
|
103736
|
+
type: "procedure",
|
|
103737
|
+
description: "Update the password for a user account as an administrator.",
|
|
103738
|
+
input: {
|
|
103739
|
+
encoding: "application/json",
|
|
103740
|
+
schema: {
|
|
103741
|
+
type: "object",
|
|
103742
|
+
required: ["did", "password"],
|
|
103743
|
+
properties: {
|
|
103744
|
+
did: {
|
|
103745
|
+
type: "string",
|
|
103746
|
+
format: "did"
|
|
103747
|
+
},
|
|
103748
|
+
password: {
|
|
103749
|
+
type: "string"
|
|
103750
|
+
}
|
|
103751
|
+
}
|
|
103752
|
+
}
|
|
103753
|
+
}
|
|
103754
|
+
}
|
|
103755
|
+
}
|
|
103756
|
+
},
|
|
103731
103757
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
103732
103758
|
lexicon: 1,
|
|
103733
103759
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -103830,6 +103856,53 @@ var schemaDict = {
|
|
|
103830
103856
|
}
|
|
103831
103857
|
}
|
|
103832
103858
|
},
|
|
103859
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
103860
|
+
lexicon: 1,
|
|
103861
|
+
id: "com.atproto.identity.getRecommendedDidCredentials",
|
|
103862
|
+
defs: {
|
|
103863
|
+
main: {
|
|
103864
|
+
type: "query",
|
|
103865
|
+
description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
|
|
103866
|
+
output: {
|
|
103867
|
+
encoding: "application/json",
|
|
103868
|
+
schema: {
|
|
103869
|
+
type: "object",
|
|
103870
|
+
properties: {
|
|
103871
|
+
rotationKeys: {
|
|
103872
|
+
description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
|
|
103873
|
+
type: "array",
|
|
103874
|
+
items: {
|
|
103875
|
+
type: "string"
|
|
103876
|
+
}
|
|
103877
|
+
},
|
|
103878
|
+
alsoKnownAs: {
|
|
103879
|
+
type: "array",
|
|
103880
|
+
items: {
|
|
103881
|
+
type: "string"
|
|
103882
|
+
}
|
|
103883
|
+
},
|
|
103884
|
+
verificationMethods: {
|
|
103885
|
+
type: "unknown"
|
|
103886
|
+
},
|
|
103887
|
+
services: {
|
|
103888
|
+
type: "unknown"
|
|
103889
|
+
}
|
|
103890
|
+
}
|
|
103891
|
+
}
|
|
103892
|
+
}
|
|
103893
|
+
}
|
|
103894
|
+
}
|
|
103895
|
+
},
|
|
103896
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
103897
|
+
lexicon: 1,
|
|
103898
|
+
id: "com.atproto.identity.requestPlcOperationSignature",
|
|
103899
|
+
defs: {
|
|
103900
|
+
main: {
|
|
103901
|
+
type: "procedure",
|
|
103902
|
+
description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
|
|
103903
|
+
}
|
|
103904
|
+
}
|
|
103905
|
+
},
|
|
103833
103906
|
ComAtprotoIdentityResolveHandle: {
|
|
103834
103907
|
lexicon: 1,
|
|
103835
103908
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -103864,6 +103937,81 @@ var schemaDict = {
|
|
|
103864
103937
|
}
|
|
103865
103938
|
}
|
|
103866
103939
|
},
|
|
103940
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
103941
|
+
lexicon: 1,
|
|
103942
|
+
id: "com.atproto.identity.signPlcOperation",
|
|
103943
|
+
defs: {
|
|
103944
|
+
main: {
|
|
103945
|
+
type: "procedure",
|
|
103946
|
+
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
103947
|
+
input: {
|
|
103948
|
+
encoding: "application/json",
|
|
103949
|
+
schema: {
|
|
103950
|
+
type: "object",
|
|
103951
|
+
properties: {
|
|
103952
|
+
token: {
|
|
103953
|
+
description: "A token received through com.atproto.identity.requestPlcOperationSignature",
|
|
103954
|
+
type: "string"
|
|
103955
|
+
},
|
|
103956
|
+
rotationKeys: {
|
|
103957
|
+
type: "array",
|
|
103958
|
+
items: {
|
|
103959
|
+
type: "string"
|
|
103960
|
+
}
|
|
103961
|
+
},
|
|
103962
|
+
alsoKnownAs: {
|
|
103963
|
+
type: "array",
|
|
103964
|
+
items: {
|
|
103965
|
+
type: "string"
|
|
103966
|
+
}
|
|
103967
|
+
},
|
|
103968
|
+
verificationMethods: {
|
|
103969
|
+
type: "unknown"
|
|
103970
|
+
},
|
|
103971
|
+
services: {
|
|
103972
|
+
type: "unknown"
|
|
103973
|
+
}
|
|
103974
|
+
}
|
|
103975
|
+
}
|
|
103976
|
+
},
|
|
103977
|
+
output: {
|
|
103978
|
+
encoding: "application/json",
|
|
103979
|
+
schema: {
|
|
103980
|
+
type: "object",
|
|
103981
|
+
required: ["operation"],
|
|
103982
|
+
properties: {
|
|
103983
|
+
operation: {
|
|
103984
|
+
type: "unknown",
|
|
103985
|
+
description: "A signed DID PLC operation."
|
|
103986
|
+
}
|
|
103987
|
+
}
|
|
103988
|
+
}
|
|
103989
|
+
}
|
|
103990
|
+
}
|
|
103991
|
+
}
|
|
103992
|
+
},
|
|
103993
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
103994
|
+
lexicon: 1,
|
|
103995
|
+
id: "com.atproto.identity.submitPlcOperation",
|
|
103996
|
+
defs: {
|
|
103997
|
+
main: {
|
|
103998
|
+
type: "procedure",
|
|
103999
|
+
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",
|
|
104000
|
+
input: {
|
|
104001
|
+
encoding: "application/json",
|
|
104002
|
+
schema: {
|
|
104003
|
+
type: "object",
|
|
104004
|
+
required: ["operation"],
|
|
104005
|
+
properties: {
|
|
104006
|
+
operation: {
|
|
104007
|
+
type: "unknown"
|
|
104008
|
+
}
|
|
104009
|
+
}
|
|
104010
|
+
}
|
|
104011
|
+
}
|
|
104012
|
+
}
|
|
104013
|
+
}
|
|
104014
|
+
},
|
|
103867
104015
|
ComAtprotoIdentityUpdateHandle: {
|
|
103868
104016
|
lexicon: 1,
|
|
103869
104017
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -104536,6 +104684,76 @@ var schemaDict = {
|
|
|
104536
104684
|
}
|
|
104537
104685
|
}
|
|
104538
104686
|
},
|
|
104687
|
+
ComAtprotoRepoImportRepo: {
|
|
104688
|
+
lexicon: 1,
|
|
104689
|
+
id: "com.atproto.repo.importRepo",
|
|
104690
|
+
defs: {
|
|
104691
|
+
main: {
|
|
104692
|
+
type: "procedure",
|
|
104693
|
+
description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
|
|
104694
|
+
input: {
|
|
104695
|
+
encoding: "application/vnd.ipld.car"
|
|
104696
|
+
}
|
|
104697
|
+
}
|
|
104698
|
+
}
|
|
104699
|
+
},
|
|
104700
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
104701
|
+
lexicon: 1,
|
|
104702
|
+
id: "com.atproto.repo.listMissingBlobs",
|
|
104703
|
+
defs: {
|
|
104704
|
+
main: {
|
|
104705
|
+
type: "query",
|
|
104706
|
+
description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
|
|
104707
|
+
parameters: {
|
|
104708
|
+
type: "params",
|
|
104709
|
+
properties: {
|
|
104710
|
+
limit: {
|
|
104711
|
+
type: "integer",
|
|
104712
|
+
minimum: 1,
|
|
104713
|
+
maximum: 1e3,
|
|
104714
|
+
default: 500
|
|
104715
|
+
},
|
|
104716
|
+
cursor: {
|
|
104717
|
+
type: "string"
|
|
104718
|
+
}
|
|
104719
|
+
}
|
|
104720
|
+
},
|
|
104721
|
+
output: {
|
|
104722
|
+
encoding: "application/json",
|
|
104723
|
+
schema: {
|
|
104724
|
+
type: "object",
|
|
104725
|
+
required: ["blobs"],
|
|
104726
|
+
properties: {
|
|
104727
|
+
cursor: {
|
|
104728
|
+
type: "string"
|
|
104729
|
+
},
|
|
104730
|
+
blobs: {
|
|
104731
|
+
type: "array",
|
|
104732
|
+
items: {
|
|
104733
|
+
type: "ref",
|
|
104734
|
+
ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
|
|
104735
|
+
}
|
|
104736
|
+
}
|
|
104737
|
+
}
|
|
104738
|
+
}
|
|
104739
|
+
}
|
|
104740
|
+
},
|
|
104741
|
+
recordBlob: {
|
|
104742
|
+
type: "object",
|
|
104743
|
+
required: ["cid", "recordUri"],
|
|
104744
|
+
properties: {
|
|
104745
|
+
cid: {
|
|
104746
|
+
type: "string",
|
|
104747
|
+
format: "cid"
|
|
104748
|
+
},
|
|
104749
|
+
recordUri: {
|
|
104750
|
+
type: "string",
|
|
104751
|
+
format: "at-uri"
|
|
104752
|
+
}
|
|
104753
|
+
}
|
|
104754
|
+
}
|
|
104755
|
+
}
|
|
104756
|
+
},
|
|
104539
104757
|
ComAtprotoRepoListRecords: {
|
|
104540
104758
|
lexicon: 1,
|
|
104541
104759
|
id: "com.atproto.repo.listRecords",
|
|
@@ -104742,6 +104960,73 @@ var schemaDict = {
|
|
|
104742
104960
|
}
|
|
104743
104961
|
}
|
|
104744
104962
|
},
|
|
104963
|
+
ComAtprotoServerActivateAccount: {
|
|
104964
|
+
lexicon: 1,
|
|
104965
|
+
id: "com.atproto.server.activateAccount",
|
|
104966
|
+
defs: {
|
|
104967
|
+
main: {
|
|
104968
|
+
type: "procedure",
|
|
104969
|
+
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
|
|
104970
|
+
}
|
|
104971
|
+
}
|
|
104972
|
+
},
|
|
104973
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
104974
|
+
lexicon: 1,
|
|
104975
|
+
id: "com.atproto.server.checkAccountStatus",
|
|
104976
|
+
defs: {
|
|
104977
|
+
main: {
|
|
104978
|
+
type: "query",
|
|
104979
|
+
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.",
|
|
104980
|
+
output: {
|
|
104981
|
+
encoding: "application/json",
|
|
104982
|
+
schema: {
|
|
104983
|
+
type: "object",
|
|
104984
|
+
required: [
|
|
104985
|
+
"activated",
|
|
104986
|
+
"validDid",
|
|
104987
|
+
"repoCommit",
|
|
104988
|
+
"repoRev",
|
|
104989
|
+
"repoBlocks",
|
|
104990
|
+
"indexedRecords",
|
|
104991
|
+
"privateStateValues",
|
|
104992
|
+
"expectedBlobs",
|
|
104993
|
+
"importedBlobs"
|
|
104994
|
+
],
|
|
104995
|
+
properties: {
|
|
104996
|
+
activated: {
|
|
104997
|
+
type: "boolean"
|
|
104998
|
+
},
|
|
104999
|
+
validDid: {
|
|
105000
|
+
type: "boolean"
|
|
105001
|
+
},
|
|
105002
|
+
repoCommit: {
|
|
105003
|
+
type: "string",
|
|
105004
|
+
format: "cid"
|
|
105005
|
+
},
|
|
105006
|
+
repoRev: {
|
|
105007
|
+
type: "string"
|
|
105008
|
+
},
|
|
105009
|
+
repoBlocks: {
|
|
105010
|
+
type: "integer"
|
|
105011
|
+
},
|
|
105012
|
+
indexedRecords: {
|
|
105013
|
+
type: "integer"
|
|
105014
|
+
},
|
|
105015
|
+
privateStateValues: {
|
|
105016
|
+
type: "integer"
|
|
105017
|
+
},
|
|
105018
|
+
expectedBlobs: {
|
|
105019
|
+
type: "integer"
|
|
105020
|
+
},
|
|
105021
|
+
importedBlobs: {
|
|
105022
|
+
type: "integer"
|
|
105023
|
+
}
|
|
105024
|
+
}
|
|
105025
|
+
}
|
|
105026
|
+
}
|
|
105027
|
+
}
|
|
105028
|
+
}
|
|
105029
|
+
},
|
|
104745
105030
|
ComAtprotoServerConfirmEmail: {
|
|
104746
105031
|
lexicon: 1,
|
|
104747
105032
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -105102,6 +105387,29 @@ var schemaDict = {
|
|
|
105102
105387
|
}
|
|
105103
105388
|
}
|
|
105104
105389
|
},
|
|
105390
|
+
ComAtprotoServerDeactivateAccount: {
|
|
105391
|
+
lexicon: 1,
|
|
105392
|
+
id: "com.atproto.server.deactivateAccount",
|
|
105393
|
+
defs: {
|
|
105394
|
+
main: {
|
|
105395
|
+
type: "procedure",
|
|
105396
|
+
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.",
|
|
105397
|
+
input: {
|
|
105398
|
+
encoding: "application/json",
|
|
105399
|
+
schema: {
|
|
105400
|
+
type: "object",
|
|
105401
|
+
properties: {
|
|
105402
|
+
deleteAfter: {
|
|
105403
|
+
type: "string",
|
|
105404
|
+
format: "datetime",
|
|
105405
|
+
description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
|
|
105406
|
+
}
|
|
105407
|
+
}
|
|
105408
|
+
}
|
|
105409
|
+
}
|
|
105410
|
+
}
|
|
105411
|
+
}
|
|
105412
|
+
},
|
|
105105
105413
|
ComAtprotoServerDefs: {
|
|
105106
105414
|
lexicon: 1,
|
|
105107
105415
|
id: "com.atproto.server.defs",
|
|
@@ -105220,7 +105528,7 @@ var schemaDict = {
|
|
|
105220
105528
|
encoding: "application/json",
|
|
105221
105529
|
schema: {
|
|
105222
105530
|
type: "object",
|
|
105223
|
-
required: ["availableUserDomains"],
|
|
105531
|
+
required: ["did", "availableUserDomains"],
|
|
105224
105532
|
properties: {
|
|
105225
105533
|
inviteCodeRequired: {
|
|
105226
105534
|
type: "boolean",
|
|
@@ -105241,6 +105549,10 @@ var schemaDict = {
|
|
|
105241
105549
|
type: "ref",
|
|
105242
105550
|
description: "URLs of service policy documents.",
|
|
105243
105551
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
105552
|
+
},
|
|
105553
|
+
did: {
|
|
105554
|
+
type: "string",
|
|
105555
|
+
format: "did"
|
|
105244
105556
|
}
|
|
105245
105557
|
}
|
|
105246
105558
|
}
|
|
@@ -105304,22 +105616,55 @@ var schemaDict = {
|
|
|
105304
105616
|
}
|
|
105305
105617
|
}
|
|
105306
105618
|
},
|
|
105307
|
-
|
|
105619
|
+
ComAtprotoServerGetServiceAuth: {
|
|
105308
105620
|
lexicon: 1,
|
|
105309
|
-
id: "com.atproto.server.
|
|
105621
|
+
id: "com.atproto.server.getServiceAuth",
|
|
105310
105622
|
defs: {
|
|
105311
105623
|
main: {
|
|
105312
105624
|
type: "query",
|
|
105313
|
-
description: "Get
|
|
105625
|
+
description: "Get a signed token on behalf of the requesting DID for the requested service.",
|
|
105626
|
+
parameters: {
|
|
105627
|
+
type: "params",
|
|
105628
|
+
required: ["aud"],
|
|
105629
|
+
properties: {
|
|
105630
|
+
aud: {
|
|
105631
|
+
type: "string",
|
|
105632
|
+
format: "did",
|
|
105633
|
+
description: "The DID of the service that the token will be used to authenticate with"
|
|
105634
|
+
}
|
|
105635
|
+
}
|
|
105636
|
+
},
|
|
105314
105637
|
output: {
|
|
105315
105638
|
encoding: "application/json",
|
|
105316
105639
|
schema: {
|
|
105317
105640
|
type: "object",
|
|
105318
|
-
required: ["
|
|
105641
|
+
required: ["token"],
|
|
105319
105642
|
properties: {
|
|
105320
|
-
|
|
105321
|
-
type: "string"
|
|
105322
|
-
|
|
105643
|
+
token: {
|
|
105644
|
+
type: "string"
|
|
105645
|
+
}
|
|
105646
|
+
}
|
|
105647
|
+
}
|
|
105648
|
+
}
|
|
105649
|
+
}
|
|
105650
|
+
}
|
|
105651
|
+
},
|
|
105652
|
+
ComAtprotoServerGetSession: {
|
|
105653
|
+
lexicon: 1,
|
|
105654
|
+
id: "com.atproto.server.getSession",
|
|
105655
|
+
defs: {
|
|
105656
|
+
main: {
|
|
105657
|
+
type: "query",
|
|
105658
|
+
description: "Get information about the current auth session. Requires auth.",
|
|
105659
|
+
output: {
|
|
105660
|
+
encoding: "application/json",
|
|
105661
|
+
schema: {
|
|
105662
|
+
type: "object",
|
|
105663
|
+
required: ["handle", "did"],
|
|
105664
|
+
properties: {
|
|
105665
|
+
handle: {
|
|
105666
|
+
type: "string",
|
|
105667
|
+
format: "handle"
|
|
105323
105668
|
},
|
|
105324
105669
|
did: {
|
|
105325
105670
|
type: "string",
|
|
@@ -106028,6 +106373,7 @@ var schemaDict = {
|
|
|
106028
106373
|
type: "union",
|
|
106029
106374
|
refs: [
|
|
106030
106375
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
106376
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
106031
106377
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
106032
106378
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
106033
106379
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -106124,9 +106470,27 @@ var schemaDict = {
|
|
|
106124
106470
|
}
|
|
106125
106471
|
}
|
|
106126
106472
|
},
|
|
106473
|
+
identity: {
|
|
106474
|
+
type: "object",
|
|
106475
|
+
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.",
|
|
106476
|
+
required: ["seq", "did", "time"],
|
|
106477
|
+
properties: {
|
|
106478
|
+
seq: {
|
|
106479
|
+
type: "integer"
|
|
106480
|
+
},
|
|
106481
|
+
did: {
|
|
106482
|
+
type: "string",
|
|
106483
|
+
format: "did"
|
|
106484
|
+
},
|
|
106485
|
+
time: {
|
|
106486
|
+
type: "string",
|
|
106487
|
+
format: "datetime"
|
|
106488
|
+
}
|
|
106489
|
+
}
|
|
106490
|
+
},
|
|
106127
106491
|
handle: {
|
|
106128
106492
|
type: "object",
|
|
106129
|
-
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
106493
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
106130
106494
|
required: ["seq", "did", "handle", "time"],
|
|
106131
106495
|
properties: {
|
|
106132
106496
|
seq: {
|
|
@@ -106148,7 +106512,7 @@ var schemaDict = {
|
|
|
106148
106512
|
},
|
|
106149
106513
|
migrate: {
|
|
106150
106514
|
type: "object",
|
|
106151
|
-
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
106515
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
|
|
106152
106516
|
required: ["seq", "did", "migrateTo", "time"],
|
|
106153
106517
|
nullable: ["migrateTo"],
|
|
106154
106518
|
properties: {
|
|
@@ -106170,7 +106534,7 @@ var schemaDict = {
|
|
|
106170
106534
|
},
|
|
106171
106535
|
tombstone: {
|
|
106172
106536
|
type: "object",
|
|
106173
|
-
description: "Indicates that an account has been deleted.",
|
|
106537
|
+
description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
|
|
106174
106538
|
required: ["seq", "did", "time"],
|
|
106175
106539
|
properties: {
|
|
106176
106540
|
seq: {
|
|
@@ -106288,57 +106652,6 @@ var schemaDict = {
|
|
|
106288
106652
|
}
|
|
106289
106653
|
}
|
|
106290
106654
|
},
|
|
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
106655
|
ComAtprotoTempRequestPhoneVerification: {
|
|
106343
106656
|
lexicon: 1,
|
|
106344
106657
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -106361,82 +106674,6 @@ var schemaDict = {
|
|
|
106361
106674
|
}
|
|
106362
106675
|
}
|
|
106363
106676
|
},
|
|
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
106677
|
AppBskyActorDefs: {
|
|
106441
106678
|
lexicon: 1,
|
|
106442
106679
|
id: "app.bsky.actor.defs",
|
|
@@ -106613,7 +106850,9 @@ var schemaDict = {
|
|
|
106613
106850
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
106614
106851
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
106615
106852
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
106616
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
106853
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
106854
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
106855
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
106617
106856
|
]
|
|
106618
106857
|
}
|
|
106619
106858
|
},
|
|
@@ -106732,6 +106971,61 @@ var schemaDict = {
|
|
|
106732
106971
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
106733
106972
|
}
|
|
106734
106973
|
}
|
|
106974
|
+
},
|
|
106975
|
+
mutedWordTarget: {
|
|
106976
|
+
type: "string",
|
|
106977
|
+
knownValues: ["content", "tag"],
|
|
106978
|
+
maxLength: 640,
|
|
106979
|
+
maxGraphemes: 64
|
|
106980
|
+
},
|
|
106981
|
+
mutedWord: {
|
|
106982
|
+
type: "object",
|
|
106983
|
+
description: "A word that the account owner has muted.",
|
|
106984
|
+
required: ["value", "targets"],
|
|
106985
|
+
properties: {
|
|
106986
|
+
value: {
|
|
106987
|
+
type: "string",
|
|
106988
|
+
description: "The muted word itself.",
|
|
106989
|
+
maxLength: 1e4,
|
|
106990
|
+
maxGraphemes: 1e3
|
|
106991
|
+
},
|
|
106992
|
+
targets: {
|
|
106993
|
+
type: "array",
|
|
106994
|
+
description: "The intended targets of the muted word.",
|
|
106995
|
+
items: {
|
|
106996
|
+
type: "ref",
|
|
106997
|
+
ref: "lex:app.bsky.actor.defs#mutedWordTarget"
|
|
106998
|
+
}
|
|
106999
|
+
}
|
|
107000
|
+
}
|
|
107001
|
+
},
|
|
107002
|
+
mutedWordsPref: {
|
|
107003
|
+
type: "object",
|
|
107004
|
+
required: ["items"],
|
|
107005
|
+
properties: {
|
|
107006
|
+
items: {
|
|
107007
|
+
type: "array",
|
|
107008
|
+
items: {
|
|
107009
|
+
type: "ref",
|
|
107010
|
+
ref: "lex:app.bsky.actor.defs#mutedWord"
|
|
107011
|
+
},
|
|
107012
|
+
description: "A list of words the account owner has muted."
|
|
107013
|
+
}
|
|
107014
|
+
}
|
|
107015
|
+
},
|
|
107016
|
+
hiddenPostsPref: {
|
|
107017
|
+
type: "object",
|
|
107018
|
+
required: ["items"],
|
|
107019
|
+
properties: {
|
|
107020
|
+
items: {
|
|
107021
|
+
type: "array",
|
|
107022
|
+
items: {
|
|
107023
|
+
type: "string",
|
|
107024
|
+
format: "at-uri"
|
|
107025
|
+
},
|
|
107026
|
+
description: "A list of URIs of posts the account owner has hidden."
|
|
107027
|
+
}
|
|
107028
|
+
}
|
|
106735
107029
|
}
|
|
106736
107030
|
}
|
|
106737
107031
|
},
|
|
@@ -108598,7 +108892,7 @@ var schemaDict = {
|
|
|
108598
108892
|
},
|
|
108599
108893
|
tags: {
|
|
108600
108894
|
type: "array",
|
|
108601
|
-
description: "Additional
|
|
108895
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
108602
108896
|
maxLength: 8,
|
|
108603
108897
|
items: {
|
|
108604
108898
|
type: "string",
|
|
@@ -118704,6 +118998,10 @@ var ComAtprotoAdminNS = class {
|
|
|
118704
118998
|
const nsid2 = "com.atproto.admin.updateAccountHandle";
|
|
118705
118999
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118706
119000
|
}
|
|
119001
|
+
updateAccountPassword(cfg) {
|
|
119002
|
+
const nsid2 = "com.atproto.admin.updateAccountPassword";
|
|
119003
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119004
|
+
}
|
|
118707
119005
|
updateCommunicationTemplate(cfg) {
|
|
118708
119006
|
const nsid2 = "com.atproto.admin.updateCommunicationTemplate";
|
|
118709
119007
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118717,10 +119015,26 @@ var ComAtprotoIdentityNS = class {
|
|
|
118717
119015
|
constructor(server) {
|
|
118718
119016
|
this._server = server;
|
|
118719
119017
|
}
|
|
119018
|
+
getRecommendedDidCredentials(cfg) {
|
|
119019
|
+
const nsid2 = "com.atproto.identity.getRecommendedDidCredentials";
|
|
119020
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119021
|
+
}
|
|
119022
|
+
requestPlcOperationSignature(cfg) {
|
|
119023
|
+
const nsid2 = "com.atproto.identity.requestPlcOperationSignature";
|
|
119024
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119025
|
+
}
|
|
118720
119026
|
resolveHandle(cfg) {
|
|
118721
119027
|
const nsid2 = "com.atproto.identity.resolveHandle";
|
|
118722
119028
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118723
119029
|
}
|
|
119030
|
+
signPlcOperation(cfg) {
|
|
119031
|
+
const nsid2 = "com.atproto.identity.signPlcOperation";
|
|
119032
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119033
|
+
}
|
|
119034
|
+
submitPlcOperation(cfg) {
|
|
119035
|
+
const nsid2 = "com.atproto.identity.submitPlcOperation";
|
|
119036
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119037
|
+
}
|
|
118724
119038
|
updateHandle(cfg) {
|
|
118725
119039
|
const nsid2 = "com.atproto.identity.updateHandle";
|
|
118726
119040
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118772,6 +119086,14 @@ var ComAtprotoRepoNS = class {
|
|
|
118772
119086
|
const nsid2 = "com.atproto.repo.getRecord";
|
|
118773
119087
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118774
119088
|
}
|
|
119089
|
+
importRepo(cfg) {
|
|
119090
|
+
const nsid2 = "com.atproto.repo.importRepo";
|
|
119091
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119092
|
+
}
|
|
119093
|
+
listMissingBlobs(cfg) {
|
|
119094
|
+
const nsid2 = "com.atproto.repo.listMissingBlobs";
|
|
119095
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119096
|
+
}
|
|
118775
119097
|
listRecords(cfg) {
|
|
118776
119098
|
const nsid2 = "com.atproto.repo.listRecords";
|
|
118777
119099
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118789,6 +119111,14 @@ var ComAtprotoServerNS = class {
|
|
|
118789
119111
|
constructor(server) {
|
|
118790
119112
|
this._server = server;
|
|
118791
119113
|
}
|
|
119114
|
+
activateAccount(cfg) {
|
|
119115
|
+
const nsid2 = "com.atproto.server.activateAccount";
|
|
119116
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119117
|
+
}
|
|
119118
|
+
checkAccountStatus(cfg) {
|
|
119119
|
+
const nsid2 = "com.atproto.server.checkAccountStatus";
|
|
119120
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119121
|
+
}
|
|
118792
119122
|
confirmEmail(cfg) {
|
|
118793
119123
|
const nsid2 = "com.atproto.server.confirmEmail";
|
|
118794
119124
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118813,6 +119143,10 @@ var ComAtprotoServerNS = class {
|
|
|
118813
119143
|
const nsid2 = "com.atproto.server.createSession";
|
|
118814
119144
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118815
119145
|
}
|
|
119146
|
+
deactivateAccount(cfg) {
|
|
119147
|
+
const nsid2 = "com.atproto.server.deactivateAccount";
|
|
119148
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119149
|
+
}
|
|
118816
119150
|
deleteAccount(cfg) {
|
|
118817
119151
|
const nsid2 = "com.atproto.server.deleteAccount";
|
|
118818
119152
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118829,6 +119163,10 @@ var ComAtprotoServerNS = class {
|
|
|
118829
119163
|
const nsid2 = "com.atproto.server.getAccountInviteCodes";
|
|
118830
119164
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118831
119165
|
}
|
|
119166
|
+
getServiceAuth(cfg) {
|
|
119167
|
+
const nsid2 = "com.atproto.server.getServiceAuth";
|
|
119168
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
119169
|
+
}
|
|
118832
119170
|
getSession(cfg) {
|
|
118833
119171
|
const nsid2 = "com.atproto.server.getSession";
|
|
118834
119172
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118939,22 +119277,10 @@ var ComAtprotoTempNS = class {
|
|
|
118939
119277
|
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
118940
119278
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118941
119279
|
}
|
|
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
119280
|
requestPhoneVerification(cfg) {
|
|
118951
119281
|
const nsid2 = "com.atproto.temp.requestPhoneVerification";
|
|
118952
119282
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118953
119283
|
}
|
|
118954
|
-
transferAccount(cfg) {
|
|
118955
|
-
const nsid2 = "com.atproto.temp.transferAccount";
|
|
118956
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
118957
|
-
}
|
|
118958
119284
|
};
|
|
118959
119285
|
var AppNS = class {
|
|
118960
119286
|
constructor(server) {
|
|
@@ -121363,6 +121689,32 @@ var schemaDict2 = {
|
|
|
121363
121689
|
}
|
|
121364
121690
|
}
|
|
121365
121691
|
},
|
|
121692
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
121693
|
+
lexicon: 1,
|
|
121694
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
121695
|
+
defs: {
|
|
121696
|
+
main: {
|
|
121697
|
+
type: "procedure",
|
|
121698
|
+
description: "Update the password for a user account as an administrator.",
|
|
121699
|
+
input: {
|
|
121700
|
+
encoding: "application/json",
|
|
121701
|
+
schema: {
|
|
121702
|
+
type: "object",
|
|
121703
|
+
required: ["did", "password"],
|
|
121704
|
+
properties: {
|
|
121705
|
+
did: {
|
|
121706
|
+
type: "string",
|
|
121707
|
+
format: "did"
|
|
121708
|
+
},
|
|
121709
|
+
password: {
|
|
121710
|
+
type: "string"
|
|
121711
|
+
}
|
|
121712
|
+
}
|
|
121713
|
+
}
|
|
121714
|
+
}
|
|
121715
|
+
}
|
|
121716
|
+
}
|
|
121717
|
+
},
|
|
121366
121718
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
121367
121719
|
lexicon: 1,
|
|
121368
121720
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -121465,24 +121817,71 @@ var schemaDict2 = {
|
|
|
121465
121817
|
}
|
|
121466
121818
|
}
|
|
121467
121819
|
},
|
|
121468
|
-
|
|
121820
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
121469
121821
|
lexicon: 1,
|
|
121470
|
-
id: "com.atproto.identity.
|
|
121822
|
+
id: "com.atproto.identity.getRecommendedDidCredentials",
|
|
121471
121823
|
defs: {
|
|
121472
121824
|
main: {
|
|
121473
121825
|
type: "query",
|
|
121474
|
-
description: "
|
|
121475
|
-
|
|
121476
|
-
|
|
121477
|
-
|
|
121478
|
-
|
|
121479
|
-
|
|
121480
|
-
|
|
121481
|
-
|
|
121482
|
-
|
|
121483
|
-
|
|
121484
|
-
|
|
121485
|
-
|
|
121826
|
+
description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
|
|
121827
|
+
output: {
|
|
121828
|
+
encoding: "application/json",
|
|
121829
|
+
schema: {
|
|
121830
|
+
type: "object",
|
|
121831
|
+
properties: {
|
|
121832
|
+
rotationKeys: {
|
|
121833
|
+
description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
|
|
121834
|
+
type: "array",
|
|
121835
|
+
items: {
|
|
121836
|
+
type: "string"
|
|
121837
|
+
}
|
|
121838
|
+
},
|
|
121839
|
+
alsoKnownAs: {
|
|
121840
|
+
type: "array",
|
|
121841
|
+
items: {
|
|
121842
|
+
type: "string"
|
|
121843
|
+
}
|
|
121844
|
+
},
|
|
121845
|
+
verificationMethods: {
|
|
121846
|
+
type: "unknown"
|
|
121847
|
+
},
|
|
121848
|
+
services: {
|
|
121849
|
+
type: "unknown"
|
|
121850
|
+
}
|
|
121851
|
+
}
|
|
121852
|
+
}
|
|
121853
|
+
}
|
|
121854
|
+
}
|
|
121855
|
+
}
|
|
121856
|
+
},
|
|
121857
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
121858
|
+
lexicon: 1,
|
|
121859
|
+
id: "com.atproto.identity.requestPlcOperationSignature",
|
|
121860
|
+
defs: {
|
|
121861
|
+
main: {
|
|
121862
|
+
type: "procedure",
|
|
121863
|
+
description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
|
|
121864
|
+
}
|
|
121865
|
+
}
|
|
121866
|
+
},
|
|
121867
|
+
ComAtprotoIdentityResolveHandle: {
|
|
121868
|
+
lexicon: 1,
|
|
121869
|
+
id: "com.atproto.identity.resolveHandle",
|
|
121870
|
+
defs: {
|
|
121871
|
+
main: {
|
|
121872
|
+
type: "query",
|
|
121873
|
+
description: "Resolves a handle (domain name) to a DID.",
|
|
121874
|
+
parameters: {
|
|
121875
|
+
type: "params",
|
|
121876
|
+
required: ["handle"],
|
|
121877
|
+
properties: {
|
|
121878
|
+
handle: {
|
|
121879
|
+
type: "string",
|
|
121880
|
+
format: "handle",
|
|
121881
|
+
description: "The handle to resolve."
|
|
121882
|
+
}
|
|
121883
|
+
}
|
|
121884
|
+
},
|
|
121486
121885
|
output: {
|
|
121487
121886
|
encoding: "application/json",
|
|
121488
121887
|
schema: {
|
|
@@ -121499,6 +121898,81 @@ var schemaDict2 = {
|
|
|
121499
121898
|
}
|
|
121500
121899
|
}
|
|
121501
121900
|
},
|
|
121901
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
121902
|
+
lexicon: 1,
|
|
121903
|
+
id: "com.atproto.identity.signPlcOperation",
|
|
121904
|
+
defs: {
|
|
121905
|
+
main: {
|
|
121906
|
+
type: "procedure",
|
|
121907
|
+
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
121908
|
+
input: {
|
|
121909
|
+
encoding: "application/json",
|
|
121910
|
+
schema: {
|
|
121911
|
+
type: "object",
|
|
121912
|
+
properties: {
|
|
121913
|
+
token: {
|
|
121914
|
+
description: "A token received through com.atproto.identity.requestPlcOperationSignature",
|
|
121915
|
+
type: "string"
|
|
121916
|
+
},
|
|
121917
|
+
rotationKeys: {
|
|
121918
|
+
type: "array",
|
|
121919
|
+
items: {
|
|
121920
|
+
type: "string"
|
|
121921
|
+
}
|
|
121922
|
+
},
|
|
121923
|
+
alsoKnownAs: {
|
|
121924
|
+
type: "array",
|
|
121925
|
+
items: {
|
|
121926
|
+
type: "string"
|
|
121927
|
+
}
|
|
121928
|
+
},
|
|
121929
|
+
verificationMethods: {
|
|
121930
|
+
type: "unknown"
|
|
121931
|
+
},
|
|
121932
|
+
services: {
|
|
121933
|
+
type: "unknown"
|
|
121934
|
+
}
|
|
121935
|
+
}
|
|
121936
|
+
}
|
|
121937
|
+
},
|
|
121938
|
+
output: {
|
|
121939
|
+
encoding: "application/json",
|
|
121940
|
+
schema: {
|
|
121941
|
+
type: "object",
|
|
121942
|
+
required: ["operation"],
|
|
121943
|
+
properties: {
|
|
121944
|
+
operation: {
|
|
121945
|
+
type: "unknown",
|
|
121946
|
+
description: "A signed DID PLC operation."
|
|
121947
|
+
}
|
|
121948
|
+
}
|
|
121949
|
+
}
|
|
121950
|
+
}
|
|
121951
|
+
}
|
|
121952
|
+
}
|
|
121953
|
+
},
|
|
121954
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
121955
|
+
lexicon: 1,
|
|
121956
|
+
id: "com.atproto.identity.submitPlcOperation",
|
|
121957
|
+
defs: {
|
|
121958
|
+
main: {
|
|
121959
|
+
type: "procedure",
|
|
121960
|
+
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",
|
|
121961
|
+
input: {
|
|
121962
|
+
encoding: "application/json",
|
|
121963
|
+
schema: {
|
|
121964
|
+
type: "object",
|
|
121965
|
+
required: ["operation"],
|
|
121966
|
+
properties: {
|
|
121967
|
+
operation: {
|
|
121968
|
+
type: "unknown"
|
|
121969
|
+
}
|
|
121970
|
+
}
|
|
121971
|
+
}
|
|
121972
|
+
}
|
|
121973
|
+
}
|
|
121974
|
+
}
|
|
121975
|
+
},
|
|
121502
121976
|
ComAtprotoIdentityUpdateHandle: {
|
|
121503
121977
|
lexicon: 1,
|
|
121504
121978
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -122171,6 +122645,76 @@ var schemaDict2 = {
|
|
|
122171
122645
|
}
|
|
122172
122646
|
}
|
|
122173
122647
|
},
|
|
122648
|
+
ComAtprotoRepoImportRepo: {
|
|
122649
|
+
lexicon: 1,
|
|
122650
|
+
id: "com.atproto.repo.importRepo",
|
|
122651
|
+
defs: {
|
|
122652
|
+
main: {
|
|
122653
|
+
type: "procedure",
|
|
122654
|
+
description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
|
|
122655
|
+
input: {
|
|
122656
|
+
encoding: "application/vnd.ipld.car"
|
|
122657
|
+
}
|
|
122658
|
+
}
|
|
122659
|
+
}
|
|
122660
|
+
},
|
|
122661
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
122662
|
+
lexicon: 1,
|
|
122663
|
+
id: "com.atproto.repo.listMissingBlobs",
|
|
122664
|
+
defs: {
|
|
122665
|
+
main: {
|
|
122666
|
+
type: "query",
|
|
122667
|
+
description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
|
|
122668
|
+
parameters: {
|
|
122669
|
+
type: "params",
|
|
122670
|
+
properties: {
|
|
122671
|
+
limit: {
|
|
122672
|
+
type: "integer",
|
|
122673
|
+
minimum: 1,
|
|
122674
|
+
maximum: 1e3,
|
|
122675
|
+
default: 500
|
|
122676
|
+
},
|
|
122677
|
+
cursor: {
|
|
122678
|
+
type: "string"
|
|
122679
|
+
}
|
|
122680
|
+
}
|
|
122681
|
+
},
|
|
122682
|
+
output: {
|
|
122683
|
+
encoding: "application/json",
|
|
122684
|
+
schema: {
|
|
122685
|
+
type: "object",
|
|
122686
|
+
required: ["blobs"],
|
|
122687
|
+
properties: {
|
|
122688
|
+
cursor: {
|
|
122689
|
+
type: "string"
|
|
122690
|
+
},
|
|
122691
|
+
blobs: {
|
|
122692
|
+
type: "array",
|
|
122693
|
+
items: {
|
|
122694
|
+
type: "ref",
|
|
122695
|
+
ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
|
|
122696
|
+
}
|
|
122697
|
+
}
|
|
122698
|
+
}
|
|
122699
|
+
}
|
|
122700
|
+
}
|
|
122701
|
+
},
|
|
122702
|
+
recordBlob: {
|
|
122703
|
+
type: "object",
|
|
122704
|
+
required: ["cid", "recordUri"],
|
|
122705
|
+
properties: {
|
|
122706
|
+
cid: {
|
|
122707
|
+
type: "string",
|
|
122708
|
+
format: "cid"
|
|
122709
|
+
},
|
|
122710
|
+
recordUri: {
|
|
122711
|
+
type: "string",
|
|
122712
|
+
format: "at-uri"
|
|
122713
|
+
}
|
|
122714
|
+
}
|
|
122715
|
+
}
|
|
122716
|
+
}
|
|
122717
|
+
},
|
|
122174
122718
|
ComAtprotoRepoListRecords: {
|
|
122175
122719
|
lexicon: 1,
|
|
122176
122720
|
id: "com.atproto.repo.listRecords",
|
|
@@ -122377,6 +122921,73 @@ var schemaDict2 = {
|
|
|
122377
122921
|
}
|
|
122378
122922
|
}
|
|
122379
122923
|
},
|
|
122924
|
+
ComAtprotoServerActivateAccount: {
|
|
122925
|
+
lexicon: 1,
|
|
122926
|
+
id: "com.atproto.server.activateAccount",
|
|
122927
|
+
defs: {
|
|
122928
|
+
main: {
|
|
122929
|
+
type: "procedure",
|
|
122930
|
+
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
|
|
122931
|
+
}
|
|
122932
|
+
}
|
|
122933
|
+
},
|
|
122934
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
122935
|
+
lexicon: 1,
|
|
122936
|
+
id: "com.atproto.server.checkAccountStatus",
|
|
122937
|
+
defs: {
|
|
122938
|
+
main: {
|
|
122939
|
+
type: "query",
|
|
122940
|
+
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.",
|
|
122941
|
+
output: {
|
|
122942
|
+
encoding: "application/json",
|
|
122943
|
+
schema: {
|
|
122944
|
+
type: "object",
|
|
122945
|
+
required: [
|
|
122946
|
+
"activated",
|
|
122947
|
+
"validDid",
|
|
122948
|
+
"repoCommit",
|
|
122949
|
+
"repoRev",
|
|
122950
|
+
"repoBlocks",
|
|
122951
|
+
"indexedRecords",
|
|
122952
|
+
"privateStateValues",
|
|
122953
|
+
"expectedBlobs",
|
|
122954
|
+
"importedBlobs"
|
|
122955
|
+
],
|
|
122956
|
+
properties: {
|
|
122957
|
+
activated: {
|
|
122958
|
+
type: "boolean"
|
|
122959
|
+
},
|
|
122960
|
+
validDid: {
|
|
122961
|
+
type: "boolean"
|
|
122962
|
+
},
|
|
122963
|
+
repoCommit: {
|
|
122964
|
+
type: "string",
|
|
122965
|
+
format: "cid"
|
|
122966
|
+
},
|
|
122967
|
+
repoRev: {
|
|
122968
|
+
type: "string"
|
|
122969
|
+
},
|
|
122970
|
+
repoBlocks: {
|
|
122971
|
+
type: "integer"
|
|
122972
|
+
},
|
|
122973
|
+
indexedRecords: {
|
|
122974
|
+
type: "integer"
|
|
122975
|
+
},
|
|
122976
|
+
privateStateValues: {
|
|
122977
|
+
type: "integer"
|
|
122978
|
+
},
|
|
122979
|
+
expectedBlobs: {
|
|
122980
|
+
type: "integer"
|
|
122981
|
+
},
|
|
122982
|
+
importedBlobs: {
|
|
122983
|
+
type: "integer"
|
|
122984
|
+
}
|
|
122985
|
+
}
|
|
122986
|
+
}
|
|
122987
|
+
}
|
|
122988
|
+
}
|
|
122989
|
+
}
|
|
122990
|
+
},
|
|
122380
122991
|
ComAtprotoServerConfirmEmail: {
|
|
122381
122992
|
lexicon: 1,
|
|
122382
122993
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -122737,6 +123348,29 @@ var schemaDict2 = {
|
|
|
122737
123348
|
}
|
|
122738
123349
|
}
|
|
122739
123350
|
},
|
|
123351
|
+
ComAtprotoServerDeactivateAccount: {
|
|
123352
|
+
lexicon: 1,
|
|
123353
|
+
id: "com.atproto.server.deactivateAccount",
|
|
123354
|
+
defs: {
|
|
123355
|
+
main: {
|
|
123356
|
+
type: "procedure",
|
|
123357
|
+
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.",
|
|
123358
|
+
input: {
|
|
123359
|
+
encoding: "application/json",
|
|
123360
|
+
schema: {
|
|
123361
|
+
type: "object",
|
|
123362
|
+
properties: {
|
|
123363
|
+
deleteAfter: {
|
|
123364
|
+
type: "string",
|
|
123365
|
+
format: "datetime",
|
|
123366
|
+
description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
|
|
123367
|
+
}
|
|
123368
|
+
}
|
|
123369
|
+
}
|
|
123370
|
+
}
|
|
123371
|
+
}
|
|
123372
|
+
}
|
|
123373
|
+
},
|
|
122740
123374
|
ComAtprotoServerDefs: {
|
|
122741
123375
|
lexicon: 1,
|
|
122742
123376
|
id: "com.atproto.server.defs",
|
|
@@ -122855,7 +123489,7 @@ var schemaDict2 = {
|
|
|
122855
123489
|
encoding: "application/json",
|
|
122856
123490
|
schema: {
|
|
122857
123491
|
type: "object",
|
|
122858
|
-
required: ["availableUserDomains"],
|
|
123492
|
+
required: ["did", "availableUserDomains"],
|
|
122859
123493
|
properties: {
|
|
122860
123494
|
inviteCodeRequired: {
|
|
122861
123495
|
type: "boolean",
|
|
@@ -122876,6 +123510,10 @@ var schemaDict2 = {
|
|
|
122876
123510
|
type: "ref",
|
|
122877
123511
|
description: "URLs of service policy documents.",
|
|
122878
123512
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
123513
|
+
},
|
|
123514
|
+
did: {
|
|
123515
|
+
type: "string",
|
|
123516
|
+
format: "did"
|
|
122879
123517
|
}
|
|
122880
123518
|
}
|
|
122881
123519
|
}
|
|
@@ -122939,30 +123577,63 @@ var schemaDict2 = {
|
|
|
122939
123577
|
}
|
|
122940
123578
|
}
|
|
122941
123579
|
},
|
|
122942
|
-
|
|
123580
|
+
ComAtprotoServerGetServiceAuth: {
|
|
122943
123581
|
lexicon: 1,
|
|
122944
|
-
id: "com.atproto.server.
|
|
123582
|
+
id: "com.atproto.server.getServiceAuth",
|
|
122945
123583
|
defs: {
|
|
122946
123584
|
main: {
|
|
122947
123585
|
type: "query",
|
|
122948
|
-
description: "Get
|
|
123586
|
+
description: "Get a signed token on behalf of the requesting DID for the requested service.",
|
|
123587
|
+
parameters: {
|
|
123588
|
+
type: "params",
|
|
123589
|
+
required: ["aud"],
|
|
123590
|
+
properties: {
|
|
123591
|
+
aud: {
|
|
123592
|
+
type: "string",
|
|
123593
|
+
format: "did",
|
|
123594
|
+
description: "The DID of the service that the token will be used to authenticate with"
|
|
123595
|
+
}
|
|
123596
|
+
}
|
|
123597
|
+
},
|
|
122949
123598
|
output: {
|
|
122950
123599
|
encoding: "application/json",
|
|
122951
123600
|
schema: {
|
|
122952
123601
|
type: "object",
|
|
122953
|
-
required: ["
|
|
123602
|
+
required: ["token"],
|
|
122954
123603
|
properties: {
|
|
122955
|
-
|
|
122956
|
-
type: "string",
|
|
122957
|
-
format: "handle"
|
|
122958
|
-
},
|
|
122959
|
-
did: {
|
|
122960
|
-
type: "string",
|
|
122961
|
-
format: "did"
|
|
122962
|
-
},
|
|
122963
|
-
email: {
|
|
123604
|
+
token: {
|
|
122964
123605
|
type: "string"
|
|
122965
|
-
}
|
|
123606
|
+
}
|
|
123607
|
+
}
|
|
123608
|
+
}
|
|
123609
|
+
}
|
|
123610
|
+
}
|
|
123611
|
+
}
|
|
123612
|
+
},
|
|
123613
|
+
ComAtprotoServerGetSession: {
|
|
123614
|
+
lexicon: 1,
|
|
123615
|
+
id: "com.atproto.server.getSession",
|
|
123616
|
+
defs: {
|
|
123617
|
+
main: {
|
|
123618
|
+
type: "query",
|
|
123619
|
+
description: "Get information about the current auth session. Requires auth.",
|
|
123620
|
+
output: {
|
|
123621
|
+
encoding: "application/json",
|
|
123622
|
+
schema: {
|
|
123623
|
+
type: "object",
|
|
123624
|
+
required: ["handle", "did"],
|
|
123625
|
+
properties: {
|
|
123626
|
+
handle: {
|
|
123627
|
+
type: "string",
|
|
123628
|
+
format: "handle"
|
|
123629
|
+
},
|
|
123630
|
+
did: {
|
|
123631
|
+
type: "string",
|
|
123632
|
+
format: "did"
|
|
123633
|
+
},
|
|
123634
|
+
email: {
|
|
123635
|
+
type: "string"
|
|
123636
|
+
},
|
|
122966
123637
|
emailConfirmed: {
|
|
122967
123638
|
type: "boolean"
|
|
122968
123639
|
},
|
|
@@ -123663,6 +124334,7 @@ var schemaDict2 = {
|
|
|
123663
124334
|
type: "union",
|
|
123664
124335
|
refs: [
|
|
123665
124336
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
124337
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
123666
124338
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
123667
124339
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
123668
124340
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -123759,9 +124431,27 @@ var schemaDict2 = {
|
|
|
123759
124431
|
}
|
|
123760
124432
|
}
|
|
123761
124433
|
},
|
|
124434
|
+
identity: {
|
|
124435
|
+
type: "object",
|
|
124436
|
+
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.",
|
|
124437
|
+
required: ["seq", "did", "time"],
|
|
124438
|
+
properties: {
|
|
124439
|
+
seq: {
|
|
124440
|
+
type: "integer"
|
|
124441
|
+
},
|
|
124442
|
+
did: {
|
|
124443
|
+
type: "string",
|
|
124444
|
+
format: "did"
|
|
124445
|
+
},
|
|
124446
|
+
time: {
|
|
124447
|
+
type: "string",
|
|
124448
|
+
format: "datetime"
|
|
124449
|
+
}
|
|
124450
|
+
}
|
|
124451
|
+
},
|
|
123762
124452
|
handle: {
|
|
123763
124453
|
type: "object",
|
|
123764
|
-
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
124454
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
123765
124455
|
required: ["seq", "did", "handle", "time"],
|
|
123766
124456
|
properties: {
|
|
123767
124457
|
seq: {
|
|
@@ -123783,7 +124473,7 @@ var schemaDict2 = {
|
|
|
123783
124473
|
},
|
|
123784
124474
|
migrate: {
|
|
123785
124475
|
type: "object",
|
|
123786
|
-
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
124476
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
|
|
123787
124477
|
required: ["seq", "did", "migrateTo", "time"],
|
|
123788
124478
|
nullable: ["migrateTo"],
|
|
123789
124479
|
properties: {
|
|
@@ -123805,7 +124495,7 @@ var schemaDict2 = {
|
|
|
123805
124495
|
},
|
|
123806
124496
|
tombstone: {
|
|
123807
124497
|
type: "object",
|
|
123808
|
-
description: "Indicates that an account has been deleted.",
|
|
124498
|
+
description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
|
|
123809
124499
|
required: ["seq", "did", "time"],
|
|
123810
124500
|
properties: {
|
|
123811
124501
|
seq: {
|
|
@@ -123923,57 +124613,6 @@ var schemaDict2 = {
|
|
|
123923
124613
|
}
|
|
123924
124614
|
}
|
|
123925
124615
|
},
|
|
123926
|
-
ComAtprotoTempImportRepo: {
|
|
123927
|
-
lexicon: 1,
|
|
123928
|
-
id: "com.atproto.temp.importRepo",
|
|
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
124616
|
ComAtprotoTempRequestPhoneVerification: {
|
|
123978
124617
|
lexicon: 1,
|
|
123979
124618
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -123996,82 +124635,6 @@ var schemaDict2 = {
|
|
|
123996
124635
|
}
|
|
123997
124636
|
}
|
|
123998
124637
|
},
|
|
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
124638
|
AppBskyActorDefs: {
|
|
124076
124639
|
lexicon: 1,
|
|
124077
124640
|
id: "app.bsky.actor.defs",
|
|
@@ -124248,7 +124811,9 @@ var schemaDict2 = {
|
|
|
124248
124811
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
124249
124812
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
124250
124813
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
124251
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
124814
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
124815
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
124816
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
124252
124817
|
]
|
|
124253
124818
|
}
|
|
124254
124819
|
},
|
|
@@ -124367,6 +124932,61 @@ var schemaDict2 = {
|
|
|
124367
124932
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
124368
124933
|
}
|
|
124369
124934
|
}
|
|
124935
|
+
},
|
|
124936
|
+
mutedWordTarget: {
|
|
124937
|
+
type: "string",
|
|
124938
|
+
knownValues: ["content", "tag"],
|
|
124939
|
+
maxLength: 640,
|
|
124940
|
+
maxGraphemes: 64
|
|
124941
|
+
},
|
|
124942
|
+
mutedWord: {
|
|
124943
|
+
type: "object",
|
|
124944
|
+
description: "A word that the account owner has muted.",
|
|
124945
|
+
required: ["value", "targets"],
|
|
124946
|
+
properties: {
|
|
124947
|
+
value: {
|
|
124948
|
+
type: "string",
|
|
124949
|
+
description: "The muted word itself.",
|
|
124950
|
+
maxLength: 1e4,
|
|
124951
|
+
maxGraphemes: 1e3
|
|
124952
|
+
},
|
|
124953
|
+
targets: {
|
|
124954
|
+
type: "array",
|
|
124955
|
+
description: "The intended targets of the muted word.",
|
|
124956
|
+
items: {
|
|
124957
|
+
type: "ref",
|
|
124958
|
+
ref: "lex:app.bsky.actor.defs#mutedWordTarget"
|
|
124959
|
+
}
|
|
124960
|
+
}
|
|
124961
|
+
}
|
|
124962
|
+
},
|
|
124963
|
+
mutedWordsPref: {
|
|
124964
|
+
type: "object",
|
|
124965
|
+
required: ["items"],
|
|
124966
|
+
properties: {
|
|
124967
|
+
items: {
|
|
124968
|
+
type: "array",
|
|
124969
|
+
items: {
|
|
124970
|
+
type: "ref",
|
|
124971
|
+
ref: "lex:app.bsky.actor.defs#mutedWord"
|
|
124972
|
+
},
|
|
124973
|
+
description: "A list of words the account owner has muted."
|
|
124974
|
+
}
|
|
124975
|
+
}
|
|
124976
|
+
},
|
|
124977
|
+
hiddenPostsPref: {
|
|
124978
|
+
type: "object",
|
|
124979
|
+
required: ["items"],
|
|
124980
|
+
properties: {
|
|
124981
|
+
items: {
|
|
124982
|
+
type: "array",
|
|
124983
|
+
items: {
|
|
124984
|
+
type: "string",
|
|
124985
|
+
format: "at-uri"
|
|
124986
|
+
},
|
|
124987
|
+
description: "A list of URIs of posts the account owner has hidden."
|
|
124988
|
+
}
|
|
124989
|
+
}
|
|
124370
124990
|
}
|
|
124371
124991
|
}
|
|
124372
124992
|
},
|
|
@@ -126233,7 +126853,7 @@ var schemaDict2 = {
|
|
|
126233
126853
|
},
|
|
126234
126854
|
tags: {
|
|
126235
126855
|
type: "array",
|
|
126236
|
-
description: "Additional
|
|
126856
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
126237
126857
|
maxLength: 8,
|
|
126238
126858
|
items: {
|
|
126239
126859
|
type: "string",
|
|
@@ -128018,55 +128638,90 @@ function toKnownErr21(e) {
|
|
|
128018
128638
|
return e;
|
|
128019
128639
|
}
|
|
128020
128640
|
|
|
128021
|
-
// ../api/src/client/types/com/atproto/admin/
|
|
128641
|
+
// ../api/src/client/types/com/atproto/admin/updateAccountPassword.ts
|
|
128022
128642
|
function toKnownErr22(e) {
|
|
128023
128643
|
if (e instanceof XRPCError) {
|
|
128024
128644
|
}
|
|
128025
128645
|
return e;
|
|
128026
128646
|
}
|
|
128027
128647
|
|
|
128028
|
-
// ../api/src/client/types/com/atproto/admin/
|
|
128648
|
+
// ../api/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
|
|
128029
128649
|
function toKnownErr23(e) {
|
|
128030
128650
|
if (e instanceof XRPCError) {
|
|
128031
128651
|
}
|
|
128032
128652
|
return e;
|
|
128033
128653
|
}
|
|
128034
128654
|
|
|
128035
|
-
// ../api/src/client/types/com/atproto/
|
|
128655
|
+
// ../api/src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
128036
128656
|
function toKnownErr24(e) {
|
|
128037
128657
|
if (e instanceof XRPCError) {
|
|
128038
128658
|
}
|
|
128039
128659
|
return e;
|
|
128040
128660
|
}
|
|
128041
128661
|
|
|
128042
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
128662
|
+
// ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
128043
128663
|
function toKnownErr25(e) {
|
|
128044
128664
|
if (e instanceof XRPCError) {
|
|
128045
128665
|
}
|
|
128046
128666
|
return e;
|
|
128047
128667
|
}
|
|
128048
128668
|
|
|
128049
|
-
// ../api/src/client/types/com/atproto/
|
|
128669
|
+
// ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
128050
128670
|
function toKnownErr26(e) {
|
|
128051
128671
|
if (e instanceof XRPCError) {
|
|
128052
128672
|
}
|
|
128053
128673
|
return e;
|
|
128054
128674
|
}
|
|
128055
128675
|
|
|
128056
|
-
// ../api/src/client/types/com/atproto/
|
|
128676
|
+
// ../api/src/client/types/com/atproto/identity/resolveHandle.ts
|
|
128057
128677
|
function toKnownErr27(e) {
|
|
128058
128678
|
if (e instanceof XRPCError) {
|
|
128059
128679
|
}
|
|
128060
128680
|
return e;
|
|
128061
128681
|
}
|
|
128062
128682
|
|
|
128683
|
+
// ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
128684
|
+
function toKnownErr28(e) {
|
|
128685
|
+
if (e instanceof XRPCError) {
|
|
128686
|
+
}
|
|
128687
|
+
return e;
|
|
128688
|
+
}
|
|
128689
|
+
|
|
128690
|
+
// ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
|
|
128691
|
+
function toKnownErr29(e) {
|
|
128692
|
+
if (e instanceof XRPCError) {
|
|
128693
|
+
}
|
|
128694
|
+
return e;
|
|
128695
|
+
}
|
|
128696
|
+
|
|
128697
|
+
// ../api/src/client/types/com/atproto/identity/updateHandle.ts
|
|
128698
|
+
function toKnownErr30(e) {
|
|
128699
|
+
if (e instanceof XRPCError) {
|
|
128700
|
+
}
|
|
128701
|
+
return e;
|
|
128702
|
+
}
|
|
128703
|
+
|
|
128704
|
+
// ../api/src/client/types/com/atproto/label/queryLabels.ts
|
|
128705
|
+
function toKnownErr31(e) {
|
|
128706
|
+
if (e instanceof XRPCError) {
|
|
128707
|
+
}
|
|
128708
|
+
return e;
|
|
128709
|
+
}
|
|
128710
|
+
|
|
128711
|
+
// ../api/src/client/types/com/atproto/moderation/createReport.ts
|
|
128712
|
+
function toKnownErr32(e) {
|
|
128713
|
+
if (e instanceof XRPCError) {
|
|
128714
|
+
}
|
|
128715
|
+
return e;
|
|
128716
|
+
}
|
|
128717
|
+
|
|
128063
128718
|
// ../api/src/client/types/com/atproto/repo/applyWrites.ts
|
|
128064
128719
|
var InvalidSwapError = class extends XRPCError {
|
|
128065
128720
|
constructor(src3) {
|
|
128066
128721
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128067
128722
|
}
|
|
128068
128723
|
};
|
|
128069
|
-
function
|
|
128724
|
+
function toKnownErr33(e) {
|
|
128070
128725
|
if (e instanceof XRPCError) {
|
|
128071
128726
|
if (e.error === "InvalidSwap")
|
|
128072
128727
|
return new InvalidSwapError(e);
|
|
@@ -128080,7 +128735,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
128080
128735
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128081
128736
|
}
|
|
128082
128737
|
};
|
|
128083
|
-
function
|
|
128738
|
+
function toKnownErr34(e) {
|
|
128084
128739
|
if (e instanceof XRPCError) {
|
|
128085
128740
|
if (e.error === "InvalidSwap")
|
|
128086
128741
|
return new InvalidSwapError2(e);
|
|
@@ -128094,7 +128749,7 @@ var InvalidSwapError3 = class extends XRPCError {
|
|
|
128094
128749
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128095
128750
|
}
|
|
128096
128751
|
};
|
|
128097
|
-
function
|
|
128752
|
+
function toKnownErr35(e) {
|
|
128098
128753
|
if (e instanceof XRPCError) {
|
|
128099
128754
|
if (e.error === "InvalidSwap")
|
|
128100
128755
|
return new InvalidSwapError3(e);
|
|
@@ -128103,33 +128758,47 @@ function toKnownErr30(e) {
|
|
|
128103
128758
|
}
|
|
128104
128759
|
|
|
128105
128760
|
// ../api/src/client/types/com/atproto/repo/describeRepo.ts
|
|
128106
|
-
function
|
|
128761
|
+
function toKnownErr36(e) {
|
|
128107
128762
|
if (e instanceof XRPCError) {
|
|
128108
128763
|
}
|
|
128109
128764
|
return e;
|
|
128110
128765
|
}
|
|
128111
128766
|
|
|
128112
128767
|
// ../api/src/client/types/com/atproto/repo/getRecord.ts
|
|
128113
|
-
function
|
|
128768
|
+
function toKnownErr37(e) {
|
|
128114
128769
|
if (e instanceof XRPCError) {
|
|
128115
128770
|
}
|
|
128116
128771
|
return e;
|
|
128117
128772
|
}
|
|
128118
128773
|
|
|
128119
|
-
// ../api/src/client/types/com/atproto/repo/
|
|
128120
|
-
function
|
|
128774
|
+
// ../api/src/client/types/com/atproto/repo/importRepo.ts
|
|
128775
|
+
function toKnownErr38(e) {
|
|
128121
128776
|
if (e instanceof XRPCError) {
|
|
128122
128777
|
}
|
|
128123
128778
|
return e;
|
|
128124
128779
|
}
|
|
128125
128780
|
|
|
128126
|
-
// ../api/src/client/types/com/atproto/repo/
|
|
128127
|
-
|
|
128128
|
-
|
|
128129
|
-
|
|
128130
|
-
|
|
128781
|
+
// ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
|
|
128782
|
+
function toKnownErr39(e) {
|
|
128783
|
+
if (e instanceof XRPCError) {
|
|
128784
|
+
}
|
|
128785
|
+
return e;
|
|
128786
|
+
}
|
|
128787
|
+
|
|
128788
|
+
// ../api/src/client/types/com/atproto/repo/listRecords.ts
|
|
128789
|
+
function toKnownErr40(e) {
|
|
128790
|
+
if (e instanceof XRPCError) {
|
|
128791
|
+
}
|
|
128792
|
+
return e;
|
|
128793
|
+
}
|
|
128794
|
+
|
|
128795
|
+
// ../api/src/client/types/com/atproto/repo/putRecord.ts
|
|
128796
|
+
var InvalidSwapError4 = class extends XRPCError {
|
|
128797
|
+
constructor(src3) {
|
|
128798
|
+
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128799
|
+
}
|
|
128131
128800
|
};
|
|
128132
|
-
function
|
|
128801
|
+
function toKnownErr41(e) {
|
|
128133
128802
|
if (e instanceof XRPCError) {
|
|
128134
128803
|
if (e.error === "InvalidSwap")
|
|
128135
128804
|
return new InvalidSwapError4(e);
|
|
@@ -128138,7 +128807,21 @@ function toKnownErr34(e) {
|
|
|
128138
128807
|
}
|
|
128139
128808
|
|
|
128140
128809
|
// ../api/src/client/types/com/atproto/repo/uploadBlob.ts
|
|
128141
|
-
function
|
|
128810
|
+
function toKnownErr42(e) {
|
|
128811
|
+
if (e instanceof XRPCError) {
|
|
128812
|
+
}
|
|
128813
|
+
return e;
|
|
128814
|
+
}
|
|
128815
|
+
|
|
128816
|
+
// ../api/src/client/types/com/atproto/server/activateAccount.ts
|
|
128817
|
+
function toKnownErr43(e) {
|
|
128818
|
+
if (e instanceof XRPCError) {
|
|
128819
|
+
}
|
|
128820
|
+
return e;
|
|
128821
|
+
}
|
|
128822
|
+
|
|
128823
|
+
// ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
|
|
128824
|
+
function toKnownErr44(e) {
|
|
128142
128825
|
if (e instanceof XRPCError) {
|
|
128143
128826
|
}
|
|
128144
128827
|
return e;
|
|
@@ -128165,7 +128848,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
128165
128848
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128166
128849
|
}
|
|
128167
128850
|
};
|
|
128168
|
-
function
|
|
128851
|
+
function toKnownErr45(e) {
|
|
128169
128852
|
if (e instanceof XRPCError) {
|
|
128170
128853
|
if (e.error === "AccountNotFound")
|
|
128171
128854
|
return new AccountNotFoundError(e);
|
|
@@ -128215,7 +128898,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
128215
128898
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128216
128899
|
}
|
|
128217
128900
|
};
|
|
128218
|
-
function
|
|
128901
|
+
function toKnownErr46(e) {
|
|
128219
128902
|
if (e instanceof XRPCError) {
|
|
128220
128903
|
if (e.error === "InvalidHandle")
|
|
128221
128904
|
return new InvalidHandleError2(e);
|
|
@@ -128241,7 +128924,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
128241
128924
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128242
128925
|
}
|
|
128243
128926
|
};
|
|
128244
|
-
function
|
|
128927
|
+
function toKnownErr47(e) {
|
|
128245
128928
|
if (e instanceof XRPCError) {
|
|
128246
128929
|
if (e.error === "AccountTakedown")
|
|
128247
128930
|
return new AccountTakedownError(e);
|
|
@@ -128250,14 +128933,14 @@ function toKnownErr38(e) {
|
|
|
128250
128933
|
}
|
|
128251
128934
|
|
|
128252
128935
|
// ../api/src/client/types/com/atproto/server/createInviteCode.ts
|
|
128253
|
-
function
|
|
128936
|
+
function toKnownErr48(e) {
|
|
128254
128937
|
if (e instanceof XRPCError) {
|
|
128255
128938
|
}
|
|
128256
128939
|
return e;
|
|
128257
128940
|
}
|
|
128258
128941
|
|
|
128259
128942
|
// ../api/src/client/types/com/atproto/server/createInviteCodes.ts
|
|
128260
|
-
function
|
|
128943
|
+
function toKnownErr49(e) {
|
|
128261
128944
|
if (e instanceof XRPCError) {
|
|
128262
128945
|
}
|
|
128263
128946
|
return e;
|
|
@@ -128269,7 +128952,7 @@ var AccountTakedownError2 = class extends XRPCError {
|
|
|
128269
128952
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128270
128953
|
}
|
|
128271
128954
|
};
|
|
128272
|
-
function
|
|
128955
|
+
function toKnownErr50(e) {
|
|
128273
128956
|
if (e instanceof XRPCError) {
|
|
128274
128957
|
if (e.error === "AccountTakedown")
|
|
128275
128958
|
return new AccountTakedownError2(e);
|
|
@@ -128277,6 +128960,13 @@ function toKnownErr41(e) {
|
|
|
128277
128960
|
return e;
|
|
128278
128961
|
}
|
|
128279
128962
|
|
|
128963
|
+
// ../api/src/client/types/com/atproto/server/deactivateAccount.ts
|
|
128964
|
+
function toKnownErr51(e) {
|
|
128965
|
+
if (e instanceof XRPCError) {
|
|
128966
|
+
}
|
|
128967
|
+
return e;
|
|
128968
|
+
}
|
|
128969
|
+
|
|
128280
128970
|
// ../api/src/client/types/com/atproto/server/deleteAccount.ts
|
|
128281
128971
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
128282
128972
|
constructor(src3) {
|
|
@@ -128288,7 +128978,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
128288
128978
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128289
128979
|
}
|
|
128290
128980
|
};
|
|
128291
|
-
function
|
|
128981
|
+
function toKnownErr52(e) {
|
|
128292
128982
|
if (e instanceof XRPCError) {
|
|
128293
128983
|
if (e.error === "ExpiredToken")
|
|
128294
128984
|
return new ExpiredTokenError2(e);
|
|
@@ -128299,14 +128989,14 @@ function toKnownErr42(e) {
|
|
|
128299
128989
|
}
|
|
128300
128990
|
|
|
128301
128991
|
// ../api/src/client/types/com/atproto/server/deleteSession.ts
|
|
128302
|
-
function
|
|
128992
|
+
function toKnownErr53(e) {
|
|
128303
128993
|
if (e instanceof XRPCError) {
|
|
128304
128994
|
}
|
|
128305
128995
|
return e;
|
|
128306
128996
|
}
|
|
128307
128997
|
|
|
128308
128998
|
// ../api/src/client/types/com/atproto/server/describeServer.ts
|
|
128309
|
-
function
|
|
128999
|
+
function toKnownErr54(e) {
|
|
128310
129000
|
if (e instanceof XRPCError) {
|
|
128311
129001
|
}
|
|
128312
129002
|
return e;
|
|
@@ -128318,7 +129008,7 @@ var DuplicateCreateError = class extends XRPCError {
|
|
|
128318
129008
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128319
129009
|
}
|
|
128320
129010
|
};
|
|
128321
|
-
function
|
|
129011
|
+
function toKnownErr55(e) {
|
|
128322
129012
|
if (e instanceof XRPCError) {
|
|
128323
129013
|
if (e.error === "DuplicateCreate")
|
|
128324
129014
|
return new DuplicateCreateError(e);
|
|
@@ -128326,8 +129016,15 @@ function toKnownErr45(e) {
|
|
|
128326
129016
|
return e;
|
|
128327
129017
|
}
|
|
128328
129018
|
|
|
129019
|
+
// ../api/src/client/types/com/atproto/server/getServiceAuth.ts
|
|
129020
|
+
function toKnownErr56(e) {
|
|
129021
|
+
if (e instanceof XRPCError) {
|
|
129022
|
+
}
|
|
129023
|
+
return e;
|
|
129024
|
+
}
|
|
129025
|
+
|
|
128329
129026
|
// ../api/src/client/types/com/atproto/server/getSession.ts
|
|
128330
|
-
function
|
|
129027
|
+
function toKnownErr57(e) {
|
|
128331
129028
|
if (e instanceof XRPCError) {
|
|
128332
129029
|
}
|
|
128333
129030
|
return e;
|
|
@@ -128339,7 +129036,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
128339
129036
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128340
129037
|
}
|
|
128341
129038
|
};
|
|
128342
|
-
function
|
|
129039
|
+
function toKnownErr58(e) {
|
|
128343
129040
|
if (e instanceof XRPCError) {
|
|
128344
129041
|
if (e.error === "AccountTakedown")
|
|
128345
129042
|
return new AccountTakedownError3(e);
|
|
@@ -128353,7 +129050,7 @@ var AccountTakedownError4 = class extends XRPCError {
|
|
|
128353
129050
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128354
129051
|
}
|
|
128355
129052
|
};
|
|
128356
|
-
function
|
|
129053
|
+
function toKnownErr59(e) {
|
|
128357
129054
|
if (e instanceof XRPCError) {
|
|
128358
129055
|
if (e.error === "AccountTakedown")
|
|
128359
129056
|
return new AccountTakedownError4(e);
|
|
@@ -128362,35 +129059,35 @@ function toKnownErr48(e) {
|
|
|
128362
129059
|
}
|
|
128363
129060
|
|
|
128364
129061
|
// ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
128365
|
-
function
|
|
129062
|
+
function toKnownErr60(e) {
|
|
128366
129063
|
if (e instanceof XRPCError) {
|
|
128367
129064
|
}
|
|
128368
129065
|
return e;
|
|
128369
129066
|
}
|
|
128370
129067
|
|
|
128371
129068
|
// ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
128372
|
-
function
|
|
129069
|
+
function toKnownErr61(e) {
|
|
128373
129070
|
if (e instanceof XRPCError) {
|
|
128374
129071
|
}
|
|
128375
129072
|
return e;
|
|
128376
129073
|
}
|
|
128377
129074
|
|
|
128378
129075
|
// ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
128379
|
-
function
|
|
129076
|
+
function toKnownErr62(e) {
|
|
128380
129077
|
if (e instanceof XRPCError) {
|
|
128381
129078
|
}
|
|
128382
129079
|
return e;
|
|
128383
129080
|
}
|
|
128384
129081
|
|
|
128385
129082
|
// ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
128386
|
-
function
|
|
129083
|
+
function toKnownErr63(e) {
|
|
128387
129084
|
if (e instanceof XRPCError) {
|
|
128388
129085
|
}
|
|
128389
129086
|
return e;
|
|
128390
129087
|
}
|
|
128391
129088
|
|
|
128392
129089
|
// ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
128393
|
-
function
|
|
129090
|
+
function toKnownErr64(e) {
|
|
128394
129091
|
if (e instanceof XRPCError) {
|
|
128395
129092
|
}
|
|
128396
129093
|
return e;
|
|
@@ -128407,7 +129104,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
128407
129104
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128408
129105
|
}
|
|
128409
129106
|
};
|
|
128410
|
-
function
|
|
129107
|
+
function toKnownErr65(e) {
|
|
128411
129108
|
if (e instanceof XRPCError) {
|
|
128412
129109
|
if (e.error === "ExpiredToken")
|
|
128413
129110
|
return new ExpiredTokenError3(e);
|
|
@@ -128418,7 +129115,7 @@ function toKnownErr54(e) {
|
|
|
128418
129115
|
}
|
|
128419
129116
|
|
|
128420
129117
|
// ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
128421
|
-
function
|
|
129118
|
+
function toKnownErr66(e) {
|
|
128422
129119
|
if (e instanceof XRPCError) {
|
|
128423
129120
|
}
|
|
128424
129121
|
return e;
|
|
@@ -128440,7 +129137,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
128440
129137
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128441
129138
|
}
|
|
128442
129139
|
};
|
|
128443
|
-
function
|
|
129140
|
+
function toKnownErr67(e) {
|
|
128444
129141
|
if (e instanceof XRPCError) {
|
|
128445
129142
|
if (e.error === "ExpiredToken")
|
|
128446
129143
|
return new ExpiredTokenError4(e);
|
|
@@ -128453,21 +129150,21 @@ function toKnownErr56(e) {
|
|
|
128453
129150
|
}
|
|
128454
129151
|
|
|
128455
129152
|
// ../api/src/client/types/com/atproto/sync/getBlob.ts
|
|
128456
|
-
function
|
|
129153
|
+
function toKnownErr68(e) {
|
|
128457
129154
|
if (e instanceof XRPCError) {
|
|
128458
129155
|
}
|
|
128459
129156
|
return e;
|
|
128460
129157
|
}
|
|
128461
129158
|
|
|
128462
129159
|
// ../api/src/client/types/com/atproto/sync/getBlocks.ts
|
|
128463
|
-
function
|
|
129160
|
+
function toKnownErr69(e) {
|
|
128464
129161
|
if (e instanceof XRPCError) {
|
|
128465
129162
|
}
|
|
128466
129163
|
return e;
|
|
128467
129164
|
}
|
|
128468
129165
|
|
|
128469
129166
|
// ../api/src/client/types/com/atproto/sync/getCheckout.ts
|
|
128470
|
-
function
|
|
129167
|
+
function toKnownErr70(e) {
|
|
128471
129168
|
if (e instanceof XRPCError) {
|
|
128472
129169
|
}
|
|
128473
129170
|
return e;
|
|
@@ -128479,7 +129176,7 @@ var HeadNotFoundError = class extends XRPCError {
|
|
|
128479
129176
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128480
129177
|
}
|
|
128481
129178
|
};
|
|
128482
|
-
function
|
|
129179
|
+
function toKnownErr71(e) {
|
|
128483
129180
|
if (e instanceof XRPCError) {
|
|
128484
129181
|
if (e.error === "HeadNotFound")
|
|
128485
129182
|
return new HeadNotFoundError(e);
|
|
@@ -128493,7 +129190,7 @@ var RepoNotFoundError2 = class extends XRPCError {
|
|
|
128493
129190
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128494
129191
|
}
|
|
128495
129192
|
};
|
|
128496
|
-
function
|
|
129193
|
+
function toKnownErr72(e) {
|
|
128497
129194
|
if (e instanceof XRPCError) {
|
|
128498
129195
|
if (e.error === "RepoNotFound")
|
|
128499
129196
|
return new RepoNotFoundError2(e);
|
|
@@ -128502,196 +129199,126 @@ function toKnownErr61(e) {
|
|
|
128502
129199
|
}
|
|
128503
129200
|
|
|
128504
129201
|
// ../api/src/client/types/com/atproto/sync/getRecord.ts
|
|
128505
|
-
function
|
|
129202
|
+
function toKnownErr73(e) {
|
|
128506
129203
|
if (e instanceof XRPCError) {
|
|
128507
129204
|
}
|
|
128508
129205
|
return e;
|
|
128509
129206
|
}
|
|
128510
129207
|
|
|
128511
129208
|
// ../api/src/client/types/com/atproto/sync/getRepo.ts
|
|
128512
|
-
function
|
|
129209
|
+
function toKnownErr74(e) {
|
|
128513
129210
|
if (e instanceof XRPCError) {
|
|
128514
129211
|
}
|
|
128515
129212
|
return e;
|
|
128516
129213
|
}
|
|
128517
129214
|
|
|
128518
129215
|
// ../api/src/client/types/com/atproto/sync/listBlobs.ts
|
|
128519
|
-
function
|
|
129216
|
+
function toKnownErr75(e) {
|
|
128520
129217
|
if (e instanceof XRPCError) {
|
|
128521
129218
|
}
|
|
128522
129219
|
return e;
|
|
128523
129220
|
}
|
|
128524
129221
|
|
|
128525
129222
|
// ../api/src/client/types/com/atproto/sync/listRepos.ts
|
|
128526
|
-
function
|
|
129223
|
+
function toKnownErr76(e) {
|
|
128527
129224
|
if (e instanceof XRPCError) {
|
|
128528
129225
|
}
|
|
128529
129226
|
return e;
|
|
128530
129227
|
}
|
|
128531
129228
|
|
|
128532
129229
|
// ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
128533
|
-
function
|
|
129230
|
+
function toKnownErr77(e) {
|
|
128534
129231
|
if (e instanceof XRPCError) {
|
|
128535
129232
|
}
|
|
128536
129233
|
return e;
|
|
128537
129234
|
}
|
|
128538
129235
|
|
|
128539
129236
|
// ../api/src/client/types/com/atproto/sync/requestCrawl.ts
|
|
128540
|
-
function
|
|
129237
|
+
function toKnownErr78(e) {
|
|
128541
129238
|
if (e instanceof XRPCError) {
|
|
128542
129239
|
}
|
|
128543
129240
|
return e;
|
|
128544
129241
|
}
|
|
128545
129242
|
|
|
128546
129243
|
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
128547
|
-
function
|
|
129244
|
+
function toKnownErr79(e) {
|
|
128548
129245
|
if (e instanceof XRPCError) {
|
|
128549
129246
|
}
|
|
128550
129247
|
return e;
|
|
128551
129248
|
}
|
|
128552
129249
|
|
|
128553
129250
|
// ../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) {
|
|
129251
|
+
function toKnownErr80(e) {
|
|
128569
129252
|
if (e instanceof XRPCError) {
|
|
128570
129253
|
}
|
|
128571
129254
|
return e;
|
|
128572
129255
|
}
|
|
128573
129256
|
|
|
128574
129257
|
// ../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) {
|
|
129258
|
+
function toKnownErr81(e) {
|
|
128618
129259
|
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
129260
|
}
|
|
128634
129261
|
return e;
|
|
128635
129262
|
}
|
|
128636
129263
|
|
|
128637
129264
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
128638
|
-
function
|
|
129265
|
+
function toKnownErr82(e) {
|
|
128639
129266
|
if (e instanceof XRPCError) {
|
|
128640
129267
|
}
|
|
128641
129268
|
return e;
|
|
128642
129269
|
}
|
|
128643
129270
|
|
|
128644
129271
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
128645
|
-
function
|
|
129272
|
+
function toKnownErr83(e) {
|
|
128646
129273
|
if (e instanceof XRPCError) {
|
|
128647
129274
|
}
|
|
128648
129275
|
return e;
|
|
128649
129276
|
}
|
|
128650
129277
|
|
|
128651
129278
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
128652
|
-
function
|
|
129279
|
+
function toKnownErr84(e) {
|
|
128653
129280
|
if (e instanceof XRPCError) {
|
|
128654
129281
|
}
|
|
128655
129282
|
return e;
|
|
128656
129283
|
}
|
|
128657
129284
|
|
|
128658
129285
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
128659
|
-
function
|
|
129286
|
+
function toKnownErr85(e) {
|
|
128660
129287
|
if (e instanceof XRPCError) {
|
|
128661
129288
|
}
|
|
128662
129289
|
return e;
|
|
128663
129290
|
}
|
|
128664
129291
|
|
|
128665
129292
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
128666
|
-
function
|
|
129293
|
+
function toKnownErr86(e) {
|
|
128667
129294
|
if (e instanceof XRPCError) {
|
|
128668
129295
|
}
|
|
128669
129296
|
return e;
|
|
128670
129297
|
}
|
|
128671
129298
|
|
|
128672
129299
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
128673
|
-
function
|
|
129300
|
+
function toKnownErr87(e) {
|
|
128674
129301
|
if (e instanceof XRPCError) {
|
|
128675
129302
|
}
|
|
128676
129303
|
return e;
|
|
128677
129304
|
}
|
|
128678
129305
|
|
|
128679
129306
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
128680
|
-
function
|
|
129307
|
+
function toKnownErr88(e) {
|
|
128681
129308
|
if (e instanceof XRPCError) {
|
|
128682
129309
|
}
|
|
128683
129310
|
return e;
|
|
128684
129311
|
}
|
|
128685
129312
|
|
|
128686
129313
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
128687
|
-
function
|
|
129314
|
+
function toKnownErr89(e) {
|
|
128688
129315
|
if (e instanceof XRPCError) {
|
|
128689
129316
|
}
|
|
128690
129317
|
return e;
|
|
128691
129318
|
}
|
|
128692
129319
|
|
|
128693
129320
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
128694
|
-
function
|
|
129321
|
+
function toKnownErr90(e) {
|
|
128695
129322
|
if (e instanceof XRPCError) {
|
|
128696
129323
|
}
|
|
128697
129324
|
return e;
|
|
@@ -128708,7 +129335,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
128708
129335
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128709
129336
|
}
|
|
128710
129337
|
};
|
|
128711
|
-
function
|
|
129338
|
+
function toKnownErr91(e) {
|
|
128712
129339
|
if (e instanceof XRPCError) {
|
|
128713
129340
|
if (e.error === "BlockedActor")
|
|
128714
129341
|
return new BlockedActorError(e);
|
|
@@ -128729,7 +129356,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
128729
129356
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128730
129357
|
}
|
|
128731
129358
|
};
|
|
128732
|
-
function
|
|
129359
|
+
function toKnownErr92(e) {
|
|
128733
129360
|
if (e instanceof XRPCError) {
|
|
128734
129361
|
if (e.error === "BlockedActor")
|
|
128735
129362
|
return new BlockedActorError2(e);
|
|
@@ -128745,7 +129372,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
128745
129372
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128746
129373
|
}
|
|
128747
129374
|
};
|
|
128748
|
-
function
|
|
129375
|
+
function toKnownErr93(e) {
|
|
128749
129376
|
if (e instanceof XRPCError) {
|
|
128750
129377
|
if (e.error === "UnknownFeed")
|
|
128751
129378
|
return new UnknownFeedError(e);
|
|
@@ -128754,14 +129381,14 @@ function toKnownErr85(e) {
|
|
|
128754
129381
|
}
|
|
128755
129382
|
|
|
128756
129383
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
128757
|
-
function
|
|
129384
|
+
function toKnownErr94(e) {
|
|
128758
129385
|
if (e instanceof XRPCError) {
|
|
128759
129386
|
}
|
|
128760
129387
|
return e;
|
|
128761
129388
|
}
|
|
128762
129389
|
|
|
128763
129390
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
128764
|
-
function
|
|
129391
|
+
function toKnownErr95(e) {
|
|
128765
129392
|
if (e instanceof XRPCError) {
|
|
128766
129393
|
}
|
|
128767
129394
|
return e;
|
|
@@ -128773,7 +129400,7 @@ var UnknownFeedError2 = class extends XRPCError {
|
|
|
128773
129400
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128774
129401
|
}
|
|
128775
129402
|
};
|
|
128776
|
-
function
|
|
129403
|
+
function toKnownErr96(e) {
|
|
128777
129404
|
if (e instanceof XRPCError) {
|
|
128778
129405
|
if (e.error === "UnknownFeed")
|
|
128779
129406
|
return new UnknownFeedError2(e);
|
|
@@ -128782,7 +129409,7 @@ function toKnownErr88(e) {
|
|
|
128782
129409
|
}
|
|
128783
129410
|
|
|
128784
129411
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
128785
|
-
function
|
|
129412
|
+
function toKnownErr97(e) {
|
|
128786
129413
|
if (e instanceof XRPCError) {
|
|
128787
129414
|
}
|
|
128788
129415
|
return e;
|
|
@@ -128794,7 +129421,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
128794
129421
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128795
129422
|
}
|
|
128796
129423
|
};
|
|
128797
|
-
function
|
|
129424
|
+
function toKnownErr98(e) {
|
|
128798
129425
|
if (e instanceof XRPCError) {
|
|
128799
129426
|
if (e.error === "UnknownList")
|
|
128800
129427
|
return new UnknownListError(e);
|
|
@@ -128808,7 +129435,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
128808
129435
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128809
129436
|
}
|
|
128810
129437
|
};
|
|
128811
|
-
function
|
|
129438
|
+
function toKnownErr99(e) {
|
|
128812
129439
|
if (e instanceof XRPCError) {
|
|
128813
129440
|
if (e.error === "NotFound")
|
|
128814
129441
|
return new NotFoundError(e);
|
|
@@ -128817,28 +129444,28 @@ function toKnownErr91(e) {
|
|
|
128817
129444
|
}
|
|
128818
129445
|
|
|
128819
129446
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
128820
|
-
function
|
|
129447
|
+
function toKnownErr100(e) {
|
|
128821
129448
|
if (e instanceof XRPCError) {
|
|
128822
129449
|
}
|
|
128823
129450
|
return e;
|
|
128824
129451
|
}
|
|
128825
129452
|
|
|
128826
129453
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
128827
|
-
function
|
|
129454
|
+
function toKnownErr101(e) {
|
|
128828
129455
|
if (e instanceof XRPCError) {
|
|
128829
129456
|
}
|
|
128830
129457
|
return e;
|
|
128831
129458
|
}
|
|
128832
129459
|
|
|
128833
129460
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
128834
|
-
function
|
|
129461
|
+
function toKnownErr102(e) {
|
|
128835
129462
|
if (e instanceof XRPCError) {
|
|
128836
129463
|
}
|
|
128837
129464
|
return e;
|
|
128838
129465
|
}
|
|
128839
129466
|
|
|
128840
129467
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
128841
|
-
function
|
|
129468
|
+
function toKnownErr103(e) {
|
|
128842
129469
|
if (e instanceof XRPCError) {
|
|
128843
129470
|
}
|
|
128844
129471
|
return e;
|
|
@@ -128850,7 +129477,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
128850
129477
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128851
129478
|
}
|
|
128852
129479
|
};
|
|
128853
|
-
function
|
|
129480
|
+
function toKnownErr104(e) {
|
|
128854
129481
|
if (e instanceof XRPCError) {
|
|
128855
129482
|
if (e.error === "BadQueryString")
|
|
128856
129483
|
return new BadQueryStringError(e);
|
|
@@ -128859,56 +129486,56 @@ function toKnownErr96(e) {
|
|
|
128859
129486
|
}
|
|
128860
129487
|
|
|
128861
129488
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
128862
|
-
function
|
|
129489
|
+
function toKnownErr105(e) {
|
|
128863
129490
|
if (e instanceof XRPCError) {
|
|
128864
129491
|
}
|
|
128865
129492
|
return e;
|
|
128866
129493
|
}
|
|
128867
129494
|
|
|
128868
129495
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
128869
|
-
function
|
|
129496
|
+
function toKnownErr106(e) {
|
|
128870
129497
|
if (e instanceof XRPCError) {
|
|
128871
129498
|
}
|
|
128872
129499
|
return e;
|
|
128873
129500
|
}
|
|
128874
129501
|
|
|
128875
129502
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
128876
|
-
function
|
|
129503
|
+
function toKnownErr107(e) {
|
|
128877
129504
|
if (e instanceof XRPCError) {
|
|
128878
129505
|
}
|
|
128879
129506
|
return e;
|
|
128880
129507
|
}
|
|
128881
129508
|
|
|
128882
129509
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
128883
|
-
function
|
|
129510
|
+
function toKnownErr108(e) {
|
|
128884
129511
|
if (e instanceof XRPCError) {
|
|
128885
129512
|
}
|
|
128886
129513
|
return e;
|
|
128887
129514
|
}
|
|
128888
129515
|
|
|
128889
129516
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
128890
|
-
function
|
|
129517
|
+
function toKnownErr109(e) {
|
|
128891
129518
|
if (e instanceof XRPCError) {
|
|
128892
129519
|
}
|
|
128893
129520
|
return e;
|
|
128894
129521
|
}
|
|
128895
129522
|
|
|
128896
129523
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
128897
|
-
function
|
|
129524
|
+
function toKnownErr110(e) {
|
|
128898
129525
|
if (e instanceof XRPCError) {
|
|
128899
129526
|
}
|
|
128900
129527
|
return e;
|
|
128901
129528
|
}
|
|
128902
129529
|
|
|
128903
129530
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
128904
|
-
function
|
|
129531
|
+
function toKnownErr111(e) {
|
|
128905
129532
|
if (e instanceof XRPCError) {
|
|
128906
129533
|
}
|
|
128907
129534
|
return e;
|
|
128908
129535
|
}
|
|
128909
129536
|
|
|
128910
129537
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
128911
|
-
function
|
|
129538
|
+
function toKnownErr112(e) {
|
|
128912
129539
|
if (e instanceof XRPCError) {
|
|
128913
129540
|
}
|
|
128914
129541
|
return e;
|
|
@@ -128920,7 +129547,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
128920
129547
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128921
129548
|
}
|
|
128922
129549
|
};
|
|
128923
|
-
function
|
|
129550
|
+
function toKnownErr113(e) {
|
|
128924
129551
|
if (e instanceof XRPCError) {
|
|
128925
129552
|
if (e.error === "ActorNotFound")
|
|
128926
129553
|
return new ActorNotFoundError(e);
|
|
@@ -128929,77 +129556,77 @@ function toKnownErr105(e) {
|
|
|
128929
129556
|
}
|
|
128930
129557
|
|
|
128931
129558
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
128932
|
-
function
|
|
129559
|
+
function toKnownErr114(e) {
|
|
128933
129560
|
if (e instanceof XRPCError) {
|
|
128934
129561
|
}
|
|
128935
129562
|
return e;
|
|
128936
129563
|
}
|
|
128937
129564
|
|
|
128938
129565
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
128939
|
-
function
|
|
129566
|
+
function toKnownErr115(e) {
|
|
128940
129567
|
if (e instanceof XRPCError) {
|
|
128941
129568
|
}
|
|
128942
129569
|
return e;
|
|
128943
129570
|
}
|
|
128944
129571
|
|
|
128945
129572
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
128946
|
-
function
|
|
129573
|
+
function toKnownErr116(e) {
|
|
128947
129574
|
if (e instanceof XRPCError) {
|
|
128948
129575
|
}
|
|
128949
129576
|
return e;
|
|
128950
129577
|
}
|
|
128951
129578
|
|
|
128952
129579
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
128953
|
-
function
|
|
129580
|
+
function toKnownErr117(e) {
|
|
128954
129581
|
if (e instanceof XRPCError) {
|
|
128955
129582
|
}
|
|
128956
129583
|
return e;
|
|
128957
129584
|
}
|
|
128958
129585
|
|
|
128959
129586
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
128960
|
-
function
|
|
129587
|
+
function toKnownErr118(e) {
|
|
128961
129588
|
if (e instanceof XRPCError) {
|
|
128962
129589
|
}
|
|
128963
129590
|
return e;
|
|
128964
129591
|
}
|
|
128965
129592
|
|
|
128966
129593
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
128967
|
-
function
|
|
129594
|
+
function toKnownErr119(e) {
|
|
128968
129595
|
if (e instanceof XRPCError) {
|
|
128969
129596
|
}
|
|
128970
129597
|
return e;
|
|
128971
129598
|
}
|
|
128972
129599
|
|
|
128973
129600
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
128974
|
-
function
|
|
129601
|
+
function toKnownErr120(e) {
|
|
128975
129602
|
if (e instanceof XRPCError) {
|
|
128976
129603
|
}
|
|
128977
129604
|
return e;
|
|
128978
129605
|
}
|
|
128979
129606
|
|
|
128980
129607
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
128981
|
-
function
|
|
129608
|
+
function toKnownErr121(e) {
|
|
128982
129609
|
if (e instanceof XRPCError) {
|
|
128983
129610
|
}
|
|
128984
129611
|
return e;
|
|
128985
129612
|
}
|
|
128986
129613
|
|
|
128987
129614
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
128988
|
-
function
|
|
129615
|
+
function toKnownErr122(e) {
|
|
128989
129616
|
if (e instanceof XRPCError) {
|
|
128990
129617
|
}
|
|
128991
129618
|
return e;
|
|
128992
129619
|
}
|
|
128993
129620
|
|
|
128994
129621
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
128995
|
-
function
|
|
129622
|
+
function toKnownErr123(e) {
|
|
128996
129623
|
if (e instanceof XRPCError) {
|
|
128997
129624
|
}
|
|
128998
129625
|
return e;
|
|
128999
129626
|
}
|
|
129000
129627
|
|
|
129001
129628
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
129002
|
-
function
|
|
129629
|
+
function toKnownErr124(e) {
|
|
129003
129630
|
if (e instanceof XRPCError) {
|
|
129004
129631
|
}
|
|
129005
129632
|
return e;
|
|
@@ -129011,7 +129638,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
129011
129638
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129012
129639
|
}
|
|
129013
129640
|
};
|
|
129014
|
-
function
|
|
129641
|
+
function toKnownErr125(e) {
|
|
129015
129642
|
if (e instanceof XRPCError) {
|
|
129016
129643
|
if (e.error === "BadQueryString")
|
|
129017
129644
|
return new BadQueryStringError2(e);
|
|
@@ -129025,7 +129652,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
129025
129652
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
129026
129653
|
}
|
|
129027
129654
|
};
|
|
129028
|
-
function
|
|
129655
|
+
function toKnownErr126(e) {
|
|
129029
129656
|
if (e instanceof XRPCError) {
|
|
129030
129657
|
if (e.error === "BadQueryString")
|
|
129031
129658
|
return new BadQueryStringError3(e);
|
|
@@ -129182,14 +129809,19 @@ var ComAtprotoAdminNS2 = class {
|
|
|
129182
129809
|
throw toKnownErr21(e);
|
|
129183
129810
|
});
|
|
129184
129811
|
}
|
|
129812
|
+
updateAccountPassword(data, opts) {
|
|
129813
|
+
return this._service.xrpc.call("com.atproto.admin.updateAccountPassword", opts?.qp, data, opts).catch((e) => {
|
|
129814
|
+
throw toKnownErr22(e);
|
|
129815
|
+
});
|
|
129816
|
+
}
|
|
129185
129817
|
updateCommunicationTemplate(data, opts) {
|
|
129186
129818
|
return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
129187
|
-
throw
|
|
129819
|
+
throw toKnownErr23(e);
|
|
129188
129820
|
});
|
|
129189
129821
|
}
|
|
129190
129822
|
updateSubjectStatus(data, opts) {
|
|
129191
129823
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
129192
|
-
throw
|
|
129824
|
+
throw toKnownErr24(e);
|
|
129193
129825
|
});
|
|
129194
129826
|
}
|
|
129195
129827
|
};
|
|
@@ -129197,14 +129829,34 @@ var ComAtprotoIdentityNS2 = class {
|
|
|
129197
129829
|
constructor(service2) {
|
|
129198
129830
|
this._service = service2;
|
|
129199
129831
|
}
|
|
129832
|
+
getRecommendedDidCredentials(params2, opts) {
|
|
129833
|
+
return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
|
|
129834
|
+
throw toKnownErr25(e);
|
|
129835
|
+
});
|
|
129836
|
+
}
|
|
129837
|
+
requestPlcOperationSignature(data, opts) {
|
|
129838
|
+
return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
|
|
129839
|
+
throw toKnownErr26(e);
|
|
129840
|
+
});
|
|
129841
|
+
}
|
|
129200
129842
|
resolveHandle(params2, opts) {
|
|
129201
129843
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
129202
|
-
throw
|
|
129844
|
+
throw toKnownErr27(e);
|
|
129845
|
+
});
|
|
129846
|
+
}
|
|
129847
|
+
signPlcOperation(data, opts) {
|
|
129848
|
+
return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
129849
|
+
throw toKnownErr28(e);
|
|
129850
|
+
});
|
|
129851
|
+
}
|
|
129852
|
+
submitPlcOperation(data, opts) {
|
|
129853
|
+
return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
129854
|
+
throw toKnownErr29(e);
|
|
129203
129855
|
});
|
|
129204
129856
|
}
|
|
129205
129857
|
updateHandle(data, opts) {
|
|
129206
129858
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
129207
|
-
throw
|
|
129859
|
+
throw toKnownErr30(e);
|
|
129208
129860
|
});
|
|
129209
129861
|
}
|
|
129210
129862
|
};
|
|
@@ -129214,7 +129866,7 @@ var ComAtprotoLabelNS2 = class {
|
|
|
129214
129866
|
}
|
|
129215
129867
|
queryLabels(params2, opts) {
|
|
129216
129868
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
129217
|
-
throw
|
|
129869
|
+
throw toKnownErr31(e);
|
|
129218
129870
|
});
|
|
129219
129871
|
}
|
|
129220
129872
|
};
|
|
@@ -129224,7 +129876,7 @@ var ComAtprotoModerationNS2 = class {
|
|
|
129224
129876
|
}
|
|
129225
129877
|
createReport(data, opts) {
|
|
129226
129878
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
129227
|
-
throw
|
|
129879
|
+
throw toKnownErr32(e);
|
|
129228
129880
|
});
|
|
129229
129881
|
}
|
|
129230
129882
|
};
|
|
@@ -129234,42 +129886,52 @@ var ComAtprotoRepoNS2 = class {
|
|
|
129234
129886
|
}
|
|
129235
129887
|
applyWrites(data, opts) {
|
|
129236
129888
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
129237
|
-
throw
|
|
129889
|
+
throw toKnownErr33(e);
|
|
129238
129890
|
});
|
|
129239
129891
|
}
|
|
129240
129892
|
createRecord(data, opts) {
|
|
129241
129893
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
129242
|
-
throw
|
|
129894
|
+
throw toKnownErr34(e);
|
|
129243
129895
|
});
|
|
129244
129896
|
}
|
|
129245
129897
|
deleteRecord(data, opts) {
|
|
129246
129898
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
129247
|
-
throw
|
|
129899
|
+
throw toKnownErr35(e);
|
|
129248
129900
|
});
|
|
129249
129901
|
}
|
|
129250
129902
|
describeRepo(params2, opts) {
|
|
129251
129903
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
129252
|
-
throw
|
|
129904
|
+
throw toKnownErr36(e);
|
|
129253
129905
|
});
|
|
129254
129906
|
}
|
|
129255
129907
|
getRecord(params2, opts) {
|
|
129256
129908
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
129257
|
-
throw
|
|
129909
|
+
throw toKnownErr37(e);
|
|
129910
|
+
});
|
|
129911
|
+
}
|
|
129912
|
+
importRepo(data, opts) {
|
|
129913
|
+
return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
129914
|
+
throw toKnownErr38(e);
|
|
129915
|
+
});
|
|
129916
|
+
}
|
|
129917
|
+
listMissingBlobs(params2, opts) {
|
|
129918
|
+
return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
|
|
129919
|
+
throw toKnownErr39(e);
|
|
129258
129920
|
});
|
|
129259
129921
|
}
|
|
129260
129922
|
listRecords(params2, opts) {
|
|
129261
129923
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
129262
|
-
throw
|
|
129924
|
+
throw toKnownErr40(e);
|
|
129263
129925
|
});
|
|
129264
129926
|
}
|
|
129265
129927
|
putRecord(data, opts) {
|
|
129266
129928
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
129267
|
-
throw
|
|
129929
|
+
throw toKnownErr41(e);
|
|
129268
129930
|
});
|
|
129269
129931
|
}
|
|
129270
129932
|
uploadBlob(data, opts) {
|
|
129271
129933
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
129272
|
-
throw
|
|
129934
|
+
throw toKnownErr42(e);
|
|
129273
129935
|
});
|
|
129274
129936
|
}
|
|
129275
129937
|
};
|
|
@@ -129277,109 +129939,129 @@ var ComAtprotoServerNS2 = class {
|
|
|
129277
129939
|
constructor(service2) {
|
|
129278
129940
|
this._service = service2;
|
|
129279
129941
|
}
|
|
129942
|
+
activateAccount(data, opts) {
|
|
129943
|
+
return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
|
|
129944
|
+
throw toKnownErr43(e);
|
|
129945
|
+
});
|
|
129946
|
+
}
|
|
129947
|
+
checkAccountStatus(params2, opts) {
|
|
129948
|
+
return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
|
|
129949
|
+
throw toKnownErr44(e);
|
|
129950
|
+
});
|
|
129951
|
+
}
|
|
129280
129952
|
confirmEmail(data, opts) {
|
|
129281
129953
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
129282
|
-
throw
|
|
129954
|
+
throw toKnownErr45(e);
|
|
129283
129955
|
});
|
|
129284
129956
|
}
|
|
129285
129957
|
createAccount(data, opts) {
|
|
129286
129958
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
129287
|
-
throw
|
|
129959
|
+
throw toKnownErr46(e);
|
|
129288
129960
|
});
|
|
129289
129961
|
}
|
|
129290
129962
|
createAppPassword(data, opts) {
|
|
129291
129963
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
129292
|
-
throw
|
|
129964
|
+
throw toKnownErr47(e);
|
|
129293
129965
|
});
|
|
129294
129966
|
}
|
|
129295
129967
|
createInviteCode(data, opts) {
|
|
129296
129968
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
129297
|
-
throw
|
|
129969
|
+
throw toKnownErr48(e);
|
|
129298
129970
|
});
|
|
129299
129971
|
}
|
|
129300
129972
|
createInviteCodes(data, opts) {
|
|
129301
129973
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
129302
|
-
throw
|
|
129974
|
+
throw toKnownErr49(e);
|
|
129303
129975
|
});
|
|
129304
129976
|
}
|
|
129305
129977
|
createSession(data, opts) {
|
|
129306
129978
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
129307
|
-
throw
|
|
129979
|
+
throw toKnownErr50(e);
|
|
129980
|
+
});
|
|
129981
|
+
}
|
|
129982
|
+
deactivateAccount(data, opts) {
|
|
129983
|
+
return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
|
|
129984
|
+
throw toKnownErr51(e);
|
|
129308
129985
|
});
|
|
129309
129986
|
}
|
|
129310
129987
|
deleteAccount(data, opts) {
|
|
129311
129988
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
129312
|
-
throw
|
|
129989
|
+
throw toKnownErr52(e);
|
|
129313
129990
|
});
|
|
129314
129991
|
}
|
|
129315
129992
|
deleteSession(data, opts) {
|
|
129316
129993
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
129317
|
-
throw
|
|
129994
|
+
throw toKnownErr53(e);
|
|
129318
129995
|
});
|
|
129319
129996
|
}
|
|
129320
129997
|
describeServer(params2, opts) {
|
|
129321
129998
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
129322
|
-
throw
|
|
129999
|
+
throw toKnownErr54(e);
|
|
129323
130000
|
});
|
|
129324
130001
|
}
|
|
129325
130002
|
getAccountInviteCodes(params2, opts) {
|
|
129326
130003
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
129327
|
-
throw
|
|
130004
|
+
throw toKnownErr55(e);
|
|
130005
|
+
});
|
|
130006
|
+
}
|
|
130007
|
+
getServiceAuth(params2, opts) {
|
|
130008
|
+
return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
|
|
130009
|
+
throw toKnownErr56(e);
|
|
129328
130010
|
});
|
|
129329
130011
|
}
|
|
129330
130012
|
getSession(params2, opts) {
|
|
129331
130013
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
129332
|
-
throw
|
|
130014
|
+
throw toKnownErr57(e);
|
|
129333
130015
|
});
|
|
129334
130016
|
}
|
|
129335
130017
|
listAppPasswords(params2, opts) {
|
|
129336
130018
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
129337
|
-
throw
|
|
130019
|
+
throw toKnownErr58(e);
|
|
129338
130020
|
});
|
|
129339
130021
|
}
|
|
129340
130022
|
refreshSession(data, opts) {
|
|
129341
130023
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
129342
|
-
throw
|
|
130024
|
+
throw toKnownErr59(e);
|
|
129343
130025
|
});
|
|
129344
130026
|
}
|
|
129345
130027
|
requestAccountDelete(data, opts) {
|
|
129346
130028
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
129347
|
-
throw
|
|
130029
|
+
throw toKnownErr60(e);
|
|
129348
130030
|
});
|
|
129349
130031
|
}
|
|
129350
130032
|
requestEmailConfirmation(data, opts) {
|
|
129351
130033
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
129352
|
-
throw
|
|
130034
|
+
throw toKnownErr61(e);
|
|
129353
130035
|
});
|
|
129354
130036
|
}
|
|
129355
130037
|
requestEmailUpdate(data, opts) {
|
|
129356
130038
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
129357
|
-
throw
|
|
130039
|
+
throw toKnownErr62(e);
|
|
129358
130040
|
});
|
|
129359
130041
|
}
|
|
129360
130042
|
requestPasswordReset(data, opts) {
|
|
129361
130043
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
129362
|
-
throw
|
|
130044
|
+
throw toKnownErr63(e);
|
|
129363
130045
|
});
|
|
129364
130046
|
}
|
|
129365
130047
|
reserveSigningKey(data, opts) {
|
|
129366
130048
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
129367
|
-
throw
|
|
130049
|
+
throw toKnownErr64(e);
|
|
129368
130050
|
});
|
|
129369
130051
|
}
|
|
129370
130052
|
resetPassword(data, opts) {
|
|
129371
130053
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
129372
|
-
throw
|
|
130054
|
+
throw toKnownErr65(e);
|
|
129373
130055
|
});
|
|
129374
130056
|
}
|
|
129375
130057
|
revokeAppPassword(data, opts) {
|
|
129376
130058
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
129377
|
-
throw
|
|
130059
|
+
throw toKnownErr66(e);
|
|
129378
130060
|
});
|
|
129379
130061
|
}
|
|
129380
130062
|
updateEmail(data, opts) {
|
|
129381
130063
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
129382
|
-
throw
|
|
130064
|
+
throw toKnownErr67(e);
|
|
129383
130065
|
});
|
|
129384
130066
|
}
|
|
129385
130067
|
};
|
|
@@ -129389,57 +130071,57 @@ var ComAtprotoSyncNS2 = class {
|
|
|
129389
130071
|
}
|
|
129390
130072
|
getBlob(params2, opts) {
|
|
129391
130073
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
129392
|
-
throw
|
|
130074
|
+
throw toKnownErr68(e);
|
|
129393
130075
|
});
|
|
129394
130076
|
}
|
|
129395
130077
|
getBlocks(params2, opts) {
|
|
129396
130078
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
129397
|
-
throw
|
|
130079
|
+
throw toKnownErr69(e);
|
|
129398
130080
|
});
|
|
129399
130081
|
}
|
|
129400
130082
|
getCheckout(params2, opts) {
|
|
129401
130083
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
129402
|
-
throw
|
|
130084
|
+
throw toKnownErr70(e);
|
|
129403
130085
|
});
|
|
129404
130086
|
}
|
|
129405
130087
|
getHead(params2, opts) {
|
|
129406
130088
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
129407
|
-
throw
|
|
130089
|
+
throw toKnownErr71(e);
|
|
129408
130090
|
});
|
|
129409
130091
|
}
|
|
129410
130092
|
getLatestCommit(params2, opts) {
|
|
129411
130093
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
129412
|
-
throw
|
|
130094
|
+
throw toKnownErr72(e);
|
|
129413
130095
|
});
|
|
129414
130096
|
}
|
|
129415
130097
|
getRecord(params2, opts) {
|
|
129416
130098
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
129417
|
-
throw
|
|
130099
|
+
throw toKnownErr73(e);
|
|
129418
130100
|
});
|
|
129419
130101
|
}
|
|
129420
130102
|
getRepo(params2, opts) {
|
|
129421
130103
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
129422
|
-
throw
|
|
130104
|
+
throw toKnownErr74(e);
|
|
129423
130105
|
});
|
|
129424
130106
|
}
|
|
129425
130107
|
listBlobs(params2, opts) {
|
|
129426
130108
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
129427
|
-
throw
|
|
130109
|
+
throw toKnownErr75(e);
|
|
129428
130110
|
});
|
|
129429
130111
|
}
|
|
129430
130112
|
listRepos(params2, opts) {
|
|
129431
130113
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
129432
|
-
throw
|
|
130114
|
+
throw toKnownErr76(e);
|
|
129433
130115
|
});
|
|
129434
130116
|
}
|
|
129435
130117
|
notifyOfUpdate(data, opts) {
|
|
129436
130118
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
129437
|
-
throw
|
|
130119
|
+
throw toKnownErr77(e);
|
|
129438
130120
|
});
|
|
129439
130121
|
}
|
|
129440
130122
|
requestCrawl(data, opts) {
|
|
129441
130123
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
129442
|
-
throw
|
|
130124
|
+
throw toKnownErr78(e);
|
|
129443
130125
|
});
|
|
129444
130126
|
}
|
|
129445
130127
|
};
|
|
@@ -129449,32 +130131,17 @@ var ComAtprotoTempNS2 = class {
|
|
|
129449
130131
|
}
|
|
129450
130132
|
checkSignupQueue(params2, opts) {
|
|
129451
130133
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
129452
|
-
throw
|
|
130134
|
+
throw toKnownErr79(e);
|
|
129453
130135
|
});
|
|
129454
130136
|
}
|
|
129455
130137
|
fetchLabels(params2, opts) {
|
|
129456
130138
|
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);
|
|
130139
|
+
throw toKnownErr80(e);
|
|
129468
130140
|
});
|
|
129469
130141
|
}
|
|
129470
130142
|
requestPhoneVerification(data, opts) {
|
|
129471
130143
|
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);
|
|
130144
|
+
throw toKnownErr81(e);
|
|
129478
130145
|
});
|
|
129479
130146
|
}
|
|
129480
130147
|
};
|
|
@@ -129503,37 +130170,37 @@ var AppBskyActorNS2 = class {
|
|
|
129503
130170
|
}
|
|
129504
130171
|
getPreferences(params2, opts) {
|
|
129505
130172
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
129506
|
-
throw
|
|
130173
|
+
throw toKnownErr82(e);
|
|
129507
130174
|
});
|
|
129508
130175
|
}
|
|
129509
130176
|
getProfile(params2, opts) {
|
|
129510
130177
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
129511
|
-
throw
|
|
130178
|
+
throw toKnownErr83(e);
|
|
129512
130179
|
});
|
|
129513
130180
|
}
|
|
129514
130181
|
getProfiles(params2, opts) {
|
|
129515
130182
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
129516
|
-
throw
|
|
130183
|
+
throw toKnownErr84(e);
|
|
129517
130184
|
});
|
|
129518
130185
|
}
|
|
129519
130186
|
getSuggestions(params2, opts) {
|
|
129520
130187
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
129521
|
-
throw
|
|
130188
|
+
throw toKnownErr85(e);
|
|
129522
130189
|
});
|
|
129523
130190
|
}
|
|
129524
130191
|
putPreferences(data, opts) {
|
|
129525
130192
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
129526
|
-
throw
|
|
130193
|
+
throw toKnownErr86(e);
|
|
129527
130194
|
});
|
|
129528
130195
|
}
|
|
129529
130196
|
searchActors(params2, opts) {
|
|
129530
130197
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
129531
|
-
throw
|
|
130198
|
+
throw toKnownErr87(e);
|
|
129532
130199
|
});
|
|
129533
130200
|
}
|
|
129534
130201
|
searchActorsTypeahead(params2, opts) {
|
|
129535
130202
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
129536
|
-
throw
|
|
130203
|
+
throw toKnownErr88(e);
|
|
129537
130204
|
});
|
|
129538
130205
|
}
|
|
129539
130206
|
};
|
|
@@ -129580,82 +130247,82 @@ var AppBskyFeedNS2 = class {
|
|
|
129580
130247
|
}
|
|
129581
130248
|
describeFeedGenerator(params2, opts) {
|
|
129582
130249
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
129583
|
-
throw
|
|
130250
|
+
throw toKnownErr89(e);
|
|
129584
130251
|
});
|
|
129585
130252
|
}
|
|
129586
130253
|
getActorFeeds(params2, opts) {
|
|
129587
130254
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
129588
|
-
throw
|
|
130255
|
+
throw toKnownErr90(e);
|
|
129589
130256
|
});
|
|
129590
130257
|
}
|
|
129591
130258
|
getActorLikes(params2, opts) {
|
|
129592
130259
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
129593
|
-
throw
|
|
130260
|
+
throw toKnownErr91(e);
|
|
129594
130261
|
});
|
|
129595
130262
|
}
|
|
129596
130263
|
getAuthorFeed(params2, opts) {
|
|
129597
130264
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
129598
|
-
throw
|
|
130265
|
+
throw toKnownErr92(e);
|
|
129599
130266
|
});
|
|
129600
130267
|
}
|
|
129601
130268
|
getFeed(params2, opts) {
|
|
129602
130269
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
129603
|
-
throw
|
|
130270
|
+
throw toKnownErr93(e);
|
|
129604
130271
|
});
|
|
129605
130272
|
}
|
|
129606
130273
|
getFeedGenerator(params2, opts) {
|
|
129607
130274
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
129608
|
-
throw
|
|
130275
|
+
throw toKnownErr94(e);
|
|
129609
130276
|
});
|
|
129610
130277
|
}
|
|
129611
130278
|
getFeedGenerators(params2, opts) {
|
|
129612
130279
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
129613
|
-
throw
|
|
130280
|
+
throw toKnownErr95(e);
|
|
129614
130281
|
});
|
|
129615
130282
|
}
|
|
129616
130283
|
getFeedSkeleton(params2, opts) {
|
|
129617
130284
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
129618
|
-
throw
|
|
130285
|
+
throw toKnownErr96(e);
|
|
129619
130286
|
});
|
|
129620
130287
|
}
|
|
129621
130288
|
getLikes(params2, opts) {
|
|
129622
130289
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
129623
|
-
throw
|
|
130290
|
+
throw toKnownErr97(e);
|
|
129624
130291
|
});
|
|
129625
130292
|
}
|
|
129626
130293
|
getListFeed(params2, opts) {
|
|
129627
130294
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
129628
|
-
throw
|
|
130295
|
+
throw toKnownErr98(e);
|
|
129629
130296
|
});
|
|
129630
130297
|
}
|
|
129631
130298
|
getPostThread(params2, opts) {
|
|
129632
130299
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
129633
|
-
throw
|
|
130300
|
+
throw toKnownErr99(e);
|
|
129634
130301
|
});
|
|
129635
130302
|
}
|
|
129636
130303
|
getPosts(params2, opts) {
|
|
129637
130304
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
129638
|
-
throw
|
|
130305
|
+
throw toKnownErr100(e);
|
|
129639
130306
|
});
|
|
129640
130307
|
}
|
|
129641
130308
|
getRepostedBy(params2, opts) {
|
|
129642
130309
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
129643
|
-
throw
|
|
130310
|
+
throw toKnownErr101(e);
|
|
129644
130311
|
});
|
|
129645
130312
|
}
|
|
129646
130313
|
getSuggestedFeeds(params2, opts) {
|
|
129647
130314
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
129648
|
-
throw
|
|
130315
|
+
throw toKnownErr102(e);
|
|
129649
130316
|
});
|
|
129650
130317
|
}
|
|
129651
130318
|
getTimeline(params2, opts) {
|
|
129652
130319
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
129653
|
-
throw
|
|
130320
|
+
throw toKnownErr103(e);
|
|
129654
130321
|
});
|
|
129655
130322
|
}
|
|
129656
130323
|
searchPosts(params2, opts) {
|
|
129657
130324
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
129658
|
-
throw
|
|
130325
|
+
throw toKnownErr104(e);
|
|
129659
130326
|
});
|
|
129660
130327
|
}
|
|
129661
130328
|
};
|
|
@@ -129805,72 +130472,72 @@ var AppBskyGraphNS2 = class {
|
|
|
129805
130472
|
}
|
|
129806
130473
|
getBlocks(params2, opts) {
|
|
129807
130474
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
129808
|
-
throw
|
|
130475
|
+
throw toKnownErr105(e);
|
|
129809
130476
|
});
|
|
129810
130477
|
}
|
|
129811
130478
|
getFollowers(params2, opts) {
|
|
129812
130479
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
129813
|
-
throw
|
|
130480
|
+
throw toKnownErr106(e);
|
|
129814
130481
|
});
|
|
129815
130482
|
}
|
|
129816
130483
|
getFollows(params2, opts) {
|
|
129817
130484
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
129818
|
-
throw
|
|
130485
|
+
throw toKnownErr107(e);
|
|
129819
130486
|
});
|
|
129820
130487
|
}
|
|
129821
130488
|
getList(params2, opts) {
|
|
129822
130489
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
129823
|
-
throw
|
|
130490
|
+
throw toKnownErr108(e);
|
|
129824
130491
|
});
|
|
129825
130492
|
}
|
|
129826
130493
|
getListBlocks(params2, opts) {
|
|
129827
130494
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
129828
|
-
throw
|
|
130495
|
+
throw toKnownErr109(e);
|
|
129829
130496
|
});
|
|
129830
130497
|
}
|
|
129831
130498
|
getListMutes(params2, opts) {
|
|
129832
130499
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
129833
|
-
throw
|
|
130500
|
+
throw toKnownErr110(e);
|
|
129834
130501
|
});
|
|
129835
130502
|
}
|
|
129836
130503
|
getLists(params2, opts) {
|
|
129837
130504
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
129838
|
-
throw
|
|
130505
|
+
throw toKnownErr111(e);
|
|
129839
130506
|
});
|
|
129840
130507
|
}
|
|
129841
130508
|
getMutes(params2, opts) {
|
|
129842
130509
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
129843
|
-
throw
|
|
130510
|
+
throw toKnownErr112(e);
|
|
129844
130511
|
});
|
|
129845
130512
|
}
|
|
129846
130513
|
getRelationships(params2, opts) {
|
|
129847
130514
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
129848
|
-
throw
|
|
130515
|
+
throw toKnownErr113(e);
|
|
129849
130516
|
});
|
|
129850
130517
|
}
|
|
129851
130518
|
getSuggestedFollowsByActor(params2, opts) {
|
|
129852
130519
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
129853
|
-
throw
|
|
130520
|
+
throw toKnownErr114(e);
|
|
129854
130521
|
});
|
|
129855
130522
|
}
|
|
129856
130523
|
muteActor(data, opts) {
|
|
129857
130524
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
129858
|
-
throw
|
|
130525
|
+
throw toKnownErr115(e);
|
|
129859
130526
|
});
|
|
129860
130527
|
}
|
|
129861
130528
|
muteActorList(data, opts) {
|
|
129862
130529
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
129863
|
-
throw
|
|
130530
|
+
throw toKnownErr116(e);
|
|
129864
130531
|
});
|
|
129865
130532
|
}
|
|
129866
130533
|
unmuteActor(data, opts) {
|
|
129867
130534
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
129868
|
-
throw
|
|
130535
|
+
throw toKnownErr117(e);
|
|
129869
130536
|
});
|
|
129870
130537
|
}
|
|
129871
130538
|
unmuteActorList(data, opts) {
|
|
129872
130539
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
129873
|
-
throw
|
|
130540
|
+
throw toKnownErr118(e);
|
|
129874
130541
|
});
|
|
129875
130542
|
}
|
|
129876
130543
|
};
|
|
@@ -130015,22 +130682,22 @@ var AppBskyNotificationNS2 = class {
|
|
|
130015
130682
|
}
|
|
130016
130683
|
getUnreadCount(params2, opts) {
|
|
130017
130684
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
130018
|
-
throw
|
|
130685
|
+
throw toKnownErr119(e);
|
|
130019
130686
|
});
|
|
130020
130687
|
}
|
|
130021
130688
|
listNotifications(params2, opts) {
|
|
130022
130689
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
130023
|
-
throw
|
|
130690
|
+
throw toKnownErr120(e);
|
|
130024
130691
|
});
|
|
130025
130692
|
}
|
|
130026
130693
|
registerPush(data, opts) {
|
|
130027
130694
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
130028
|
-
throw
|
|
130695
|
+
throw toKnownErr121(e);
|
|
130029
130696
|
});
|
|
130030
130697
|
}
|
|
130031
130698
|
updateSeen(data, opts) {
|
|
130032
130699
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
130033
|
-
throw
|
|
130700
|
+
throw toKnownErr122(e);
|
|
130034
130701
|
});
|
|
130035
130702
|
}
|
|
130036
130703
|
};
|
|
@@ -130045,22 +130712,22 @@ var AppBskyUnspeccedNS2 = class {
|
|
|
130045
130712
|
}
|
|
130046
130713
|
getPopularFeedGenerators(params2, opts) {
|
|
130047
130714
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
130048
|
-
throw
|
|
130715
|
+
throw toKnownErr123(e);
|
|
130049
130716
|
});
|
|
130050
130717
|
}
|
|
130051
130718
|
getTaggedSuggestions(params2, opts) {
|
|
130052
130719
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
130053
|
-
throw
|
|
130720
|
+
throw toKnownErr124(e);
|
|
130054
130721
|
});
|
|
130055
130722
|
}
|
|
130056
130723
|
searchActorsSkeleton(params2, opts) {
|
|
130057
130724
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
130058
|
-
throw
|
|
130725
|
+
throw toKnownErr125(e);
|
|
130059
130726
|
});
|
|
130060
130727
|
}
|
|
130061
130728
|
searchPostsSkeleton(params2, opts) {
|
|
130062
130729
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
130063
|
-
throw
|
|
130730
|
+
throw toKnownErr126(e);
|
|
130064
130731
|
});
|
|
130065
130732
|
}
|
|
130066
130733
|
};
|