@atproto/api 0.32.10 → 0.33.0

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 (176) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/client/index.d.ts +180 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +382 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +9203 -5207
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +3463 -1270
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/embed/record.d.ts +2 -0
  11. package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/embed/record.js.map +1 -1
  13. package/dist/client/types/app/bsky/feed/defs.d.ts +2 -0
  14. package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
  15. package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
  16. package/dist/client/types/app/bsky/feed/getPostVersions.d.ts +29 -0
  17. package/dist/client/types/app/bsky/feed/getPostVersions.d.ts.map +1 -0
  18. package/dist/client/types/app/bsky/feed/getPostVersions.js +23 -0
  19. package/dist/client/types/app/bsky/feed/getPostVersions.js.map +1 -0
  20. package/dist/client/types/com/atproto/managedspace/checkAccess.d.ts +26 -0
  21. package/dist/client/types/com/atproto/managedspace/checkAccess.d.ts.map +1 -0
  22. package/dist/client/types/com/atproto/managedspace/checkAccess.js +14 -0
  23. package/dist/client/types/com/atproto/managedspace/checkAccess.js.map +1 -0
  24. package/dist/client/types/com/atproto/managedspace/policy.d.ts +15 -0
  25. package/dist/client/types/com/atproto/managedspace/policy.d.ts.map +1 -0
  26. package/dist/client/types/com/atproto/managedspace/policy.js +17 -0
  27. package/dist/client/types/com/atproto/managedspace/policy.js.map +1 -0
  28. package/dist/client/types/com/atproto/memberspace/defs.d.ts +13 -0
  29. package/dist/client/types/com/atproto/memberspace/defs.d.ts.map +1 -0
  30. package/dist/client/types/com/atproto/memberspace/defs.js +17 -0
  31. package/dist/client/types/com/atproto/memberspace/defs.js.map +1 -0
  32. package/dist/client/types/com/atproto/memberspace/listMembers.d.ts +38 -0
  33. package/dist/client/types/com/atproto/memberspace/listMembers.d.ts.map +1 -0
  34. package/dist/client/types/com/atproto/memberspace/listMembers.js +44 -0
  35. package/dist/client/types/com/atproto/memberspace/listMembers.js.map +1 -0
  36. package/dist/client/types/com/atproto/memberspace/member.d.ts +14 -0
  37. package/dist/client/types/com/atproto/memberspace/member.d.ts.map +1 -0
  38. package/dist/client/types/com/atproto/memberspace/member.js +18 -0
  39. package/dist/client/types/com/atproto/memberspace/member.js.map +1 -0
  40. package/dist/client/types/com/atproto/memberspace/policy.d.ts +21 -0
  41. package/dist/client/types/com/atproto/memberspace/policy.d.ts.map +1 -0
  42. package/dist/client/types/com/atproto/memberspace/policy.js +17 -0
  43. package/dist/client/types/com/atproto/memberspace/policy.js.map +1 -0
  44. package/dist/client/types/com/atproto/memberspace/putMembers.d.ts +31 -0
  45. package/dist/client/types/com/atproto/memberspace/putMembers.d.ts.map +1 -0
  46. package/dist/client/types/com/atproto/memberspace/putMembers.js +37 -0
  47. package/dist/client/types/com/atproto/memberspace/putMembers.js.map +1 -0
  48. package/dist/client/types/com/atproto/memberspace/removeMembers.d.ts +30 -0
  49. package/dist/client/types/com/atproto/memberspace/removeMembers.d.ts.map +1 -0
  50. package/dist/client/types/com/atproto/memberspace/removeMembers.js +37 -0
  51. package/dist/client/types/com/atproto/memberspace/removeMembers.js.map +1 -0
  52. package/dist/client/types/com/atproto/personalspace/policy.d.ts +11 -0
  53. package/dist/client/types/com/atproto/personalspace/policy.d.ts.map +1 -0
  54. package/dist/client/types/com/atproto/personalspace/policy.js +17 -0
  55. package/dist/client/types/com/atproto/personalspace/policy.js.map +1 -0
  56. package/dist/client/types/com/atproto/space/applyWrites.d.ts +90 -0
  57. package/dist/client/types/com/atproto/space/applyWrites.d.ts.map +1 -0
  58. package/dist/client/types/com/atproto/space/applyWrites.js +79 -0
  59. package/dist/client/types/com/atproto/space/applyWrites.js.map +1 -0
  60. package/dist/client/types/com/atproto/space/authorizeSpaceSync.d.ts +72 -0
  61. package/dist/client/types/com/atproto/space/authorizeSpaceSync.d.ts.map +1 -0
  62. package/dist/client/types/com/atproto/space/authorizeSpaceSync.js +93 -0
  63. package/dist/client/types/com/atproto/space/authorizeSpaceSync.js.map +1 -0
  64. package/dist/client/types/com/atproto/space/clearRecords.d.ts +24 -0
  65. package/dist/client/types/com/atproto/space/clearRecords.d.ts.map +1 -0
  66. package/dist/client/types/com/atproto/space/clearRecords.js +14 -0
  67. package/dist/client/types/com/atproto/space/clearRecords.js.map +1 -0
  68. package/dist/client/types/com/atproto/space/confirmRegistration.d.ts +26 -0
  69. package/dist/client/types/com/atproto/space/confirmRegistration.d.ts.map +1 -0
  70. package/dist/client/types/com/atproto/space/confirmRegistration.js +14 -0
  71. package/dist/client/types/com/atproto/space/confirmRegistration.js.map +1 -0
  72. package/dist/client/types/com/atproto/space/createRecord.d.ts +41 -0
  73. package/dist/client/types/com/atproto/space/createRecord.d.ts.map +1 -0
  74. package/dist/client/types/com/atproto/space/createRecord.js +30 -0
  75. package/dist/client/types/com/atproto/space/createRecord.js.map +1 -0
  76. package/dist/client/types/com/atproto/space/createSpace.d.ts +39 -0
  77. package/dist/client/types/com/atproto/space/createSpace.d.ts.map +1 -0
  78. package/dist/client/types/com/atproto/space/createSpace.js +30 -0
  79. package/dist/client/types/com/atproto/space/createSpace.js.map +1 -0
  80. package/dist/client/types/com/atproto/space/defs.d.ts +43 -0
  81. package/dist/client/types/com/atproto/space/defs.d.ts.map +1 -0
  82. package/dist/client/types/com/atproto/space/defs.js +31 -0
  83. package/dist/client/types/com/atproto/space/defs.js.map +1 -0
  84. package/dist/client/types/com/atproto/space/deleteRecord.d.ts +29 -0
  85. package/dist/client/types/com/atproto/space/deleteRecord.d.ts.map +1 -0
  86. package/dist/client/types/com/atproto/space/deleteRecord.js +23 -0
  87. package/dist/client/types/com/atproto/space/deleteRecord.js.map +1 -0
  88. package/dist/client/types/com/atproto/space/deleteSpace.d.ts +26 -0
  89. package/dist/client/types/com/atproto/space/deleteSpace.d.ts.map +1 -0
  90. package/dist/client/types/com/atproto/space/deleteSpace.js +30 -0
  91. package/dist/client/types/com/atproto/space/deleteSpace.js.map +1 -0
  92. package/dist/client/types/com/atproto/space/exportSpaceMeta.d.ts +25 -0
  93. package/dist/client/types/com/atproto/space/exportSpaceMeta.d.ts.map +1 -0
  94. package/dist/client/types/com/atproto/space/exportSpaceMeta.js +30 -0
  95. package/dist/client/types/com/atproto/space/exportSpaceMeta.js.map +1 -0
  96. package/dist/client/types/com/atproto/space/getBlob.d.ts +39 -0
  97. package/dist/client/types/com/atproto/space/getBlob.d.ts.map +1 -0
  98. package/dist/client/types/com/atproto/space/getBlob.js +58 -0
  99. package/dist/client/types/com/atproto/space/getBlob.js.map +1 -0
  100. package/dist/client/types/com/atproto/space/getDelegationToken.d.ts +22 -0
  101. package/dist/client/types/com/atproto/space/getDelegationToken.d.ts.map +1 -0
  102. package/dist/client/types/com/atproto/space/getDelegationToken.js +14 -0
  103. package/dist/client/types/com/atproto/space/getDelegationToken.js.map +1 -0
  104. package/dist/client/types/com/atproto/space/getLatestCommit.d.ts +42 -0
  105. package/dist/client/types/com/atproto/space/getLatestCommit.d.ts.map +1 -0
  106. package/dist/client/types/com/atproto/space/getLatestCommit.js +58 -0
  107. package/dist/client/types/com/atproto/space/getLatestCommit.js.map +1 -0
  108. package/dist/client/types/com/atproto/space/getRecord.d.ts +50 -0
  109. package/dist/client/types/com/atproto/space/getRecord.d.ts.map +1 -0
  110. package/dist/client/types/com/atproto/space/getRecord.js +65 -0
  111. package/dist/client/types/com/atproto/space/getRecord.js.map +1 -0
  112. package/dist/client/types/com/atproto/space/getRepo.d.ts +38 -0
  113. package/dist/client/types/com/atproto/space/getRepo.d.ts.map +1 -0
  114. package/dist/client/types/com/atproto/space/getRepo.js +58 -0
  115. package/dist/client/types/com/atproto/space/getRepo.js.map +1 -0
  116. package/dist/client/types/com/atproto/space/getSpace.d.ts +35 -0
  117. package/dist/client/types/com/atproto/space/getSpace.d.ts.map +1 -0
  118. package/dist/client/types/com/atproto/space/getSpace.js +30 -0
  119. package/dist/client/types/com/atproto/space/getSpace.js.map +1 -0
  120. package/dist/client/types/com/atproto/space/importRepo.d.ts +27 -0
  121. package/dist/client/types/com/atproto/space/importRepo.d.ts.map +1 -0
  122. package/dist/client/types/com/atproto/space/importRepo.js +37 -0
  123. package/dist/client/types/com/atproto/space/importRepo.js.map +1 -0
  124. package/dist/client/types/com/atproto/space/importSpaceMeta.d.ts +27 -0
  125. package/dist/client/types/com/atproto/space/importSpaceMeta.d.ts.map +1 -0
  126. package/dist/client/types/com/atproto/space/importSpaceMeta.js +37 -0
  127. package/dist/client/types/com/atproto/space/importSpaceMeta.js.map +1 -0
  128. package/dist/client/types/com/atproto/space/listBlobs.d.ts +41 -0
  129. package/dist/client/types/com/atproto/space/listBlobs.d.ts.map +1 -0
  130. package/dist/client/types/com/atproto/space/listBlobs.js +51 -0
  131. package/dist/client/types/com/atproto/space/listBlobs.js.map +1 -0
  132. package/dist/client/types/com/atproto/space/listRecords.d.ts +59 -0
  133. package/dist/client/types/com/atproto/space/listRecords.d.ts.map +1 -0
  134. package/dist/client/types/com/atproto/space/listRecords.js +65 -0
  135. package/dist/client/types/com/atproto/space/listRecords.js.map +1 -0
  136. package/dist/client/types/com/atproto/space/listRepoOps.d.ts +69 -0
  137. package/dist/client/types/com/atproto/space/listRepoOps.d.ts.map +1 -0
  138. package/dist/client/types/com/atproto/space/listRepoOps.js +72 -0
  139. package/dist/client/types/com/atproto/space/listRepoOps.js.map +1 -0
  140. package/dist/client/types/com/atproto/space/listSpaces.d.ts +43 -0
  141. package/dist/client/types/com/atproto/space/listSpaces.d.ts.map +1 -0
  142. package/dist/client/types/com/atproto/space/listSpaces.js +30 -0
  143. package/dist/client/types/com/atproto/space/listSpaces.js.map +1 -0
  144. package/dist/client/types/com/atproto/space/listWriters.d.ts +40 -0
  145. package/dist/client/types/com/atproto/space/listWriters.d.ts.map +1 -0
  146. package/dist/client/types/com/atproto/space/listWriters.js +37 -0
  147. package/dist/client/types/com/atproto/space/listWriters.js.map +1 -0
  148. package/dist/client/types/com/atproto/space/notifyCredentialsRevoked.d.ts +22 -0
  149. package/dist/client/types/com/atproto/space/notifyCredentialsRevoked.d.ts.map +1 -0
  150. package/dist/client/types/com/atproto/space/notifyCredentialsRevoked.js +14 -0
  151. package/dist/client/types/com/atproto/space/notifyCredentialsRevoked.js.map +1 -0
  152. package/dist/client/types/com/atproto/space/notifyRepoUpdate.d.ts +30 -0
  153. package/dist/client/types/com/atproto/space/notifyRepoUpdate.d.ts.map +1 -0
  154. package/dist/client/types/com/atproto/space/notifyRepoUpdate.js +30 -0
  155. package/dist/client/types/com/atproto/space/notifyRepoUpdate.js.map +1 -0
  156. package/dist/client/types/com/atproto/space/notifySpaceUpdate.d.ts +41 -0
  157. package/dist/client/types/com/atproto/space/notifySpaceUpdate.d.ts.map +1 -0
  158. package/dist/client/types/com/atproto/space/notifySpaceUpdate.js +28 -0
  159. package/dist/client/types/com/atproto/space/notifySpaceUpdate.js.map +1 -0
  160. package/dist/client/types/com/atproto/space/policy.d.ts +19 -0
  161. package/dist/client/types/com/atproto/space/policy.d.ts.map +1 -0
  162. package/dist/client/types/com/atproto/space/policy.js +18 -0
  163. package/dist/client/types/com/atproto/space/policy.js.map +1 -0
  164. package/dist/client/types/com/atproto/space/putRecord.d.ts +37 -0
  165. package/dist/client/types/com/atproto/space/putRecord.d.ts.map +1 -0
  166. package/dist/client/types/com/atproto/space/putRecord.js +23 -0
  167. package/dist/client/types/com/atproto/space/putRecord.js.map +1 -0
  168. package/dist/client/types/com/atproto/space/removeWriter.d.ts +27 -0
  169. package/dist/client/types/com/atproto/space/removeWriter.d.ts.map +1 -0
  170. package/dist/client/types/com/atproto/space/removeWriter.js +30 -0
  171. package/dist/client/types/com/atproto/space/removeWriter.js.map +1 -0
  172. package/dist/client/types/com/atproto/space/updateSpace.d.ts +36 -0
  173. package/dist/client/types/com/atproto/space/updateSpace.d.ts.map +1 -0
  174. package/dist/client/types/com/atproto/space/updateSpace.js +37 -0
  175. package/dist/client/types/com/atproto/space/updateSpace.js.map +1 -0
  176. package/package.json +7 -7
