@atproto/api 0.2.5 → 0.2.6

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 (163) hide show
  1. package/dist/client/index.d.ts +19 -0
  2. package/dist/client/lexicons.d.ts +364 -7
  3. package/dist/client/types/app/bsky/actor/defs.d.ts +4 -0
  4. package/dist/client/types/app/bsky/feed/defs.d.ts +2 -0
  5. package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -0
  6. package/dist/client/types/com/atproto/admin/defs.d.ts +4 -1
  7. package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +2 -0
  8. package/dist/client/types/com/atproto/{handle/update.d.ts → admin/updateAccountHandle.d.ts} +1 -0
  9. package/dist/client/types/com/atproto/label/defs.d.ts +12 -0
  10. package/dist/client/types/{app/bsky/feed/getAuthorFeed.d.ts → com/atproto/label/queryLabels.d.ts} +4 -3
  11. package/dist/client/types/com/atproto/label/subscribeLabels.d.ts +16 -0
  12. package/dist/client/types/com/atproto/{account/createInviteCode.d.ts → server/createInviteCodes.d.ts} +3 -1
  13. package/dist/client/types/com/atproto/server/createSession.d.ts +1 -1
  14. package/dist/client/types/{app/bsky/actor/getSuggestions.d.ts → com/atproto/sync/listRepos.d.ts} +9 -2
  15. package/dist/index.js +674 -229
  16. package/dist/index.js.map +4 -4
  17. package/package.json +1 -1
  18. package/src/client/index.ts +66 -0
  19. package/src/client/lexicons.ts +377 -10
  20. package/src/client/types/app/bsky/actor/defs.ts +4 -0
  21. package/src/client/types/app/bsky/feed/defs.ts +2 -0
  22. package/src/client/types/app/bsky/notification/listNotifications.ts +2 -0
  23. package/src/client/types/com/atproto/admin/defs.ts +4 -1
  24. package/src/client/types/com/atproto/admin/takeModerationAction.ts +2 -0
  25. package/src/client/types/com/atproto/admin/updateAccountHandle.ts +33 -0
  26. package/src/client/types/com/atproto/label/defs.ts +36 -0
  27. package/src/client/types/com/atproto/label/queryLabels.ts +42 -0
  28. package/src/client/types/com/atproto/label/subscribeLabels.ts +45 -0
  29. package/src/client/types/com/atproto/repo/listRecords.ts +2 -2
  30. package/src/client/types/com/atproto/server/createInviteCodes.ts +40 -0
  31. package/src/client/types/com/atproto/server/createSession.ts +1 -1
  32. package/src/client/types/com/atproto/sync/listRepos.ts +55 -0
  33. package/tsconfig.build.tsbuildinfo +1 -1
  34. package/dist/agent.d.ts +0 -27
  35. package/dist/bsky-agent.d.ts +0 -43
  36. package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
  37. package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -16
  38. package/dist/client/types/app/bsky/actor/getProfiles.d.ts +0 -19
  39. package/dist/client/types/app/bsky/actor/profile.d.ts +0 -10
  40. package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
  41. package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
  42. package/dist/client/types/app/bsky/actor/searchActors.d.ts +0 -22
  43. package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +0 -20
  44. package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
  45. package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -40
  46. package/dist/client/types/app/bsky/embed/external.d.ts +0 -31
  47. package/dist/client/types/app/bsky/embed/images.d.ts +0 -28
  48. package/dist/client/types/app/bsky/embed/record.d.ts +0 -41
  49. package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +0 -24
  50. package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
  51. package/dist/client/types/app/bsky/feed/getLikes.d.ts +0 -34
  52. package/dist/client/types/app/bsky/feed/getPostThread.d.ts +0 -26
  53. package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -25
  54. package/dist/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
  55. package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
  56. package/dist/client/types/app/bsky/feed/like.d.ts +0 -9
  57. package/dist/client/types/app/bsky/feed/post.d.ts +0 -43
  58. package/dist/client/types/app/bsky/feed/repost.d.ts +0 -9
  59. package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
  60. package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
  61. package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
  62. package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
  63. package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
  64. package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
  65. package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
  66. package/dist/client/types/app/bsky/graph/follow.d.ts +0 -8
  67. package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
  68. package/dist/client/types/app/bsky/graph/getFollowers.d.ts +0 -23
  69. package/dist/client/types/app/bsky/graph/getFollows.d.ts +0 -23
  70. package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
  71. package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
  72. package/dist/client/types/app/bsky/graph/getMutes.d.ts +0 -21
  73. package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
  74. package/dist/client/types/app/bsky/graph/muteActor.d.ts +0 -17
  75. package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
  76. package/dist/client/types/app/bsky/graph/unmuteActor.d.ts +0 -17
  77. package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
  78. package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +0 -17
  79. package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
  80. package/dist/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
  81. package/dist/client/types/app/bsky/richtext/facet.d.ts +0 -30
  82. package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
  83. package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
  84. package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
  85. package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
  86. package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -21
  87. package/dist/client/types/com/atproto/account/create.d.ts +0 -41
  88. package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
  89. package/dist/client/types/com/atproto/account/get.d.ts +0 -12
  90. package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
  91. package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
  92. package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
  93. package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
  94. package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
  95. package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
  96. package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
  97. package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -23
  98. package/dist/client/types/com/atproto/admin/getRecord.d.ts +0 -17
  99. package/dist/client/types/com/atproto/admin/getRepo.d.ts +0 -16
  100. package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
  101. package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
  102. package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
  103. package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
  104. package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +0 -22
  105. package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +0 -22
  106. package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
  107. package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
  108. package/dist/client/types/com/atproto/identity/resolveHandle.d.ts +0 -18
  109. package/dist/client/types/com/atproto/identity/updateHandle.d.ts +0 -17
  110. package/dist/client/types/com/atproto/moderation/createReport.d.ts +0 -38
  111. package/dist/client/types/com/atproto/moderation/defs.d.ts +0 -3
  112. package/dist/client/types/com/atproto/repo/applyWrites.d.ts +0 -47
  113. package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
  114. package/dist/client/types/com/atproto/repo/createRecord.d.ts +0 -31
  115. package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +0 -24
  116. package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
  117. package/dist/client/types/com/atproto/repo/describeRepo.d.ts +0 -22
  118. package/dist/client/types/com/atproto/repo/getRecord.d.ts +0 -23
  119. package/dist/client/types/com/atproto/repo/putRecord.d.ts +0 -32
  120. package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
  121. package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
  122. package/dist/client/types/com/atproto/repo/strongRef.d.ts +0 -8
  123. package/dist/client/types/com/atproto/repo/uploadBlob.d.ts +0 -20
  124. package/dist/client/types/com/atproto/report/create.d.ts +0 -39
  125. package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
  126. package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
  127. package/dist/client/types/com/atproto/server/createAccount.d.ts +0 -44
  128. package/dist/client/types/com/atproto/server/deleteAccount.d.ts +0 -25
  129. package/dist/client/types/com/atproto/server/deleteSession.d.ts +0 -13
  130. package/dist/client/types/com/atproto/server/describeServer.d.ts +0 -27
  131. package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
  132. package/dist/client/types/com/atproto/server/refreshSession.d.ts +0 -24
  133. package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +0 -13
  134. package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts +0 -17
  135. package/dist/client/types/com/atproto/server/resetPassword.d.ts +0 -24
  136. package/dist/client/types/com/atproto/session/create.d.ts +0 -29
  137. package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
  138. package/dist/client/types/com/atproto/session/get.d.ts +0 -18
  139. package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
  140. package/dist/client/types/com/atproto/sync/getBlob.d.ts +0 -15
  141. package/dist/client/types/com/atproto/sync/getBlocks.d.ts +0 -15
  142. package/dist/client/types/com/atproto/sync/getCheckout.d.ts +0 -15
  143. package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
  144. package/dist/client/types/com/atproto/sync/getHead.d.ts +0 -18
  145. package/dist/client/types/com/atproto/sync/getRecord.d.ts +0 -17
  146. package/dist/client/types/com/atproto/sync/getRepo.d.ts +0 -16
  147. package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -18
  148. package/dist/client/types/com/atproto/sync/listBlobs.d.ts +0 -20
  149. package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -13
  150. package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +0 -13
  151. package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
  152. package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +0 -58
  153. package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
  154. package/dist/client/util.d.ts +0 -2
  155. package/dist/helpers/bsky.d.ts +0 -20
  156. package/dist/index.d.ts +0 -10
  157. package/dist/mixins/bsky.d.ts +0 -23
  158. package/dist/rich-text/detection.d.ts +0 -4
  159. package/dist/rich-text/rich-text.d.ts +0 -39
  160. package/dist/rich-text/sanitization.d.ts +0 -4
  161. package/dist/rich-text/sanitize.d.ts +0 -4
  162. package/dist/rich-text/unicode.d.ts +0 -11
  163. package/dist/session.d.ts +0 -42
