@atproto/api 0.6.8 → 0.6.9

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.
Files changed (84) hide show
  1. package/dist/client/index.d.ts +14 -9
  2. package/dist/client/lexicons.d.ts +103 -100
  3. package/dist/client/types/app/bsky/actor/{search.d.ts → getFeedSuggestions.d.ts} +3 -4
  4. package/dist/client/types/app/bsky/{graph/getListBlocks.d.ts → feed/getSuggestedFeeds.d.ts} +2 -2
  5. package/dist/client/types/com/atproto/sync/getCheckout.d.ts +0 -1
  6. package/dist/client/types/com/atproto/{session/refresh.d.ts → sync/getLatestCommit.d.ts} +4 -6
  7. package/dist/client/types/com/atproto/sync/getRepo.d.ts +1 -2
  8. package/dist/client/types/com/atproto/sync/listBlobs.d.ts +4 -2
  9. package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +3 -1
  10. package/dist/client/types/{app/bsky/feed/unsaveFeed.d.ts → com/atproto/temp/upgradeRepoVersion.d.ts} +2 -1
  11. package/dist/index.js +387 -408
  12. package/dist/index.js.map +4 -4
  13. package/package.json +2 -2
  14. package/src/client/index.ts +13 -0
  15. package/src/client/lexicons.ts +47 -0
  16. package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +38 -0
  17. package/src/client/types/com/atproto/temp/upgradeRepoVersion.ts +1 -0
  18. package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
  19. package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
  20. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
  21. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -40
  22. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
  23. package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
  24. package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
  25. package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
  26. package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
  27. package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
  28. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  29. package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  30. package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
  31. package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
  32. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
  33. package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
  34. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
  35. package/dist/client/types/app/bsky/graph/listblock.d.ts +0 -8
  36. package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
  37. package/dist/client/types/app/bsky/graph/subscribeMuteList.d.ts +0 -17
  38. package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
  39. package/dist/client/types/app/bsky/graph/unsubscribeMuteList.d.ts +0 -17
  40. package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
  41. package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
  42. package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
  43. package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
  44. package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
  45. package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
  46. package/dist/client/types/app/bsky/unspecced/registerPushNotification.d.ts +0 -16
  47. package/dist/client/types/com/atproto/account/create.d.ts +0 -41
  48. package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
  49. package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
  50. package/dist/client/types/com/atproto/account/get.d.ts +0 -12
  51. package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
  52. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  53. package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  54. package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
  55. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
  56. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
  57. package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
  58. package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
  59. package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
  60. package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
  61. package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
  62. package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
  63. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
  64. package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
  65. package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
  66. package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
  67. package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
  68. package/dist/client/types/com/atproto/report/create.d.ts +0 -39
  69. package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
  70. package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
  71. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
  72. package/dist/client/types/com/atproto/session/create.d.ts +0 -29
  73. package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
  74. package/dist/client/types/com/atproto/session/get.d.ts +0 -18
  75. package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
  76. package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -18
  77. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
  78. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  79. package/dist/helpers/bsky.d.ts +0 -20
  80. package/dist/mixins/bsky.d.ts +0 -23
  81. package/dist/rich-text/sanitize.d.ts +0 -4
  82. package/dist/session.d.ts +0 -42
  83. package/tsconfig.build.tsbuildinfo +0 -1
  84. /package/dist/client/types/app/bsky/feed/{getSavedFeeds.d.ts → getFeedSuggestions.d.ts} +0 -0