@@ -60,6 +60,7 @@ import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkelet
60
60
  import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js';
61
61
  import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js';
62
62
  import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js';
63
+ import * as AppBskyFeedGetPostVersions from './types/app/bsky/feed/getPostVersions.js';
63
64
  import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js';
64
65
  import * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js';
65
66
  import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js';
@@ -257,8 +258,17 @@ import * as ComAtprotoLabelRecord from './types/com/atproto/label/record.js';
257
258
  import * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js';
258
259
  import * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js';
259
260
  import * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js';
261
+ import * as ComAtprotoManagedspaceCheckAccess from './types/com/atproto/managedspace/checkAccess.js';
262
+ import * as ComAtprotoManagedspacePolicy from './types/com/atproto/managedspace/policy.js';
263
+ import * as ComAtprotoMemberspaceDefs from './types/com/atproto/memberspace/defs.js';
264
+ import * as ComAtprotoMemberspaceListMembers from './types/com/atproto/memberspace/listMembers.js';
265
+ import * as ComAtprotoMemberspaceMember from './types/com/atproto/memberspace/member.js';
266
+ import * as ComAtprotoMemberspacePolicy from './types/com/atproto/memberspace/policy.js';
267
+ import * as ComAtprotoMemberspacePutMembers from './types/com/atproto/memberspace/putMembers.js';
268
+ import * as ComAtprotoMemberspaceRemoveMembers from './types/com/atproto/memberspace/removeMembers.js';
260
269
  import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
