@atproto/pds 0.4.165 → 0.4.167

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 (282) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/account-manager/account-manager.js +2 -2
  3. package/dist/account-manager/account-manager.js.map +1 -1
  4. package/dist/account-manager/helpers/account-device.d.ts +4 -4
  5. package/dist/account-manager/helpers/account.d.ts +1 -1
  6. package/dist/account-manager/helpers/auth.d.ts +1 -1
  7. package/dist/account-manager/helpers/auth.d.ts.map +1 -1
  8. package/dist/account-manager/helpers/auth.js +8 -8
  9. package/dist/account-manager/helpers/auth.js.map +1 -1
  10. package/dist/account-manager/helpers/authorization-request.d.ts +1 -1
  11. package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -1
  12. package/dist/account-manager/helpers/authorization-request.js +16 -8
  13. package/dist/account-manager/helpers/authorization-request.js.map +1 -1
  14. package/dist/account-manager/helpers/token.d.ts +65 -65
  15. package/dist/actor-store/preference/reader.d.ts +2 -2
  16. package/dist/actor-store/preference/reader.d.ts.map +1 -1
  17. package/dist/actor-store/preference/reader.js +2 -2
  18. package/dist/actor-store/preference/reader.js.map +1 -1
  19. package/dist/actor-store/preference/transactor.d.ts +2 -2
  20. package/dist/actor-store/preference/transactor.d.ts.map +1 -1
  21. package/dist/actor-store/preference/transactor.js +5 -5
  22. package/dist/actor-store/preference/transactor.js.map +1 -1
  23. package/dist/actor-store/preference/util.d.ts +4 -2
  24. package/dist/actor-store/preference/util.d.ts.map +1 -1
  25. package/dist/actor-store/preference/util.js +9 -8
  26. package/dist/actor-store/preference/util.js.map +1 -1
  27. package/dist/actor-store/record/reader.d.ts +2 -2
  28. package/dist/api/app/bsky/actor/getPreferences.d.ts.map +1 -1
  29. package/dist/api/app/bsky/actor/getPreferences.js +29 -7
  30. package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
  31. package/dist/api/app/bsky/actor/getProfile.d.ts.map +1 -1
  32. package/dist/api/app/bsky/actor/getProfile.js +9 -1
  33. package/dist/api/app/bsky/actor/getProfile.js.map +1 -1
  34. package/dist/api/app/bsky/actor/getProfiles.d.ts.map +1 -1
  35. package/dist/api/app/bsky/actor/getProfiles.js +9 -1
  36. package/dist/api/app/bsky/actor/getProfiles.js.map +1 -1
  37. package/dist/api/app/bsky/actor/putPreferences.d.ts.map +1 -1
  38. package/dist/api/app/bsky/actor/putPreferences.js +30 -8
  39. package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
  40. package/dist/api/app/bsky/feed/getActorLikes.d.ts.map +1 -1
  41. package/dist/api/app/bsky/feed/getActorLikes.js +9 -1
  42. package/dist/api/app/bsky/feed/getActorLikes.js.map +1 -1
  43. package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
  44. package/dist/api/app/bsky/feed/getAuthorFeed.js +9 -1
  45. package/dist/api/app/bsky/feed/getAuthorFeed.js.map +1 -1
  46. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  47. package/dist/api/app/bsky/feed/getFeed.js +8 -1
  48. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  49. package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
  50. package/dist/api/app/bsky/feed/getPostThread.js +8 -1
  51. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  52. package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
  53. package/dist/api/app/bsky/feed/getTimeline.js +9 -1
  54. package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
  55. package/dist/api/app/bsky/notification/registerPush.d.ts.map +1 -1
  56. package/dist/api/app/bsky/notification/registerPush.js +16 -4
  57. package/dist/api/app/bsky/notification/registerPush.js.map +1 -1
  58. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
  59. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js +5 -1
  60. package/dist/api/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
  61. package/dist/api/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
  62. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js +9 -2
  63. package/dist/api/com/atproto/identity/requestPlcOperationSignature.js.map +1 -1
  64. package/dist/api/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
  65. package/dist/api/com/atproto/identity/signPlcOperation.js +9 -1
  66. package/dist/api/com/atproto/identity/signPlcOperation.js.map +1 -1
  67. package/dist/api/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
  68. package/dist/api/com/atproto/identity/submitPlcOperation.js +5 -1
  69. package/dist/api/com/atproto/identity/submitPlcOperation.js.map +1 -1
  70. package/dist/api/com/atproto/identity/updateHandle.d.ts.map +1 -1
  71. package/dist/api/com/atproto/identity/updateHandle.js +6 -1
  72. package/dist/api/com/atproto/identity/updateHandle.js.map +1 -1
  73. package/dist/api/com/atproto/moderation/createReport.d.ts.map +1 -1
  74. package/dist/api/com/atproto/moderation/createReport.js +8 -3
  75. package/dist/api/com/atproto/moderation/createReport.js.map +1 -1
  76. package/dist/api/com/atproto/repo/applyWrites.d.ts.map +1 -1
  77. package/dist/api/com/atproto/repo/applyWrites.js +25 -19
  78. package/dist/api/com/atproto/repo/applyWrites.js.map +1 -1
  79. package/dist/api/com/atproto/repo/createRecord.d.ts.map +1 -1
  80. package/dist/api/com/atproto/repo/createRecord.js +10 -1
  81. package/dist/api/com/atproto/repo/createRecord.js.map +1 -1
  82. package/dist/api/com/atproto/repo/deleteRecord.d.ts.map +1 -1
  83. package/dist/api/com/atproto/repo/deleteRecord.js +12 -1
  84. package/dist/api/com/atproto/repo/deleteRecord.js.map +1 -1
  85. package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
  86. package/dist/api/com/atproto/repo/importRepo.js +7 -2
  87. package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
  88. package/dist/api/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
  89. package/dist/api/com/atproto/repo/listMissingBlobs.js +6 -2
  90. package/dist/api/com/atproto/repo/listMissingBlobs.js.map +1 -1
  91. package/dist/api/com/atproto/repo/putRecord.d.ts.map +1 -1
  92. package/dist/api/com/atproto/repo/putRecord.js +17 -11
  93. package/dist/api/com/atproto/repo/putRecord.js.map +1 -1
  94. package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
  95. package/dist/api/com/atproto/repo/uploadBlob.js +5 -1
  96. package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
  97. package/dist/api/com/atproto/server/activateAccount.d.ts.map +1 -1
  98. package/dist/api/com/atproto/server/activateAccount.js +7 -1
  99. package/dist/api/com/atproto/server/activateAccount.js.map +1 -1
  100. package/dist/api/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
  101. package/dist/api/com/atproto/server/checkAccountStatus.js +5 -1
  102. package/dist/api/com/atproto/server/checkAccountStatus.js.map +1 -1
  103. package/dist/api/com/atproto/server/confirmEmail.d.ts.map +1 -1
  104. package/dist/api/com/atproto/server/confirmEmail.js +6 -1
  105. package/dist/api/com/atproto/server/confirmEmail.js.map +1 -1
  106. package/dist/api/com/atproto/server/createAppPassword.d.ts.map +1 -1
  107. package/dist/api/com/atproto/server/createAppPassword.js +7 -1
  108. package/dist/api/com/atproto/server/createAppPassword.js.map +1 -1
  109. package/dist/api/com/atproto/server/deactivateAccount.d.ts.map +1 -1
  110. package/dist/api/com/atproto/server/deactivateAccount.js +9 -2
  111. package/dist/api/com/atproto/server/deactivateAccount.js.map +1 -1
  112. package/dist/api/com/atproto/server/deleteSession.d.ts.map +1 -1
  113. package/dist/api/com/atproto/server/deleteSession.js +3 -1
  114. package/dist/api/com/atproto/server/deleteSession.js.map +1 -1
  115. package/dist/api/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
  116. package/dist/api/com/atproto/server/getAccountInviteCodes.js +8 -1
  117. package/dist/api/com/atproto/server/getAccountInviteCodes.js.map +1 -1
  118. package/dist/api/com/atproto/server/getServiceAuth.d.ts.map +1 -1
  119. package/dist/api/com/atproto/server/getServiceAuth.js +24 -13
  120. package/dist/api/com/atproto/server/getServiceAuth.js.map +1 -1
  121. package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
  122. package/dist/api/com/atproto/server/getSession.js +12 -19
  123. package/dist/api/com/atproto/server/getSession.js.map +1 -1
  124. package/dist/api/com/atproto/server/listAppPasswords.d.ts.map +1 -1
  125. package/dist/api/com/atproto/server/listAppPasswords.js +6 -1
  126. package/dist/api/com/atproto/server/listAppPasswords.js.map +1 -1
  127. package/dist/api/com/atproto/server/refreshSession.js +1 -1
  128. package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
  129. package/dist/api/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
  130. package/dist/api/com/atproto/server/requestAccountDelete.js +8 -1
  131. package/dist/api/com/atproto/server/requestAccountDelete.js.map +1 -1
  132. package/dist/api/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
  133. package/dist/api/com/atproto/server/requestEmailConfirmation.js +6 -1
  134. package/dist/api/com/atproto/server/requestEmailConfirmation.js.map +1 -1
  135. package/dist/api/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
  136. package/dist/api/com/atproto/server/requestEmailUpdate.js +6 -1
  137. package/dist/api/com/atproto/server/requestEmailUpdate.js.map +1 -1
  138. package/dist/api/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
  139. package/dist/api/com/atproto/server/revokeAppPassword.js +6 -1
  140. package/dist/api/com/atproto/server/revokeAppPassword.js.map +1 -1
  141. package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
  142. package/dist/api/com/atproto/server/updateEmail.js +8 -1
  143. package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
  144. package/dist/api/com/atproto/sync/deprecated/getCheckout.d.ts.map +1 -1
  145. package/dist/api/com/atproto/sync/deprecated/getCheckout.js +7 -2
  146. package/dist/api/com/atproto/sync/deprecated/getCheckout.js.map +1 -1
  147. package/dist/api/com/atproto/sync/deprecated/getHead.d.ts.map +1 -1
  148. package/dist/api/com/atproto/sync/deprecated/getHead.js +7 -2
  149. package/dist/api/com/atproto/sync/deprecated/getHead.js.map +1 -1
  150. package/dist/api/com/atproto/sync/getBlob.d.ts.map +1 -1
  151. package/dist/api/com/atproto/sync/getBlob.js +7 -3
  152. package/dist/api/com/atproto/sync/getBlob.js.map +1 -1
  153. package/dist/api/com/atproto/sync/getBlocks.d.ts.map +1 -1
  154. package/dist/api/com/atproto/sync/getBlocks.js +7 -2
  155. package/dist/api/com/atproto/sync/getBlocks.js.map +1 -1
  156. package/dist/api/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
  157. package/dist/api/com/atproto/sync/getLatestCommit.js +7 -2
  158. package/dist/api/com/atproto/sync/getLatestCommit.js.map +1 -1
  159. package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
  160. package/dist/api/com/atproto/sync/getRecord.js +7 -2
  161. package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
  162. package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
  163. package/dist/api/com/atproto/sync/getRepo.js +7 -3
  164. package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
  165. package/dist/api/com/atproto/sync/listBlobs.d.ts.map +1 -1
  166. package/dist/api/com/atproto/sync/listBlobs.js +7 -3
  167. package/dist/api/com/atproto/sync/listBlobs.js.map +1 -1
  168. package/dist/api/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
  169. package/dist/api/com/atproto/temp/checkSignupQueue.js +7 -3
  170. package/dist/api/com/atproto/temp/checkSignupQueue.js.map +1 -1
  171. package/dist/auth-output.d.ts +45 -0
  172. package/dist/auth-output.d.ts.map +1 -0
  173. package/dist/auth-output.js +3 -0
  174. package/dist/auth-output.js.map +1 -0
  175. package/dist/auth-scope.d.ts +16 -0
  176. package/dist/auth-scope.d.ts.map +1 -0
  177. package/dist/auth-scope.js +40 -0
  178. package/dist/auth-scope.js.map +1 -0
  179. package/dist/auth-verifier.d.ts +50 -115
  180. package/dist/auth-verifier.d.ts.map +1 -1
  181. package/dist/auth-verifier.js +275 -366
  182. package/dist/auth-verifier.js.map +1 -1
  183. package/dist/config/config.d.ts +2 -1
  184. package/dist/config/config.d.ts.map +1 -1
  185. package/dist/config/config.js +2 -1
  186. package/dist/config/config.js.map +1 -1
  187. package/dist/config/env.d.ts +1 -0
  188. package/dist/config/env.d.ts.map +1 -1
  189. package/dist/config/env.js +3 -1
  190. package/dist/config/env.js.map +1 -1
  191. package/dist/context.d.ts.map +1 -1
  192. package/dist/context.js +5 -5
  193. package/dist/context.js.map +1 -1
  194. package/dist/lexicon/index.d.ts +230 -230
  195. package/dist/lexicon/index.d.ts.map +1 -1
  196. package/dist/lexicon/index.js +687 -687
  197. package/dist/lexicon/index.js.map +1 -1
  198. package/dist/lexicon/lexicons.d.ts +16650 -16650
  199. package/dist/lexicon/lexicons.js +9267 -9267
  200. package/dist/lexicon/lexicons.js.map +1 -1
  201. package/dist/pipethrough.d.ts +5 -3
  202. package/dist/pipethrough.d.ts.map +1 -1
  203. package/dist/pipethrough.js +42 -15
  204. package/dist/pipethrough.js.map +1 -1
  205. package/dist/sequencer/events.d.ts +13 -13
  206. package/dist/util/http.d.ts +7 -0
  207. package/dist/util/http.d.ts.map +1 -0
  208. package/dist/util/http.js +31 -0
  209. package/dist/util/http.js.map +1 -0
  210. package/dist/util/types.d.ts +5 -0
  211. package/dist/util/types.d.ts.map +1 -0
  212. package/dist/util/types.js +3 -0
  213. package/dist/util/types.js.map +1 -0
  214. package/package.json +4 -3
  215. package/src/account-manager/account-manager.ts +1 -1
  216. package/src/account-manager/helpers/auth.ts +1 -1
  217. package/src/account-manager/helpers/authorization-request.ts +8 -4
  218. package/src/actor-store/preference/reader.ts +3 -4
  219. package/src/actor-store/preference/transactor.ts +6 -7
  220. package/src/actor-store/preference/util.ts +15 -5
  221. package/src/api/app/bsky/actor/getPreferences.ts +33 -8
  222. package/src/api/app/bsky/actor/getProfile.ts +9 -1
  223. package/src/api/app/bsky/actor/getProfiles.ts +9 -1
  224. package/src/api/app/bsky/actor/putPreferences.ts +35 -12
  225. package/src/api/app/bsky/feed/getActorLikes.ts +9 -1
  226. package/src/api/app/bsky/feed/getAuthorFeed.ts +9 -1
  227. package/src/api/app/bsky/feed/getFeed.ts +9 -2
  228. package/src/api/app/bsky/feed/getPostThread.ts +8 -1
  229. package/src/api/app/bsky/feed/getTimeline.ts +9 -1
  230. package/src/api/app/bsky/notification/registerPush.ts +16 -5
  231. package/src/api/com/atproto/identity/getRecommendedDidCredentials.ts +5 -1
  232. package/src/api/com/atproto/identity/requestPlcOperationSignature.ts +9 -2
  233. package/src/api/com/atproto/identity/signPlcOperation.ts +9 -1
  234. package/src/api/com/atproto/identity/submitPlcOperation.ts +5 -1
  235. package/src/api/com/atproto/identity/updateHandle.ts +6 -1
  236. package/src/api/com/atproto/moderation/createReport.ts +8 -3
  237. package/src/api/com/atproto/repo/applyWrites.ts +28 -20
  238. package/src/api/com/atproto/repo/createRecord.ts +12 -1
  239. package/src/api/com/atproto/repo/deleteRecord.ts +14 -1
  240. package/src/api/com/atproto/repo/importRepo.ts +9 -2
  241. package/src/api/com/atproto/repo/listMissingBlobs.ts +7 -2
  242. package/src/api/com/atproto/repo/putRecord.ts +18 -10
  243. package/src/api/com/atproto/repo/uploadBlob.ts +6 -2
  244. package/src/api/com/atproto/server/activateAccount.ts +10 -2
  245. package/src/api/com/atproto/server/checkAccountStatus.ts +5 -1
  246. package/src/api/com/atproto/server/confirmEmail.ts +6 -1
  247. package/src/api/com/atproto/server/createAppPassword.ts +9 -1
  248. package/src/api/com/atproto/server/deactivateAccount.ts +11 -2
  249. package/src/api/com/atproto/server/deleteSession.ts +3 -1
  250. package/src/api/com/atproto/server/getAccountInviteCodes.ts +11 -2
  251. package/src/api/com/atproto/server/getServiceAuth.ts +37 -18
  252. package/src/api/com/atproto/server/getSession.ts +20 -27
  253. package/src/api/com/atproto/server/listAppPasswords.ts +8 -1
  254. package/src/api/com/atproto/server/refreshSession.ts +1 -1
  255. package/src/api/com/atproto/server/requestAccountDelete.ts +11 -2
  256. package/src/api/com/atproto/server/requestEmailConfirmation.ts +6 -1
  257. package/src/api/com/atproto/server/requestEmailUpdate.ts +6 -1
  258. package/src/api/com/atproto/server/revokeAppPassword.ts +8 -1
  259. package/src/api/com/atproto/server/updateEmail.ts +11 -2
  260. package/src/api/com/atproto/sync/deprecated/getCheckout.ts +7 -6
  261. package/src/api/com/atproto/sync/deprecated/getHead.ts +7 -6
  262. package/src/api/com/atproto/sync/getBlob.ts +7 -7
  263. package/src/api/com/atproto/sync/getBlocks.ts +7 -6
  264. package/src/api/com/atproto/sync/getLatestCommit.ts +7 -6
  265. package/src/api/com/atproto/sync/getRecord.ts +7 -6
  266. package/src/api/com/atproto/sync/getRepo.ts +7 -7
  267. package/src/api/com/atproto/sync/listBlobs.ts +7 -7
  268. package/src/api/com/atproto/temp/checkSignupQueue.ts +8 -2
  269. package/src/auth-output.ts +51 -0
  270. package/src/auth-scope.ts +40 -0
  271. package/src/auth-verifier.ts +404 -520
  272. package/src/config/config.ts +7 -7
  273. package/src/config/env.ts +5 -1
  274. package/src/context.ts +6 -5
  275. package/src/lexicon/index.ts +1235 -1235
  276. package/src/lexicon/lexicons.ts +9416 -9416
  277. package/src/pipethrough.ts +61 -18
  278. package/src/util/http.ts +31 -0
  279. package/src/util/types.ts +7 -0
  280. package/tests/oauth.test.ts +11 -37
  281. package/tests/preferences.test.ts +7 -3
  282. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,21 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ToolsOzoneVerificationNS = exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneSafelinkNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneHostingNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.AppBskyLabelerNS = exports.AppBskyGraphNS = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.Server = exports.TOOLS_OZONE_TEAM = exports.TOOLS_OZONE_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = exports.COM_ATPROTO_MODERATION = void 0;