@@ -11,8 +11,10 @@ import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/ad
11
11
  import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
12
12
  import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
13
13
  import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
14
+ import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
14
15
  import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
15
16
  import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
17
+ import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels';
16
18
  import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport';
17
19
  import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites';
18
20
  import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
@@ -24,6 +26,7 @@ import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
24
26
  import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
25
27
  import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
26
28
  import * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
29
+ import * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes';
27
30
  import * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession';
28
31
  import * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount';
29
32
  import * as ComAtprotoServerDeleteSession from './types/com/atproto/server/deleteSession';
@@ -42,6 +45,7 @@ import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
42
45
  import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
43
46
  import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
44
47
  import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
48
+ import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
45
49
  import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
46
50
  import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
47
51
  import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
@@ -81,8 +85,12 @@ export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/ad
81
85
  export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
82
86
  export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
83
87
  export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
88
+ export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
84
89
  export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
85
90
  export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
91
+ export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs';
92
+ export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels';
93
+ export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels';
86
94
  export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport';
87
95
  export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs';
88
96
  export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites';
@@ -96,6 +104,7 @@ export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
96
104
  export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
97
105
  export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
98
106
  export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
107
+ export * as ComAtprotoServerCreateInviteCodes from './types/com/atproto/server/createInviteCodes';
99
108
  export * as ComAtprotoServerCreateSession from './types/com/atproto/server/createSession';