261
270
  import * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js';
271
+ import * as ComAtprotoPersonalspacePolicy from './types/com/atproto/personalspace/policy.js';
262
272
  import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js';
263
273
  import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js';
264
274
  import * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.js';
@@ -298,6 +308,36 @@ import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/r
298
308
  import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js';
299
309
  import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js';
300
310
  import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js';
311
+ import * as ComAtprotoSpaceApplyWrites from './types/com/atproto/space/applyWrites.js';
312
+ import * as ComAtprotoSpaceAuthorizeSpaceSync from './types/com/atproto/space/authorizeSpaceSync.js';
313
+ import * as ComAtprotoSpaceClearRecords from './types/com/atproto/space/clearRecords.js';
314
+ import * as ComAtprotoSpaceConfirmRegistration from './types/com/atproto/space/confirmRegistration.js';
315
+ import * as ComAtprotoSpaceCreateRecord from './types/com/atproto/space/createRecord.js';
316
+ import * as ComAtprotoSpaceCreateSpace from './types/com/atproto/space/createSpace.js';
317
+ import * as ComAtprotoSpaceDefs from './types/com/atproto/space/defs.js';
318
+ import * as ComAtprotoSpaceDeleteRecord from './types/com/atproto/space/deleteRecord.js';
319
+ import * as ComAtprotoSpaceDeleteSpace from './types/com/atproto/space/deleteSpace.js';
320
+ import * as ComAtprotoSpaceExportSpaceMeta from './types/com/atproto/space/exportSpaceMeta.js';
321
+ import * as ComAtprotoSpaceGetBlob from './types/com/atproto/space/getBlob.js';
322
+ import * as ComAtprotoSpaceGetDelegationToken from './types/com/atproto/space/getDelegationToken.js';
323
+ import * as ComAtprotoSpaceGetLatestCommit from './types/com/atproto/space/getLatestCommit.js';
324
+ import * as ComAtprotoSpaceGetRecord from './types/com/atproto/space/getRecord.js';
325
+ import * as ComAtprotoSpaceGetRepo from './types/com/atproto/space/getRepo.js';
326
+ import * as ComAtprotoSpaceGetSpace from './types/com/atproto/space/getSpace.js';
327
+ import * as ComAtprotoSpaceImportRepo from './types/com/atproto/space/importRepo.js';
328
+ import * as ComAtprotoSpaceImportSpaceMeta from './types/com/atproto/space/importSpaceMeta.js';
329
+ import * as ComAtprotoSpaceListBlobs from './types/com/atproto/space/listBlobs.js';
330
+ import * as ComAtprotoSpaceListRecords from './types/com/atproto/space/listRecords.js';
331
+ import * as ComAtprotoSpaceListRepoOps from './types/com/atproto/space/listRepoOps.js';
332
+ import * as ComAtprotoSpaceListSpaces from './types/com/atproto/space/listSpaces.js';
333
+ import * as ComAtprotoSpaceListWriters from './types/com/atproto/space/listWriters.js';
334
+ import * as ComAtprotoSpaceNotifyCredentialsRevoked from './types/com/atproto/space/notifyCredentialsRevoked.js';
335
+ import * as ComAtprotoSpaceNotifyRepoUpdate from './types/com/atproto/space/notifyRepoUpdate.js';
336
+ import * as ComAtprotoSpaceNotifySpaceUpdate from './types/com/atproto/space/notifySpaceUpdate.js';
337
+ import * as ComAtprotoSpacePolicy from './types/com/atproto/space/policy.js';
338
+ import * as ComAtprotoSpacePutRecord from './types/com/atproto/space/putRecord.js';
339
+ import * as ComAtprotoSpaceRemoveWriter from './types/com/atproto/space/removeWriter.js';
340
+ import * as ComAtprotoSpaceUpdateSpace from './types/com/atproto/space/updateSpace.js';
301
341
  import * as ComAtprotoSyncDefs from './types/com/atproto/sync/defs.js';