3
+ exports.ToolsOzoneVerificationNS = exports.ToolsOzoneTeamNS = exports.ToolsOzoneSignatureNS = exports.ToolsOzoneSettingNS = exports.ToolsOzoneSetNS = exports.ToolsOzoneServerNS = exports.ToolsOzoneSafelinkNS = exports.ToolsOzoneModerationNS = exports.ToolsOzoneHostingNS = exports.ToolsOzoneCommunicationNS = exports.ToolsOzoneNS = exports.ToolsNS = exports.ComAtprotoTempNS = exports.ComAtprotoSyncNS = exports.ComAtprotoServerNS = exports.ComAtprotoRepoNS = exports.ComAtprotoModerationNS = exports.ComAtprotoLexiconNS = exports.ComAtprotoLabelNS = exports.ComAtprotoIdentityNS = exports.ComAtprotoAdminNS = exports.ComAtprotoNS = exports.ComNS = exports.ChatBskyModerationNS = exports.ChatBskyConvoNS = exports.ChatBskyActorNS = exports.ChatBskyNS = exports.ChatNS = exports.AppBskyVideoNS = exports.AppBskyUnspeccedNS = exports.AppBskyRichtextNS = exports.AppBskyNotificationNS = exports.AppBskyLabelerNS = exports.AppBskyGraphNS = exports.AppBskyFeedNS = exports.AppBskyEmbedNS = exports.AppBskyActorNS = exports.AppBskyNS = exports.AppNS = exports.Server = exports.TOOLS_OZONE_TEAM = exports.TOOLS_OZONE_MODERATION = exports.COM_ATPROTO_MODERATION = exports.APP_BSKY_GRAPH = exports.APP_BSKY_FEED = exports.APP_BSKY_ACTOR = void 0;
4
4
  exports.createServer = createServer;
5
5
  /**
6
6
  * GENERATED CODE - DO NOT MODIFY
7
7
  */
8
8
  const xrpc_server_1 = require("@atproto/xrpc-server");
9
9
  const lexicons_js_1 = require("./lexicons.js");
10
- exports.COM_ATPROTO_MODERATION = {
11
- DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
12
- DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
13
- DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
14
- DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
15
- DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
16
- DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
17
- DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
18
- };
19
10
  exports.APP_BSKY_ACTOR = {
20
11
  StatusLive: 'app.bsky.actor.status#live',
21
12
  };
@@ -40,6 +31,15 @@ exports.APP_BSKY_GRAPH = {
40
31
  DefsCuratelist: 'app.bsky.graph.defs#curatelist',
41
32
  DefsReferencelist: 'app.bsky.graph.defs#referencelist',
42
33
  };
34
+ exports.COM_ATPROTO_MODERATION = {
35
+ DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
36
+ DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
37
+ DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
38
+ DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
39
+ DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
40
+ DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
41
+ DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
42
+ };
43
43
  exports.TOOLS_OZONE_MODERATION = {
44
44
  DefsReviewOpen: 'tools.ozone.moderation.defs#reviewOpen',
45
45
  DefsReviewEscalated: 'tools.ozone.moderation.defs#reviewEscalated',
@@ -66,19 +66,19 @@ class Server {
66
66
  writable: true,
67
67
  value: void 0
68
68
  });