100
109
  export * as ComAtprotoServerDefs from './types/com/atproto/server/defs';
101
110
  export * as ComAtprotoServerDeleteAccount from './types/com/atproto/server/deleteAccount';
@@ -115,6 +124,7 @@ export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
115
124
  export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
116
125
  export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
117
126
  export * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
127
+ export * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
118
128
  export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
119
129
  export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
120
130
  export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos';
@@ -180,6 +190,7 @@ export declare class AtprotoNS {
180
190
  _service: AtpServiceClient;
181
191
  admin: AdminNS;
182
192
  identity: IdentityNS;
193
+ label: LabelNS;
183
194
  moderation: ModerationNS;
184
195
  repo: RepoNS;
185
196
  server: ServerNS;
@@ -201,6 +212,7 @@ export declare class AdminNS {
201
212
  reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>;
202
213
  searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
203
214
  takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
215
+ updateAccountHandle(data?: ComAtprotoAdminUpdateAccountHandle.InputSchema, opts?: ComAtprotoAdminUpdateAccountHandle.CallOptions): Promise<ComAtprotoAdminUpdateAccountHandle.Response>;
204
216
  }
205
217
  export declare class IdentityNS {
206
218
  _service: AtpServiceClient;
@@ -208,6 +220,11 @@ export declare class IdentityNS {
208
220
  resolveHandle(params?: ComAtprotoIdentityResolveHandle.QueryParams, opts?: ComAtprotoIdentityResolveHandle.CallOptions): Promise<ComAtprotoIdentityResolveHandle.Response>;
209
221
  updateHandle(data?: ComAtprotoIdentityUpdateHandle.InputSchema, opts?: ComAtprotoIdentityUpdateHandle.CallOptions): Promise<ComAtprotoIdentityUpdateHandle.Response>;
210
222
  }
223
+ export declare class LabelNS {
224
+ _service: AtpServiceClient;
225
+ constructor(service: AtpServiceClient);
226
+ queryLabels(params?: ComAtprotoLabelQueryLabels.QueryParams, opts?: ComAtprotoLabelQueryLabels.CallOptions): Promise<ComAtprotoLabelQueryLabels.Response>;
227
+ }
211
228
  export declare class ModerationNS {
212
229
  _service: AtpServiceClient;
213
230
  constructor(service: AtpServiceClient);
@@ -230,6 +247,7 @@ export declare class ServerNS {
230
247
  constructor(service: AtpServiceClient);
231
248
  createAccount(data?: ComAtprotoServerCreateAccount.InputSchema, opts?: ComAtprotoServerCreateAccount.CallOptions): Promise<ComAtprotoServerCreateAccount.Response>;
232
249
  createInviteCode(data?: ComAtprotoServerCreateInviteCode.InputSchema, opts?: ComAtprotoServerCreateInviteCode.CallOptions): Promise<ComAtprotoServerCreateInviteCode.Response>;
250
+ createInviteCodes(data?: ComAtprotoServerCreateInviteCodes.InputSchema, opts?: ComAtprotoServerCreateInviteCodes.CallOptions): Promise<ComAtprotoServerCreateInviteCodes.Response>;
233
251
  createSession(data?: ComAtprotoServerCreateSession.InputSchema, opts?: ComAtprotoServerCreateSession.CallOptions): Promise<ComAtprotoServerCreateSession.Response>;
234
252
  deleteAccount(data?: ComAtprotoServerDeleteAccount.InputSchema, opts?: ComAtprotoServerDeleteAccount.CallOptions): Promise<ComAtprotoServerDeleteAccount.Response>;
235
253
  deleteSession(data?: ComAtprotoServerDeleteSession.InputSchema, opts?: ComAtprotoServerDeleteSession.CallOptions): Promise<ComAtprotoServerDeleteSession.Response>;
@@ -252,6 +270,7 @@ export declare class SyncNS {
252
270
  getRecord(params?: ComAtprotoSyncGetRecord.QueryParams, opts?: ComAtprotoSyncGetRecord.CallOptions): Promise<ComAtprotoSyncGetRecord.Response>;
253
271
  getRepo(params?: ComAtprotoSyncGetRepo.QueryParams, opts?: ComAtprotoSyncGetRepo.CallOptions): Promise<ComAtprotoSyncGetRepo.Response>;
254
272
  listBlobs(params?: ComAtprotoSyncListBlobs.QueryParams, opts?: ComAtprotoSyncListBlobs.CallOptions): Promise<ComAtprotoSyncListBlobs.Response>;
273
+ listRepos(params?: ComAtprotoSyncListRepos.QueryParams, opts?: ComAtprotoSyncListRepos.CallOptions): Promise<ComAtprotoSyncListRepos.Response>;
255
274
  notifyOfUpdate(params?: ComAtprotoSyncNotifyOfUpdate.QueryParams, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions): Promise<ComAtprotoSyncNotifyOfUpdate.Response>;
256
275
  requestCrawl(params?: ComAtprotoSyncRequestCrawl.QueryParams, opts?: ComAtprotoSyncRequestCrawl.CallOptions): Promise<ComAtprotoSyncRequestCrawl.Response>;
257
276
  }
@@ -25,6 +25,18 @@ export declare const schemaDict: {
25
25
  type: string;
26
26
  };
27
27
  };
28
+ createLabelVals: {
29
+ type: string;
30
+ items: {
31
+ type: string;
32
+ };
33
+ };
34
+ negateLabelVals: {
35
+ type: string;
36
+ items: {
37
+ type: string;
38
+ };
39
+ };
28
40
  reason: {
29
41
  type: string;
30
42
  };
@@ -70,6 +82,18 @@ export declare const schemaDict: {
70
82
  ref: string;
71
83
  };
72
84
  };
85
+ createLabelVals: {
86
+ type: string;
87
+ items: {
88
+ type: string;
89
+ };
90
+ };
91
+ negateLabelVals: {
92
+ type: string;
93
+ items: {
94
+ type: string;
95
+ };
96
+ };
73
97
  reason: {
74
98
  type: string;
75
99
  };
@@ -242,13 +266,6 @@ export declare const schemaDict: {
242
266
  type: string;
243
267
  ref: string;
244
268
  };
245
- invites: {
246
- type: string;
247
- items: {
248
- type: string;
249
- ref: string;
250
- };
251
- };
252
269
  };
253
270
  };