302
342
  import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js';
303
343
  import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js';
@@ -474,6 +514,7 @@ export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkelet
474
514
  export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes.js';
475
515
  export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed.js';
476
516
  export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread.js';
517
+ export * as AppBskyFeedGetPostVersions from './types/app/bsky/feed/getPostVersions.js';
477
518
  export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts.js';
478
519
  export * as AppBskyFeedGetQuotes from './types/app/bsky/feed/getQuotes.js';
479
520
  export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy.js';
@@ -671,8 +712,17 @@ export * as ComAtprotoLabelRecord from './types/com/atproto/label/record.js';
671
712
  export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js';
672
713
  export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js';
673
714
  export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js';
715
+ export * as ComAtprotoManagedspaceCheckAccess from './types/com/atproto/managedspace/checkAccess.js';
716
+ export * as ComAtprotoManagedspacePolicy from './types/com/atproto/managedspace/policy.js';
717
+ export * as ComAtprotoMemberspaceDefs from './types/com/atproto/memberspace/defs.js';
718
+ export * as ComAtprotoMemberspaceListMembers from './types/com/atproto/memberspace/listMembers.js';
719
+ export * as ComAtprotoMemberspaceMember from './types/com/atproto/memberspace/member.js';
720
+ export * as ComAtprotoMemberspacePolicy from './types/com/atproto/memberspace/policy.js';
721
+ export * as ComAtprotoMemberspacePutMembers from './types/com/atproto/memberspace/putMembers.js';
722
+ export * as ComAtprotoMemberspaceRemoveMembers from './types/com/atproto/memberspace/removeMembers.js';
674
723
  export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