69
- Object.defineProperty(this, "com", {
69
+ Object.defineProperty(this, "app", {
70
70
  enumerable: true,
71
71
  configurable: true,
72
72
  writable: true,
73
73
  value: void 0
74
74
  });
75
- Object.defineProperty(this, "app", {
75
+ Object.defineProperty(this, "chat", {
76
76
  enumerable: true,
77
77
  configurable: true,
78
78
  writable: true,
79
79
  value: void 0
80
80
  });
81
- Object.defineProperty(this, "chat", {
81
+ Object.defineProperty(this, "com", {
82
82
  enumerable: true,
83
83
  configurable: true,
84
84
  writable: true,
@@ -91,14 +91,14 @@ class Server {
91
91
  value: void 0
92
92
  });
93
93
  this.xrpc = (0, xrpc_server_1.createServer)(lexicons_js_1.schemas, options);
94
- this.com = new ComNS(this);
95
94
  this.app = new AppNS(this);
96
95
  this.chat = new ChatNS(this);
96
+ this.com = new ComNS(this);
97
97
  this.tools = new ToolsNS(this);
98
98
  }
99
99
  }
100
100
  exports.Server = Server;
101
- class ComNS {
101
+ class AppNS {
102
102
  constructor(server) {
103
103
  Object.defineProperty(this, "_server", {
104
104
  enumerable: true,
@@ -106,18 +106,18 @@ class ComNS {
106
106
  writable: true,
107
107
  value: void 0
108
108
  });
109
- Object.defineProperty(this, "atproto", {
109
+ Object.defineProperty(this, "bsky", {
110
110
  enumerable: true,
111
111
  configurable: true,
112
112
  writable: true,
113
113
  value: void 0
114
114
  });
115
115
  this._server = server;
116
- this.atproto = new ComAtprotoNS(server);
116
+ this.bsky = new AppBskyNS(server);
117
117
  }
118
118
  }
119
- exports.ComNS = ComNS;
120
- class ComAtprotoNS {
119
+ exports.AppNS = AppNS;
120
+ class AppBskyNS {
121
121
  constructor(server) {
122
122
  Object.defineProperty(this, "_server", {
123
123
  enumerable: true,
@@ -125,74 +125,74 @@ class ComAtprotoNS {
125
125
  writable: true,
126
126
  value: void 0
127
127
  });
128
- Object.defineProperty(this, "admin", {
128
+ Object.defineProperty(this, "actor", {
129
129
  enumerable: true,
130
130
  configurable: true,
131
131
  writable: true,
132
132
  value: void 0
133
133
  });
134
- Object.defineProperty(this, "identity", {
134
+ Object.defineProperty(this, "embed", {
135
135
  enumerable: true,
136
136
  configurable: true,
137
137
  writable: true,
138
138
  value: void 0
139
139
  });
140
- Object.defineProperty(this, "label", {
140
+ Object.defineProperty(this, "feed", {
141
141
  enumerable: true,
142
142
  configurable: true,
143
143
  writable: true,
144
144
  value: void 0
145
145
  });
146
- Object.defineProperty(this, "lexicon", {
146
+ Object.defineProperty(this, "graph", {
147
147
  enumerable: true,
148
148
  configurable: true,
149
149
  writable: true,
150
150
  value: void 0
151
151
  });
152
- Object.defineProperty(this, "moderation", {
152
+ Object.defineProperty(this, "labeler", {
153
153
  enumerable: true,
154
154
  configurable: true,
155
155
  writable: true,
156
156
  value: void 0
157
157
  });
158
- Object.defineProperty(this, "repo", {
158
+ Object.defineProperty(this, "notification", {
159
159
  enumerable: true,
160
160
  configurable: true,
161
161
  writable: true,
162
162
  value: void 0
163
163
  });
164
- Object.defineProperty(this, "server", {
164
+ Object.defineProperty(this, "richtext", {
165
165
  enumerable: true,
166
166
  configurable: true,
167
167
  writable: true,
168
168
  value: void 0
169
169
  });
170
- Object.defineProperty(this, "sync", {
170
+ Object.defineProperty(this, "unspecced", {
171
171
  enumerable: true,
172
172
  configurable: true,
173
173
  writable: true,
174
174
  value: void 0
175
175
  });
176
- Object.defineProperty(this, "temp", {
176
+ Object.defineProperty(this, "video", {
177
177
  enumerable: true,
178
178
  configurable: true,
179
179
  writable: true,
180
180
  value: void 0
181
181
  });
182
182
  this._server = server;
183
- this.admin = new ComAtprotoAdminNS(server);
184
- this.identity = new ComAtprotoIdentityNS(server);
185
- this.label = new ComAtprotoLabelNS(server);
186
- this.lexicon = new ComAtprotoLexiconNS(server);
187
- this.moderation = new ComAtprotoModerationNS(server);
188
- this.repo = new ComAtprotoRepoNS(server);
189
- this.server = new ComAtprotoServerNS(server);
190
- this.sync = new ComAtprotoSyncNS(server);
191
- this.temp = new ComAtprotoTempNS(server);
183
+ this.actor = new AppBskyActorNS(server);
184
+ this.embed = new AppBskyEmbedNS(server);
185
+ this.feed = new AppBskyFeedNS(server);
186
+ this.graph = new AppBskyGraphNS(server);
187
+ this.labeler = new AppBskyLabelerNS(server);
188
+ this.notification = new AppBskyNotificationNS(server);
189
+ this.richtext = new AppBskyRichtextNS(server);
190
+ this.unspecced = new AppBskyUnspeccedNS(server);
191
+ this.video = new AppBskyVideoNS(server);
192
192
  }
193
193
  }
194
- exports.ComAtprotoNS = ComAtprotoNS;
195
- class ComAtprotoAdminNS {
194
+ exports.AppBskyNS = AppBskyNS;
195
+ class AppBskyActorNS {
196
196
  constructor(server) {
197
197
  Object.defineProperty(this, "_server", {
198
198
  enumerable: true,
@@ -202,117 +202,133 @@ class ComAtprotoAdminNS {
202
202
  });
203
203
  this._server = server;
204
204
  }
205
- deleteAccount(cfg) {
206
- const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
205
+ getPreferences(cfg) {
206
+ const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
207
207
  return this._server.xrpc.method(nsid, cfg);
208
208
  }
209
- disableAccountInvites(cfg) {
210
- const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
209
+ getProfile(cfg) {
210
+ const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
211
211
  return this._server.xrpc.method(nsid, cfg);
212
212
  }
213
- disableInviteCodes(cfg) {
214
- const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
213
+ getProfiles(cfg) {
214
+ const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
215
215
  return this._server.xrpc.method(nsid, cfg);
216
216
  }
217
- enableAccountInvites(cfg) {
218
- const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
217
+ getSuggestions(cfg) {
218
+ const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
219
219
  return this._server.xrpc.method(nsid, cfg);
220
220
  }
221
- getAccountInfo(cfg) {
222
- const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
221
+ putPreferences(cfg) {
222
+ const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
223
223
  return this._server.xrpc.method(nsid, cfg);
224
224
  }
225
- getAccountInfos(cfg) {
226
- const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
225
+ searchActors(cfg) {
226
+ const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
227
227
  return this._server.xrpc.method(nsid, cfg);
228
228
  }
229
- getInviteCodes(cfg) {
230
- const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
229
+ searchActorsTypeahead(cfg) {
230
+ const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
231
231
  return this._server.xrpc.method(nsid, cfg);
232
232
  }
233
- getSubjectStatus(cfg) {
234
- const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
233
+ }
234
+ exports.AppBskyActorNS = AppBskyActorNS;
235
+ class AppBskyEmbedNS {
236
+ constructor(server) {
237
+ Object.defineProperty(this, "_server", {
238
+ enumerable: true,
239
+ configurable: true,
240
+ writable: true,
241
+ value: void 0
242
+ });
243
+ this._server = server;
244
+ }
245
+ }
246
+ exports.AppBskyEmbedNS = AppBskyEmbedNS;
247
+ class AppBskyFeedNS {
248
+ constructor(server) {
249
+ Object.defineProperty(this, "_server", {
250
+ enumerable: true,
251
+ configurable: true,
252
+ writable: true,
253
+ value: void 0
254
+ });
255
+ this._server = server;
256
+ }
257
+ describeFeedGenerator(cfg) {
258
+ const nsid = 'app.bsky.feed.describeFeedGenerator'; // @ts-ignore
235
259
  return this._server.xrpc.method(nsid, cfg);
236
260
  }
237
- searchAccounts(cfg) {
238
- const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
261
+ getActorFeeds(cfg) {
262
+ const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
239
263
  return this._server.xrpc.method(nsid, cfg);
240
264
  }
241
- sendEmail(cfg) {
242
- const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
265
+ getActorLikes(cfg) {
266
+ const nsid = 'app.bsky.feed.getActorLikes'; // @ts-ignore
243
267
  return this._server.xrpc.method(nsid, cfg);
244
268
  }
245
- updateAccountEmail(cfg) {
246
- const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
269
+ getAuthorFeed(cfg) {
270
+ const nsid = 'app.bsky.feed.getAuthorFeed'; // @ts-ignore
247
271
  return this._server.xrpc.method(nsid, cfg);
248
272
  }
249
- updateAccountHandle(cfg) {
250
- const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
273
+ getFeed(cfg) {
274
+ const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
251
275
  return this._server.xrpc.method(nsid, cfg);
252
276
  }
253
- updateAccountPassword(cfg) {
254
- const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
277
+ getFeedGenerator(cfg) {
278
+ const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
255
279
  return this._server.xrpc.method(nsid, cfg);
256
280
  }
257
- updateAccountSigningKey(cfg) {
258
- const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
281
+ getFeedGenerators(cfg) {
282
+ const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
259
283
  return this._server.xrpc.method(nsid, cfg);
260
284
  }
261
- updateSubjectStatus(cfg) {
262
- const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
285
+ getFeedSkeleton(cfg) {
286
+ const nsid = 'app.bsky.feed.getFeedSkeleton'; // @ts-ignore
263
287
  return this._server.xrpc.method(nsid, cfg);
264
288
  }
265
- }
266
- exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
267
- class ComAtprotoIdentityNS {
268
- constructor(server) {
269
- Object.defineProperty(this, "_server", {
270
- enumerable: true,
271
- configurable: true,
272
- writable: true,
273
- value: void 0
274
- });
275
- this._server = server;
289
+ getLikes(cfg) {
290
+ const nsid = 'app.bsky.feed.getLikes'; // @ts-ignore
291
+ return this._server.xrpc.method(nsid, cfg);
276
292
  }
277
- getRecommendedDidCredentials(cfg) {
278
- const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
293
+ getListFeed(cfg) {
294
+ const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
279
295
  return this._server.xrpc.method(nsid, cfg);
280
296
  }
281
- refreshIdentity(cfg) {
282
- const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
297
+ getPostThread(cfg) {
298
+ const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
283
299
  return this._server.xrpc.method(nsid, cfg);
284
300
  }
285
- requestPlcOperationSignature(cfg) {
286
- const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
301
+ getPosts(cfg) {
302
+ const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
287
303
  return this._server.xrpc.method(nsid, cfg);
288
304
  }
289
- resolveDid(cfg) {
290
- const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
305
+ getQuotes(cfg) {
306
+ const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
291
307
  return this._server.xrpc.method(nsid, cfg);
292
308
  }
293
- resolveHandle(cfg) {
294
- const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
309
+ getRepostedBy(cfg) {
310
+ const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
295
311
  return this._server.xrpc.method(nsid, cfg);
296
312
  }
297
- resolveIdentity(cfg) {
298
- const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
313
+ getSuggestedFeeds(cfg) {
314
+ const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
299
315
  return this._server.xrpc.method(nsid, cfg);
300
316
  }
301
- signPlcOperation(cfg) {
302
- const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
317
+ getTimeline(cfg) {
318
+ const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
303
319
  return this._server.xrpc.method(nsid, cfg);
304
320
  }
305
- submitPlcOperation(cfg) {
306
- const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
321
+ searchPosts(cfg) {
322
+ const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
307
323
  return this._server.xrpc.method(nsid, cfg);
308
324
  }
309
- updateHandle(cfg) {
310
- const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
325
+ sendInteractions(cfg) {
326
+ const nsid = 'app.bsky.feed.sendInteractions'; // @ts-ignore
311
327
  return this._server.xrpc.method(nsid, cfg);
312
328
  }
313
329
  }
314
- exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
315
- class ComAtprotoLabelNS {
330
+ exports.AppBskyFeedNS = AppBskyFeedNS;
331
+ class AppBskyGraphNS {
316
332
  constructor(server) {
317
333
  Object.defineProperty(this, "_server", {
318
334
  enumerable: true,
@@ -322,45 +338,101 @@ class ComAtprotoLabelNS {
322
338
  });
323
339
  this._server = server;
324
340
  }
325
- queryLabels(cfg) {
326
- const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
341
+ getActorStarterPacks(cfg) {
342
+ const nsid = 'app.bsky.graph.getActorStarterPacks'; // @ts-ignore
327
343
  return this._server.xrpc.method(nsid, cfg);
328
344
  }
329
- subscribeLabels(cfg) {
330
- const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
331
- return this._server.xrpc.streamMethod(nsid, cfg);
345
+ getBlocks(cfg) {
346
+ const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
347
+ return this._server.xrpc.method(nsid, cfg);
332
348
  }
333
- }
334
- exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
335
- class ComAtprotoLexiconNS {
336
- constructor(server) {
337
- Object.defineProperty(this, "_server", {
338
- enumerable: true,
339
- configurable: true,
340
- writable: true,
341
- value: void 0
342
- });
343
- this._server = server;
349
+ getFollowers(cfg) {
350
+ const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
351
+ return this._server.xrpc.method(nsid, cfg);
344
352
  }
345
- }
346
- exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
347
- class ComAtprotoModerationNS {
348
- constructor(server) {
349
- Object.defineProperty(this, "_server", {
350
- enumerable: true,
351
- configurable: true,
352
- writable: true,
353
- value: void 0
354
- });
355
- this._server = server;
353
+ getFollows(cfg) {
354
+ const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
355
+ return this._server.xrpc.method(nsid, cfg);
356
356
  }
357
- createReport(cfg) {
358
- const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
357
+ getKnownFollowers(cfg) {
358
+ const nsid = 'app.bsky.graph.getKnownFollowers'; // @ts-ignore
359
+ return this._server.xrpc.method(nsid, cfg);
360
+ }
361
+ getList(cfg) {
362
+ const nsid = 'app.bsky.graph.getList'; // @ts-ignore
363
+ return this._server.xrpc.method(nsid, cfg);
364
+ }
365
+ getListBlocks(cfg) {
366
+ const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
367
+ return this._server.xrpc.method(nsid, cfg);
368
+ }
369
+ getListMutes(cfg) {
370
+ const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
371
+ return this._server.xrpc.method(nsid, cfg);
372
+ }
373
+ getLists(cfg) {
374
+ const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
375
+ return this._server.xrpc.method(nsid, cfg);
376
+ }
377
+ getListsWithMembership(cfg) {
378
+ const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
379
+ return this._server.xrpc.method(nsid, cfg);
380
+ }
381
+ getMutes(cfg) {
382
+ const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
383
+ return this._server.xrpc.method(nsid, cfg);
384
+ }
385
+ getRelationships(cfg) {
386
+ const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
387
+ return this._server.xrpc.method(nsid, cfg);
388
+ }
389
+ getStarterPack(cfg) {
390
+ const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
391
+ return this._server.xrpc.method(nsid, cfg);
392
+ }
393
+ getStarterPacks(cfg) {
394
+ const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
395
+ return this._server.xrpc.method(nsid, cfg);
396
+ }
397
+ getStarterPacksWithMembership(cfg) {
398
+ const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
399
+ return this._server.xrpc.method(nsid, cfg);
400
+ }
401
+ getSuggestedFollowsByActor(cfg) {
402
+ const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
403
+ return this._server.xrpc.method(nsid, cfg);
404
+ }
405
+ muteActor(cfg) {
406
+ const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
407
+ return this._server.xrpc.method(nsid, cfg);
408
+ }
409
+ muteActorList(cfg) {
410
+ const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
411
+ return this._server.xrpc.method(nsid, cfg);
412
+ }
413
+ muteThread(cfg) {
414
+ const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
415
+ return this._server.xrpc.method(nsid, cfg);
416
+ }
417
+ searchStarterPacks(cfg) {
418
+ const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
419
+ return this._server.xrpc.method(nsid, cfg);
420
+ }
421
+ unmuteActor(cfg) {
422
+ const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
423
+ return this._server.xrpc.method(nsid, cfg);
424
+ }
425
+ unmuteActorList(cfg) {
426
+ const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
427
+ return this._server.xrpc.method(nsid, cfg);
428
+ }
429
+ unmuteThread(cfg) {
430
+ const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
359
431
  return this._server.xrpc.method(nsid, cfg);
360
432
  }
361
433
  }
362
- exports.ComAtprotoModerationNS = ComAtprotoModerationNS;
363
- class ComAtprotoRepoNS {
434
+ exports.AppBskyGraphNS = AppBskyGraphNS;
435
+ class AppBskyLabelerNS {
364
436
  constructor(server) {
365
437
  Object.defineProperty(this, "_server", {
366
438
  enumerable: true,
@@ -370,49 +442,65 @@ class ComAtprotoRepoNS {
370
442
  });
371
443
  this._server = server;
372
444
  }
373
- applyWrites(cfg) {
374
- const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
445
+ getServices(cfg) {
446
+ const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
375
447
  return this._server.xrpc.method(nsid, cfg);
376
448
  }
377
- createRecord(cfg) {
378
- const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
449
+ }
450
+ exports.AppBskyLabelerNS = AppBskyLabelerNS;
451
+ class AppBskyNotificationNS {
452
+ constructor(server) {
453
+ Object.defineProperty(this, "_server", {
454
+ enumerable: true,
455
+ configurable: true,
456
+ writable: true,
457
+ value: void 0
458
+ });
459
+ this._server = server;
460
+ }
461
+ getPreferences(cfg) {
462
+ const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
379
463
  return this._server.xrpc.method(nsid, cfg);
380
464
  }
381
- deleteRecord(cfg) {
382
- const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
465
+ getUnreadCount(cfg) {
466
+ const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
383
467
  return this._server.xrpc.method(nsid, cfg);
384
468
  }
385
- describeRepo(cfg) {
386
- const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
469
+ listActivitySubscriptions(cfg) {
470
+ const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
387
471
  return this._server.xrpc.method(nsid, cfg);
388
472
  }
389
- getRecord(cfg) {
390
- const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
473
+ listNotifications(cfg) {
474
+ const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
391
475
  return this._server.xrpc.method(nsid, cfg);
392
476
  }
393
- importRepo(cfg) {
394
- const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
477
+ putActivitySubscription(cfg) {
478
+ const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
395
479
  return this._server.xrpc.method(nsid, cfg);
396
480
  }
397
- listMissingBlobs(cfg) {
398
- const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
481
+ putPreferences(cfg) {
482
+ const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
399
483
  return this._server.xrpc.method(nsid, cfg);
400
484
  }
401
- listRecords(cfg) {
402
- const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
485
+ putPreferencesV2(cfg) {
486
+ const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
403
487
  return this._server.xrpc.method(nsid, cfg);
404
488
  }
405
- putRecord(cfg) {
406
- const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
489
+ registerPush(cfg) {
490
+ const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
407
491
  return this._server.xrpc.method(nsid, cfg);
408
492
  }
409
- uploadBlob(cfg) {
410
- const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
493
+ unregisterPush(cfg) {
494
+ const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
495
+ return this._server.xrpc.method(nsid, cfg);
496
+ }
497
+ updateSeen(cfg) {
498
+ const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
411
499
  return this._server.xrpc.method(nsid, cfg);
412
500
  }
413
501
  }
414
- exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
415
- class ComAtprotoServerNS {
502
+ exports.AppBskyNotificationNS = AppBskyNotificationNS;
503
+ class AppBskyRichtextNS {
416
504
  constructor(server) {
417
505
  Object.defineProperty(this, "_server", {
418
506
  enumerable: true,
@@ -422,109 +510,197 @@ class ComAtprotoServerNS {
422
510
  });
423
511
  this._server = server;
424
512
  }
425
- activateAccount(cfg) {
426
- const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
513
+ }
514
+ exports.AppBskyRichtextNS = AppBskyRichtextNS;
515
+ class AppBskyUnspeccedNS {
516
+ constructor(server) {
517
+ Object.defineProperty(this, "_server", {
518
+ enumerable: true,
519
+ configurable: true,
520
+ writable: true,
521
+ value: void 0
522
+ });
523
+ this._server = server;
524
+ }
525
+ getAgeAssuranceState(cfg) {
526
+ const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
427
527
  return this._server.xrpc.method(nsid, cfg);
428
528
  }
429
- checkAccountStatus(cfg) {
430
- const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
529
+ getConfig(cfg) {
530
+ const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
431
531
  return this._server.xrpc.method(nsid, cfg);
432
532
  }
433
- confirmEmail(cfg) {
434
- const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
533
+ getPopularFeedGenerators(cfg) {
534
+ const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
435
535
  return this._server.xrpc.method(nsid, cfg);
436
536
  }
437
- createAccount(cfg) {
438
- const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
537
+ getPostThreadOtherV2(cfg) {
538
+ const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
439
539
  return this._server.xrpc.method(nsid, cfg);
440
540
  }
441
- createAppPassword(cfg) {
442
- const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
541
+ getPostThreadV2(cfg) {
542
+ const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
443
543
  return this._server.xrpc.method(nsid, cfg);
444
544
  }
445
- createInviteCode(cfg) {
446
- const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
545
+ getSuggestedFeeds(cfg) {
546
+ const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
447
547
  return this._server.xrpc.method(nsid, cfg);
448
548
  }
449
- createInviteCodes(cfg) {
450
- const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
549
+ getSuggestedFeedsSkeleton(cfg) {
550
+ const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
451
551
  return this._server.xrpc.method(nsid, cfg);
452
552
  }
453
- createSession(cfg) {
454
- const nsid = 'com.atproto.server.createSession'; // @ts-ignore
553
+ getSuggestedStarterPacks(cfg) {
554
+ const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
455
555
  return this._server.xrpc.method(nsid, cfg);
456
556
  }
457
- deactivateAccount(cfg) {
458
- const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
557
+ getSuggestedStarterPacksSkeleton(cfg) {
558
+ const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
459
559
  return this._server.xrpc.method(nsid, cfg);
460
560
  }
461
- deleteAccount(cfg) {
462
- const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
561
+ getSuggestedUsers(cfg) {
562
+ const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
463
563
  return this._server.xrpc.method(nsid, cfg);
464
564
  }
465
- deleteSession(cfg) {
466
- const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
565
+ getSuggestedUsersSkeleton(cfg) {
566
+ const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
467
567
  return this._server.xrpc.method(nsid, cfg);
468
568
  }
469
- describeServer(cfg) {
470
- const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
569
+ getSuggestionsSkeleton(cfg) {
570
+ const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
471
571
  return this._server.xrpc.method(nsid, cfg);
472
572
  }
473
- getAccountInviteCodes(cfg) {
474
- const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
573
+ getTaggedSuggestions(cfg) {
574
+ const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
475
575
  return this._server.xrpc.method(nsid, cfg);
476
576
  }
477
- getServiceAuth(cfg) {
478
- const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
577
+ getTrendingTopics(cfg) {
578
+ const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
479
579
  return this._server.xrpc.method(nsid, cfg);
480
580
  }
481
- getSession(cfg) {
482
- const nsid = 'com.atproto.server.getSession'; // @ts-ignore
581
+ getTrends(cfg) {
582
+ const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
483
583
  return this._server.xrpc.method(nsid, cfg);
484
584
  }
485
- listAppPasswords(cfg) {
486
- const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
585
+ getTrendsSkeleton(cfg) {
586
+ const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
487
587
  return this._server.xrpc.method(nsid, cfg);
488
588
  }
489
- refreshSession(cfg) {
490
- const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
589
+ initAgeAssurance(cfg) {
590
+ const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
491
591
  return this._server.xrpc.method(nsid, cfg);
492
592
  }
493
- requestAccountDelete(cfg) {
494
- const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
593
+ searchActorsSkeleton(cfg) {
594
+ const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
495
595
  return this._server.xrpc.method(nsid, cfg);
496
596
  }
497
- requestEmailConfirmation(cfg) {
498
- const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
597
+ searchPostsSkeleton(cfg) {
598
+ const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
499
599
  return this._server.xrpc.method(nsid, cfg);
500
600
  }
501
- requestEmailUpdate(cfg) {
502
- const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
601
+ searchStarterPacksSkeleton(cfg) {
602
+ const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
503
603
  return this._server.xrpc.method(nsid, cfg);
504
604
  }
505
- requestPasswordReset(cfg) {
506
- const nsid = 'com.atproto.server.requestPasswordReset'; // @ts-ignore
605
+ }
606
+ exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
607
+ class AppBskyVideoNS {
608
+ constructor(server) {
609
+ Object.defineProperty(this, "_server", {
610
+ enumerable: true,
611
+ configurable: true,
612
+ writable: true,
613
+ value: void 0
614
+ });
615
+ this._server = server;
616
+ }
617
+ getJobStatus(cfg) {
618
+ const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
507
619
  return this._server.xrpc.method(nsid, cfg);
508
620
  }
509
- reserveSigningKey(cfg) {
510
- const nsid = 'com.atproto.server.reserveSigningKey'; // @ts-ignore
621
+ getUploadLimits(cfg) {
622
+ const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
511
623
  return this._server.xrpc.method(nsid, cfg);
512
624
  }
513
- resetPassword(cfg) {
514
- const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
625
+ uploadVideo(cfg) {
626
+ const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
515
627
  return this._server.xrpc.method(nsid, cfg);
516
628
  }
517
- revokeAppPassword(cfg) {
518
- const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
629
+ }
630
+ exports.AppBskyVideoNS = AppBskyVideoNS;
631
+ class ChatNS {
632
+ constructor(server) {
633
+ Object.defineProperty(this, "_server", {
634
+ enumerable: true,
635
+ configurable: true,
636
+ writable: true,
637
+ value: void 0
638
+ });
639
+ Object.defineProperty(this, "bsky", {
640
+ enumerable: true,
641
+ configurable: true,
642
+ writable: true,
643
+ value: void 0
644
+ });
645
+ this._server = server;
646
+ this.bsky = new ChatBskyNS(server);
647
+ }
648
+ }
649
+ exports.ChatNS = ChatNS;
650
+ class ChatBskyNS {
651
+ constructor(server) {
652
+ Object.defineProperty(this, "_server", {
653
+ enumerable: true,
654
+ configurable: true,
655
+ writable: true,
656
+ value: void 0
657
+ });
658
+ Object.defineProperty(this, "actor", {
659
+ enumerable: true,
660
+ configurable: true,
661
+ writable: true,
662
+ value: void 0
663
+ });
664
+ Object.defineProperty(this, "convo", {
665
+ enumerable: true,
666
+ configurable: true,
667
+ writable: true,
668
+ value: void 0
669
+ });
670
+ Object.defineProperty(this, "moderation", {
671
+ enumerable: true,
672
+ configurable: true,
673
+ writable: true,
674
+ value: void 0
675
+ });
676
+ this._server = server;
677
+ this.actor = new ChatBskyActorNS(server);
678
+ this.convo = new ChatBskyConvoNS(server);
679
+ this.moderation = new ChatBskyModerationNS(server);
680
+ }
681
+ }
682
+ exports.ChatBskyNS = ChatBskyNS;
683
+ class ChatBskyActorNS {
684
+ constructor(server) {
685
+ Object.defineProperty(this, "_server", {
686
+ enumerable: true,
687
+ configurable: true,
688
+ writable: true,
689
+ value: void 0
690
+ });
691
+ this._server = server;
692
+ }
693
+ deleteAccount(cfg) {
694
+ const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
519
695
  return this._server.xrpc.method(nsid, cfg);
520
696
  }
521
- updateEmail(cfg) {
522
- const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
697
+ exportAccountData(cfg) {
698
+ const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
523
699
  return this._server.xrpc.method(nsid, cfg);
524
700
  }
525
701
  }
526
- exports.ComAtprotoServerNS = ComAtprotoServerNS;
527
- class ComAtprotoSyncNS {
702
+ exports.ChatBskyActorNS = ChatBskyActorNS;
703
+ class ChatBskyConvoNS {
528
704
  constructor(server) {
529
705
  Object.defineProperty(this, "_server", {
530
706
  enumerable: true,
@@ -534,73 +710,77 @@ class ComAtprotoSyncNS {
534
710
  });
535
711
  this._server = server;
536
712
  }
537
- getBlob(cfg) {
538
- const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
713
+ acceptConvo(cfg) {
714
+ const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
539
715
  return this._server.xrpc.method(nsid, cfg);
540
716
  }
541
- getBlocks(cfg) {
542
- const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
717
+ addReaction(cfg) {
718
+ const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
543
719
  return this._server.xrpc.method(nsid, cfg);
544
720
  }
545
- getCheckout(cfg) {
546
- const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
721
+ deleteMessageForSelf(cfg) {
722
+ const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
547
723
  return this._server.xrpc.method(nsid, cfg);
548
724
  }
549
- getHead(cfg) {
550
- const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
725
+ getConvo(cfg) {
726
+ const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
727
+ return this._server.xrpc.method(nsid, cfg);
728
+ }
729
+ getConvoAvailability(cfg) {
730
+ const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
551
731
  return this._server.xrpc.method(nsid, cfg);
552
732
  }
553
- getHostStatus(cfg) {
554
- const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
733
+ getConvoForMembers(cfg) {
734
+ const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
555
735
  return this._server.xrpc.method(nsid, cfg);
556
736
  }
557
- getLatestCommit(cfg) {
558
- const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
737
+ getLog(cfg) {
738
+ const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
559
739
  return this._server.xrpc.method(nsid, cfg);
560
740
  }
561
- getRecord(cfg) {
562
- const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
741
+ getMessages(cfg) {
742
+ const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
563
743
  return this._server.xrpc.method(nsid, cfg);
564
744
  }
565
- getRepo(cfg) {
566
- const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
745
+ leaveConvo(cfg) {
746
+ const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
567
747
  return this._server.xrpc.method(nsid, cfg);
568
748
  }
569
- getRepoStatus(cfg) {
570
- const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
749
+ listConvos(cfg) {
750
+ const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
571
751
  return this._server.xrpc.method(nsid, cfg);
572
752
  }
573
- listBlobs(cfg) {
574
- const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
753
+ muteConvo(cfg) {
754
+ const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
575
755
  return this._server.xrpc.method(nsid, cfg);
576
756
  }
577
- listHosts(cfg) {
578
- const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
757
+ removeReaction(cfg) {
758
+ const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
579
759
  return this._server.xrpc.method(nsid, cfg);
580
760
  }
581
- listRepos(cfg) {
582
- const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
761
+ sendMessage(cfg) {
762
+ const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
583
763
  return this._server.xrpc.method(nsid, cfg);
584
764
  }
585
- listReposByCollection(cfg) {
586
- const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
765
+ sendMessageBatch(cfg) {
766
+ const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
587
767
  return this._server.xrpc.method(nsid, cfg);
588
768
  }
589
- notifyOfUpdate(cfg) {
590
- const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
769
+ unmuteConvo(cfg) {
770
+ const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
591
771
  return this._server.xrpc.method(nsid, cfg);
592
772
  }
593
- requestCrawl(cfg) {
594
- const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
773
+ updateAllRead(cfg) {
774
+ const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
595
775
  return this._server.xrpc.method(nsid, cfg);
596
776
  }
597
- subscribeRepos(cfg) {
598
- const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
599
- return this._server.xrpc.streamMethod(nsid, cfg);
777
+ updateRead(cfg) {
778
+ const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
779
+ return this._server.xrpc.method(nsid, cfg);
600
780
  }
601
781
  }
602
- exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
603
- class ComAtprotoTempNS {
782
+ exports.ChatBskyConvoNS = ChatBskyConvoNS;
783
+ class ChatBskyModerationNS {
604
784
  constructor(server) {
605
785
  Object.defineProperty(this, "_server", {
606
786
  enumerable: true,
@@ -610,29 +790,21 @@ class ComAtprotoTempNS {
610
790
  });
611
791
  this._server = server;
612
792
  }
613
- addReservedHandle(cfg) {
614
- const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
615
- return this._server.xrpc.method(nsid, cfg);
616
- }
617
- checkHandleAvailability(cfg) {
618
- const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
619
- return this._server.xrpc.method(nsid, cfg);
620
- }
621
- checkSignupQueue(cfg) {
622
- const nsid = 'com.atproto.temp.checkSignupQueue'; // @ts-ignore
793
+ getActorMetadata(cfg) {
794
+ const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
623
795
  return this._server.xrpc.method(nsid, cfg);
624
796
  }
625
- fetchLabels(cfg) {
626
- const nsid = 'com.atproto.temp.fetchLabels'; // @ts-ignore
797
+ getMessageContext(cfg) {
798
+ const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
627
799
  return this._server.xrpc.method(nsid, cfg);
628
800
  }
629
- requestPhoneVerification(cfg) {
630
- const nsid = 'com.atproto.temp.requestPhoneVerification'; // @ts-ignore
801
+ updateActorAccess(cfg) {
802
+ const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
631
803
  return this._server.xrpc.method(nsid, cfg);
632
804
  }
633
805
  }
634
- exports.ComAtprotoTempNS = ComAtprotoTempNS;
635
- class AppNS {
806
+ exports.ChatBskyModerationNS = ChatBskyModerationNS;
807
+ class ComNS {
636
808
  constructor(server) {
637
809
  Object.defineProperty(this, "_server", {
638
810
  enumerable: true,
@@ -640,18 +812,18 @@ class AppNS {
640
812
  writable: true,
641
813
  value: void 0
642
814
  });
643
- Object.defineProperty(this, "bsky", {
815
+ Object.defineProperty(this, "atproto", {
644
816
  enumerable: true,
645
817
  configurable: true,
646
818
  writable: true,
647
819
  value: void 0
648
820
  });
649
821
  this._server = server;
650
- this.bsky = new AppBskyNS(server);
822
+ this.atproto = new ComAtprotoNS(server);
651
823
  }
652
824
  }
653
- exports.AppNS = AppNS;
654
- class AppBskyNS {
825
+ exports.ComNS = ComNS;
826
+ class ComAtprotoNS {
655
827
  constructor(server) {
656
828
  Object.defineProperty(this, "_server", {
657
829
  enumerable: true,
@@ -659,210 +831,74 @@ class AppBskyNS {
659
831
  writable: true,
660
832
  value: void 0
661
833
  });
662
- Object.defineProperty(this, "actor", {
663
- enumerable: true,
664
- configurable: true,
665
- writable: true,
666
- value: void 0
667
- });
668
- Object.defineProperty(this, "embed", {
669
- enumerable: true,
670
- configurable: true,
671
- writable: true,
672
- value: void 0
673
- });
674
- Object.defineProperty(this, "feed", {
675
- enumerable: true,
676
- configurable: true,
677
- writable: true,
678
- value: void 0
679
- });
680
- Object.defineProperty(this, "graph", {
681
- enumerable: true,
682
- configurable: true,
683
- writable: true,
684
- value: void 0
685
- });
686
- Object.defineProperty(this, "labeler", {
834
+ Object.defineProperty(this, "admin", {
687
835
  enumerable: true,
688
836
  configurable: true,
689
837
  writable: true,
690
838
  value: void 0
691
839
  });
692
- Object.defineProperty(this, "notification", {
840
+ Object.defineProperty(this, "identity", {
693
841
  enumerable: true,
694
842
  configurable: true,
695
843
  writable: true,
696
844
  value: void 0
697
845
  });
698
- Object.defineProperty(this, "richtext", {
846
+ Object.defineProperty(this, "label", {
699
847
  enumerable: true,
700
848
  configurable: true,
701
849
  writable: true,
702
850
  value: void 0
703
851
  });
704
- Object.defineProperty(this, "unspecced", {
852
+ Object.defineProperty(this, "lexicon", {
705
853
  enumerable: true,
706
854
  configurable: true,
707
855
  writable: true,
708
856
  value: void 0
709
857
  });
710
- Object.defineProperty(this, "video", {
858
+ Object.defineProperty(this, "moderation", {
711
859
  enumerable: true,
712
860
  configurable: true,
713
861
  writable: true,
714
862
  value: void 0
715
863
  });
716
- this._server = server;
717
- this.actor = new AppBskyActorNS(server);
718
- this.embed = new AppBskyEmbedNS(server);
719
- this.feed = new AppBskyFeedNS(server);
720
- this.graph = new AppBskyGraphNS(server);
721
- this.labeler = new AppBskyLabelerNS(server);
722
- this.notification = new AppBskyNotificationNS(server);
723
- this.richtext = new AppBskyRichtextNS(server);
724
- this.unspecced = new AppBskyUnspeccedNS(server);
725
- this.video = new AppBskyVideoNS(server);
726
- }
727
- }
728
- exports.AppBskyNS = AppBskyNS;
729
- class AppBskyActorNS {
730
- constructor(server) {
731
- Object.defineProperty(this, "_server", {
864
+ Object.defineProperty(this, "repo", {
732
865
  enumerable: true,
733
866
  configurable: true,
734
867
  writable: true,
735
868
  value: void 0
736
869
  });
737
- this._server = server;
738
- }
739
- getPreferences(cfg) {
740
- const nsid = 'app.bsky.actor.getPreferences'; // @ts-ignore
741
- return this._server.xrpc.method(nsid, cfg);
742
- }
743
- getProfile(cfg) {
744
- const nsid = 'app.bsky.actor.getProfile'; // @ts-ignore
745
- return this._server.xrpc.method(nsid, cfg);
746
- }
747
- getProfiles(cfg) {
748
- const nsid = 'app.bsky.actor.getProfiles'; // @ts-ignore
749
- return this._server.xrpc.method(nsid, cfg);
750
- }
751
- getSuggestions(cfg) {
752
- const nsid = 'app.bsky.actor.getSuggestions'; // @ts-ignore
753
- return this._server.xrpc.method(nsid, cfg);
754
- }
755
- putPreferences(cfg) {
756
- const nsid = 'app.bsky.actor.putPreferences'; // @ts-ignore
757
- return this._server.xrpc.method(nsid, cfg);
758
- }
759
- searchActors(cfg) {
760
- const nsid = 'app.bsky.actor.searchActors'; // @ts-ignore
761
- return this._server.xrpc.method(nsid, cfg);
762
- }
763
- searchActorsTypeahead(cfg) {
764
- const nsid = 'app.bsky.actor.searchActorsTypeahead'; // @ts-ignore
765
- return this._server.xrpc.method(nsid, cfg);
766
- }
767
- }
768
- exports.AppBskyActorNS = AppBskyActorNS;
769
- class AppBskyEmbedNS {
770
- constructor(server) {
771
- Object.defineProperty(this, "_server", {
870
+ Object.defineProperty(this, "server", {
772
871
  enumerable: true,
773
872
  configurable: true,
774
873
  writable: true,
775
874
  value: void 0
776
875
  });
777
- this._server = server;
778
- }
779
- }
780
- exports.AppBskyEmbedNS = AppBskyEmbedNS;
781
- class AppBskyFeedNS {
782
- constructor(server) {
783
- Object.defineProperty(this, "_server", {
876
+ Object.defineProperty(this, "sync", {
784
877
  enumerable: true,
785
878
  configurable: true,
786
879
  writable: true,
787
- value: void 0
788
- });
789
- this._server = server;
790
- }
791
- describeFeedGenerator(cfg) {
792
- const nsid = 'app.bsky.feed.describeFeedGenerator'; // @ts-ignore
793
- return this._server.xrpc.method(nsid, cfg);
794
- }
795
- getActorFeeds(cfg) {
796
- const nsid = 'app.bsky.feed.getActorFeeds'; // @ts-ignore
797
- return this._server.xrpc.method(nsid, cfg);
798
- }
799
- getActorLikes(cfg) {
800
- const nsid = 'app.bsky.feed.getActorLikes'; // @ts-ignore
801
- return this._server.xrpc.method(nsid, cfg);
802
- }
803
- getAuthorFeed(cfg) {
804
- const nsid = 'app.bsky.feed.getAuthorFeed'; // @ts-ignore
805
- return this._server.xrpc.method(nsid, cfg);
806
- }
807
- getFeed(cfg) {
808
- const nsid = 'app.bsky.feed.getFeed'; // @ts-ignore
809
- return this._server.xrpc.method(nsid, cfg);
810
- }
811
- getFeedGenerator(cfg) {
812
- const nsid = 'app.bsky.feed.getFeedGenerator'; // @ts-ignore
813
- return this._server.xrpc.method(nsid, cfg);
814
- }
815
- getFeedGenerators(cfg) {
816
- const nsid = 'app.bsky.feed.getFeedGenerators'; // @ts-ignore
817
- return this._server.xrpc.method(nsid, cfg);
818
- }
819
- getFeedSkeleton(cfg) {
820
- const nsid = 'app.bsky.feed.getFeedSkeleton'; // @ts-ignore
821
- return this._server.xrpc.method(nsid, cfg);
822
- }
823
- getLikes(cfg) {
824
- const nsid = 'app.bsky.feed.getLikes'; // @ts-ignore
825
- return this._server.xrpc.method(nsid, cfg);
826
- }
827
- getListFeed(cfg) {
828
- const nsid = 'app.bsky.feed.getListFeed'; // @ts-ignore
829
- return this._server.xrpc.method(nsid, cfg);
830
- }
831
- getPostThread(cfg) {
832
- const nsid = 'app.bsky.feed.getPostThread'; // @ts-ignore
833
- return this._server.xrpc.method(nsid, cfg);
834
- }
835
- getPosts(cfg) {
836
- const nsid = 'app.bsky.feed.getPosts'; // @ts-ignore
837
- return this._server.xrpc.method(nsid, cfg);
838
- }
839
- getQuotes(cfg) {
840
- const nsid = 'app.bsky.feed.getQuotes'; // @ts-ignore
841
- return this._server.xrpc.method(nsid, cfg);
842
- }
843
- getRepostedBy(cfg) {
844
- const nsid = 'app.bsky.feed.getRepostedBy'; // @ts-ignore
845
- return this._server.xrpc.method(nsid, cfg);
846
- }
847
- getSuggestedFeeds(cfg) {
848
- const nsid = 'app.bsky.feed.getSuggestedFeeds'; // @ts-ignore
849
- return this._server.xrpc.method(nsid, cfg);
850
- }
851
- getTimeline(cfg) {
852
- const nsid = 'app.bsky.feed.getTimeline'; // @ts-ignore
853
- return this._server.xrpc.method(nsid, cfg);
854
- }
855
- searchPosts(cfg) {
856
- const nsid = 'app.bsky.feed.searchPosts'; // @ts-ignore
857
- return this._server.xrpc.method(nsid, cfg);
858
- }
859
- sendInteractions(cfg) {
860
- const nsid = 'app.bsky.feed.sendInteractions'; // @ts-ignore
861
- return this._server.xrpc.method(nsid, cfg);
880
+ value: void 0
881
+ });
882
+ Object.defineProperty(this, "temp", {
883
+ enumerable: true,
884
+ configurable: true,
885
+ writable: true,
886
+ value: void 0
887
+ });
888
+ this._server = server;
889
+ this.admin = new ComAtprotoAdminNS(server);
890
+ this.identity = new ComAtprotoIdentityNS(server);
891
+ this.label = new ComAtprotoLabelNS(server);
892
+ this.lexicon = new ComAtprotoLexiconNS(server);
893
+ this.moderation = new ComAtprotoModerationNS(server);
894
+ this.repo = new ComAtprotoRepoNS(server);
895
+ this.server = new ComAtprotoServerNS(server);
896
+ this.sync = new ComAtprotoSyncNS(server);
897
+ this.temp = new ComAtprotoTempNS(server);
862
898
  }
863
899
  }
864
- exports.AppBskyFeedNS = AppBskyFeedNS;
865
- class AppBskyGraphNS {
900
+ exports.ComAtprotoNS = ComAtprotoNS;
901
+ class ComAtprotoAdminNS {
866
902
  constructor(server) {
867
903
  Object.defineProperty(this, "_server", {
868
904
  enumerable: true,
@@ -872,101 +908,117 @@ class AppBskyGraphNS {
872
908
  });
873
909
  this._server = server;
874
910
  }
875
- getActorStarterPacks(cfg) {
876
- const nsid = 'app.bsky.graph.getActorStarterPacks'; // @ts-ignore
911
+ deleteAccount(cfg) {
912
+ const nsid = 'com.atproto.admin.deleteAccount'; // @ts-ignore
877
913
  return this._server.xrpc.method(nsid, cfg);
878
914
  }
879
- getBlocks(cfg) {
880
- const nsid = 'app.bsky.graph.getBlocks'; // @ts-ignore
915
+ disableAccountInvites(cfg) {
916
+ const nsid = 'com.atproto.admin.disableAccountInvites'; // @ts-ignore
881
917
  return this._server.xrpc.method(nsid, cfg);
882
918
  }
883
- getFollowers(cfg) {
884
- const nsid = 'app.bsky.graph.getFollowers'; // @ts-ignore
919
+ disableInviteCodes(cfg) {
920
+ const nsid = 'com.atproto.admin.disableInviteCodes'; // @ts-ignore
885
921
  return this._server.xrpc.method(nsid, cfg);
886
922
  }
887
- getFollows(cfg) {
888
- const nsid = 'app.bsky.graph.getFollows'; // @ts-ignore
923
+ enableAccountInvites(cfg) {
924
+ const nsid = 'com.atproto.admin.enableAccountInvites'; // @ts-ignore
889
925
  return this._server.xrpc.method(nsid, cfg);
890
926
  }
891
- getKnownFollowers(cfg) {
892
- const nsid = 'app.bsky.graph.getKnownFollowers'; // @ts-ignore
927
+ getAccountInfo(cfg) {
928
+ const nsid = 'com.atproto.admin.getAccountInfo'; // @ts-ignore
893
929
  return this._server.xrpc.method(nsid, cfg);
894
930
  }
895
- getList(cfg) {
896
- const nsid = 'app.bsky.graph.getList'; // @ts-ignore
931
+ getAccountInfos(cfg) {
932
+ const nsid = 'com.atproto.admin.getAccountInfos'; // @ts-ignore
897
933
  return this._server.xrpc.method(nsid, cfg);
898
934
  }
899
- getListBlocks(cfg) {
900
- const nsid = 'app.bsky.graph.getListBlocks'; // @ts-ignore
935
+ getInviteCodes(cfg) {
936
+ const nsid = 'com.atproto.admin.getInviteCodes'; // @ts-ignore
901
937
  return this._server.xrpc.method(nsid, cfg);
902
938
  }
903
- getListMutes(cfg) {
904
- const nsid = 'app.bsky.graph.getListMutes'; // @ts-ignore
939
+ getSubjectStatus(cfg) {
940
+ const nsid = 'com.atproto.admin.getSubjectStatus'; // @ts-ignore
905
941
  return this._server.xrpc.method(nsid, cfg);
906
942
  }
907
- getLists(cfg) {
908
- const nsid = 'app.bsky.graph.getLists'; // @ts-ignore
943
+ searchAccounts(cfg) {
944
+ const nsid = 'com.atproto.admin.searchAccounts'; // @ts-ignore
909
945
  return this._server.xrpc.method(nsid, cfg);
910
946
  }
911
- getListsWithMembership(cfg) {
912
- const nsid = 'app.bsky.graph.getListsWithMembership'; // @ts-ignore
947
+ sendEmail(cfg) {
948
+ const nsid = 'com.atproto.admin.sendEmail'; // @ts-ignore
913
949
  return this._server.xrpc.method(nsid, cfg);
914
950
  }
915
- getMutes(cfg) {
916
- const nsid = 'app.bsky.graph.getMutes'; // @ts-ignore
951
+ updateAccountEmail(cfg) {
952
+ const nsid = 'com.atproto.admin.updateAccountEmail'; // @ts-ignore
917
953
  return this._server.xrpc.method(nsid, cfg);
918
954
  }
919
- getRelationships(cfg) {
920
- const nsid = 'app.bsky.graph.getRelationships'; // @ts-ignore
955
+ updateAccountHandle(cfg) {
956
+ const nsid = 'com.atproto.admin.updateAccountHandle'; // @ts-ignore
921
957
  return this._server.xrpc.method(nsid, cfg);
922
958
  }
923
- getStarterPack(cfg) {
924
- const nsid = 'app.bsky.graph.getStarterPack'; // @ts-ignore
959
+ updateAccountPassword(cfg) {
960
+ const nsid = 'com.atproto.admin.updateAccountPassword'; // @ts-ignore
925
961
  return this._server.xrpc.method(nsid, cfg);
926
962
  }
927
- getStarterPacks(cfg) {
928
- const nsid = 'app.bsky.graph.getStarterPacks'; // @ts-ignore
963
+ updateAccountSigningKey(cfg) {
964
+ const nsid = 'com.atproto.admin.updateAccountSigningKey'; // @ts-ignore
929
965
  return this._server.xrpc.method(nsid, cfg);
930
966
  }
931
- getStarterPacksWithMembership(cfg) {
932
- const nsid = 'app.bsky.graph.getStarterPacksWithMembership'; // @ts-ignore
967
+ updateSubjectStatus(cfg) {
968
+ const nsid = 'com.atproto.admin.updateSubjectStatus'; // @ts-ignore
933
969
  return this._server.xrpc.method(nsid, cfg);
934
970
  }
935
- getSuggestedFollowsByActor(cfg) {
936
- const nsid = 'app.bsky.graph.getSuggestedFollowsByActor'; // @ts-ignore
971
+ }
972
+ exports.ComAtprotoAdminNS = ComAtprotoAdminNS;
973
+ class ComAtprotoIdentityNS {
974
+ constructor(server) {
975
+ Object.defineProperty(this, "_server", {
976
+ enumerable: true,
977
+ configurable: true,
978
+ writable: true,
979
+ value: void 0
980
+ });
981
+ this._server = server;
982
+ }
983
+ getRecommendedDidCredentials(cfg) {
984
+ const nsid = 'com.atproto.identity.getRecommendedDidCredentials'; // @ts-ignore
937
985
  return this._server.xrpc.method(nsid, cfg);
938
986
  }
939
- muteActor(cfg) {
940
- const nsid = 'app.bsky.graph.muteActor'; // @ts-ignore
987
+ refreshIdentity(cfg) {
988
+ const nsid = 'com.atproto.identity.refreshIdentity'; // @ts-ignore
941
989
  return this._server.xrpc.method(nsid, cfg);
942
990
  }
943
- muteActorList(cfg) {
944
- const nsid = 'app.bsky.graph.muteActorList'; // @ts-ignore
991
+ requestPlcOperationSignature(cfg) {
992
+ const nsid = 'com.atproto.identity.requestPlcOperationSignature'; // @ts-ignore
945
993
  return this._server.xrpc.method(nsid, cfg);
946
994
  }
947
- muteThread(cfg) {
948
- const nsid = 'app.bsky.graph.muteThread'; // @ts-ignore
995
+ resolveDid(cfg) {
996
+ const nsid = 'com.atproto.identity.resolveDid'; // @ts-ignore
949
997
  return this._server.xrpc.method(nsid, cfg);
950
998
  }
951
- searchStarterPacks(cfg) {
952
- const nsid = 'app.bsky.graph.searchStarterPacks'; // @ts-ignore
999
+ resolveHandle(cfg) {
1000
+ const nsid = 'com.atproto.identity.resolveHandle'; // @ts-ignore
953
1001
  return this._server.xrpc.method(nsid, cfg);
954
1002
  }
955
- unmuteActor(cfg) {
956
- const nsid = 'app.bsky.graph.unmuteActor'; // @ts-ignore
1003
+ resolveIdentity(cfg) {
1004
+ const nsid = 'com.atproto.identity.resolveIdentity'; // @ts-ignore
957
1005
  return this._server.xrpc.method(nsid, cfg);
958
1006
  }
959
- unmuteActorList(cfg) {
960
- const nsid = 'app.bsky.graph.unmuteActorList'; // @ts-ignore
1007
+ signPlcOperation(cfg) {
1008
+ const nsid = 'com.atproto.identity.signPlcOperation'; // @ts-ignore
961
1009
  return this._server.xrpc.method(nsid, cfg);
962
1010
  }
963
- unmuteThread(cfg) {
964
- const nsid = 'app.bsky.graph.unmuteThread'; // @ts-ignore
1011
+ submitPlcOperation(cfg) {
1012
+ const nsid = 'com.atproto.identity.submitPlcOperation'; // @ts-ignore
1013
+ return this._server.xrpc.method(nsid, cfg);
1014
+ }
1015
+ updateHandle(cfg) {
1016
+ const nsid = 'com.atproto.identity.updateHandle'; // @ts-ignore
965
1017
  return this._server.xrpc.method(nsid, cfg);
966
1018
  }
967
1019
  }
968
- exports.AppBskyGraphNS = AppBskyGraphNS;
969
- class AppBskyLabelerNS {
1020
+ exports.ComAtprotoIdentityNS = ComAtprotoIdentityNS;
1021
+ class ComAtprotoLabelNS {
970
1022
  constructor(server) {
971
1023
  Object.defineProperty(this, "_server", {
972
1024
  enumerable: true,
@@ -976,13 +1028,17 @@ class AppBskyLabelerNS {
976
1028
  });
977
1029
  this._server = server;
978
1030
  }
979
- getServices(cfg) {
980
- const nsid = 'app.bsky.labeler.getServices'; // @ts-ignore
1031
+ queryLabels(cfg) {
1032
+ const nsid = 'com.atproto.label.queryLabels'; // @ts-ignore
981
1033
  return this._server.xrpc.method(nsid, cfg);
982
1034
  }
1035
+ subscribeLabels(cfg) {
1036
+ const nsid = 'com.atproto.label.subscribeLabels'; // @ts-ignore
1037
+ return this._server.xrpc.streamMethod(nsid, cfg);
1038
+ }
983
1039
  }
984
- exports.AppBskyLabelerNS = AppBskyLabelerNS;
985
- class AppBskyNotificationNS {
1040
+ exports.ComAtprotoLabelNS = ComAtprotoLabelNS;
1041
+ class ComAtprotoLexiconNS {
986
1042
  constructor(server) {
987
1043
  Object.defineProperty(this, "_server", {
988
1044
  enumerable: true,
@@ -992,61 +1048,77 @@ class AppBskyNotificationNS {
992
1048
  });
993
1049
  this._server = server;
994
1050
  }
995
- getPreferences(cfg) {
996
- const nsid = 'app.bsky.notification.getPreferences'; // @ts-ignore
1051
+ }
1052
+ exports.ComAtprotoLexiconNS = ComAtprotoLexiconNS;
1053
+ class ComAtprotoModerationNS {
1054
+ constructor(server) {
1055
+ Object.defineProperty(this, "_server", {
1056
+ enumerable: true,
1057
+ configurable: true,
1058
+ writable: true,
1059
+ value: void 0
1060
+ });
1061
+ this._server = server;
1062
+ }
1063
+ createReport(cfg) {
1064
+ const nsid = 'com.atproto.moderation.createReport'; // @ts-ignore
997
1065
  return this._server.xrpc.method(nsid, cfg);
998
1066
  }
999
- getUnreadCount(cfg) {
1000
- const nsid = 'app.bsky.notification.getUnreadCount'; // @ts-ignore
1067
+ }
1068
+ exports.ComAtprotoModerationNS = ComAtprotoModerationNS;
1069
+ class ComAtprotoRepoNS {
1070
+ constructor(server) {
1071
+ Object.defineProperty(this, "_server", {
1072
+ enumerable: true,
1073
+ configurable: true,
1074
+ writable: true,
1075
+ value: void 0
1076
+ });
1077
+ this._server = server;
1078
+ }
1079
+ applyWrites(cfg) {
1080
+ const nsid = 'com.atproto.repo.applyWrites'; // @ts-ignore
1001
1081
  return this._server.xrpc.method(nsid, cfg);
1002
1082
  }
1003
- listActivitySubscriptions(cfg) {
1004
- const nsid = 'app.bsky.notification.listActivitySubscriptions'; // @ts-ignore
1083
+ createRecord(cfg) {
1084
+ const nsid = 'com.atproto.repo.createRecord'; // @ts-ignore
1005
1085
  return this._server.xrpc.method(nsid, cfg);
1006
1086
  }
1007
- listNotifications(cfg) {
1008
- const nsid = 'app.bsky.notification.listNotifications'; // @ts-ignore
1087
+ deleteRecord(cfg) {
1088
+ const nsid = 'com.atproto.repo.deleteRecord'; // @ts-ignore
1009
1089
  return this._server.xrpc.method(nsid, cfg);
1010
1090
  }
1011
- putActivitySubscription(cfg) {
1012
- const nsid = 'app.bsky.notification.putActivitySubscription'; // @ts-ignore
1091
+ describeRepo(cfg) {
1092
+ const nsid = 'com.atproto.repo.describeRepo'; // @ts-ignore
1013
1093
  return this._server.xrpc.method(nsid, cfg);
1014
1094
  }
1015
- putPreferences(cfg) {
1016
- const nsid = 'app.bsky.notification.putPreferences'; // @ts-ignore
1095
+ getRecord(cfg) {
1096
+ const nsid = 'com.atproto.repo.getRecord'; // @ts-ignore
1017
1097
  return this._server.xrpc.method(nsid, cfg);
1018
1098
  }
1019
- putPreferencesV2(cfg) {
1020
- const nsid = 'app.bsky.notification.putPreferencesV2'; // @ts-ignore
1099
+ importRepo(cfg) {
1100
+ const nsid = 'com.atproto.repo.importRepo'; // @ts-ignore
1021
1101
  return this._server.xrpc.method(nsid, cfg);
1022
1102
  }
1023
- registerPush(cfg) {
1024
- const nsid = 'app.bsky.notification.registerPush'; // @ts-ignore
1103
+ listMissingBlobs(cfg) {
1104
+ const nsid = 'com.atproto.repo.listMissingBlobs'; // @ts-ignore
1025
1105
  return this._server.xrpc.method(nsid, cfg);
1026
1106
  }
1027
- unregisterPush(cfg) {
1028
- const nsid = 'app.bsky.notification.unregisterPush'; // @ts-ignore
1107
+ listRecords(cfg) {
1108
+ const nsid = 'com.atproto.repo.listRecords'; // @ts-ignore
1029
1109
  return this._server.xrpc.method(nsid, cfg);
1030
1110
  }
1031
- updateSeen(cfg) {
1032
- const nsid = 'app.bsky.notification.updateSeen'; // @ts-ignore
1111
+ putRecord(cfg) {
1112
+ const nsid = 'com.atproto.repo.putRecord'; // @ts-ignore
1033
1113
  return this._server.xrpc.method(nsid, cfg);
1034
1114
  }
1035
- }
1036
- exports.AppBskyNotificationNS = AppBskyNotificationNS;
1037
- class AppBskyRichtextNS {
1038
- constructor(server) {
1039
- Object.defineProperty(this, "_server", {
1040
- enumerable: true,
1041
- configurable: true,
1042
- writable: true,
1043
- value: void 0
1044
- });
1045
- this._server = server;
1115
+ uploadBlob(cfg) {
1116
+ const nsid = 'com.atproto.repo.uploadBlob'; // @ts-ignore
1117
+ return this._server.xrpc.method(nsid, cfg);
1046
1118
  }
1047
1119
  }
1048
- exports.AppBskyRichtextNS = AppBskyRichtextNS;
1049
- class AppBskyUnspeccedNS {
1120
+ exports.ComAtprotoRepoNS = ComAtprotoRepoNS;
1121
+ class ComAtprotoServerNS {
1050
1122
  constructor(server) {
1051
1123
  Object.defineProperty(this, "_server", {
1052
1124
  enumerable: true,
@@ -1056,185 +1128,109 @@ class AppBskyUnspeccedNS {
1056
1128
  });
1057
1129
  this._server = server;
1058
1130
  }
1059
- getAgeAssuranceState(cfg) {
1060
- const nsid = 'app.bsky.unspecced.getAgeAssuranceState'; // @ts-ignore
1061
- return this._server.xrpc.method(nsid, cfg);
1062
- }
1063
- getConfig(cfg) {
1064
- const nsid = 'app.bsky.unspecced.getConfig'; // @ts-ignore
1065
- return this._server.xrpc.method(nsid, cfg);
1066
- }
1067
- getPopularFeedGenerators(cfg) {
1068
- const nsid = 'app.bsky.unspecced.getPopularFeedGenerators'; // @ts-ignore
1069
- return this._server.xrpc.method(nsid, cfg);
1070
- }
1071
- getPostThreadOtherV2(cfg) {
1072
- const nsid = 'app.bsky.unspecced.getPostThreadOtherV2'; // @ts-ignore
1073
- return this._server.xrpc.method(nsid, cfg);
1074
- }
1075
- getPostThreadV2(cfg) {
1076
- const nsid = 'app.bsky.unspecced.getPostThreadV2'; // @ts-ignore
1131
+ activateAccount(cfg) {
1132
+ const nsid = 'com.atproto.server.activateAccount'; // @ts-ignore
1077
1133
  return this._server.xrpc.method(nsid, cfg);
1078
1134
  }
1079
- getSuggestedFeeds(cfg) {
1080
- const nsid = 'app.bsky.unspecced.getSuggestedFeeds'; // @ts-ignore
1135
+ checkAccountStatus(cfg) {
1136
+ const nsid = 'com.atproto.server.checkAccountStatus'; // @ts-ignore
1081
1137
  return this._server.xrpc.method(nsid, cfg);
1082
1138
  }
1083
- getSuggestedFeedsSkeleton(cfg) {
1084
- const nsid = 'app.bsky.unspecced.getSuggestedFeedsSkeleton'; // @ts-ignore
1139
+ confirmEmail(cfg) {
1140
+ const nsid = 'com.atproto.server.confirmEmail'; // @ts-ignore
1085
1141
  return this._server.xrpc.method(nsid, cfg);
1086
1142
  }
1087
- getSuggestedStarterPacks(cfg) {
1088
- const nsid = 'app.bsky.unspecced.getSuggestedStarterPacks'; // @ts-ignore
1143
+ createAccount(cfg) {
1144
+ const nsid = 'com.atproto.server.createAccount'; // @ts-ignore
1089
1145
  return this._server.xrpc.method(nsid, cfg);
1090
1146
  }
1091
- getSuggestedStarterPacksSkeleton(cfg) {
1092
- const nsid = 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton'; // @ts-ignore
1147
+ createAppPassword(cfg) {
1148
+ const nsid = 'com.atproto.server.createAppPassword'; // @ts-ignore
1093
1149
  return this._server.xrpc.method(nsid, cfg);
1094
1150
  }
1095
- getSuggestedUsers(cfg) {
1096
- const nsid = 'app.bsky.unspecced.getSuggestedUsers'; // @ts-ignore
1151
+ createInviteCode(cfg) {
1152
+ const nsid = 'com.atproto.server.createInviteCode'; // @ts-ignore
1097
1153
  return this._server.xrpc.method(nsid, cfg);
1098
1154
  }
1099
- getSuggestedUsersSkeleton(cfg) {
1100
- const nsid = 'app.bsky.unspecced.getSuggestedUsersSkeleton'; // @ts-ignore
1155
+ createInviteCodes(cfg) {
1156
+ const nsid = 'com.atproto.server.createInviteCodes'; // @ts-ignore
1101
1157
  return this._server.xrpc.method(nsid, cfg);
1102
1158
  }
1103
- getSuggestionsSkeleton(cfg) {
1104
- const nsid = 'app.bsky.unspecced.getSuggestionsSkeleton'; // @ts-ignore
1159
+ createSession(cfg) {
1160
+ const nsid = 'com.atproto.server.createSession'; // @ts-ignore
1105
1161
  return this._server.xrpc.method(nsid, cfg);
1106
1162
  }
1107
- getTaggedSuggestions(cfg) {
1108
- const nsid = 'app.bsky.unspecced.getTaggedSuggestions'; // @ts-ignore
1163
+ deactivateAccount(cfg) {
1164
+ const nsid = 'com.atproto.server.deactivateAccount'; // @ts-ignore
1109
1165
  return this._server.xrpc.method(nsid, cfg);
1110
1166
  }
1111
- getTrendingTopics(cfg) {
1112
- const nsid = 'app.bsky.unspecced.getTrendingTopics'; // @ts-ignore
1167
+ deleteAccount(cfg) {
1168
+ const nsid = 'com.atproto.server.deleteAccount'; // @ts-ignore
1113
1169
  return this._server.xrpc.method(nsid, cfg);
1114
1170
  }
1115
- getTrends(cfg) {
1116
- const nsid = 'app.bsky.unspecced.getTrends'; // @ts-ignore
1171
+ deleteSession(cfg) {
1172
+ const nsid = 'com.atproto.server.deleteSession'; // @ts-ignore
1117
1173
  return this._server.xrpc.method(nsid, cfg);
1118
1174
  }
1119
- getTrendsSkeleton(cfg) {
1120
- const nsid = 'app.bsky.unspecced.getTrendsSkeleton'; // @ts-ignore
1175
+ describeServer(cfg) {
1176
+ const nsid = 'com.atproto.server.describeServer'; // @ts-ignore
1121
1177
  return this._server.xrpc.method(nsid, cfg);
1122
1178
  }
1123
- initAgeAssurance(cfg) {
1124
- const nsid = 'app.bsky.unspecced.initAgeAssurance'; // @ts-ignore
1179
+ getAccountInviteCodes(cfg) {
1180
+ const nsid = 'com.atproto.server.getAccountInviteCodes'; // @ts-ignore
1125
1181
  return this._server.xrpc.method(nsid, cfg);
1126
1182
  }
1127
- searchActorsSkeleton(cfg) {
1128
- const nsid = 'app.bsky.unspecced.searchActorsSkeleton'; // @ts-ignore
1183
+ getServiceAuth(cfg) {
1184
+ const nsid = 'com.atproto.server.getServiceAuth'; // @ts-ignore
1129
1185
  return this._server.xrpc.method(nsid, cfg);
1130
1186
  }
1131
- searchPostsSkeleton(cfg) {
1132
- const nsid = 'app.bsky.unspecced.searchPostsSkeleton'; // @ts-ignore
1187
+ getSession(cfg) {
1188
+ const nsid = 'com.atproto.server.getSession'; // @ts-ignore
1133
1189
  return this._server.xrpc.method(nsid, cfg);
1134
1190
  }
1135
- searchStarterPacksSkeleton(cfg) {
1136
- const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton'; // @ts-ignore
1191
+ listAppPasswords(cfg) {
1192
+ const nsid = 'com.atproto.server.listAppPasswords'; // @ts-ignore
1137
1193
  return this._server.xrpc.method(nsid, cfg);
1138
1194
  }
1139
- }
1140
- exports.AppBskyUnspeccedNS = AppBskyUnspeccedNS;
1141
- class AppBskyVideoNS {
1142
- constructor(server) {
1143
- Object.defineProperty(this, "_server", {
1144
- enumerable: true,
1145
- configurable: true,
1146
- writable: true,
1147
- value: void 0
1148
- });
1149
- this._server = server;
1195
+ refreshSession(cfg) {
1196
+ const nsid = 'com.atproto.server.refreshSession'; // @ts-ignore
1197
+ return this._server.xrpc.method(nsid, cfg);
1150
1198
  }
1151
- getJobStatus(cfg) {
1152
- const nsid = 'app.bsky.video.getJobStatus'; // @ts-ignore
1199
+ requestAccountDelete(cfg) {
1200
+ const nsid = 'com.atproto.server.requestAccountDelete'; // @ts-ignore
1153
1201
  return this._server.xrpc.method(nsid, cfg);
1154
1202
  }
1155
- getUploadLimits(cfg) {
1156
- const nsid = 'app.bsky.video.getUploadLimits'; // @ts-ignore
1203
+ requestEmailConfirmation(cfg) {
1204
+ const nsid = 'com.atproto.server.requestEmailConfirmation'; // @ts-ignore
1157
1205
  return this._server.xrpc.method(nsid, cfg);
1158
1206
  }
1159
- uploadVideo(cfg) {
1160
- const nsid = 'app.bsky.video.uploadVideo'; // @ts-ignore
1207
+ requestEmailUpdate(cfg) {
1208
+ const nsid = 'com.atproto.server.requestEmailUpdate'; // @ts-ignore
1161
1209
  return this._server.xrpc.method(nsid, cfg);
1162
1210
  }
1163
- }
1164
- exports.AppBskyVideoNS = AppBskyVideoNS;
1165
- class ChatNS {
1166
- constructor(server) {
1167
- Object.defineProperty(this, "_server", {
1168
- enumerable: true,
1169
- configurable: true,
1170
- writable: true,
1171
- value: void 0
1172
- });
1173
- Object.defineProperty(this, "bsky", {
1174
- enumerable: true,
1175
- configurable: true,
1176
- writable: true,
1177
- value: void 0
1178
- });
1179
- this._server = server;
1180
- this.bsky = new ChatBskyNS(server);
1211
+ requestPasswordReset(cfg) {
1212
+ const nsid = 'com.atproto.server.requestPasswordReset'; // @ts-ignore
1213
+ return this._server.xrpc.method(nsid, cfg);
1181
1214
  }
1182
- }
1183
- exports.ChatNS = ChatNS;
1184
- class ChatBskyNS {
1185
- constructor(server) {
1186
- Object.defineProperty(this, "_server", {
1187
- enumerable: true,
1188
- configurable: true,
1189
- writable: true,
1190
- value: void 0
1191
- });
1192
- Object.defineProperty(this, "actor", {
1193
- enumerable: true,
1194
- configurable: true,
1195
- writable: true,
1196
- value: void 0
1197
- });
1198
- Object.defineProperty(this, "convo", {
1199
- enumerable: true,
1200
- configurable: true,
1201
- writable: true,
1202
- value: void 0
1203
- });
1204
- Object.defineProperty(this, "moderation", {
1205
- enumerable: true,
1206
- configurable: true,
1207
- writable: true,
1208
- value: void 0
1209
- });
1210
- this._server = server;
1211
- this.actor = new ChatBskyActorNS(server);
1212
- this.convo = new ChatBskyConvoNS(server);
1213
- this.moderation = new ChatBskyModerationNS(server);
1215
+ reserveSigningKey(cfg) {
1216
+ const nsid = 'com.atproto.server.reserveSigningKey'; // @ts-ignore
1217
+ return this._server.xrpc.method(nsid, cfg);
1214
1218
  }
1215
- }
1216
- exports.ChatBskyNS = ChatBskyNS;
1217
- class ChatBskyActorNS {
1218
- constructor(server) {
1219
- Object.defineProperty(this, "_server", {
1220
- enumerable: true,
1221
- configurable: true,
1222
- writable: true,
1223
- value: void 0
1224
- });
1225
- this._server = server;
1219
+ resetPassword(cfg) {
1220
+ const nsid = 'com.atproto.server.resetPassword'; // @ts-ignore
1221
+ return this._server.xrpc.method(nsid, cfg);
1226
1222
  }
1227
- deleteAccount(cfg) {
1228
- const nsid = 'chat.bsky.actor.deleteAccount'; // @ts-ignore
1223
+ revokeAppPassword(cfg) {
1224
+ const nsid = 'com.atproto.server.revokeAppPassword'; // @ts-ignore
1229
1225
  return this._server.xrpc.method(nsid, cfg);
1230
1226
  }
1231
- exportAccountData(cfg) {
1232
- const nsid = 'chat.bsky.actor.exportAccountData'; // @ts-ignore
1227
+ updateEmail(cfg) {
1228
+ const nsid = 'com.atproto.server.updateEmail'; // @ts-ignore
1233
1229
  return this._server.xrpc.method(nsid, cfg);
1234
1230
  }
1235
1231
  }
1236
- exports.ChatBskyActorNS = ChatBskyActorNS;
1237
- class ChatBskyConvoNS {
1232
+ exports.ComAtprotoServerNS = ComAtprotoServerNS;
1233
+ class ComAtprotoSyncNS {
1238
1234
  constructor(server) {
1239
1235
  Object.defineProperty(this, "_server", {
1240
1236
  enumerable: true,
@@ -1244,77 +1240,73 @@ class ChatBskyConvoNS {
1244
1240
  });
1245
1241
  this._server = server;
1246
1242
  }
1247
- acceptConvo(cfg) {
1248
- const nsid = 'chat.bsky.convo.acceptConvo'; // @ts-ignore
1249
- return this._server.xrpc.method(nsid, cfg);
1250
- }
1251
- addReaction(cfg) {
1252
- const nsid = 'chat.bsky.convo.addReaction'; // @ts-ignore
1243
+ getBlob(cfg) {
1244
+ const nsid = 'com.atproto.sync.getBlob'; // @ts-ignore
1253
1245
  return this._server.xrpc.method(nsid, cfg);
1254
1246
  }
1255
- deleteMessageForSelf(cfg) {
1256
- const nsid = 'chat.bsky.convo.deleteMessageForSelf'; // @ts-ignore
1247
+ getBlocks(cfg) {
1248
+ const nsid = 'com.atproto.sync.getBlocks'; // @ts-ignore
1257
1249
  return this._server.xrpc.method(nsid, cfg);
1258
1250
  }
1259
- getConvo(cfg) {
1260
- const nsid = 'chat.bsky.convo.getConvo'; // @ts-ignore
1251
+ getCheckout(cfg) {
1252
+ const nsid = 'com.atproto.sync.getCheckout'; // @ts-ignore
1261
1253
  return this._server.xrpc.method(nsid, cfg);
1262
1254
  }
1263
- getConvoAvailability(cfg) {
1264
- const nsid = 'chat.bsky.convo.getConvoAvailability'; // @ts-ignore
1255
+ getHead(cfg) {
1256
+ const nsid = 'com.atproto.sync.getHead'; // @ts-ignore
1265
1257
  return this._server.xrpc.method(nsid, cfg);
1266
1258
  }
1267
- getConvoForMembers(cfg) {
1268
- const nsid = 'chat.bsky.convo.getConvoForMembers'; // @ts-ignore
1259
+ getHostStatus(cfg) {
1260
+ const nsid = 'com.atproto.sync.getHostStatus'; // @ts-ignore
1269
1261
  return this._server.xrpc.method(nsid, cfg);
1270
1262
  }
1271
- getLog(cfg) {
1272
- const nsid = 'chat.bsky.convo.getLog'; // @ts-ignore
1263
+ getLatestCommit(cfg) {
1264
+ const nsid = 'com.atproto.sync.getLatestCommit'; // @ts-ignore
1273
1265
  return this._server.xrpc.method(nsid, cfg);
1274
1266
  }
1275
- getMessages(cfg) {
1276
- const nsid = 'chat.bsky.convo.getMessages'; // @ts-ignore
1267
+ getRecord(cfg) {
1268
+ const nsid = 'com.atproto.sync.getRecord'; // @ts-ignore
1277
1269
  return this._server.xrpc.method(nsid, cfg);
1278
1270
  }
1279
- leaveConvo(cfg) {
1280
- const nsid = 'chat.bsky.convo.leaveConvo'; // @ts-ignore
1271
+ getRepo(cfg) {
1272
+ const nsid = 'com.atproto.sync.getRepo'; // @ts-ignore
1281
1273
  return this._server.xrpc.method(nsid, cfg);
1282
1274
  }
1283
- listConvos(cfg) {
1284
- const nsid = 'chat.bsky.convo.listConvos'; // @ts-ignore
1275
+ getRepoStatus(cfg) {
1276
+ const nsid = 'com.atproto.sync.getRepoStatus'; // @ts-ignore
1285
1277
  return this._server.xrpc.method(nsid, cfg);
1286
1278
  }
1287
- muteConvo(cfg) {
1288
- const nsid = 'chat.bsky.convo.muteConvo'; // @ts-ignore
1279
+ listBlobs(cfg) {
1280
+ const nsid = 'com.atproto.sync.listBlobs'; // @ts-ignore
1289
1281
  return this._server.xrpc.method(nsid, cfg);
1290
1282
  }
1291
- removeReaction(cfg) {
1292
- const nsid = 'chat.bsky.convo.removeReaction'; // @ts-ignore
1283
+ listHosts(cfg) {
1284
+ const nsid = 'com.atproto.sync.listHosts'; // @ts-ignore
1293
1285
  return this._server.xrpc.method(nsid, cfg);
1294
1286
  }
1295
- sendMessage(cfg) {
1296
- const nsid = 'chat.bsky.convo.sendMessage'; // @ts-ignore
1287
+ listRepos(cfg) {
1288
+ const nsid = 'com.atproto.sync.listRepos'; // @ts-ignore
1297
1289
  return this._server.xrpc.method(nsid, cfg);
1298
1290
  }
1299
- sendMessageBatch(cfg) {
1300
- const nsid = 'chat.bsky.convo.sendMessageBatch'; // @ts-ignore
1291
+ listReposByCollection(cfg) {
1292
+ const nsid = 'com.atproto.sync.listReposByCollection'; // @ts-ignore
1301
1293
  return this._server.xrpc.method(nsid, cfg);
1302
1294
  }
1303
- unmuteConvo(cfg) {
1304
- const nsid = 'chat.bsky.convo.unmuteConvo'; // @ts-ignore
1295
+ notifyOfUpdate(cfg) {
1296
+ const nsid = 'com.atproto.sync.notifyOfUpdate'; // @ts-ignore
1305
1297
  return this._server.xrpc.method(nsid, cfg);
1306
1298
  }
1307
- updateAllRead(cfg) {
1308
- const nsid = 'chat.bsky.convo.updateAllRead'; // @ts-ignore
1299
+ requestCrawl(cfg) {
1300
+ const nsid = 'com.atproto.sync.requestCrawl'; // @ts-ignore
1309
1301
  return this._server.xrpc.method(nsid, cfg);
1310
1302
  }
1311
- updateRead(cfg) {
1312
- const nsid = 'chat.bsky.convo.updateRead'; // @ts-ignore
1313
- return this._server.xrpc.method(nsid, cfg);
1303
+ subscribeRepos(cfg) {
1304
+ const nsid = 'com.atproto.sync.subscribeRepos'; // @ts-ignore
1305
+ return this._server.xrpc.streamMethod(nsid, cfg);
1314
1306
  }
1315
1307
  }
1316
- exports.ChatBskyConvoNS = ChatBskyConvoNS;
1317
- class ChatBskyModerationNS {
1308
+ exports.ComAtprotoSyncNS = ComAtprotoSyncNS;
1309
+ class ComAtprotoTempNS {
1318
1310
  constructor(server) {
1319
1311
  Object.defineProperty(this, "_server", {
1320
1312
  enumerable: true,
@@ -1324,20 +1316,28 @@ class ChatBskyModerationNS {
1324
1316
  });
1325
1317
  this._server = server;
1326
1318
  }
1327
- getActorMetadata(cfg) {
1328
- const nsid = 'chat.bsky.moderation.getActorMetadata'; // @ts-ignore
1319
+ addReservedHandle(cfg) {
1320
+ const nsid = 'com.atproto.temp.addReservedHandle'; // @ts-ignore
1329
1321
  return this._server.xrpc.method(nsid, cfg);
1330
1322
  }
1331
- getMessageContext(cfg) {
1332
- const nsid = 'chat.bsky.moderation.getMessageContext'; // @ts-ignore
1323
+ checkHandleAvailability(cfg) {
1324
+ const nsid = 'com.atproto.temp.checkHandleAvailability'; // @ts-ignore
1333
1325
  return this._server.xrpc.method(nsid, cfg);
1334
1326
  }
1335
- updateActorAccess(cfg) {
1336
- const nsid = 'chat.bsky.moderation.updateActorAccess'; // @ts-ignore
1327
+ checkSignupQueue(cfg) {
1328
+ const nsid = 'com.atproto.temp.checkSignupQueue'; // @ts-ignore
1329
+ return this._server.xrpc.method(nsid, cfg);
1330
+ }
1331
+ fetchLabels(cfg) {
1332
+ const nsid = 'com.atproto.temp.fetchLabels'; // @ts-ignore
1333
+ return this._server.xrpc.method(nsid, cfg);
1334
+ }
1335
+ requestPhoneVerification(cfg) {
1336
+ const nsid = 'com.atproto.temp.requestPhoneVerification'; // @ts-ignore
1337
1337
  return this._server.xrpc.method(nsid, cfg);
1338
1338
  }
1339
1339
  }
1340
- exports.ChatBskyModerationNS = ChatBskyModerationNS;
1340
+ exports.ComAtprotoTempNS = ComAtprotoTempNS;
1341
1341
  class ToolsNS {
1342
1342
  constructor(server) {
1343
1343
  Object.defineProperty(this, "_server", {