254
271
  repoViewDetail: {
@@ -901,6 +918,18 @@ export declare const schemaDict: {
901
918
  format: string;
902
919
  };
903
920
  };
921
+ createLabelVals: {
922
+ type: string;
923
+ items: {
924
+ type: string;
925
+ };
926
+ };
927
+ negateLabelVals: {
928
+ type: string;
929
+ items: {
930
+ type: string;
931
+ };
932
+ };
904
933
  reason: {
905
934
  type: string;
906
935
  };
@@ -924,6 +953,33 @@ export declare const schemaDict: {
924
953
  };
925
954
  };
926
955
  };
956
+ ComAtprotoAdminUpdateAccountHandle: {
957
+ lexicon: number;
958
+ id: string;
959
+ defs: {
960
+ main: {
961
+ type: string;
962
+ description: string;
963
+ input: {
964
+ encoding: string;
965
+ schema: {
966
+ type: string;
967
+ required: string[];
968
+ properties: {
969
+ did: {
970
+ type: string;
971
+ format: string;
972
+ };
973
+ handle: {
974
+ type: string;
975
+ format: string;
976
+ };
977
+ };
978
+ };
979
+ };
980
+ };
981
+ };
982
+ };
927
983
  ComAtprotoIdentityResolveHandle: {
928
984
  lexicon: number;
929
985
  id: string;
@@ -980,6 +1036,164 @@ export declare const schemaDict: {
980
1036
  };
981
1037
  };