675
724
  export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js';
725
+ export * as ComAtprotoPersonalspacePolicy from './types/com/atproto/personalspace/policy.js';
676
726
  export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js';
677
727
  export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js';
678
728
  export * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.js';
@@ -712,6 +762,36 @@ export * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/r
712
762
  export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword.js';
713
763
  export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword.js';
714
764
  export * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail.js';
765
+ export * as ComAtprotoSpaceApplyWrites from './types/com/atproto/space/applyWrites.js';
766
+ export * as ComAtprotoSpaceAuthorizeSpaceSync from './types/com/atproto/space/authorizeSpaceSync.js';
767
+ export * as ComAtprotoSpaceClearRecords from './types/com/atproto/space/clearRecords.js';
768
+ export * as ComAtprotoSpaceConfirmRegistration from './types/com/atproto/space/confirmRegistration.js';
769
+ export * as ComAtprotoSpaceCreateRecord from './types/com/atproto/space/createRecord.js';
770
+ export * as ComAtprotoSpaceCreateSpace from './types/com/atproto/space/createSpace.js';
771
+ export * as ComAtprotoSpaceDefs from './types/com/atproto/space/defs.js';
772
+ export * as ComAtprotoSpaceDeleteRecord from './types/com/atproto/space/deleteRecord.js';
773
+ export * as ComAtprotoSpaceDeleteSpace from './types/com/atproto/space/deleteSpace.js';
774
+ export * as ComAtprotoSpaceExportSpaceMeta from './types/com/atproto/space/exportSpaceMeta.js';
775
+ export * as ComAtprotoSpaceGetBlob from './types/com/atproto/space/getBlob.js';
776
+ export * as ComAtprotoSpaceGetDelegationToken from './types/com/atproto/space/getDelegationToken.js';
777
+ export * as ComAtprotoSpaceGetLatestCommit from './types/com/atproto/space/getLatestCommit.js';
778
+ export * as ComAtprotoSpaceGetRecord from './types/com/atproto/space/getRecord.js';
779
+ export * as ComAtprotoSpaceGetRepo from './types/com/atproto/space/getRepo.js';
780
+ export * as ComAtprotoSpaceGetSpace from './types/com/atproto/space/getSpace.js';
781
+ export * as ComAtprotoSpaceImportRepo from './types/com/atproto/space/importRepo.js';
782
+ export * as ComAtprotoSpaceImportSpaceMeta from './types/com/atproto/space/importSpaceMeta.js';
783
+ export * as ComAtprotoSpaceListBlobs from './types/com/atproto/space/listBlobs.js';
784
+ export * as ComAtprotoSpaceListRecords from './types/com/atproto/space/listRecords.js';
785
+ export * as ComAtprotoSpaceListRepoOps from './types/com/atproto/space/listRepoOps.js';
786
+ export * as ComAtprotoSpaceListSpaces from './types/com/atproto/space/listSpaces.js';
787
+ export * as ComAtprotoSpaceListWriters from './types/com/atproto/space/listWriters.js';
788
+ export * as ComAtprotoSpaceNotifyCredentialsRevoked from './types/com/atproto/space/notifyCredentialsRevoked.js';
789
+ export * as ComAtprotoSpaceNotifyRepoUpdate from './types/com/atproto/space/notifyRepoUpdate.js';
790
+ export * as ComAtprotoSpaceNotifySpaceUpdate from './types/com/atproto/space/notifySpaceUpdate.js';
791
+ export * as ComAtprotoSpacePolicy from './types/com/atproto/space/policy.js';
792
+ export * as ComAtprotoSpacePutRecord from './types/com/atproto/space/putRecord.js';
793
+ export * as ComAtprotoSpaceRemoveWriter from './types/com/atproto/space/removeWriter.js';
794
+ export * as ComAtprotoSpaceUpdateSpace from './types/com/atproto/space/updateSpace.js';
715
795
  export * as ComAtprotoSyncDefs from './types/com/atproto/sync/defs.js';