package/dist/index.js CHANGED
@@ -8902,6 +8902,7 @@ __export(src_exports2, {
8902
8902
  AppBskyFeedGetPostThread: () => getPostThread_exports,
8903
8903
  AppBskyFeedGetPosts: () => getPosts_exports,
8904
8904
  AppBskyFeedGetRepostedBy: () => getRepostedBy_exports,
8905
+ AppBskyFeedGetSuggestedFeeds: () => getSuggestedFeeds_exports,
8905
8906
  AppBskyFeedGetTimeline: () => getTimeline_exports,
8906
8907
  AppBskyFeedLike: () => like_exports,
8907
8908
  AppBskyFeedPost: () => post_exports,
@@ -8954,7 +8955,6 @@ __export(src_exports2, {
8954
8955
  ComAtprotoAdminGetModerationReports: () => getModerationReports_exports,
8955
8956
  ComAtprotoAdminGetRecord: () => getRecord_exports,
8956
8957
  ComAtprotoAdminGetRepo: () => getRepo_exports,
8957
- ComAtprotoAdminRebaseRepo: () => rebaseRepo_exports,
8958
8958
  ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
8959
8959
  ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
8960
8960
  ComAtprotoAdminSearchRepos: () => searchRepos_exports,
@@ -8976,7 +8976,6 @@ __export(src_exports2, {
8976
8976
  ComAtprotoRepoGetRecord: () => getRecord_exports2,
8977
8977
  ComAtprotoRepoListRecords: () => listRecords_exports,
8978
8978
  ComAtprotoRepoPutRecord: () => putRecord_exports,
8979
- ComAtprotoRepoRebaseRepo: () => rebaseRepo_exports2,
8980
8979
  ComAtprotoRepoStrongRef: () => strongRef_exports,
8981
8980
  ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
8982
8981
  ComAtprotoServerCreateAccount: () => createAccount_exports,
@@ -8999,8 +8998,8 @@ __export(src_exports2, {
8999
8998
  ComAtprotoSyncGetBlob: () => getBlob_exports,
9000
8999
  ComAtprotoSyncGetBlocks: () => getBlocks_exports,
9001
9000
  ComAtprotoSyncGetCheckout: () => getCheckout_exports,
9002
- ComAtprotoSyncGetCommitPath: () => getCommitPath_exports,
9003
9001
  ComAtprotoSyncGetHead: () => getHead_exports,
9002
+ ComAtprotoSyncGetLatestCommit: () => getLatestCommit_exports,
9004
9003
  ComAtprotoSyncGetRecord: () => getRecord_exports3,
9005
9004
  ComAtprotoSyncGetRepo: () => getRepo_exports2,
9006
9005
  ComAtprotoSyncListBlobs: () => listBlobs_exports,
@@ -9008,6 +9007,7 @@ __export(src_exports2, {
9008
9007
  ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
9009
9008
  ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
9010
9009
  ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
9010
+ ComAtprotoTempUpgradeRepoVersion: () => upgradeRepoVersion_exports,
9011
9011
  ComNS: () => ComNS,
9012
9012
  EmbedNS: () => EmbedNS,
9013
9013
  FeedNS: () => FeedNS,
@@ -9033,6 +9033,7 @@ __export(src_exports2, {
9033
9033
  RichtextNS: () => RichtextNS,
9034
9034
  ServerNS: () => ServerNS,
9035
9035
  SyncNS: () => SyncNS,
9036
+ TempNS: () => TempNS,
9036
9037
  UnicodeString: () => UnicodeString,
9037
9038
  UnspeccedNS: () => UnspeccedNS,
9038
9039
  default: () => AtpAgent,
@@ -16727,43 +16728,6 @@ var schemaDict = {
16727
16728
  }
16728
16729
  }
16729
16730
  },
16730
- ComAtprotoAdminRebaseRepo: {
16731
- lexicon: 1,
16732
- id: "com.atproto.admin.rebaseRepo",
16733
- defs: {
16734
- main: {
16735
- type: "procedure",
16736
- description: "Administrative action to rebase an account's repo",
16737
- input: {
16738
- encoding: "application/json",
16739
- schema: {
16740
- type: "object",
16741
- required: ["repo"],
16742
- properties: {
16743
- repo: {
16744
- type: "string",
16745
- format: "at-identifier",
16746
- description: "The handle or DID of the repo."
16747
- },
16748
- swapCommit: {
16749
- type: "string",
16750
- format: "cid",
16751
- description: "Compare and swap with the previous commit by cid."
16752
- }
16753
- }
16754
- }
16755
- },
16756
- errors: [
16757
- {
16758
- name: "InvalidSwap"
16759
- },
16760
- {
16761
- name: "ConcurrentWrites"
16762
- }
16763
- ]
16764
- }
16765
- }
16766
- },
16767
16731
  ComAtprotoAdminResolveModerationReports: {
16768
16732
  lexicon: 1,
16769
16733
  id: "com.atproto.admin.resolveModerationReports",
@@ -17909,43 +17873,6 @@ var schemaDict = {
17909
17873
  }
17910
17874
  }
17911
17875
  },
17912
- ComAtprotoRepoRebaseRepo: {
17913
- lexicon: 1,
17914
- id: "com.atproto.repo.rebaseRepo",
17915
- defs: {
17916
- main: {
17917
- type: "procedure",
17918
- description: "Simple rebase of repo that deletes history",
17919
- input: {
17920
- encoding: "application/json",
17921
- schema: {
17922
- type: "object",
17923
- required: ["repo"],
17924
- properties: {
17925
- repo: {
17926
- type: "string",
17927
- format: "at-identifier",
17928
- description: "The handle or DID of the repo."
17929
- },
17930
- swapCommit: {
17931
- type: "string",
17932
- format: "cid",
17933
- description: "Compare and swap with the previous commit by cid."
17934
- }
17935
- }
17936
- }
17937
- },
17938
- errors: [
17939
- {
17940
- name: "InvalidSwap"
17941
- },
17942
- {
17943
- name: "ConcurrentWrites"
17944
- }
17945
- ]
17946
- }
17947
- }
17948
- },
17949
17876
  ComAtprotoRepoStrongRef: {
17950
17877
  lexicon: 1,
17951
17878
  id: "com.atproto.repo.strongRef",
@@ -18745,7 +18672,7 @@ var schemaDict = {
18745
18672
  defs: {
18746
18673
  main: {
18747
18674
  type: "query",
18748
- description: "Gets the repo state.",
18675
+ description: "DEPRECATED - please use com.atproto.sync.getRepo instead",
18749
18676
  parameters: {
18750
18677
  type: "params",
18751
18678
  required: ["did"],
@@ -18754,11 +18681,6 @@ var schemaDict = {
18754
18681
  type: "string",
18755
18682
  format: "did",
18756
18683
  description: "The DID of the repo."
18757
- },
18758
- commit: {
18759
- type: "string",
18760
- format: "cid",
18761
- description: "The commit to get the checkout from. Defaults to current HEAD."
18762
18684
  }
18763
18685
  }
18764
18686
  },
@@ -18768,13 +18690,13 @@ var schemaDict = {
18768
18690
  }
18769
18691
  }
18770
18692
  },
18771
- ComAtprotoSyncGetCommitPath: {
18693
+ ComAtprotoSyncGetHead: {
18772
18694
  lexicon: 1,
18773
- id: "com.atproto.sync.getCommitPath",
18695
+ id: "com.atproto.sync.getHead",
18774
18696
  defs: {
18775
18697
  main: {
18776
18698
  type: "query",
18777
- description: "Gets the path of repo commits",
18699
+ description: "DEPRECATED - please use com.atproto.sync.getLatestCommit instead",
18778
18700
  parameters: {
18779
18701
  type: "params",
18780
18702
  required: ["did"],
@@ -18783,16 +18705,6 @@ var schemaDict = {
18783
18705
  type: "string",
18784
18706
  format: "did",
18785
18707
  description: "The DID of the repo."
18786
- },
18787
- latest: {
18788
- type: "string",
18789
- format: "cid",
18790
- description: "The most recent commit"
18791
- },
18792
- earliest: {
18793
- type: "string",
18794
- format: "cid",
18795
- description: "The earliest commit to start from"
18796
18708
  }
18797
18709
  }
18798
18710
  },
@@ -18800,28 +18712,30 @@ var schemaDict = {
18800
18712
  encoding: "application/json",
18801
18713
  schema: {
18802
18714
  type: "object",
18803
- required: ["commits"],
18715
+ required: ["root"],
18804
18716
  properties: {
18805
- commits: {
18806
- type: "array",
18807
- items: {
18808
- type: "string",
18809
- format: "cid"
18810
- }
18717
+ root: {
18718
+ type: "string",
18719
+ format: "cid"
18811
18720
  }
18812
18721
  }
18813
18722
  }
18814
- }
18723
+ },
18724
+ errors: [
18725
+ {
18726
+ name: "HeadNotFound"
18727
+ }
18728
+ ]
18815
18729
  }
18816
18730
  }
18817
18731
  },
18818
- ComAtprotoSyncGetHead: {
18732
+ ComAtprotoSyncGetLatestCommit: {
18819
18733
  lexicon: 1,
18820
- id: "com.atproto.sync.getHead",
18734
+ id: "com.atproto.sync.getLatestCommit",
18821
18735
  defs: {
18822
18736
  main: {
18823
18737
  type: "query",
18824
- description: "Gets the current HEAD CID of a repo.",
18738
+ description: "Gets the current commit CID & revision of the repo.",
18825
18739
  parameters: {
18826
18740
  type: "params",
18827
18741
  required: ["did"],
@@ -18837,18 +18751,21 @@ var schemaDict = {
18837
18751
  encoding: "application/json",
18838
18752
  schema: {
18839
18753
  type: "object",
18840
- required: ["root"],
18754
+ required: ["cid", "rev"],
18841
18755
  properties: {
18842
- root: {
18756
+ cid: {
18843
18757
  type: "string",
18844
18758
  format: "cid"
18759
+ },
18760
+ rev: {
18761
+ type: "string"
18845
18762
  }
18846
18763
  }
18847
18764
  }
18848
18765
  },
18849
18766
  errors: [
18850
18767
  {
18851
- name: "HeadNotFound"
18768
+ name: "RepoNotFound"
18852
18769
  }
18853
18770
  ]
18854
18771
  }
@@ -18896,7 +18813,7 @@ var schemaDict = {
18896
18813
  defs: {
18897
18814
  main: {
18898
18815
  type: "query",
18899
- description: "Gets the repo state.",
18816
+ description: "Gets the did's repo, optionally catching up from a specific revision.",
18900
18817
  parameters: {
18901
18818
  type: "params",
18902
18819
  required: ["did"],
@@ -18906,15 +18823,10 @@ var schemaDict = {
18906
18823
  format: "did",
18907
18824
  description: "The DID of the repo."
18908
18825
  },
18909
- earliest: {
18910
- type: "string",
18911
- format: "cid",
18912
- description: "The earliest commit in the commit range (not inclusive)"
18913
- },
18914
- latest: {
18826
+ since: {
18915
18827
  type: "string",
18916
18828
  format: "cid",
18917
- description: "The latest commit in the commit range (inclusive)"
18829
+ description: "The revision of the repo to catch up from."
18918
18830
  }
18919
18831
  }
18920
18832
  },
@@ -18930,7 +18842,7 @@ var schemaDict = {
18930
18842
  defs: {
18931
18843
  main: {
18932
18844
  type: "query",
18933
- description: "List blob cids for some range of commits",
18845
+ description: "List blob cids since some revision",
18934
18846
  parameters: {
18935
18847
  type: "params",
18936
18848
  required: ["did"],
@@ -18940,15 +18852,19 @@ var schemaDict = {
18940
18852
  format: "did",
18941
18853
  description: "The DID of the repo."
18942
18854
  },
18943
- latest: {
18855
+ since: {
18944
18856
  type: "string",
18945
18857
  format: "cid",
18946
- description: "The most recent commit"
18858
+ description: "Optional revision of the repo to list blobs since"
18947
18859
  },
18948
- earliest: {
18949
- type: "string",
18950
- format: "cid",
18951
- description: "The earliest commit to start from"
18860
+ limit: {
18861
+ type: "integer",
18862
+ minimum: 1,
18863
+ maximum: 1e3,
18864
+ default: 500
18865
+ },
18866
+ cursor: {
18867
+ type: "string"
18952
18868
  }
18953
18869
  }
18954
18870
  },
@@ -18958,6 +18874,9 @@ var schemaDict = {
18958
18874
  type: "object",
18959
18875
  required: ["cids"],
18960
18876
  properties: {
18877
+ cursor: {
18878
+ type: "string"
18879
+ },
18961
18880
  cids: {
18962
18881
  type: "array",
18963
18882
  items: {
@@ -19119,13 +19038,14 @@ var schemaDict = {
19119
19038
  "tooBig",
19120
19039
  "repo",
19121
19040
  "commit",
19122
- "prev",
19041
+ "rev",
19042
+ "since",
19123
19043
  "blocks",
19124
19044
  "ops",
19125
19045
  "blobs",
19126
19046
  "time"
19127
19047
  ],
19128
- nullable: ["prev"],
19048
+ nullable: ["prev", "since"],
19129
19049
  properties: {
19130
19050
  seq: {
19131
19051
  type: "integer"
@@ -19146,6 +19066,14 @@ var schemaDict = {
19146
19066
  prev: {
19147
19067
  type: "cid-link"
19148
19068
  },
19069
+ rev: {
19070
+ type: "string",
19071
+ description: "The rev of the emitted commit"
19072
+ },
19073
+ since: {
19074
+ type: "string",
19075
+ description: "The rev of the last emitted commit from this repo"
19076
+ },
19149
19077
  blocks: {
19150
19078
  type: "bytes",
19151
19079
  description: "CAR file containing relevant blocks",
@@ -19263,6 +19191,32 @@ var schemaDict = {
19263
19191
  }
19264
19192
  }
19265
19193
  },
19194
+ ComAtprotoTempUpgradeRepoVersion: {
19195
+ lexicon: 1,
19196
+ id: "com.atproto.temp.upgradeRepoVersion",
19197
+ defs: {
19198
+ main: {
19199
+ type: "procedure",
19200
+ description: "Upgrade a repo to v3",
19201
+ input: {
19202
+ encoding: "application/json",
19203
+ schema: {
19204
+ type: "object",
19205
+ required: ["did"],
19206
+ properties: {
19207
+ did: {
19208
+ type: "string",
19209
+ format: "did"
19210
+ },
19211
+ force: {
19212
+ type: "boolean"
19213
+ }
19214
+ }
19215
+ }
19216
+ }
19217
+ }
19218
+ }
19219
+ },
19266
19220
  AppBskyActorDefs: {
19267
19221
  lexicon: 1,
19268
19222
  id: "app.bsky.actor.defs",
@@ -21016,6 +20970,49 @@ var schemaDict = {
21016
20970
  }
21017
20971
  }
21018
20972
  },
20973
+ AppBskyFeedGetSuggestedFeeds: {
20974
+ lexicon: 1,
20975
+ id: "app.bsky.feed.getSuggestedFeeds",
20976
+ defs: {
20977
+ main: {
20978
+ type: "query",
20979
+ description: "Get a list of suggested feeds for the viewer.",
20980
+ parameters: {
20981
+ type: "params",
20982
+ properties: {
20983
+ limit: {
20984
+ type: "integer",
20985
+ minimum: 1,
20986
+ maximum: 100,
20987
+ default: 50
20988
+ },
20989
+ cursor: {
20990
+ type: "string"
20991
+ }
20992
+ }
20993
+ },
20994
+ output: {
20995
+ encoding: "application/json",
20996
+ schema: {
20997
+ type: "object",
20998
+ required: ["feeds"],
20999
+ properties: {
21000
+ cursor: {
21001
+ type: "string"
21002
+ },
21003
+ feeds: {
21004
+ type: "array",
21005
+ items: {
21006
+ type: "ref",
21007
+ ref: "lex:app.bsky.feed.defs#generatorView"
21008
+ }
21009
+ }
21010
+ }
21011
+ }
21012
+ }
21013
+ }
21014
+ }
21015
+ },
21019
21016
  AppBskyFeedGetTimeline: {
21020
21017
  lexicon: 1,
21021
21018
  id: "app.bsky.feed.getTimeline",
@@ -22444,39 +22441,12 @@ function toKnownErr10(e) {
22444
22441
  return e;
22445
22442
  }
22446
22443
 
22447
- // src/client/types/com/atproto/admin/rebaseRepo.ts
22448
- var rebaseRepo_exports = {};
22449
- __export(rebaseRepo_exports, {
22450
- ConcurrentWritesError: () => ConcurrentWritesError,
22451
- InvalidSwapError: () => InvalidSwapError,
22452
- toKnownErr: () => toKnownErr11
22453
- });
22454
- var InvalidSwapError = class extends XRPCError {
22455
- constructor(src2) {
22456
- super(src2.status, src2.error, src2.message, src2.headers);
22457
- }
22458
- };
22459
- var ConcurrentWritesError = class extends XRPCError {
22460
- constructor(src2) {
22461
- super(src2.status, src2.error, src2.message, src2.headers);
22462
- }
22463
- };
22464
- function toKnownErr11(e) {
22465
- if (e instanceof XRPCError) {
22466
- if (e.error === "InvalidSwap")
22467
- return new InvalidSwapError(e);
22468
- if (e.error === "ConcurrentWrites")
22469
- return new ConcurrentWritesError(e);
22470
- }
22471
- return e;
22472
- }
22473
-
22474
22444
  // src/client/types/com/atproto/admin/resolveModerationReports.ts
22475
22445
  var resolveModerationReports_exports = {};
22476
22446
  __export(resolveModerationReports_exports, {
22477
- toKnownErr: () => toKnownErr12
22447
+ toKnownErr: () => toKnownErr11
22478
22448
  });
22479
- function toKnownErr12(e) {
22449
+ function toKnownErr11(e) {
22480
22450
  if (e instanceof XRPCError) {
22481
22451
  }
22482
22452
  return e;
@@ -22485,9 +22455,9 @@ function toKnownErr12(e) {
22485
22455
  // src/client/types/com/atproto/admin/reverseModerationAction.ts
22486
22456
  var reverseModerationAction_exports = {};
22487
22457
  __export(reverseModerationAction_exports, {
22488
- toKnownErr: () => toKnownErr13
22458
+ toKnownErr: () => toKnownErr12
22489
22459
  });
22490
- function toKnownErr13(e) {
22460
+ function toKnownErr12(e) {
22491
22461
  if (e instanceof XRPCError) {
22492
22462
  }
22493
22463
  return e;
@@ -22496,9 +22466,9 @@ function toKnownErr13(e) {
22496
22466
  // src/client/types/com/atproto/admin/searchRepos.ts
22497
22467
  var searchRepos_exports = {};
22498
22468
  __export(searchRepos_exports, {
22499
- toKnownErr: () => toKnownErr14
22469
+ toKnownErr: () => toKnownErr13
22500
22470
  });
22501
- function toKnownErr14(e) {
22471
+ function toKnownErr13(e) {
22502
22472
  if (e instanceof XRPCError) {
22503
22473
  }
22504
22474
  return e;
@@ -22507,9 +22477,9 @@ function toKnownErr14(e) {
22507
22477
  // src/client/types/com/atproto/admin/sendEmail.ts
22508
22478
  var sendEmail_exports = {};
22509
22479
  __export(sendEmail_exports, {
22510
- toKnownErr: () => toKnownErr15
22480
+ toKnownErr: () => toKnownErr14
22511
22481
  });
22512
- function toKnownErr15(e) {
22482
+ function toKnownErr14(e) {
22513
22483
  if (e instanceof XRPCError) {
22514
22484
  }
22515
22485
  return e;
@@ -22519,14 +22489,14 @@ function toKnownErr15(e) {
22519
22489
  var takeModerationAction_exports = {};
22520
22490
  __export(takeModerationAction_exports, {
22521
22491
  SubjectHasActionError: () => SubjectHasActionError,
22522
- toKnownErr: () => toKnownErr16
22492
+ toKnownErr: () => toKnownErr15
22523
22493
  });
22524
22494
  var SubjectHasActionError = class extends XRPCError {
22525
22495
  constructor(src2) {
22526
22496
  super(src2.status, src2.error, src2.message, src2.headers);
22527
22497
  }
22528
22498
  };
22529
- function toKnownErr16(e) {
22499
+ function toKnownErr15(e) {
22530
22500
  if (e instanceof XRPCError) {
22531
22501
  if (e.error === "SubjectHasAction")
22532
22502
  return new SubjectHasActionError(e);
@@ -22537,9 +22507,9 @@ function toKnownErr16(e) {
22537
22507
  // src/client/types/com/atproto/admin/updateAccountEmail.ts
22538
22508
  var updateAccountEmail_exports = {};
22539
22509
  __export(updateAccountEmail_exports, {
22540
- toKnownErr: () => toKnownErr17
22510
+ toKnownErr: () => toKnownErr16
22541
22511
  });
22542
- function toKnownErr17(e) {
22512
+ function toKnownErr16(e) {
22543
22513
  if (e instanceof XRPCError) {
22544
22514
  }
22545
22515
  return e;
@@ -22548,9 +22518,9 @@ function toKnownErr17(e) {
22548
22518
  // src/client/types/com/atproto/admin/updateAccountHandle.ts
22549
22519
  var updateAccountHandle_exports = {};
22550
22520
  __export(updateAccountHandle_exports, {
22551
- toKnownErr: () => toKnownErr18
22521
+ toKnownErr: () => toKnownErr17
22552
22522
  });
22553
- function toKnownErr18(e) {
22523
+ function toKnownErr17(e) {
22554
22524
  if (e instanceof XRPCError) {
22555
22525
  }
22556
22526
  return e;
@@ -22559,9 +22529,9 @@ function toKnownErr18(e) {
22559
22529
  // src/client/types/com/atproto/identity/resolveHandle.ts
22560
22530
  var resolveHandle_exports = {};
22561
22531
  __export(resolveHandle_exports, {
22562
- toKnownErr: () => toKnownErr19
22532
+ toKnownErr: () => toKnownErr18
22563
22533
  });
22564
- function toKnownErr19(e) {
22534
+ function toKnownErr18(e) {
22565
22535
  if (e instanceof XRPCError) {
22566
22536
  }
22567
22537
  return e;
@@ -22570,9 +22540,9 @@ function toKnownErr19(e) {
22570
22540
  // src/client/types/com/atproto/identity/updateHandle.ts
22571
22541
  var updateHandle_exports = {};
22572
22542
  __export(updateHandle_exports, {
22573
- toKnownErr: () => toKnownErr20
22543
+ toKnownErr: () => toKnownErr19
22574
22544
  });
22575
- function toKnownErr20(e) {
22545
+ function toKnownErr19(e) {
22576
22546
  if (e instanceof XRPCError) {
22577
22547
  }
22578
22548
  return e;
@@ -22581,9 +22551,9 @@ function toKnownErr20(e) {
22581
22551
  // src/client/types/com/atproto/label/queryLabels.ts
22582
22552
  var queryLabels_exports = {};
22583
22553
  __export(queryLabels_exports, {
22584
- toKnownErr: () => toKnownErr21
22554
+ toKnownErr: () => toKnownErr20
22585
22555
  });
22586
- function toKnownErr21(e) {
22556
+ function toKnownErr20(e) {
22587
22557
  if (e instanceof XRPCError) {
22588
22558
  }
22589
22559
  return e;
@@ -22592,9 +22562,9 @@ function toKnownErr21(e) {
22592
22562
  // src/client/types/com/atproto/moderation/createReport.ts
22593
22563
  var createReport_exports = {};
22594
22564
  __export(createReport_exports, {
22595
- toKnownErr: () => toKnownErr22
22565
+ toKnownErr: () => toKnownErr21
22596
22566
  });
22597
- function toKnownErr22(e) {
22567
+ function toKnownErr21(e) {
22598
22568
  if (e instanceof XRPCError) {
22599
22569
  }
22600
22570
  return e;
@@ -22603,11 +22573,11 @@ function toKnownErr22(e) {
22603
22573
  // src/client/types/com/atproto/repo/applyWrites.ts
22604
22574
  var applyWrites_exports = {};
22605
22575
  __export(applyWrites_exports, {
22606
- InvalidSwapError: () => InvalidSwapError2,
22576
+ InvalidSwapError: () => InvalidSwapError,
22607
22577
  isCreate: () => isCreate,
22608
22578
  isDelete: () => isDelete,
22609
22579
  isUpdate: () => isUpdate,
22610
- toKnownErr: () => toKnownErr23,
22580
+ toKnownErr: () => toKnownErr22,
22611
22581
  validateCreate: () => validateCreate,
22612
22582
  validateDelete: () => validateDelete,
22613
22583
  validateUpdate: () => validateUpdate
@@ -22622,15 +22592,15 @@ function hasProp2(data, prop) {
22622
22592
  }
22623
22593
 
22624
22594
  // src/client/types/com/atproto/repo/applyWrites.ts
22625
- var InvalidSwapError2 = class extends XRPCError {
22595
+ var InvalidSwapError = class extends XRPCError {
22626
22596
  constructor(src2) {
22627
22597
  super(src2.status, src2.error, src2.message, src2.headers);
22628
22598
  }
22629
22599
  };
22630
- function toKnownErr23(e) {
22600
+ function toKnownErr22(e) {
22631
22601
  if (e instanceof XRPCError) {
22632
22602
  if (e.error === "InvalidSwap")
22633
- return new InvalidSwapError2(e);
22603
+ return new InvalidSwapError(e);
22634
22604
  }
22635
22605
  return e;
22636
22606
  }
@@ -22656,18 +22626,18 @@ function validateDelete(v) {
22656
22626
  // src/client/types/com/atproto/repo/createRecord.ts
22657
22627
  var createRecord_exports = {};
22658
22628
  __export(createRecord_exports, {
22659
- InvalidSwapError: () => InvalidSwapError3,
22660
- toKnownErr: () => toKnownErr24
22629
+ InvalidSwapError: () => InvalidSwapError2,
22630
+ toKnownErr: () => toKnownErr23
22661
22631
  });
22662
- var InvalidSwapError3 = class extends XRPCError {
22632
+ var InvalidSwapError2 = class extends XRPCError {
22663
22633
  constructor(src2) {
22664
22634
  super(src2.status, src2.error, src2.message, src2.headers);
22665
22635
  }
22666
22636
  };
22667
- function toKnownErr24(e) {
22637
+ function toKnownErr23(e) {
22668
22638
  if (e instanceof XRPCError) {
22669
22639
  if (e.error === "InvalidSwap")
22670
- return new InvalidSwapError3(e);
22640
+ return new InvalidSwapError2(e);
22671
22641
  }
22672
22642
  return e;
22673
22643
  }
@@ -22675,18 +22645,18 @@ function toKnownErr24(e) {
22675
22645
  // src/client/types/com/atproto/repo/deleteRecord.ts
22676
22646
  var deleteRecord_exports = {};
22677
22647
  __export(deleteRecord_exports, {
22678
- InvalidSwapError: () => InvalidSwapError4,
22679
- toKnownErr: () => toKnownErr25
22648
+ InvalidSwapError: () => InvalidSwapError3,
22649
+ toKnownErr: () => toKnownErr24
22680
22650
  });
22681
- var InvalidSwapError4 = class extends XRPCError {
22651
+ var InvalidSwapError3 = class extends XRPCError {
22682
22652
  constructor(src2) {
22683
22653
  super(src2.status, src2.error, src2.message, src2.headers);
22684
22654
  }
22685
22655
  };
22686
- function toKnownErr25(e) {
22656
+ function toKnownErr24(e) {
22687
22657
  if (e instanceof XRPCError) {
22688
22658
  if (e.error === "InvalidSwap")
22689
- return new InvalidSwapError4(e);
22659
+ return new InvalidSwapError3(e);
22690
22660
  }
22691
22661
  return e;
22692
22662
  }
@@ -22694,9 +22664,9 @@ function toKnownErr25(e) {
22694
22664
  // src/client/types/com/atproto/repo/describeRepo.ts
22695
22665
  var describeRepo_exports = {};
22696
22666
  __export(describeRepo_exports, {
22697
- toKnownErr: () => toKnownErr26
22667
+ toKnownErr: () => toKnownErr25
22698
22668
  });
22699
- function toKnownErr26(e) {
22669
+ function toKnownErr25(e) {
22700
22670
  if (e instanceof XRPCError) {
22701
22671
  }
22702
22672
  return e;
@@ -22705,9 +22675,9 @@ function toKnownErr26(e) {
22705
22675
  // src/client/types/com/atproto/repo/getRecord.ts
22706
22676
  var getRecord_exports2 = {};
22707
22677
  __export(getRecord_exports2, {
22708
- toKnownErr: () => toKnownErr27
22678
+ toKnownErr: () => toKnownErr26
22709
22679
  });
22710
- function toKnownErr27(e) {
22680
+ function toKnownErr26(e) {
22711
22681
  if (e instanceof XRPCError) {
22712
22682
  }
22713
22683
  return e;
@@ -22717,10 +22687,10 @@ function toKnownErr27(e) {
22717
22687
  var listRecords_exports = {};
22718
22688
  __export(listRecords_exports, {
22719
22689
  isRecord: () => isRecord,
22720
- toKnownErr: () => toKnownErr28,
22690
+ toKnownErr: () => toKnownErr27,
22721
22691
  validateRecord: () => validateRecord
22722
22692
  });
22723
- function toKnownErr28(e) {
22693
+ function toKnownErr27(e) {
22724
22694
  if (e instanceof XRPCError) {
22725
22695
  }
22726
22696
  return e;
@@ -22735,45 +22705,18 @@ function validateRecord(v) {
22735
22705
  // src/client/types/com/atproto/repo/putRecord.ts
22736
22706
  var putRecord_exports = {};
22737
22707
  __export(putRecord_exports, {
22738
- InvalidSwapError: () => InvalidSwapError5,
22739
- toKnownErr: () => toKnownErr29
22740
- });
22741
- var InvalidSwapError5 = class extends XRPCError {
22742
- constructor(src2) {
22743
- super(src2.status, src2.error, src2.message, src2.headers);
22744
- }
22745
- };
22746
- function toKnownErr29(e) {
22747
- if (e instanceof XRPCError) {
22748
- if (e.error === "InvalidSwap")
22749
- return new InvalidSwapError5(e);
22750
- }
22751
- return e;
22752
- }
22753
-
22754
- // src/client/types/com/atproto/repo/rebaseRepo.ts
22755
- var rebaseRepo_exports2 = {};
22756
- __export(rebaseRepo_exports2, {
22757
- ConcurrentWritesError: () => ConcurrentWritesError2,
22758
- InvalidSwapError: () => InvalidSwapError6,
22759
- toKnownErr: () => toKnownErr30
22708
+ InvalidSwapError: () => InvalidSwapError4,
22709
+ toKnownErr: () => toKnownErr28
22760
22710
  });
22761
- var InvalidSwapError6 = class extends XRPCError {
22762
- constructor(src2) {
22763
- super(src2.status, src2.error, src2.message, src2.headers);
22764
- }
22765
- };
22766
- var ConcurrentWritesError2 = class extends XRPCError {
22711
+ var InvalidSwapError4 = class extends XRPCError {
22767
22712
  constructor(src2) {
22768
22713
  super(src2.status, src2.error, src2.message, src2.headers);
22769
22714
  }
22770
22715
  };
22771
- function toKnownErr30(e) {
22716
+ function toKnownErr28(e) {
22772
22717
  if (e instanceof XRPCError) {
22773
22718
  if (e.error === "InvalidSwap")
22774
- return new InvalidSwapError6(e);
22775
- if (e.error === "ConcurrentWrites")
22776
- return new ConcurrentWritesError2(e);
22719
+ return new InvalidSwapError4(e);
22777
22720
  }
22778
22721
  return e;
22779
22722
  }
@@ -22781,9 +22724,9 @@ function toKnownErr30(e) {
22781
22724
  // src/client/types/com/atproto/repo/uploadBlob.ts
22782
22725
  var uploadBlob_exports = {};
22783
22726
  __export(uploadBlob_exports, {
22784
- toKnownErr: () => toKnownErr31
22727
+ toKnownErr: () => toKnownErr29
22785
22728
  });
22786
- function toKnownErr31(e) {
22729
+ function toKnownErr29(e) {
22787
22730
  if (e instanceof XRPCError) {
22788
22731
  }
22789
22732
  return e;
@@ -22799,7 +22742,7 @@ __export(createAccount_exports, {
22799
22742
  InvalidPasswordError: () => InvalidPasswordError,
22800
22743
  UnresolvableDidError: () => UnresolvableDidError,
22801
22744
  UnsupportedDomainError: () => UnsupportedDomainError,
22802
- toKnownErr: () => toKnownErr32
22745
+ toKnownErr: () => toKnownErr30
22803
22746
  });
22804
22747
  var InvalidHandleError2 = class extends XRPCError {
22805
22748
  constructor(src2) {
@@ -22836,7 +22779,7 @@ var IncompatibleDidDocError = class extends XRPCError {
22836
22779
  super(src2.status, src2.error, src2.message, src2.headers);
22837
22780
  }
22838
22781
  };
22839
- function toKnownErr32(e) {
22782
+ function toKnownErr30(e) {
22840
22783
  if (e instanceof XRPCError) {
22841
22784
  if (e.error === "InvalidHandle")
22842
22785
  return new InvalidHandleError2(e);
@@ -22861,7 +22804,7 @@ var createAppPassword_exports = {};
22861
22804
  __export(createAppPassword_exports, {
22862
22805
  AccountTakedownError: () => AccountTakedownError,
22863
22806
  isAppPassword: () => isAppPassword,
22864
- toKnownErr: () => toKnownErr33,
22807
+ toKnownErr: () => toKnownErr31,
22865
22808
  validateAppPassword: () => validateAppPassword
22866
22809
  });
22867
22810
  var AccountTakedownError = class extends XRPCError {
@@ -22869,7 +22812,7 @@ var AccountTakedownError = class extends XRPCError {
22869
22812
  super(src2.status, src2.error, src2.message, src2.headers);
22870
22813
  }
22871
22814
  };
22872
- function toKnownErr33(e) {
22815
+ function toKnownErr31(e) {
22873
22816
  if (e instanceof XRPCError) {
22874
22817
  if (e.error === "AccountTakedown")
22875
22818
  return new AccountTakedownError(e);
@@ -22889,9 +22832,9 @@ function validateAppPassword(v) {
22889
22832
  // src/client/types/com/atproto/server/createInviteCode.ts
22890
22833
  var createInviteCode_exports = {};
22891
22834
  __export(createInviteCode_exports, {
22892
- toKnownErr: () => toKnownErr34
22835
+ toKnownErr: () => toKnownErr32
22893
22836
  });
22894
- function toKnownErr34(e) {
22837
+ function toKnownErr32(e) {
22895
22838
  if (e instanceof XRPCError) {
22896
22839
  }
22897
22840
  return e;
@@ -22901,10 +22844,10 @@ function toKnownErr34(e) {
22901
22844
  var createInviteCodes_exports = {};
22902
22845
  __export(createInviteCodes_exports, {
22903
22846
  isAccountCodes: () => isAccountCodes,
22904
- toKnownErr: () => toKnownErr35,
22847
+ toKnownErr: () => toKnownErr33,
22905
22848
  validateAccountCodes: () => validateAccountCodes
22906
22849
  });
22907
- function toKnownErr35(e) {
22850
+ function toKnownErr33(e) {
22908
22851
  if (e instanceof XRPCError) {
22909
22852
  }
22910
22853
  return e;
@@ -22923,14 +22866,14 @@ function validateAccountCodes(v) {
22923
22866
  var createSession_exports = {};
22924
22867
  __export(createSession_exports, {
22925
22868
  AccountTakedownError: () => AccountTakedownError2,
22926
- toKnownErr: () => toKnownErr36
22869
+ toKnownErr: () => toKnownErr34
22927
22870
  });
22928
22871
  var AccountTakedownError2 = class extends XRPCError {
22929
22872
  constructor(src2) {
22930
22873
  super(src2.status, src2.error, src2.message, src2.headers);
22931
22874
  }
22932
22875
  };
22933
- function toKnownErr36(e) {
22876
+ function toKnownErr34(e) {
22934
22877
  if (e instanceof XRPCError) {
22935
22878
  if (e.error === "AccountTakedown")
22936
22879
  return new AccountTakedownError2(e);
@@ -22943,7 +22886,7 @@ var deleteAccount_exports = {};
22943
22886
  __export(deleteAccount_exports, {
22944
22887
  ExpiredTokenError: () => ExpiredTokenError,
22945
22888
  InvalidTokenError: () => InvalidTokenError,
22946
- toKnownErr: () => toKnownErr37
22889
+ toKnownErr: () => toKnownErr35
22947
22890
  });
22948
22891
  var ExpiredTokenError = class extends XRPCError {
22949
22892
  constructor(src2) {
@@ -22955,7 +22898,7 @@ var InvalidTokenError = class extends XRPCError {
22955
22898
  super(src2.status, src2.error, src2.message, src2.headers);
22956
22899
  }
22957
22900
  };
22958
- function toKnownErr37(e) {
22901
+ function toKnownErr35(e) {
22959
22902
  if (e instanceof XRPCError) {
22960
22903
  if (e.error === "ExpiredToken")
22961
22904
  return new ExpiredTokenError(e);
@@ -22968,9 +22911,9 @@ function toKnownErr37(e) {
22968
22911
  // src/client/types/com/atproto/server/deleteSession.ts
22969
22912
  var deleteSession_exports = {};
22970
22913
  __export(deleteSession_exports, {
22971
- toKnownErr: () => toKnownErr38
22914
+ toKnownErr: () => toKnownErr36
22972
22915
  });
22973
- function toKnownErr38(e) {
22916
+ function toKnownErr36(e) {
22974
22917
  if (e instanceof XRPCError) {
22975
22918
  }
22976
22919
  return e;
@@ -22980,10 +22923,10 @@ function toKnownErr38(e) {
22980
22923
  var describeServer_exports = {};
22981
22924
  __export(describeServer_exports, {
22982
22925
  isLinks: () => isLinks,
22983
- toKnownErr: () => toKnownErr39,
22926
+ toKnownErr: () => toKnownErr37,
22984
22927
  validateLinks: () => validateLinks
22985
22928
  });
22986
- function toKnownErr39(e) {
22929
+ function toKnownErr37(e) {
22987
22930
  if (e instanceof XRPCError) {
22988
22931
  }
22989
22932
  return e;
@@ -22999,14 +22942,14 @@ function validateLinks(v) {
22999
22942
  var getAccountInviteCodes_exports = {};
23000
22943
  __export(getAccountInviteCodes_exports, {
23001
22944
  DuplicateCreateError: () => DuplicateCreateError,
23002
- toKnownErr: () => toKnownErr40
22945
+ toKnownErr: () => toKnownErr38
23003
22946
  });
23004
22947
  var DuplicateCreateError = class extends XRPCError {
23005
22948
  constructor(src2) {
23006
22949
  super(src2.status, src2.error, src2.message, src2.headers);
23007
22950
  }
23008
22951
  };
23009
- function toKnownErr40(e) {
22952
+ function toKnownErr38(e) {
23010
22953
  if (e instanceof XRPCError) {
23011
22954
  if (e.error === "DuplicateCreate")
23012
22955
  return new DuplicateCreateError(e);
@@ -23017,9 +22960,9 @@ function toKnownErr40(e) {
23017
22960
  // src/client/types/com/atproto/server/getSession.ts
23018
22961
  var getSession_exports = {};
23019
22962
  __export(getSession_exports, {
23020
- toKnownErr: () => toKnownErr41
22963
+ toKnownErr: () => toKnownErr39
23021
22964
  });
23022
- function toKnownErr41(e) {
22965
+ function toKnownErr39(e) {
23023
22966
  if (e instanceof XRPCError) {
23024
22967
  }
23025
22968
  return e;
@@ -23030,7 +22973,7 @@ var listAppPasswords_exports = {};
23030
22973
  __export(listAppPasswords_exports, {
23031
22974
  AccountTakedownError: () => AccountTakedownError3,
23032
22975
  isAppPassword: () => isAppPassword2,
23033
- toKnownErr: () => toKnownErr42,
22976
+ toKnownErr: () => toKnownErr40,
23034
22977
  validateAppPassword: () => validateAppPassword2
23035
22978
  });
23036
22979
  var AccountTakedownError3 = class extends XRPCError {
@@ -23038,7 +22981,7 @@ var AccountTakedownError3 = class extends XRPCError {
23038
22981
  super(src2.status, src2.error, src2.message, src2.headers);
23039
22982
  }
23040
22983
  };
23041
- function toKnownErr42(e) {
22984
+ function toKnownErr40(e) {
23042
22985
  if (e instanceof XRPCError) {
23043
22986
  if (e.error === "AccountTakedown")
23044
22987
  return new AccountTakedownError3(e);
@@ -23056,14 +22999,14 @@ function validateAppPassword2(v) {
23056
22999
  var refreshSession_exports = {};
23057
23000
  __export(refreshSession_exports, {
23058
23001
  AccountTakedownError: () => AccountTakedownError4,
23059
- toKnownErr: () => toKnownErr43
23002
+ toKnownErr: () => toKnownErr41
23060
23003
  });
23061
23004
  var AccountTakedownError4 = class extends XRPCError {
23062
23005
  constructor(src2) {
23063
23006
  super(src2.status, src2.error, src2.message, src2.headers);
23064
23007
  }
23065
23008
  };
23066
- function toKnownErr43(e) {
23009
+ function toKnownErr41(e) {
23067
23010
  if (e instanceof XRPCError) {
23068
23011
  if (e.error === "AccountTakedown")
23069
23012
  return new AccountTakedownError4(e);
@@ -23074,9 +23017,9 @@ function toKnownErr43(e) {
23074
23017
  // src/client/types/com/atproto/server/requestAccountDelete.ts
23075
23018
  var requestAccountDelete_exports = {};
23076
23019
  __export(requestAccountDelete_exports, {
23077
- toKnownErr: () => toKnownErr44
23020
+ toKnownErr: () => toKnownErr42
23078
23021
  });
23079
- function toKnownErr44(e) {
23022
+ function toKnownErr42(e) {
23080
23023
  if (e instanceof XRPCError) {
23081
23024
  }
23082
23025
  return e;
@@ -23085,9 +23028,9 @@ function toKnownErr44(e) {
23085
23028
  // src/client/types/com/atproto/server/requestPasswordReset.ts
23086
23029
  var requestPasswordReset_exports = {};
23087
23030
  __export(requestPasswordReset_exports, {
23088
- toKnownErr: () => toKnownErr45
23031
+ toKnownErr: () => toKnownErr43
23089
23032
  });
23090
- function toKnownErr45(e) {
23033
+ function toKnownErr43(e) {
23091
23034
  if (e instanceof XRPCError) {
23092
23035
  }
23093
23036
  return e;
@@ -23098,7 +23041,7 @@ var resetPassword_exports = {};
23098
23041
  __export(resetPassword_exports, {
23099
23042
  ExpiredTokenError: () => ExpiredTokenError2,
23100
23043
  InvalidTokenError: () => InvalidTokenError2,
23101
- toKnownErr: () => toKnownErr46
23044
+ toKnownErr: () => toKnownErr44
23102
23045
  });
23103
23046
  var ExpiredTokenError2 = class extends XRPCError {
23104
23047
  constructor(src2) {
@@ -23110,7 +23053,7 @@ var InvalidTokenError2 = class extends XRPCError {
23110
23053
  super(src2.status, src2.error, src2.message, src2.headers);
23111
23054
  }
23112
23055
  };
23113
- function toKnownErr46(e) {
23056
+ function toKnownErr44(e) {
23114
23057
  if (e instanceof XRPCError) {
23115
23058
  if (e.error === "ExpiredToken")
23116
23059
  return new ExpiredTokenError2(e);
@@ -23123,9 +23066,9 @@ function toKnownErr46(e) {
23123
23066
  // src/client/types/com/atproto/server/revokeAppPassword.ts
23124
23067
  var revokeAppPassword_exports = {};
23125
23068
  __export(revokeAppPassword_exports, {
23126
- toKnownErr: () => toKnownErr47
23069
+ toKnownErr: () => toKnownErr45
23127
23070
  });
23128
- function toKnownErr47(e) {
23071
+ function toKnownErr45(e) {
23129
23072
  if (e instanceof XRPCError) {
23130
23073
  }
23131
23074
  return e;
@@ -23134,9 +23077,9 @@ function toKnownErr47(e) {
23134
23077
  // src/client/types/com/atproto/sync/getBlob.ts
23135
23078
  var getBlob_exports = {};
23136
23079
  __export(getBlob_exports, {
23137
- toKnownErr: () => toKnownErr48
23080
+ toKnownErr: () => toKnownErr46
23138
23081
  });
23139
- function toKnownErr48(e) {
23082
+ function toKnownErr46(e) {
23140
23083
  if (e instanceof XRPCError) {
23141
23084
  }
23142
23085
  return e;
@@ -23145,9 +23088,9 @@ function toKnownErr48(e) {
23145
23088
  // src/client/types/com/atproto/sync/getBlocks.ts
23146
23089
  var getBlocks_exports = {};
23147
23090
  __export(getBlocks_exports, {
23148
- toKnownErr: () => toKnownErr49
23091
+ toKnownErr: () => toKnownErr47
23149
23092
  });
23150
- function toKnownErr49(e) {
23093
+ function toKnownErr47(e) {
23151
23094
  if (e instanceof XRPCError) {
23152
23095
  }
23153
23096
  return e;
@@ -23156,20 +23099,9 @@ function toKnownErr49(e) {
23156
23099
  // src/client/types/com/atproto/sync/getCheckout.ts
23157
23100
  var getCheckout_exports = {};
23158
23101
  __export(getCheckout_exports, {
23159
- toKnownErr: () => toKnownErr50
23160
- });
23161
- function toKnownErr50(e) {
23162
- if (e instanceof XRPCError) {
23163
- }
23164
- return e;
23165
- }
23166
-
23167
- // src/client/types/com/atproto/sync/getCommitPath.ts
23168
- var getCommitPath_exports = {};
23169
- __export(getCommitPath_exports, {
23170
- toKnownErr: () => toKnownErr51
23102
+ toKnownErr: () => toKnownErr48
23171
23103
  });
23172
- function toKnownErr51(e) {
23104
+ function toKnownErr48(e) {
23173
23105
  if (e instanceof XRPCError) {
23174
23106
  }
23175
23107
  return e;
@@ -23179,14 +23111,14 @@ function toKnownErr51(e) {
23179
23111
  var getHead_exports = {};
23180
23112
  __export(getHead_exports, {
23181
23113
  HeadNotFoundError: () => HeadNotFoundError,
23182
- toKnownErr: () => toKnownErr52
23114
+ toKnownErr: () => toKnownErr49
23183
23115
  });
23184
23116
  var HeadNotFoundError = class extends XRPCError {
23185
23117
  constructor(src2) {
23186
23118
  super(src2.status, src2.error, src2.message, src2.headers);
23187
23119
  }
23188
23120
  };
23189
- function toKnownErr52(e) {
23121
+ function toKnownErr49(e) {
23190
23122
  if (e instanceof XRPCError) {
23191
23123
  if (e.error === "HeadNotFound")
23192
23124
  return new HeadNotFoundError(e);
@@ -23194,12 +23126,31 @@ function toKnownErr52(e) {
23194
23126
  return e;
23195
23127
  }
23196
23128
 
23129
+ // src/client/types/com/atproto/sync/getLatestCommit.ts
23130
+ var getLatestCommit_exports = {};
23131
+ __export(getLatestCommit_exports, {
23132
+ RepoNotFoundError: () => RepoNotFoundError2,
23133
+ toKnownErr: () => toKnownErr50
23134
+ });
23135
+ var RepoNotFoundError2 = class extends XRPCError {
23136
+ constructor(src2) {
23137
+ super(src2.status, src2.error, src2.message, src2.headers);
23138
+ }
23139
+ };
23140
+ function toKnownErr50(e) {
23141
+ if (e instanceof XRPCError) {
23142
+ if (e.error === "RepoNotFound")
23143
+ return new RepoNotFoundError2(e);
23144
+ }
23145
+ return e;
23146
+ }
23147
+
23197
23148
  // src/client/types/com/atproto/sync/getRecord.ts
23198
23149
  var getRecord_exports3 = {};
23199
23150
  __export(getRecord_exports3, {
23200
- toKnownErr: () => toKnownErr53
23151
+ toKnownErr: () => toKnownErr51
23201
23152
  });
23202
- function toKnownErr53(e) {
23153
+ function toKnownErr51(e) {
23203
23154
  if (e instanceof XRPCError) {
23204
23155
  }
23205
23156
  return e;
@@ -23208,9 +23159,9 @@ function toKnownErr53(e) {
23208
23159
  // src/client/types/com/atproto/sync/getRepo.ts
23209
23160
  var getRepo_exports2 = {};
23210
23161
  __export(getRepo_exports2, {
23211
- toKnownErr: () => toKnownErr54
23162
+ toKnownErr: () => toKnownErr52
23212
23163
  });
23213
- function toKnownErr54(e) {
23164
+ function toKnownErr52(e) {
23214
23165
  if (e instanceof XRPCError) {
23215
23166
  }
23216
23167
  return e;
@@ -23219,9 +23170,9 @@ function toKnownErr54(e) {
23219
23170
  // src/client/types/com/atproto/sync/listBlobs.ts
23220
23171
  var listBlobs_exports = {};
23221
23172
  __export(listBlobs_exports, {
23222
- toKnownErr: () => toKnownErr55
23173
+ toKnownErr: () => toKnownErr53
23223
23174
  });
23224
- function toKnownErr55(e) {
23175
+ function toKnownErr53(e) {
23225
23176
  if (e instanceof XRPCError) {
23226
23177
  }
23227
23178
  return e;
@@ -23231,10 +23182,10 @@ function toKnownErr55(e) {
23231
23182
  var listRepos_exports = {};
23232
23183
  __export(listRepos_exports, {
23233
23184
  isRepo: () => isRepo,
23234
- toKnownErr: () => toKnownErr56,
23185
+ toKnownErr: () => toKnownErr54,
23235
23186
  validateRepo: () => validateRepo
23236
23187
  });
23237
- function toKnownErr56(e) {
23188
+ function toKnownErr54(e) {
23238
23189
  if (e instanceof XRPCError) {
23239
23190
  }
23240
23191
  return e;
@@ -23249,9 +23200,9 @@ function validateRepo(v) {
23249
23200
  // src/client/types/com/atproto/sync/notifyOfUpdate.ts
23250
23201
  var notifyOfUpdate_exports = {};
23251
23202
  __export(notifyOfUpdate_exports, {
23252
- toKnownErr: () => toKnownErr57
23203
+ toKnownErr: () => toKnownErr55
23253
23204
  });
23254
- function toKnownErr57(e) {
23205
+ function toKnownErr55(e) {
23255
23206
  if (e instanceof XRPCError) {
23256
23207
  }
23257
23208
  return e;
@@ -23260,9 +23211,20 @@ function toKnownErr57(e) {
23260
23211
  // src/client/types/com/atproto/sync/requestCrawl.ts
23261
23212
  var requestCrawl_exports = {};
23262
23213
  __export(requestCrawl_exports, {
23263
- toKnownErr: () => toKnownErr58
23214
+ toKnownErr: () => toKnownErr56
23264
23215
  });
23265
- function toKnownErr58(e) {
23216
+ function toKnownErr56(e) {
23217
+ if (e instanceof XRPCError) {
23218
+ }
23219
+ return e;
23220
+ }
23221
+
23222
+ // src/client/types/com/atproto/temp/upgradeRepoVersion.ts
23223
+ var upgradeRepoVersion_exports = {};
23224
+ __export(upgradeRepoVersion_exports, {
23225
+ toKnownErr: () => toKnownErr57
23226
+ });
23227
+ function toKnownErr57(e) {
23266
23228
  if (e instanceof XRPCError) {
23267
23229
  }
23268
23230
  return e;
@@ -23271,9 +23233,9 @@ function toKnownErr58(e) {
23271
23233
  // src/client/types/app/bsky/actor/getPreferences.ts
23272
23234
  var getPreferences_exports = {};
23273
23235
  __export(getPreferences_exports, {
23274
- toKnownErr: () => toKnownErr59
23236
+ toKnownErr: () => toKnownErr58
23275
23237
  });
23276
- function toKnownErr59(e) {
23238
+ function toKnownErr58(e) {
23277
23239
  if (e instanceof XRPCError) {
23278
23240
  }
23279
23241
  return e;
@@ -23282,9 +23244,9 @@ function toKnownErr59(e) {
23282
23244
  // src/client/types/app/bsky/actor/getProfile.ts
23283
23245
  var getProfile_exports = {};
23284
23246
  __export(getProfile_exports, {
23285
- toKnownErr: () => toKnownErr60
23247
+ toKnownErr: () => toKnownErr59
23286
23248
  });
23287
- function toKnownErr60(e) {
23249
+ function toKnownErr59(e) {
23288
23250
  if (e instanceof XRPCError) {
23289
23251
  }
23290
23252
  return e;
@@ -23293,9 +23255,9 @@ function toKnownErr60(e) {
23293
23255
  // src/client/types/app/bsky/actor/getProfiles.ts
23294
23256
  var getProfiles_exports = {};
23295
23257
  __export(getProfiles_exports, {
23296
- toKnownErr: () => toKnownErr61
23258
+ toKnownErr: () => toKnownErr60
23297
23259
  });
23298
- function toKnownErr61(e) {
23260
+ function toKnownErr60(e) {
23299
23261
  if (e instanceof XRPCError) {
23300
23262
  }
23301
23263
  return e;
@@ -23304,9 +23266,9 @@ function toKnownErr61(e) {
23304
23266
  // src/client/types/app/bsky/actor/getSuggestions.ts
23305
23267
  var getSuggestions_exports = {};
23306
23268
  __export(getSuggestions_exports, {
23307
- toKnownErr: () => toKnownErr62
23269
+ toKnownErr: () => toKnownErr61
23308
23270
  });
23309
- function toKnownErr62(e) {
23271
+ function toKnownErr61(e) {
23310
23272
  if (e instanceof XRPCError) {
23311
23273
  }
23312
23274
  return e;
@@ -23315,9 +23277,9 @@ function toKnownErr62(e) {
23315
23277
  // src/client/types/app/bsky/actor/putPreferences.ts
23316
23278
  var putPreferences_exports = {};
23317
23279
  __export(putPreferences_exports, {
23318
- toKnownErr: () => toKnownErr63
23280
+ toKnownErr: () => toKnownErr62
23319
23281
  });
23320
- function toKnownErr63(e) {
23282
+ function toKnownErr62(e) {
23321
23283
  if (e instanceof XRPCError) {
23322
23284
  }
23323
23285
  return e;
@@ -23326,9 +23288,9 @@ function toKnownErr63(e) {
23326
23288
  // src/client/types/app/bsky/actor/searchActors.ts
23327
23289
  var searchActors_exports = {};
23328
23290
  __export(searchActors_exports, {
23329
- toKnownErr: () => toKnownErr64
23291
+ toKnownErr: () => toKnownErr63
23330
23292
  });
23331
- function toKnownErr64(e) {
23293
+ function toKnownErr63(e) {
23332
23294
  if (e instanceof XRPCError) {
23333
23295
  }
23334
23296
  return e;
@@ -23337,9 +23299,9 @@ function toKnownErr64(e) {
23337
23299
  // src/client/types/app/bsky/actor/searchActorsTypeahead.ts
23338
23300
  var searchActorsTypeahead_exports = {};
23339
23301
  __export(searchActorsTypeahead_exports, {
23340
- toKnownErr: () => toKnownErr65
23302
+ toKnownErr: () => toKnownErr64
23341
23303
  });
23342
- function toKnownErr65(e) {
23304
+ function toKnownErr64(e) {
23343
23305
  if (e instanceof XRPCError) {
23344
23306
  }
23345
23307
  return e;
@@ -23350,11 +23312,11 @@ var describeFeedGenerator_exports = {};
23350
23312
  __export(describeFeedGenerator_exports, {
23351
23313
  isFeed: () => isFeed,
23352
23314
  isLinks: () => isLinks2,
23353
- toKnownErr: () => toKnownErr66,
23315
+ toKnownErr: () => toKnownErr65,
23354
23316
  validateFeed: () => validateFeed,
23355
23317
  validateLinks: () => validateLinks2
23356
23318
  });
23357
- function toKnownErr66(e) {
23319
+ function toKnownErr65(e) {
23358
23320
  if (e instanceof XRPCError) {
23359
23321
  }
23360
23322
  return e;
@@ -23375,9 +23337,9 @@ function validateLinks2(v) {
23375
23337
  // src/client/types/app/bsky/feed/getActorFeeds.ts
23376
23338
  var getActorFeeds_exports = {};
23377
23339
  __export(getActorFeeds_exports, {
23378
- toKnownErr: () => toKnownErr67
23340
+ toKnownErr: () => toKnownErr66
23379
23341
  });
23380
- function toKnownErr67(e) {
23342
+ function toKnownErr66(e) {
23381
23343
  if (e instanceof XRPCError) {
23382
23344
  }
23383
23345
  return e;
@@ -23388,7 +23350,7 @@ var getActorLikes_exports = {};
23388
23350
  __export(getActorLikes_exports, {
23389
23351
  BlockedActorError: () => BlockedActorError,
23390
23352
  BlockedByActorError: () => BlockedByActorError,
23391
- toKnownErr: () => toKnownErr68
23353
+ toKnownErr: () => toKnownErr67
23392
23354
  });
23393
23355
  var BlockedActorError = class extends XRPCError {
23394
23356
  constructor(src2) {
@@ -23400,7 +23362,7 @@ var BlockedByActorError = class extends XRPCError {
23400
23362
  super(src2.status, src2.error, src2.message, src2.headers);
23401
23363
  }
23402
23364
  };
23403
- function toKnownErr68(e) {
23365
+ function toKnownErr67(e) {
23404
23366
  if (e instanceof XRPCError) {
23405
23367
  if (e.error === "BlockedActor")
23406
23368
  return new BlockedActorError(e);
@@ -23415,7 +23377,7 @@ var getAuthorFeed_exports = {};
23415
23377
  __export(getAuthorFeed_exports, {
23416
23378
  BlockedActorError: () => BlockedActorError2,
23417
23379
  BlockedByActorError: () => BlockedByActorError2,
23418
- toKnownErr: () => toKnownErr69
23380
+ toKnownErr: () => toKnownErr68
23419
23381
  });
23420
23382
  var BlockedActorError2 = class extends XRPCError {
23421
23383
  constructor(src2) {
@@ -23427,7 +23389,7 @@ var BlockedByActorError2 = class extends XRPCError {
23427
23389
  super(src2.status, src2.error, src2.message, src2.headers);
23428
23390
  }
23429
23391
  };
23430
- function toKnownErr69(e) {
23392
+ function toKnownErr68(e) {
23431
23393
  if (e instanceof XRPCError) {
23432
23394
  if (e.error === "BlockedActor")
23433
23395
  return new BlockedActorError2(e);
@@ -23441,14 +23403,14 @@ function toKnownErr69(e) {
23441
23403
  var getFeed_exports = {};
23442
23404
  __export(getFeed_exports, {
23443
23405
  UnknownFeedError: () => UnknownFeedError,
23444
- toKnownErr: () => toKnownErr70
23406
+ toKnownErr: () => toKnownErr69
23445
23407
  });
23446
23408
  var UnknownFeedError = class extends XRPCError {
23447
23409
  constructor(src2) {
23448
23410
  super(src2.status, src2.error, src2.message, src2.headers);
23449
23411
  }
23450
23412
  };
23451
- function toKnownErr70(e) {
23413
+ function toKnownErr69(e) {
23452
23414
  if (e instanceof XRPCError) {
23453
23415
  if (e.error === "UnknownFeed")
23454
23416
  return new UnknownFeedError(e);
@@ -23459,9 +23421,9 @@ function toKnownErr70(e) {
23459
23421
  // src/client/types/app/bsky/feed/getFeedGenerator.ts
23460
23422
  var getFeedGenerator_exports = {};
23461
23423
  __export(getFeedGenerator_exports, {
23462
- toKnownErr: () => toKnownErr71
23424
+ toKnownErr: () => toKnownErr70
23463
23425
  });
23464
- function toKnownErr71(e) {
23426
+ function toKnownErr70(e) {
23465
23427
  if (e instanceof XRPCError) {
23466
23428
  }
23467
23429
  return e;
@@ -23470,9 +23432,9 @@ function toKnownErr71(e) {
23470
23432
  // src/client/types/app/bsky/feed/getFeedGenerators.ts
23471
23433
  var getFeedGenerators_exports = {};
23472
23434
  __export(getFeedGenerators_exports, {
23473
- toKnownErr: () => toKnownErr72
23435
+ toKnownErr: () => toKnownErr71
23474
23436
  });
23475
- function toKnownErr72(e) {
23437
+ function toKnownErr71(e) {
23476
23438
  if (e instanceof XRPCError) {
23477
23439
  }
23478
23440
  return e;
@@ -23482,14 +23444,14 @@ function toKnownErr72(e) {
23482
23444
  var getFeedSkeleton_exports = {};
23483
23445
  __export(getFeedSkeleton_exports, {
23484
23446
  UnknownFeedError: () => UnknownFeedError2,
23485
- toKnownErr: () => toKnownErr73
23447
+ toKnownErr: () => toKnownErr72
23486
23448
  });
23487
23449
  var UnknownFeedError2 = class extends XRPCError {
23488
23450
  constructor(src2) {
23489
23451
  super(src2.status, src2.error, src2.message, src2.headers);
23490
23452
  }
23491
23453
  };
23492
- function toKnownErr73(e) {
23454
+ function toKnownErr72(e) {
23493
23455
  if (e instanceof XRPCError) {
23494
23456
  if (e.error === "UnknownFeed")
23495
23457
  return new UnknownFeedError2(e);
@@ -23501,10 +23463,10 @@ function toKnownErr73(e) {
23501
23463
  var getLikes_exports = {};
23502
23464
  __export(getLikes_exports, {
23503
23465
  isLike: () => isLike,
23504
- toKnownErr: () => toKnownErr74,
23466
+ toKnownErr: () => toKnownErr73,
23505
23467
  validateLike: () => validateLike
23506
23468
  });
23507
- function toKnownErr74(e) {
23469
+ function toKnownErr73(e) {
23508
23470
  if (e instanceof XRPCError) {
23509
23471
  }
23510
23472
  return e;
@@ -23520,14 +23482,14 @@ function validateLike(v) {
23520
23482
  var getPostThread_exports = {};
23521
23483
  __export(getPostThread_exports, {
23522
23484
  NotFoundError: () => NotFoundError,
23523
- toKnownErr: () => toKnownErr75
23485
+ toKnownErr: () => toKnownErr74
23524
23486
  });
23525
23487
  var NotFoundError = class extends XRPCError {
23526
23488
  constructor(src2) {
23527
23489
  super(src2.status, src2.error, src2.message, src2.headers);
23528
23490
  }
23529
23491
  };
23530
- function toKnownErr75(e) {
23492
+ function toKnownErr74(e) {
23531
23493
  if (e instanceof XRPCError) {
23532
23494
  if (e.error === "NotFound")
23533
23495
  return new NotFoundError(e);
@@ -23538,9 +23500,9 @@ function toKnownErr75(e) {
23538
23500
  // src/client/types/app/bsky/feed/getPosts.ts
23539
23501
  var getPosts_exports = {};
23540
23502
  __export(getPosts_exports, {
23541
- toKnownErr: () => toKnownErr76
23503
+ toKnownErr: () => toKnownErr75
23542
23504
  });
23543
- function toKnownErr76(e) {
23505
+ function toKnownErr75(e) {
23544
23506
  if (e instanceof XRPCError) {
23545
23507
  }
23546
23508
  return e;
@@ -23549,6 +23511,17 @@ function toKnownErr76(e) {
23549
23511
  // src/client/types/app/bsky/feed/getRepostedBy.ts
23550
23512
  var getRepostedBy_exports = {};
23551
23513
  __export(getRepostedBy_exports, {
23514
+ toKnownErr: () => toKnownErr76
23515
+ });
23516
+ function toKnownErr76(e) {
23517
+ if (e instanceof XRPCError) {
23518
+ }
23519
+ return e;
23520
+ }
23521
+
23522
+ // src/client/types/app/bsky/feed/getSuggestedFeeds.ts
23523
+ var getSuggestedFeeds_exports = {};
23524
+ __export(getSuggestedFeeds_exports, {
23552
23525
  toKnownErr: () => toKnownErr77
23553
23526
  });
23554
23527
  function toKnownErr77(e) {
@@ -24688,6 +24661,7 @@ var AtprotoNS = class {
24688
24661
  this.repo = new RepoNS(service);
24689
24662
  this.server = new ServerNS(service);
24690
24663
  this.sync = new SyncNS(service);
24664
+ this.temp = new TempNS(service);
24691
24665
  }
24692
24666
  };
24693
24667
  var AdminNS = class {
@@ -24744,44 +24718,39 @@ var AdminNS = class {
24744
24718
  throw toKnownErr10(e);
24745
24719
  });
24746
24720
  }
24747
- rebaseRepo(data, opts) {
24748
- return this._service.xrpc.call("com.atproto.admin.rebaseRepo", opts?.qp, data, opts).catch((e) => {
24749
- throw toKnownErr11(e);
24750
- });
24751
- }
24752
24721
  resolveModerationReports(data, opts) {
24753
24722
  return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
24754
- throw toKnownErr12(e);
24723
+ throw toKnownErr11(e);
24755
24724
  });
24756
24725
  }
24757
24726
  reverseModerationAction(data, opts) {
24758
24727
  return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
24759
- throw toKnownErr13(e);
24728
+ throw toKnownErr12(e);
24760
24729
  });
24761
24730
  }
24762
24731
  searchRepos(params2, opts) {
24763
24732
  return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
24764
- throw toKnownErr14(e);
24733
+ throw toKnownErr13(e);
24765
24734
  });
24766
24735
  }
24767
24736
  sendEmail(data, opts) {
24768
24737
  return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
24769
- throw toKnownErr15(e);
24738
+ throw toKnownErr14(e);
24770
24739
  });
24771
24740
  }
24772
24741
  takeModerationAction(data, opts) {
24773
24742
  return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
24774
- throw toKnownErr16(e);
24743
+ throw toKnownErr15(e);
24775
24744
  });
24776
24745
  }
24777
24746
  updateAccountEmail(data, opts) {
24778
24747
  return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
24779
- throw toKnownErr17(e);
24748
+ throw toKnownErr16(e);
24780
24749
  });
24781
24750
  }
24782
24751
  updateAccountHandle(data, opts) {
24783
24752
  return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
24784
- throw toKnownErr18(e);
24753
+ throw toKnownErr17(e);
24785
24754
  });
24786
24755
  }
24787
24756
  };
@@ -24791,12 +24760,12 @@ var IdentityNS = class {
24791
24760
  }
24792
24761
  resolveHandle(params2, opts) {
24793
24762
  return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
24794
- throw toKnownErr19(e);
24763
+ throw toKnownErr18(e);
24795
24764
  });
24796
24765
  }
24797
24766
  updateHandle(data, opts) {
24798
24767
  return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
24799
- throw toKnownErr20(e);
24768
+ throw toKnownErr19(e);
24800
24769
  });
24801
24770
  }
24802
24771
  };
@@ -24806,7 +24775,7 @@ var LabelNS = class {
24806
24775
  }
24807
24776
  queryLabels(params2, opts) {
24808
24777
  return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
24809
- throw toKnownErr21(e);
24778
+ throw toKnownErr20(e);
24810
24779
  });
24811
24780
  }
24812
24781
  };
@@ -24816,7 +24785,7 @@ var ModerationNS = class {
24816
24785
  }
24817
24786
  createReport(data, opts) {
24818
24787
  return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
24819
- throw toKnownErr22(e);
24788
+ throw toKnownErr21(e);
24820
24789
  });
24821
24790
  }
24822
24791
  };
@@ -24826,47 +24795,42 @@ var RepoNS = class {
24826
24795
  }
24827
24796
  applyWrites(data, opts) {
24828
24797
  return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
24829
- throw toKnownErr23(e);
24798
+ throw toKnownErr22(e);
24830
24799
  });
24831
24800
  }
24832
24801
  createRecord(data, opts) {
24833
24802
  return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
24834
- throw toKnownErr24(e);
24803
+ throw toKnownErr23(e);
24835
24804
  });
24836
24805
  }
24837
24806
  deleteRecord(data, opts) {
24838
24807
  return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
24839
- throw toKnownErr25(e);
24808
+ throw toKnownErr24(e);
24840
24809
  });
24841
24810
  }
24842
24811
  describeRepo(params2, opts) {
24843
24812
  return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
24844
- throw toKnownErr26(e);
24813
+ throw toKnownErr25(e);
24845
24814
  });
24846
24815
  }
24847
24816
  getRecord(params2, opts) {
24848
24817
  return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
24849
- throw toKnownErr27(e);
24818
+ throw toKnownErr26(e);
24850
24819
  });
24851
24820
  }
24852
24821
  listRecords(params2, opts) {
24853
24822
  return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
24854
- throw toKnownErr28(e);
24823
+ throw toKnownErr27(e);
24855
24824
  });
24856
24825
  }
24857
24826
  putRecord(data, opts) {
24858
24827
  return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
24859
- throw toKnownErr29(e);
24860
- });
24861
- }
24862
- rebaseRepo(data, opts) {
24863
- return this._service.xrpc.call("com.atproto.repo.rebaseRepo", opts?.qp, data, opts).catch((e) => {
24864
- throw toKnownErr30(e);
24828
+ throw toKnownErr28(e);
24865
24829
  });
24866
24830
  }
24867
24831
  uploadBlob(data, opts) {
24868
24832
  return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
24869
- throw toKnownErr31(e);
24833
+ throw toKnownErr29(e);
24870
24834
  });
24871
24835
  }
24872
24836
  };
@@ -24876,82 +24840,82 @@ var ServerNS = class {
24876
24840
  }
24877
24841
  createAccount(data, opts) {
24878
24842
  return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
24879
- throw toKnownErr32(e);
24843
+ throw toKnownErr30(e);
24880
24844
  });
24881
24845
  }
24882
24846
  createAppPassword(data, opts) {
24883
24847
  return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
24884
- throw toKnownErr33(e);
24848
+ throw toKnownErr31(e);
24885
24849
  });
24886
24850
  }
24887
24851
  createInviteCode(data, opts) {
24888
24852
  return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
24889
- throw toKnownErr34(e);
24853
+ throw toKnownErr32(e);
24890
24854
  });
24891
24855
  }
24892
24856
  createInviteCodes(data, opts) {
24893
24857
  return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
24894
- throw toKnownErr35(e);
24858
+ throw toKnownErr33(e);
24895
24859
  });
24896
24860
  }
24897
24861
  createSession(data, opts) {
24898
24862
  return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
24899
- throw toKnownErr36(e);
24863
+ throw toKnownErr34(e);
24900
24864
  });
24901
24865
  }
24902
24866
  deleteAccount(data, opts) {
24903
24867
  return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
24904
- throw toKnownErr37(e);
24868
+ throw toKnownErr35(e);
24905
24869
  });
24906
24870
  }
24907
24871
  deleteSession(data, opts) {
24908
24872
  return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
24909
- throw toKnownErr38(e);
24873
+ throw toKnownErr36(e);
24910
24874
  });
24911
24875
  }
24912
24876
  describeServer(params2, opts) {
24913
24877
  return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
24914
- throw toKnownErr39(e);
24878
+ throw toKnownErr37(e);
24915
24879
  });
24916
24880
  }
24917
24881
  getAccountInviteCodes(params2, opts) {
24918
24882
  return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
24919
- throw toKnownErr40(e);
24883
+ throw toKnownErr38(e);
24920
24884
  });
24921
24885
  }
24922
24886
  getSession(params2, opts) {
24923
24887
  return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
24924
- throw toKnownErr41(e);
24888
+ throw toKnownErr39(e);
24925
24889
  });
24926
24890
  }
24927
24891
  listAppPasswords(params2, opts) {
24928
24892
  return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
24929
- throw toKnownErr42(e);
24893
+ throw toKnownErr40(e);
24930
24894
  });
24931
24895
  }
24932
24896
  refreshSession(data, opts) {
24933
24897
  return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
24934
- throw toKnownErr43(e);
24898
+ throw toKnownErr41(e);
24935
24899
  });
24936
24900
  }
24937
24901
  requestAccountDelete(data, opts) {
24938
24902
  return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
24939
- throw toKnownErr44(e);
24903
+ throw toKnownErr42(e);
24940
24904
  });
24941
24905
  }
24942
24906
  requestPasswordReset(data, opts) {
24943
24907
  return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
24944
- throw toKnownErr45(e);
24908
+ throw toKnownErr43(e);
24945
24909
  });
24946
24910
  }
24947
24911
  resetPassword(data, opts) {
24948
24912
  return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
24949
- throw toKnownErr46(e);
24913
+ throw toKnownErr44(e);
24950
24914
  });
24951
24915
  }
24952
24916
  revokeAppPassword(data, opts) {
24953
24917
  return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
24954
- throw toKnownErr47(e);
24918
+ throw toKnownErr45(e);
24955
24919
  });
24956
24920
  }
24957
24921
  };
@@ -24961,57 +24925,67 @@ var SyncNS = class {
24961
24925
  }
24962
24926
  getBlob(params2, opts) {
24963
24927
  return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
24964
- throw toKnownErr48(e);
24928
+ throw toKnownErr46(e);
24965
24929
  });
24966
24930
  }
24967
24931
  getBlocks(params2, opts) {
24968
24932
  return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
24969
- throw toKnownErr49(e);
24933
+ throw toKnownErr47(e);
24970
24934
  });
24971
24935
  }
24972
24936
  getCheckout(params2, opts) {
24973
24937
  return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
24974
- throw toKnownErr50(e);
24975
- });
24976
- }
24977
- getCommitPath(params2, opts) {
24978
- return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
24979
- throw toKnownErr51(e);
24938
+ throw toKnownErr48(e);
24980
24939
  });
24981
24940
  }
24982
24941
  getHead(params2, opts) {
24983
24942
  return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
24984
- throw toKnownErr52(e);
24943
+ throw toKnownErr49(e);
24944
+ });
24945
+ }
24946
+ getLatestCommit(params2, opts) {
24947
+ return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
24948
+ throw toKnownErr50(e);
24985
24949
  });
24986
24950
  }
24987
24951
  getRecord(params2, opts) {
24988
24952
  return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
24989
- throw toKnownErr53(e);
24953
+ throw toKnownErr51(e);
24990
24954
  });
24991
24955
  }
24992
24956
  getRepo(params2, opts) {
24993
24957
  return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
24994
- throw toKnownErr54(e);
24958
+ throw toKnownErr52(e);
24995
24959
  });
24996
24960
  }
24997
24961
  listBlobs(params2, opts) {
24998
24962
  return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
24999
- throw toKnownErr55(e);
24963
+ throw toKnownErr53(e);
25000
24964
  });
25001
24965
  }
25002
24966
  listRepos(params2, opts) {
25003
24967
  return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
25004
- throw toKnownErr56(e);
24968
+ throw toKnownErr54(e);
25005
24969
  });
25006
24970
  }
25007
24971
  notifyOfUpdate(data, opts) {
25008
24972
  return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
25009
- throw toKnownErr57(e);
24973
+ throw toKnownErr55(e);
25010
24974
  });
25011
24975
  }
25012
24976
  requestCrawl(data, opts) {
25013
24977
  return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
25014
- throw toKnownErr58(e);
24978
+ throw toKnownErr56(e);
24979
+ });
24980
+ }
24981
+ };
24982
+ var TempNS = class {
24983
+ constructor(service) {
24984
+ this._service = service;
24985
+ }
24986
+ upgradeRepoVersion(data, opts) {
24987
+ return this._service.xrpc.call("com.atproto.temp.upgradeRepoVersion", opts?.qp, data, opts).catch((e) => {
24988
+ throw toKnownErr57(e);
25015
24989
  });
25016
24990
  }
25017
24991
  };
@@ -25040,37 +25014,37 @@ var ActorNS = class {
25040
25014
  }
25041
25015
  getPreferences(params2, opts) {
25042
25016
  return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
25043
- throw toKnownErr59(e);
25017
+ throw toKnownErr58(e);
25044
25018
  });
25045
25019
  }
25046
25020
  getProfile(params2, opts) {
25047
25021
  return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
25048
- throw toKnownErr60(e);
25022
+ throw toKnownErr59(e);
25049
25023
  });
25050
25024
  }
25051
25025
  getProfiles(params2, opts) {
25052
25026
  return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
25053
- throw toKnownErr61(e);
25027
+ throw toKnownErr60(e);
25054
25028
  });
25055
25029
  }
25056
25030
  getSuggestions(params2, opts) {
25057
25031
  return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
25058
- throw toKnownErr62(e);
25032
+ throw toKnownErr61(e);
25059
25033
  });
25060
25034
  }
25061
25035
  putPreferences(data, opts) {
25062
25036
  return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
25063
- throw toKnownErr63(e);
25037
+ throw toKnownErr62(e);
25064
25038
  });
25065
25039
  }
25066
25040
  searchActors(params2, opts) {
25067
25041
  return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
25068
- throw toKnownErr64(e);
25042
+ throw toKnownErr63(e);
25069
25043
  });
25070
25044
  }
25071
25045
  searchActorsTypeahead(params2, opts) {
25072
25046
  return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
25073
- throw toKnownErr65(e);
25047
+ throw toKnownErr64(e);
25074
25048
  });
25075
25049
  }
25076
25050
  };
@@ -25126,61 +25100,66 @@ var FeedNS = class {
25126
25100
  }
25127
25101
  describeFeedGenerator(params2, opts) {
25128
25102
  return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
25129
- throw toKnownErr66(e);
25103
+ throw toKnownErr65(e);
25130
25104
  });
25131
25105
  }
25132
25106
  getActorFeeds(params2, opts) {
25133
25107
  return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
25134
- throw toKnownErr67(e);
25108
+ throw toKnownErr66(e);
25135
25109
  });
25136
25110
  }
25137
25111
  getActorLikes(params2, opts) {
25138
25112
  return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
25139
- throw toKnownErr68(e);
25113
+ throw toKnownErr67(e);
25140
25114
  });
25141
25115
  }
25142
25116
  getAuthorFeed(params2, opts) {
25143
25117
  return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
25144
- throw toKnownErr69(e);
25118
+ throw toKnownErr68(e);
25145
25119
  });
25146
25120
  }
25147
25121
  getFeed(params2, opts) {
25148
25122
  return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
25149
- throw toKnownErr70(e);
25123
+ throw toKnownErr69(e);
25150
25124
  });
25151
25125
  }
25152
25126
  getFeedGenerator(params2, opts) {
25153
25127
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
25154
- throw toKnownErr71(e);
25128
+ throw toKnownErr70(e);
25155
25129
  });
25156
25130
  }
25157
25131
  getFeedGenerators(params2, opts) {
25158
25132
  return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
25159
- throw toKnownErr72(e);
25133
+ throw toKnownErr71(e);
25160
25134
  });
25161
25135
  }
25162
25136
  getFeedSkeleton(params2, opts) {
25163
25137
  return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
25164
- throw toKnownErr73(e);
25138
+ throw toKnownErr72(e);
25165
25139
  });
25166
25140
  }
25167
25141
  getLikes(params2, opts) {
25168
25142
  return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
25169
- throw toKnownErr74(e);
25143
+ throw toKnownErr73(e);
25170
25144
  });
25171
25145
  }
25172
25146
  getPostThread(params2, opts) {
25173
25147
  return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
25174
- throw toKnownErr75(e);
25148
+ throw toKnownErr74(e);
25175
25149
  });
25176
25150
  }
25177
25151
  getPosts(params2, opts) {
25178
25152
  return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
25179
- throw toKnownErr76(e);
25153
+ throw toKnownErr75(e);
25180
25154
  });
25181
25155
  }
25182
25156
  getRepostedBy(params2, opts) {
25183
25157
  return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
25158
+ throw toKnownErr76(e);
25159
+ });
25160
+ }
25161
+ getSuggestedFeeds(params2, opts) {
25162
+ return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
25184
25163
  throw toKnownErr77(e);
25185
25164
  });
25186
25165
  }