@atproto/api 0.32.10 → 0.32.11

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