716
796
  export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob.js';
717
797
  export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks.js';
@@ -1327,6 +1407,13 @@ export class AppBskyFeedNS {
1327
1407
  throw AppBskyFeedGetPostThread.toKnownErr(e);
1328
1408
  });
1329
1409
  }
1410
+ getPostVersions(params, opts) {
1411
+ return this._client
1412
+ .call('app.bsky.feed.getPostVersions', params, undefined, opts)
1413
+ .catch((e) => {
1414
+ throw AppBskyFeedGetPostVersions.toKnownErr(e);
1415
+ });
1416
+ }
1330
1417
  getPosts(params, opts) {
1331
1418
  return this._client.call('app.bsky.feed.getPosts', params, undefined, opts);
1332
1419
  }
@@ -2573,9 +2660,13 @@ export class ComAtprotoNS {
2573
2660
  this.identity = new ComAtprotoIdentityNS(client);
2574
2661
  this.label = new ComAtprotoLabelNS(client);
2575
2662
  this.lexicon = new ComAtprotoLexiconNS(client);
2663
+ this.managedspace = new ComAtprotoManagedspaceNS(client);
2664
+ this.memberspace = new ComAtprotoMemberspaceNS(client);
2576
2665
  this.moderation = new ComAtprotoModerationNS(client);
2666
+ this.personalspace = new ComAtprotoPersonalspaceNS(client);
2577
2667
  this.repo = new ComAtprotoRepoNS(client);
2578
2668
  this.server = new ComAtprotoServerNS(client);
2669
+ this.space = new ComAtprotoSpaceNS(client);
2579
2670
  this.sync = new ComAtprotoSyncNS(client);
2580
2671
  this.temp = new ComAtprotoTempNS(client);
2581
2672
  }
@@ -2764,6 +2855,73 @@ export class ComAtprotoLexiconSchemaRecord {
2764
2855
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'com.atproto.lexicon.schema', ...params }, { headers });
2765
2856
  }
2766
2857
  }
2858
+ export class ComAtprotoManagedspaceNS {
2859
+ constructor(client) {
2860
+ this._client = client;
2861
+ }
2862
+ checkAccess(params, opts) {
2863
+ return this._client.call('com.atproto.managedspace.checkAccess', params, undefined, opts);
2864
+ }
2865
+ }
2866
+ export class ComAtprotoMemberspaceNS {
2867
+ constructor(client) {
2868
+ this._client = client;
2869
+ this.member = new ComAtprotoMemberspaceMemberRecord(client);
2870
+ }
2871
+ listMembers(params, opts) {
2872
+ return this._client
2873
+ .call('com.atproto.memberspace.listMembers', params, undefined, opts)
2874
+ .catch((e) => {
2875
+ throw ComAtprotoMemberspaceListMembers.toKnownErr(e);
2876
+ });
2877
+ }
2878
+ putMembers(data, opts) {
2879
+ return this._client
2880
+ .call('com.atproto.memberspace.putMembers', opts?.qp, data, opts)
2881
+ .catch((e) => {
2882
+ throw ComAtprotoMemberspacePutMembers.toKnownErr(e);
2883
+ });
2884
+ }
2885
+ removeMembers(data, opts) {
2886
+ return this._client
2887
+ .call('com.atproto.memberspace.removeMembers', opts?.qp, data, opts)
2888
+ .catch((e) => {
2889
+ throw ComAtprotoMemberspaceRemoveMembers.toKnownErr(e);
2890
+ });
2891
+ }
2892
+ }
2893
+ export class ComAtprotoMemberspaceMemberRecord {
2894
+ constructor(client) {
2895
+ this._client = client;
2896
+ }
2897
+ async list(params) {
2898
+ const res = await this._client.call('com.atproto.repo.listRecords', {
2899
+ collection: 'com.atproto.memberspace.member',
2900
+ ...params,
2901
+ });
2902
+ return res.data;
2903
+ }
2904
+ async get(params) {
2905
+ const res = await this._client.call('com.atproto.repo.getRecord', {
2906
+ collection: 'com.atproto.memberspace.member',
2907
+ ...params,
2908
+ });
2909
+ return res.data;
2910
+ }
2911
+ async create(params, record, headers) {
2912
+ const collection = 'com.atproto.memberspace.member';
2913
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2914
+ return res.data;
2915
+ }
2916
+ async put(params, record, headers) {
2917
+ const collection = 'com.atproto.memberspace.member';
2918
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2919
+ return res.data;
2920
+ }
2921
+ async delete(params, headers) {
2922
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'com.atproto.memberspace.member', ...params }, { headers });
2923
+ }
2924
+ }
2767
2925
  export class ComAtprotoModerationNS {
2768
2926
  constructor(client) {
2769
2927
  this._client = client;
@@ -2772,6 +2930,11 @@ export class ComAtprotoModerationNS {
2772
2930
  return this._client.call('com.atproto.moderation.createReport', opts?.qp, data, opts);
2773
2931
  }
2774
2932
  }
2933
+ export class ComAtprotoPersonalspaceNS {
2934
+ constructor(client) {
2935
+ this._client = client;
2936
+ }
2937
+ }
2775
2938
  export class ComAtprotoRepoNS {
2776
2939
  constructor(client) {
2777
2940
  this._client = client;
@@ -2958,6 +3121,225 @@ export class ComAtprotoServerNS {
2958
3121
  });
2959
3122
  }
2960
3123
  }