982
1038
  };
1039
+ ComAtprotoLabelDefs: {
1040
+ lexicon: number;
1041
+ id: string;
1042
+ defs: {
1043
+ label: {
1044
+ type: string;
1045
+ description: string;
1046
+ required: string[];
1047
+ properties: {
1048
+ src: {
1049
+ type: string;
1050
+ format: string;
1051
+ description: string;
1052
+ };
1053
+ uri: {
1054
+ type: string;
1055
+ format: string;
1056
+ description: string;
1057
+ };
1058
+ cid: {
1059
+ type: string;
1060
+ format: string;
1061
+ description: string;
1062
+ };
1063
+ val: {
1064
+ type: string;
1065
+ maxLength: number;
1066
+ description: string;
1067
+ };
1068
+ neg: {
1069
+ type: string;
1070
+ description: string;
1071
+ };
1072
+ cts: {
1073
+ type: string;
1074
+ format: string;
1075
+ description: string;
1076
+ };
1077
+ };
1078
+ };
1079
+ };
1080
+ };
1081
+ ComAtprotoLabelQueryLabels: {
1082
+ lexicon: number;
1083
+ id: string;
1084
+ defs: {
1085
+ main: {
1086
+ type: string;
1087
+ description: string;
1088
+ parameters: {
1089
+ type: string;
1090
+ required: string[];
1091
+ properties: {
1092
+ uriPatterns: {
1093
+ type: string;
1094
+ items: {
1095
+ type: string;
1096
+ };
1097
+ description: string;
1098
+ };
1099
+ sources: {
1100
+ type: string;
1101
+ items: {
1102
+ type: string;
1103
+ format: string;
1104
+ };
1105
+ description: string;
1106
+ };
1107
+ limit: {
1108
+ type: string;
1109
+ minimum: number;
1110
+ maximum: number;
1111
+ default: number;
1112
+ };
1113
+ cursor: {
1114
+ type: string;
1115
+ };
1116
+ };
1117
+ };
1118
+ output: {
1119
+ encoding: string;
1120
+ schema: {
1121
+ type: string;
1122
+ required: string[];
1123
+ properties: {
1124
+ cursor: {
1125
+ type: string;
1126
+ };
1127
+ labels: {
1128
+ type: string;
1129
+ items: {
1130
+ type: string;
1131
+ ref: string;
1132
+ };
1133
+ };
1134
+ };
1135
+ };
1136
+ };
1137
+ };
1138
+ };
1139
+ };
1140
+ ComAtprotoLabelSubscribeLabels: {
1141
+ lexicon: number;
1142
+ id: string;
1143
+ defs: {
1144
+ main: {
1145
+ type: string;
1146
+ description: string;
1147
+ parameters: {
1148
+ type: string;
1149
+ properties: {
1150
+ cursor: {
1151
+ type: string;
1152
+ description: string;
1153
+ };
1154
+ };
1155
+ };
1156
+ message: {
1157
+ schema: {
1158
+ type: string;
1159
+ refs: string[];
1160
+ };
1161
+ };
1162
+ errors: {
1163
+ name: string;
1164
+ }[];
1165
+ };
1166
+ labels: {
1167
+ type: string;
1168
+ required: string[];
1169
+ properties: {
1170
+ seq: {
1171
+ type: string;
1172
+ };
1173
+ labels: {
1174
+ type: string;
1175
+ items: {
1176
+ type: string;
1177
+ ref: string;
1178
+ };
1179
+ };
1180
+ };
1181
+ };
1182
+ info: {
1183
+ type: string;
1184
+ required: string[];
1185
+ properties: {
1186
+ name: {
1187
+ type: string;
1188
+ knownValues: string[];
1189
+ };
1190
+ message: {
1191
+ type: string;
1192
+ };
1193
+ };
1194
+ };
1195
+ };
1196
+ };
983
1197
  ComAtprotoModerationCreateReport: {
984
1198
  lexicon: number;
985
1199
  id: string;
@@ -1672,6 +1886,51 @@ export declare const schemaDict: {
1672
1886
  };
1673
1887
  };
1674
1888
  };
1889
+ ComAtprotoServerCreateInviteCodes: {
1890
+ lexicon: number;
1891
+ id: string;
1892
+ defs: {
1893
+ main: {
1894
+ type: string;
1895
+ description: string;
1896
+ input: {
1897
+ encoding: string;
1898
+ schema: {
1899
+ type: string;
1900
+ required: string[];
1901
+ properties: {
1902
+ codeCount: {
1903
+ type: string;
1904
+ default: number;
1905
+ };
1906
+ useCount: {
1907
+ type: string;
1908
+ };
1909
+ forAccount: {
1910
+ type: string;
1911
+ format: string;
1912
+ };
1913
+ };
1914
+ };
1915
+ };
1916
+ output: {
1917
+ encoding: string;
1918
+ schema: {
1919
+ type: string;
1920
+ required: string[];
1921
+ properties: {
1922
+ codes: {
1923
+ type: string;
1924
+ items: {
1925
+ type: string;
1926
+ };
1927
+ };
1928
+ };
1929
+ };
1930
+ };
1931
+ };
1932
+ };
1933
+ };
1675
1934
  ComAtprotoServerCreateSession: {
1676
1935
  lexicon: number;
1677
1936
  id: string;
@@ -2319,6 +2578,63 @@ export declare const schemaDict: {
2319
2578
  };
2320
2579
  };
2321
2580
  };
2581
+ ComAtprotoSyncListRepos: {
2582
+ lexicon: number;
2583
+ id: string;
2584
+ defs: {
2585
+ main: {
2586
+ type: string;
2587
+ description: string;
2588
+ parameters: {
2589
+ type: string;
2590
+ properties: {
2591
+ limit: {
2592
+ type: string;
2593
+ minimum: number;
2594
+ maximum: number;
2595
+ default: number;
2596
+ };
2597
+ cursor: {
2598
+ type: string;
2599
+ };
2600
+ };
2601
+ };
2602
+ output: {
2603
+ encoding: string;
2604
+ schema: {
2605
+ type: string;
2606
+ required: string[];
2607
+ properties: {
2608
+ cursor: {
2609
+ type: string;
2610
+ };
2611
+ repos: {
2612
+ type: string;
2613
+ items: {
2614
+ type: string;
2615
+ ref: string;
2616
+ };
2617
+ };
2618
+ };
2619
+ };
2620
+ };
2621
+ };
2622
+ repo: {
2623
+ type: string;
2624
+ required: string[];
2625
+ properties: {
2626
+ did: {
2627
+ type: string;
2628
+ format: string;
2629
+ };
2630
+ head: {
2631
+ type: string;
2632
+ format: string;
2633
+ };
2634
+ };
2635
+ };
2636
+ };
2637
+ };
2322
2638
  ComAtprotoSyncNotifyOfUpdate: {
2323
2639
  lexicon: number;
2324
2640
  id: string;
@@ -2554,6 +2870,13 @@ export declare const schemaDict: {
2554
2870
  type: string;
2555
2871
  ref: string;
2556
2872
  };
2873
+ labels: {
2874
+ type: string;
2875
+ items: {
2876
+ type: string;
2877
+ ref: string;
2878
+ };
2879
+ };
2557
2880
  };