3124
+ export class ComAtprotoSpaceNS {
3125
+ constructor(client) {
3126
+ this._client = client;
3127
+ this.policy = new ComAtprotoSpacePolicyRecord(client);
3128
+ }
3129
+ applyWrites(data, opts) {
3130
+ return this._client
3131
+ .call('com.atproto.space.applyWrites', opts?.qp, data, opts)
3132
+ .catch((e) => {
3133
+ throw ComAtprotoSpaceApplyWrites.toKnownErr(e);
3134
+ });
3135
+ }
3136
+ authorizeSpaceSync(data, opts) {
3137
+ return this._client
3138
+ .call('com.atproto.space.authorizeSpaceSync', opts?.qp, data, opts)
3139
+ .catch((e) => {
3140
+ throw ComAtprotoSpaceAuthorizeSpaceSync.toKnownErr(e);
3141
+ });
3142
+ }
3143
+ clearRecords(data, opts) {
3144
+ return this._client.call('com.atproto.space.clearRecords', opts?.qp, data, opts);
3145
+ }
3146
+ confirmRegistration(data, opts) {
3147
+ return this._client.call('com.atproto.space.confirmRegistration', opts?.qp, data, opts);
3148
+ }
3149
+ createRecord(data, opts) {
3150
+ return this._client
3151
+ .call('com.atproto.space.createRecord', opts?.qp, data, opts)
3152
+ .catch((e) => {
3153
+ throw ComAtprotoSpaceCreateRecord.toKnownErr(e);
3154
+ });
3155
+ }
3156
+ createSpace(data, opts) {
3157
+ return this._client
3158
+ .call('com.atproto.space.createSpace', opts?.qp, data, opts)
3159
+ .catch((e) => {
3160
+ throw ComAtprotoSpaceCreateSpace.toKnownErr(e);
3161
+ });
3162
+ }
3163
+ deleteRecord(data, opts) {
3164
+ return this._client
3165
+ .call('com.atproto.space.deleteRecord', opts?.qp, data, opts)
3166
+ .catch((e) => {
3167
+ throw ComAtprotoSpaceDeleteRecord.toKnownErr(e);
3168
+ });
3169
+ }
3170
+ deleteSpace(data, opts) {
3171
+ return this._client
3172
+ .call('com.atproto.space.deleteSpace', opts?.qp, data, opts)
3173
+ .catch((e) => {
3174
+ throw ComAtprotoSpaceDeleteSpace.toKnownErr(e);
3175
+ });
3176
+ }
3177
+ exportSpaceMeta(params, opts) {
3178
+ return this._client
3179
+ .call('com.atproto.space.exportSpaceMeta', params, undefined, opts)
3180
+ .catch((e) => {
3181
+ throw ComAtprotoSpaceExportSpaceMeta.toKnownErr(e);
3182
+ });
3183
+ }
3184
+ getBlob(params, opts) {
3185
+ return this._client
3186
+ .call('com.atproto.space.getBlob', params, undefined, opts)
3187
+ .catch((e) => {
3188
+ throw ComAtprotoSpaceGetBlob.toKnownErr(e);
3189
+ });
3190
+ }
3191
+ getDelegationToken(params, opts) {
3192
+ return this._client.call('com.atproto.space.getDelegationToken', params, undefined, opts);
3193
+ }
3194
+ getLatestCommit(params, opts) {
3195
+ return this._client
3196
+ .call('com.atproto.space.getLatestCommit', params, undefined, opts)
3197
+ .catch((e) => {
3198
+ throw ComAtprotoSpaceGetLatestCommit.toKnownErr(e);
3199
+ });
3200
+ }
3201
+ getRecord(params, opts) {
3202
+ return this._client
3203
+ .call('com.atproto.space.getRecord', params, undefined, opts)
3204
+ .catch((e) => {
3205
+ throw ComAtprotoSpaceGetRecord.toKnownErr(e);
3206
+ });
3207
+ }
3208
+ getRepo(params, opts) {
3209
+ return this._client
3210
+ .call('com.atproto.space.getRepo', params, undefined, opts)
3211
+ .catch((e) => {
3212
+ throw ComAtprotoSpaceGetRepo.toKnownErr(e);
3213
+ });
3214
+ }
3215
+ getSpace(params, opts) {
3216
+ return this._client
3217
+ .call('com.atproto.space.getSpace', params, undefined, opts)
3218
+ .catch((e) => {
3219
+ throw ComAtprotoSpaceGetSpace.toKnownErr(e);
3220
+ });
3221
+ }
3222
+ importRepo(data, opts) {
3223
+ return this._client
3224
+ .call('com.atproto.space.importRepo', opts?.qp, data, opts)
3225
+ .catch((e) => {
3226
+ throw ComAtprotoSpaceImportRepo.toKnownErr(e);
3227
+ });
3228
+ }
3229
+ importSpaceMeta(data, opts) {
3230
+ return this._client
3231
+ .call('com.atproto.space.importSpaceMeta', opts?.qp, data, opts)
3232
+ .catch((e) => {
3233
+ throw ComAtprotoSpaceImportSpaceMeta.toKnownErr(e);
3234
+ });
3235
+ }
3236
+ listBlobs(params, opts) {
3237
+ return this._client
3238
+ .call('com.atproto.space.listBlobs', params, undefined, opts)
3239
+ .catch((e) => {
3240
+ throw ComAtprotoSpaceListBlobs.toKnownErr(e);
3241
+ });
3242
+ }
3243
+ listRecords(params, opts) {
3244
+ return this._client
3245
+ .call('com.atproto.space.listRecords', params, undefined, opts)
3246
+ .catch((e) => {
3247
+ throw ComAtprotoSpaceListRecords.toKnownErr(e);
3248
+ });
3249
+ }
3250
+ listRepoOps(params, opts) {
3251
+ return this._client
3252
+ .call('com.atproto.space.listRepoOps', params, undefined, opts)
3253
+ .catch((e) => {
3254
+ throw ComAtprotoSpaceListRepoOps.toKnownErr(e);
3255
+ });
3256
+ }
3257
+ listSpaces(params, opts) {
3258
+ return this._client
3259
+ .call('com.atproto.space.listSpaces', params, undefined, opts)
3260
+ .catch((e) => {
3261
+ throw ComAtprotoSpaceListSpaces.toKnownErr(e);
3262
+ });
3263
+ }
3264
+ listWriters(params, opts) {
3265
+ return this._client
3266
+ .call('com.atproto.space.listWriters', params, undefined, opts)
3267
+ .catch((e) => {
3268
+ throw ComAtprotoSpaceListWriters.toKnownErr(e);
3269
+ });
3270
+ }
3271
+ notifyCredentialsRevoked(data, opts) {
3272
+ return this._client.call('com.atproto.space.notifyCredentialsRevoked', opts?.qp, data, opts);
3273
+ }
3274
+ notifyRepoUpdate(data, opts) {
3275
+ return this._client
3276
+ .call('com.atproto.space.notifyRepoUpdate', opts?.qp, data, opts)
3277
+ .catch((e) => {
3278
+ throw ComAtprotoSpaceNotifyRepoUpdate.toKnownErr(e);
3279
+ });
3280
+ }
3281
+ notifySpaceUpdate(data, opts) {
3282
+ return this._client.call('com.atproto.space.notifySpaceUpdate', opts?.qp, data, opts);
3283
+ }
3284
+ putRecord(data, opts) {
3285
+ return this._client
3286
+ .call('com.atproto.space.putRecord', opts?.qp, data, opts)
3287
+ .catch((e) => {
3288
+ throw ComAtprotoSpacePutRecord.toKnownErr(e);
3289
+ });
3290
+ }
3291
+ removeWriter(data, opts) {
3292
+ return this._client
3293
+ .call('com.atproto.space.removeWriter', opts?.qp, data, opts)
3294
+ .catch((e) => {
3295
+ throw ComAtprotoSpaceRemoveWriter.toKnownErr(e);
3296
+ });
3297
+ }
3298
+ updateSpace(data, opts) {
3299
+ return this._client
3300
+ .call('com.atproto.space.updateSpace', opts?.qp, data, opts)
3301
+ .catch((e) => {
3302
+ throw ComAtprotoSpaceUpdateSpace.toKnownErr(e);
3303
+ });
3304
+ }
3305
+ }
3306
+ export class ComAtprotoSpacePolicyRecord {
3307
+ constructor(client) {
3308
+ this._client = client;
3309
+ }
3310
+ async list(params) {
3311
+ const res = await this._client.call('com.atproto.repo.listRecords', {
3312
+ collection: 'com.atproto.space.policy',
3313
+ ...params,
3314
+ });
3315
+ return res.data;
3316
+ }
3317
+ async get(params) {
3318
+ const res = await this._client.call('com.atproto.repo.getRecord', {
3319
+ collection: 'com.atproto.space.policy',
3320
+ ...params,
3321
+ });
3322
+ return res.data;
3323
+ }
3324
+ async create(params, record, headers) {
3325
+ const collection = 'com.atproto.space.policy';
3326
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
3327
+ collection,
3328
+ rkey: 'self',
3329
+ ...params,
3330
+ record: { ...record, $type: collection },
3331
+ }, { encoding: 'application/json', headers });
3332
+ return res.data;
3333
+ }
3334
+ async put(params, record, headers) {
3335
+ const collection = 'com.atproto.space.policy';
3336
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
3337
+ return res.data;
3338
+ }
3339
+ async delete(params, headers) {
3340
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'com.atproto.space.policy', ...params }, { headers });
3341
+ }
3342
+ }
2961
3343
  export class ComAtprotoSyncNS {
2962
3344
  constructor(client) {
2963
3345
  this._client = client;