2558
2881
  };
2559
2882
  profileView: {
@@ -2589,6 +2912,13 @@ export declare const schemaDict: {
2589
2912
  type: string;
2590
2913
  ref: string;
2591
2914
  };
2915
+ labels: {
2916
+ type: string;
2917
+ items: {
2918
+ type: string;
2919
+ ref: string;
2920
+ };
2921
+ };
2592
2922
  };
2593
2923
  };
2594
2924
  profileViewDetailed: {
@@ -2636,6 +2966,13 @@ export declare const schemaDict: {
2636
2966
  type: string;
2637
2967
  ref: string;
2638
2968
  };
2969
+ labels: {
2970
+ type: string;
2971
+ items: {
2972
+ type: string;
2973
+ ref: string;
2974
+ };
2975
+ };
2639
2976
  };
2640
2977
  };
2641
2978
  viewerState: {
@@ -3164,6 +3501,13 @@ export declare const schemaDict: {
3164
3501
  type: string;
3165
3502
  ref: string;
3166
3503
  };
3504
+ labels: {
3505
+ type: string;
3506
+ items: {
3507
+ type: string;
3508
+ ref: string;
3509
+ };
3510
+ };
3167
3511
  };
3168
3512
  };
3169
3513
  viewerState: {
@@ -3987,6 +4331,13 @@ export declare const schemaDict: {
3987
4331
  type: string;
3988
4332
  format: string;
3989
4333
  };
4334
+ labels: {
4335
+ type: string;
4336
+ items: {
4337
+ type: string;
4338
+ ref: string;
4339
+ };
4340
+ };
3990
4341
  };
3991
4342
  };
3992
4343
  };
@@ -4134,8 +4485,12 @@ export declare const ids: {
4134
4485
  ComAtprotoAdminReverseModerationAction: string;
4135
4486
  ComAtprotoAdminSearchRepos: string;
4136
4487
  ComAtprotoAdminTakeModerationAction: string;
4488
+ ComAtprotoAdminUpdateAccountHandle: string;
4137
4489
  ComAtprotoIdentityResolveHandle: string;
4138
4490
  ComAtprotoIdentityUpdateHandle: string;
4491
+ ComAtprotoLabelDefs: string;
4492
+ ComAtprotoLabelQueryLabels: string;
4493
+ ComAtprotoLabelSubscribeLabels: string;
4139
4494
  ComAtprotoModerationCreateReport: string;
4140
4495
  ComAtprotoModerationDefs: string;
4141
4496
  ComAtprotoRepoApplyWrites: string;
@@ -4149,6 +4504,7 @@ export declare const ids: {
4149
4504
  ComAtprotoRepoUploadBlob: string;
4150
4505
  ComAtprotoServerCreateAccount: string;
4151
4506
  ComAtprotoServerCreateInviteCode: string;
4507
+ ComAtprotoServerCreateInviteCodes: string;
4152
4508
  ComAtprotoServerCreateSession: string;
4153
4509
  ComAtprotoServerDefs: string;
4154
4510
  ComAtprotoServerDeleteAccount: string;
@@ -4168,6 +4524,7 @@ export declare const ids: {
4168
4524
  ComAtprotoSyncGetRecord: string;
4169
4525
  ComAtprotoSyncGetRepo: string;
4170
4526
  ComAtprotoSyncListBlobs: string;
4527
+ ComAtprotoSyncListRepos: string;
4171
4528
  ComAtprotoSyncNotifyOfUpdate: string;
4172
4529
  ComAtprotoSyncRequestCrawl: string;
4173
4530
  ComAtprotoSyncSubscribeRepos: string;
@@ -1,10 +1,12 @@
1
1
  import { ValidationResult } from '@atproto/lexicon';
2
+ import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
2
3
  export interface ProfileViewBasic {
3
4
  did: string;
4
5
  handle: string;
5
6
  displayName?: string;
6
7
  avatar?: string;
7
8
  viewer?: ViewerState;
9
+ labels?: ComAtprotoLabelDefs.Label[];
8
10
  [k: string]: unknown;
9
11
  }
10
12
  export declare function isProfileViewBasic(v: unknown): v is ProfileViewBasic;
@@ -17,6 +19,7 @@ export interface ProfileView {
17
19
  avatar?: string;
18
20
  indexedAt?: string;
19
21
  viewer?: ViewerState;
22
+ labels?: ComAtprotoLabelDefs.Label[];
20
23
  [k: string]: unknown;
21
24
  }
22
25
  export declare function isProfileView(v: unknown): v is ProfileView;
@@ -33,6 +36,7 @@ export interface ProfileViewDetailed {
33
36
  postsCount?: number;
34
37
  indexedAt?: string;
35
38
  viewer?: ViewerState;
39
+ labels?: ComAtprotoLabelDefs.Label[];
36
40
  [k: string]: unknown;
37
41
  }
38
42
  export declare function isProfileViewDetailed(v: unknown): v is ProfileViewDetailed;
@@ -4,6 +4,7 @@ import * as AppBskyEmbedImages from '../embed/images';
4
4
  import * as AppBskyEmbedExternal from '../embed/external';
5
5
  import * as AppBskyEmbedRecord from '../embed/record';
6
6
  import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia';
7
+ import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
7
8
  export interface PostView {
8
9
  uri: string;
9
10
  cid: string;
@@ -18,6 +19,7 @@ export interface PostView {
18
19
  likeCount?: number;
19
20
  indexedAt: string;
20
21
  viewer?: ViewerState;
22
+ labels?: ComAtprotoLabelDefs.Label[];
21
23
  [k: string]: unknown;
22
24
  }
23
25
  export declare function isPostView(v: unknown): v is PostView;
@@ -1,6 +1,7 @@
1
1
  import { Headers } from '@atproto/xrpc';
2
2
  import { ValidationResult } from '@atproto/lexicon';
3
3
  import * as AppBskyActorDefs from '../actor/defs';
4
+ import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
4
5
  export interface QueryParams {
5
6
  limit?: number;
6
7
  cursor?: string;
@@ -29,6 +30,7 @@ export interface Notification {
29
30
  record: {};
30
31
  isRead: boolean;
31
32
  indexedAt: string;
33
+ labels?: ComAtprotoLabelDefs.Label[];
32
34
  [k: string]: unknown;
33
35
  }
34
36
  export declare function isNotification(v: unknown): v is Notification;
@@ -10,6 +10,8 @@ export interface ActionView {
10
10
  [k: string]: unknown;
11
11
  };
12
12
  subjectBlobCids: string[];
13
+ createLabelVals?: string[];
14
+ negateLabelVals?: string[];
13
15
  reason: string;
14
16
  createdBy: string;
15
17
  createdAt: string;
@@ -27,6 +29,8 @@ export interface ActionViewDetail {
27
29
  [k: string]: unknown;
28
30
  };
29
31
  subjectBlobs: BlobView[];
32
+ createLabelVals?: string[];
33
+ negateLabelVals?: string[];
30
34
  reason: string;
31
35
  createdBy: string;
32
36
  createdAt: string;
@@ -93,7 +97,6 @@ export interface RepoView {
93
97
  indexedAt: string;
94
98
  moderation: Moderation;
95
99
  invitedBy?: ComAtprotoServerDefs.InviteCode;
96
- invites?: ComAtprotoServerDefs.InviteCode[];
97
100
  [k: string]: unknown;
98
101
  }
99
102
  export declare function isRepoView(v: unknown): v is RepoView;
@@ -10,6 +10,8 @@ export interface InputSchema {
10
10
  [k: string]: unknown;
11
11
  };
12
12
  subjectBlobCids?: string[];
13
+ createLabelVals?: string[];
14
+ negateLabelVals?: string[];
13
15
  reason: string;
14
16
  createdBy: string;
15
17
  [k: string]: unknown;
@@ -2,6 +2,7 @@ import { Headers } from '@atproto/xrpc';
2
2
  export interface QueryParams {
3
3
  }
4
4
  export interface InputSchema {
5
+ did: string;
5
6
  handle: string;
6
7
  [k: string]: unknown;
7
8
  }