@atproto/api 0.6.20 → 0.6.22

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 (49) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/LICENSE.txt +7 -0
  3. package/README.md +10 -1
  4. package/definitions/moderation-behaviors.d.ts +1 -0
  5. package/definitions/profile-moderation-behaviors.json +25 -0
  6. package/dist/agent.d.ts +2 -0
  7. package/dist/bsky-agent.d.ts +7 -0
  8. package/dist/client/index.d.ts +12 -0
  9. package/dist/client/lexicons.d.ts +243 -3
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +1 -0
  11. package/dist/client/types/com/atproto/admin/defs.d.ts +28 -0
  12. package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +16 -0
  13. package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +26 -0
  14. package/dist/client/types/com/atproto/admin/searchRepos.d.ts +0 -1
  15. package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts +32 -0
  16. package/dist/client/types/com/atproto/server/createAccount.d.ts +4 -2
  17. package/dist/client/types/com/atproto/server/createSession.d.ts +1 -0
  18. package/dist/client/types/com/atproto/server/refreshSession.d.ts +1 -0
  19. package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts +22 -0
  20. package/dist/client/types/com/atproto/sync/listRepos.d.ts +1 -0
  21. package/dist/index.js +878 -425
  22. package/dist/index.js.map +3 -3
  23. package/dist/moderation/accumulator.d.ts +1 -0
  24. package/docs/moderation-behaviors/profiles.md +17 -0
  25. package/package.json +8 -7
  26. package/src/agent.ts +28 -1
  27. package/src/bsky-agent.ts +43 -0
  28. package/src/client/index.ts +52 -0
  29. package/src/client/lexicons.ts +259 -5
  30. package/src/client/types/app/bsky/actor/defs.ts +1 -0
  31. package/src/client/types/com/atproto/admin/defs.ts +61 -0
  32. package/src/client/types/com/atproto/admin/getAccountInfo.ts +32 -0
  33. package/src/client/types/com/atproto/admin/getSubjectStatus.ts +44 -0
  34. package/src/client/types/com/atproto/admin/searchRepos.ts +0 -1
  35. package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +50 -0
  36. package/src/client/types/com/atproto/server/createAccount.ts +4 -2
  37. package/src/client/types/com/atproto/server/createSession.ts +1 -0
  38. package/src/client/types/com/atproto/server/refreshSession.ts +1 -0
  39. package/src/client/types/com/atproto/server/reserveSigningKey.ts +40 -0
  40. package/src/client/types/com/atproto/sync/listRepos.ts +1 -0
  41. package/src/moderation/accumulator.ts +13 -0
  42. package/src/moderation/subjects/account.ts +7 -1
  43. package/tests/agent.test.ts +18 -21
  44. package/tests/bsky-agent.test.ts +19 -25
  45. package/tests/errors.test.ts +5 -11
  46. package/tests/rich-text-detection.test.ts +3 -3
  47. package/tests/util/index.ts +3 -0
  48. package/tests/util/moderation-behavior.ts +10 -2
  49. package/LICENSE +0 -21
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.6.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1788](https://github.com/bluesky-social/atproto/pull/1788) [`84e2d4d2`](https://github.com/bluesky-social/atproto/commit/84e2d4d2b6694f344d80c18672c78b650189d423) Thanks [@bnewbold](https://github.com/bnewbold)! - update license to "MIT or Apache2"
8
+
9
+ - Updated dependencies [[`ce49743d`](https://github.com/bluesky-social/atproto/commit/ce49743d7f8800d33116b88001d7b512553c2c89), [`84e2d4d2`](https://github.com/bluesky-social/atproto/commit/84e2d4d2b6694f344d80c18672c78b650189d423)]:
10
+ - @atproto/lexicon@0.3.0
11
+ - @atproto/xrpc@0.4.0
12
+ - @atproto/common-web@0.2.3
13
+ - @atproto/syntax@0.1.4
14
+
15
+ ## 0.6.21
16
+
17
+ ### Patch Changes
18
+
19
+ - [#1779](https://github.com/bluesky-social/atproto/pull/1779) [`9c98a5ba`](https://github.com/bluesky-social/atproto/commit/9c98a5baaf503b02238a6afe4f6e2b79c5181693) Thanks [@pfrazee](https://github.com/pfrazee)! - modlist helpers added to bsky-agent, add blockingByList to viewer state lexicon
20
+
21
+ - [`35d108ce`](https://github.com/bluesky-social/atproto/commit/35d108ce94866ce1b3d147cd0620a0ba1c4ebcd7) Thanks [@devinivy](https://github.com/devinivy)! - Allow pds to serve did doc with credentials, API client to respect PDS listed in the did doc.
22
+
23
+ - Updated dependencies [[`35d108ce`](https://github.com/bluesky-social/atproto/commit/35d108ce94866ce1b3d147cd0620a0ba1c4ebcd7)]:
24
+ - @atproto/common-web@0.2.2
25
+ - @atproto/lexicon@0.2.3
26
+ - @atproto/syntax@0.1.3
27
+ - @atproto/xrpc@0.3.3
28
+
3
29
  ## 0.6.20
4
30
 
5
31
  ### Patch Changes
package/LICENSE.txt ADDED
@@ -0,0 +1,7 @@
1
+ Dual MIT/Apache-2.0 License
2
+
3
+ Copyright (c) 2022-2023 Bluesky PBC, and Contributors
4
+
5
+ Except as otherwise noted in individual files, this software is licensed under the MIT license (<http://opensource.org/licenses/MIT>), or the Apache License, Version 2.0 (<http://www.apache.org/licenses/LICENSE-2.0>).
6
+
7
+ Downstream projects and end users may chose either license individually, or both together, at their discretion. The motivation for this dual-licensing is the additional software patent assurance provided by Apache 2.0.
package/README.md CHANGED
@@ -91,6 +91,10 @@ await agent.searchActors(params, opts)
91
91
  await agent.searchActorsTypeahead(params, opts)
92
92
  await agent.mute(did)
93
93
  await agent.unmute(did)
94
+ await agent.muteModList(listUri)
95
+ await agent.unmuteModList(listUri)
96
+ await agent.blockModList(listUri)
97
+ await agent.unblockModList(listUri)
94
98
 
95
99
  // Notifications
96
100
  await agent.listNotifications(params, opts)
@@ -331,4 +335,9 @@ BskyAgent.configure({
331
335
 
332
336
  ## License
333
337
 
334
- MIT
338
+ This project is dual-licensed under MIT and Apache 2.0 terms:
339
+
340
+ - MIT license ([LICENSE-MIT.txt](https://github.com/bluesky-social/atproto/blob/main/LICENSE-MIT.txt) or http://opensource.org/licenses/MIT)
341
+ - Apache License, Version 2.0, ([LICENSE-APACHE.txt](https://github.com/bluesky-social/atproto/blob/main/LICENSE-APACHE.txt) or http://www.apache.org/licenses/LICENSE-2.0)
342
+
343
+ Downstream projects and end users may chose either license individually, or both together, at their discretion. The motivation for this dual-licensing is the additional software patent assurance provided by Apache 2.0.
@@ -32,6 +32,7 @@ export interface ModerationBehaviors {
32
32
  string,
33
33
  {
34
34
  blocking: boolean
35
+ blockingByList: boolean
35
36
  blockedBy: boolean
36
37
  muted: boolean
37
38
  mutedByList: boolean
@@ -2,45 +2,59 @@
2
2
  "users": {
3
3
  "self": {
4
4
  "blocking": false,
5
+ "blockingByList": false,
5
6
  "blockedBy": false,
6
7
  "muted": false,
7
8
  "mutedByList": false
8
9
  },
9
10
  "alice": {
10
11
  "blocking": false,
12
+ "blockingByList": false,
11
13
  "blockedBy": false,
12
14
  "muted": false,
13
15
  "mutedByList": false
14
16
  },
15
17
  "bob": {
16
18
  "blocking": true,
19
+ "blockingByList": false,
17
20
  "blockedBy": false,
18
21
  "muted": false,
19
22
  "mutedByList": false
20
23
  },
21
24
  "carla": {
22
25
  "blocking": false,
26
+ "blockingByList": false,
23
27
  "blockedBy": true,
24
28
  "muted": false,
25
29
  "mutedByList": false
26
30
  },
27
31
  "dan": {
28
32
  "blocking": false,
33
+ "blockingByList": false,
29
34
  "blockedBy": false,
30
35
  "muted": true,
31
36
  "mutedByList": false
32
37
  },
33
38
  "elise": {
34
39
  "blocking": false,
40
+ "blockingByList": false,
35
41
  "blockedBy": false,
36
42
  "muted": false,
37
43
  "mutedByList": true
38
44
  },
39
45
  "fern": {
40
46
  "blocking": true,
47
+ "blockingByList": false,
41
48
  "blockedBy": true,
42
49
  "muted": false,
43
50
  "mutedByList": false
51
+ },
52
+ "georgia": {
53
+ "blocking": false,
54
+ "blockingByList": true,
55
+ "blockedBy": false,
56
+ "muted": false,
57
+ "mutedByList": false
44
58
  }
45
59
  },
46
60
  "configurations": {
@@ -377,6 +391,17 @@
377
391
  }
378
392
  },
379
393
 
394
+ "Mute/block: Blocking-by-list user": {
395
+ "cfg": "none",
396
+ "subject": "profile",
397
+ "author": "georgia",
398
+ "labels": {},
399
+ "behaviors": {
400
+ "account": { "cause": "blocking-by-list", "filter": true },
401
+ "avatar": { "blur": true, "noOverride": true }
402
+ }
403
+ },
404
+
380
405
  "Mute/block: Blocked by user": {
381
406
  "cfg": "none",
382
407
  "subject": "profile",
package/dist/agent.d.ts CHANGED
@@ -4,6 +4,7 @@ export declare class AtpAgent {
4
4
  service: URL;
5
5
  api: AtpServiceClient;
6
6
  session?: AtpSessionData;
7
+ pdsUrl: URL | undefined;
7
8
  private _baseClient;
8
9
  private _persistSession?;
9
10
  private _refreshSessionPromise;
@@ -24,4 +25,5 @@ export declare class AtpAgent {
24
25
  resolveHandle: typeof this.api.com.atproto.identity.resolveHandle;
25
26
  updateHandle: typeof this.api.com.atproto.identity.updateHandle;
26
27
  createModerationReport: typeof this.api.com.atproto.moderation.createReport;
28
+ private _updateApiEndpoint;
27
29
  }
@@ -48,6 +48,13 @@ export declare class BskyAgent extends AtpAgent {
48
48
  upsertProfile(updateFn: (existing: AppBskyActorProfile.Record | undefined) => AppBskyActorProfile.Record | Promise<AppBskyActorProfile.Record>): Promise<void>;
49
49
  mute(actor: string): Promise<import("./client/types/app/bsky/graph/muteActor").Response>;
50
50
  unmute(actor: string): Promise<import("./client/types/app/bsky/graph/unmuteActor").Response>;
51
+ muteModList(uri: string): Promise<import("./client/types/app/bsky/graph/muteActorList").Response>;
52
+ unmuteModList(uri: string): Promise<import("./client/types/app/bsky/graph/unmuteActorList").Response>;
53
+ blockModList(uri: string): Promise<{
54
+ uri: string;
55
+ cid: string;
56
+ }>;
57
+ unblockModList(uri: string): Promise<void>;
51
58
  updateSeenNotifications(seenAt?: string): Promise<import("./client/types/app/bsky/notification/updateSeen").Response>;
52
59
  getPreferences(): Promise<BskyPreferences>;
53
60
  setSavedFeeds(saved: string[], pinned: string[]): Promise<{
@@ -2,6 +2,7 @@ import { Client as XrpcClient, ServiceClient as XrpcServiceClient } from '@atpro
2
2
  import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
3
3
  import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
4
4
  import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
5
+ import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
5
6
  import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
6
7
  import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
7
8
  import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
@@ -9,6 +10,7 @@ import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/g
9
10
  import * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
10
11
  import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
11
12
  import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
13
+ import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
12
14
  import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
13
15
  import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
14
16
  import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
@@ -16,6 +18,7 @@ import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
16
18
  import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
17
19
  import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
18
20
  import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
21
+ import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
19
22
  import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
20
23
  import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
21
24
  import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels';
@@ -45,6 +48,7 @@ import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/serve
45
48
  import * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation';
46
49
  import * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate';
47
50
  import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
51
+ import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey';
48
52
  import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
49
53
  import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword';
50
54
  import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail';
@@ -119,6 +123,7 @@ export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs';
119
123
  export * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
120
124
  export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
121
125
  export * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
126
+ export * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
122
127
  export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
123
128
  export * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
124
129
  export * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
@@ -126,6 +131,7 @@ export * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/g
126
131
  export * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
127
132
  export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
128
133
  export * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
134
+ export * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
129
135
  export * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
130
136
  export * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
131
137
  export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
@@ -133,6 +139,7 @@ export * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
133
139
  export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
134
140
  export * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
135
141
  export * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
142
+ export * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
136
143
  export * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
137
144
  export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
138
145
  export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs';
@@ -167,6 +174,7 @@ export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/serve
167
174
  export * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation';
168
175
  export * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate';
169
176
  export * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
177
+ export * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey';
170
178
  export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
171
179
  export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword';
172
180
  export * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail';
@@ -300,6 +308,7 @@ export declare class AdminNS {
300
308
  disableAccountInvites(data?: ComAtprotoAdminDisableAccountInvites.InputSchema, opts?: ComAtprotoAdminDisableAccountInvites.CallOptions): Promise<ComAtprotoAdminDisableAccountInvites.Response>;
301
309
  disableInviteCodes(data?: ComAtprotoAdminDisableInviteCodes.InputSchema, opts?: ComAtprotoAdminDisableInviteCodes.CallOptions): Promise<ComAtprotoAdminDisableInviteCodes.Response>;
302
310
  enableAccountInvites(data?: ComAtprotoAdminEnableAccountInvites.InputSchema, opts?: ComAtprotoAdminEnableAccountInvites.CallOptions): Promise<ComAtprotoAdminEnableAccountInvites.Response>;
311
+ getAccountInfo(params?: ComAtprotoAdminGetAccountInfo.QueryParams, opts?: ComAtprotoAdminGetAccountInfo.CallOptions): Promise<ComAtprotoAdminGetAccountInfo.Response>;
303
312
  getInviteCodes(params?: ComAtprotoAdminGetInviteCodes.QueryParams, opts?: ComAtprotoAdminGetInviteCodes.CallOptions): Promise<ComAtprotoAdminGetInviteCodes.Response>;
304
313
  getModerationAction(params?: ComAtprotoAdminGetModerationAction.QueryParams, opts?: ComAtprotoAdminGetModerationAction.CallOptions): Promise<ComAtprotoAdminGetModerationAction.Response>;
305
314
  getModerationActions(params?: ComAtprotoAdminGetModerationActions.QueryParams, opts?: ComAtprotoAdminGetModerationActions.CallOptions): Promise<ComAtprotoAdminGetModerationActions.Response>;
@@ -307,6 +316,7 @@ export declare class AdminNS {
307
316
  getModerationReports(params?: ComAtprotoAdminGetModerationReports.QueryParams, opts?: ComAtprotoAdminGetModerationReports.CallOptions): Promise<ComAtprotoAdminGetModerationReports.Response>;
308
317
  getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
309
318
  getRepo(params?: ComAtprotoAdminGetRepo.QueryParams, opts?: ComAtprotoAdminGetRepo.CallOptions): Promise<ComAtprotoAdminGetRepo.Response>;
319
+ getSubjectStatus(params?: ComAtprotoAdminGetSubjectStatus.QueryParams, opts?: ComAtprotoAdminGetSubjectStatus.CallOptions): Promise<ComAtprotoAdminGetSubjectStatus.Response>;
310
320
  resolveModerationReports(data?: ComAtprotoAdminResolveModerationReports.InputSchema, opts?: ComAtprotoAdminResolveModerationReports.CallOptions): Promise<ComAtprotoAdminResolveModerationReports.Response>;
311
321
  reverseModerationAction(data?: ComAtprotoAdminReverseModerationAction.InputSchema, opts?: ComAtprotoAdminReverseModerationAction.CallOptions): Promise<ComAtprotoAdminReverseModerationAction.Response>;
312
322
  searchRepos(params?: ComAtprotoAdminSearchRepos.QueryParams, opts?: ComAtprotoAdminSearchRepos.CallOptions): Promise<ComAtprotoAdminSearchRepos.Response>;
@@ -314,6 +324,7 @@ export declare class AdminNS {
314
324
  takeModerationAction(data?: ComAtprotoAdminTakeModerationAction.InputSchema, opts?: ComAtprotoAdminTakeModerationAction.CallOptions): Promise<ComAtprotoAdminTakeModerationAction.Response>;
315
325
  updateAccountEmail(data?: ComAtprotoAdminUpdateAccountEmail.InputSchema, opts?: ComAtprotoAdminUpdateAccountEmail.CallOptions): Promise<ComAtprotoAdminUpdateAccountEmail.Response>;
316
326
  updateAccountHandle(data?: ComAtprotoAdminUpdateAccountHandle.InputSchema, opts?: ComAtprotoAdminUpdateAccountHandle.CallOptions): Promise<ComAtprotoAdminUpdateAccountHandle.Response>;
327
+ updateSubjectStatus(data?: ComAtprotoAdminUpdateSubjectStatus.InputSchema, opts?: ComAtprotoAdminUpdateSubjectStatus.CallOptions): Promise<ComAtprotoAdminUpdateSubjectStatus.Response>;
317
328
  }
318
329
  export declare class IdentityNS {
319
330
  _service: AtpServiceClient;
@@ -363,6 +374,7 @@ export declare class ServerNS {
363
374
  requestEmailConfirmation(data?: ComAtprotoServerRequestEmailConfirmation.InputSchema, opts?: ComAtprotoServerRequestEmailConfirmation.CallOptions): Promise<ComAtprotoServerRequestEmailConfirmation.Response>;
364
375
  requestEmailUpdate(data?: ComAtprotoServerRequestEmailUpdate.InputSchema, opts?: ComAtprotoServerRequestEmailUpdate.CallOptions): Promise<ComAtprotoServerRequestEmailUpdate.Response>;
365
376
  requestPasswordReset(data?: ComAtprotoServerRequestPasswordReset.InputSchema, opts?: ComAtprotoServerRequestPasswordReset.CallOptions): Promise<ComAtprotoServerRequestPasswordReset.Response>;
377
+ reserveSigningKey(data?: ComAtprotoServerReserveSigningKey.InputSchema, opts?: ComAtprotoServerReserveSigningKey.CallOptions): Promise<ComAtprotoServerReserveSigningKey.Response>;
366
378
  resetPassword(data?: ComAtprotoServerResetPassword.InputSchema, opts?: ComAtprotoServerResetPassword.CallOptions): Promise<ComAtprotoServerResetPassword.Response>;
367
379
  revokeAppPassword(data?: ComAtprotoServerRevokeAppPassword.InputSchema, opts?: ComAtprotoServerRevokeAppPassword.CallOptions): Promise<ComAtprotoServerRevokeAppPassword.Response>;
368
380
  updateEmail(data?: ComAtprotoServerUpdateEmail.InputSchema, opts?: ComAtprotoServerUpdateEmail.CallOptions): Promise<ComAtprotoServerUpdateEmail.Response>;
@@ -4,6 +4,18 @@ export declare const schemaDict: {
4
4
  lexicon: number;
5
5
  id: string;
6
6
  defs: {
7
+ statusAttr: {
8
+ type: string;
9
+ required: string[];
10
+ properties: {
11
+ applied: {
12
+ type: string;
13
+ };
14
+ ref: {
15
+ type: string;
16
+ };
17
+ };
18
+ };
7
19
  actionView: {
8
20
  type: string;
9
21
  required: string[];
@@ -348,6 +360,44 @@ export declare const schemaDict: {
348
360
  };
349
361
  };
350
362
  };
363
+ accountView: {
364
+ type: string;
365
+ required: string[];
366
+ properties: {
367
+ did: {
368
+ type: string;
369
+ format: string;
370
+ };
371
+ handle: {
372
+ type: string;
373
+ format: string;
374
+ };
375
+ email: {
376
+ type: string;
377
+ };
378
+ indexedAt: {
379
+ type: string;
380
+ format: string;
381
+ };
382
+ invitedBy: {
383
+ type: string;
384
+ ref: string;
385
+ };
386
+ invites: {
387
+ type: string;
388
+ items: {
389
+ type: string;
390
+ ref: string;
391
+ };
392
+ };
393
+ invitesDisabled: {
394
+ type: string;
395
+ };
396
+ inviteNote: {
397
+ type: string;
398
+ };
399
+ };
400
+ };
351
401
  repoViewNotFound: {
352
402
  type: string;
353
403
  required: string[];
@@ -368,6 +418,24 @@ export declare const schemaDict: {
368
418
  };
369
419
  };
370
420
  };
421
+ repoBlobRef: {
422
+ type: string;
423
+ required: string[];
424
+ properties: {
425
+ did: {
426
+ type: string;
427
+ format: string;
428
+ };
429
+ cid: {
430
+ type: string;
431
+ format: string;
432
+ };
433
+ recordUri: {
434
+ type: string;
435
+ format: string;
436
+ };
437
+ };
438
+ };
371
439
  recordView: {
372
440
  type: string;
373
441
  required: string[];
@@ -631,6 +699,33 @@ export declare const schemaDict: {
631
699
  };
632
700
  };
633
701
  };
702
+ ComAtprotoAdminGetAccountInfo: {
703
+ lexicon: number;
704
+ id: string;
705
+ defs: {
706
+ main: {
707
+ type: string;
708
+ description: string;
709
+ parameters: {
710
+ type: string;
711
+ required: string[];
712
+ properties: {
713
+ did: {
714
+ type: string;
715
+ format: string;
716
+ };
717
+ };
718
+ };
719
+ output: {
720
+ encoding: string;
721
+ schema: {
722
+ type: string;
723
+ ref: string;
724
+ };
725
+ };
726
+ };
727
+ };
728
+ };
634
729
  ComAtprotoAdminGetInviteCodes: {
635
730
  lexicon: number;
636
731
  id: string;
@@ -916,6 +1011,50 @@ export declare const schemaDict: {
916
1011
  };
917
1012
  };
918
1013
  };
1014
+ ComAtprotoAdminGetSubjectStatus: {
1015
+ lexicon: number;
1016
+ id: string;
1017
+ defs: {
1018
+ main: {
1019
+ type: string;
1020
+ description: string;
1021
+ parameters: {
1022
+ type: string;
1023
+ properties: {
1024
+ did: {
1025
+ type: string;
1026
+ format: string;
1027
+ };
1028
+ uri: {
1029
+ type: string;
1030
+ format: string;
1031
+ };
1032
+ blob: {
1033
+ type: string;
1034
+ format: string;
1035
+ };
1036
+ };
1037
+ };
1038
+ output: {
1039
+ encoding: string;
1040
+ schema: {
1041
+ type: string;
1042
+ required: string[];
1043
+ properties: {
1044
+ subject: {
1045
+ type: string;
1046
+ refs: string[];
1047
+ };
1048
+ takedown: {
1049
+ type: string;
1050
+ ref: string;
1051
+ };
1052
+ };
1053
+ };
1054
+ };
1055
+ };
1056
+ };
1057
+ };
919
1058
  ComAtprotoAdminResolveModerationReports: {
920
1059
  lexicon: number;
921
1060
  id: string;
@@ -1008,9 +1147,6 @@ export declare const schemaDict: {
1008
1147
  q: {
1009
1148
  type: string;
1010
1149
  };
1011
- invitedBy: {
1012
- type: string;
1013
- };
1014
1150
  limit: {
1015
1151
  type: string;
1016
1152
  minimum: number;
@@ -1206,6 +1342,50 @@ export declare const schemaDict: {
1206
1342
  };
1207
1343
  };
1208
1344
  };
1345
+ ComAtprotoAdminUpdateSubjectStatus: {
1346
+ lexicon: number;
1347
+ id: string;
1348
+ defs: {
1349
+ main: {
1350
+ type: string;
1351
+ description: string;
1352
+ input: {
1353
+ encoding: string;
1354
+ schema: {
1355
+ type: string;
1356
+ required: string[];
1357
+ properties: {
1358
+ subject: {
1359
+ type: string;
1360
+ refs: string[];
1361
+ };
1362
+ takedown: {
1363
+ type: string;
1364
+ ref: string;
1365
+ };
1366
+ };
1367
+ };
1368
+ };
1369
+ output: {
1370
+ encoding: string;
1371
+ schema: {
1372
+ type: string;
1373
+ required: string[];
1374
+ properties: {
1375
+ subject: {
1376
+ type: string;
1377
+ refs: string[];
1378
+ };
1379
+ takedown: {
1380
+ type: string;
1381
+ ref: string;
1382
+ };
1383
+ };
1384
+ };
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1209
1389
  ComAtprotoIdentityResolveHandle: {
1210
1390
  lexicon: number;
1211
1391
  id: string;
@@ -1490,6 +1670,8 @@ export declare const schemaDict: {
1490
1670
  };
1491
1671
  reason: {
1492
1672
  type: string;
1673
+ maxGraphemes: number;
1674
+ maxLength: number;
1493
1675
  };
1494
1676
  subject: {
1495
1677
  type: string;
@@ -2121,6 +2303,9 @@ export declare const schemaDict: {
2121
2303
  recoveryKey: {
2122
2304
  type: string;
2123
2305
  };
2306
+ plcOp: {
2307
+ type: string;
2308
+ };
2124
2309
  };
2125
2310
  };
2126
2311
  };
@@ -2144,6 +2329,9 @@ export declare const schemaDict: {
2144
2329
  type: string;
2145
2330
  format: string;
2146
2331
  };
2332
+ didDoc: {
2333
+ type: string;
2334
+ };
2147
2335
  };
2148
2336
  };
2149
2337
  };
@@ -2346,6 +2534,9 @@ export declare const schemaDict: {
2346
2534
  type: string;
2347
2535
  format: string;
2348
2536
  };
2537
+ didDoc: {
2538
+ type: string;
2539
+ };
2349
2540
  email: {
2350
2541
  type: string;
2351
2542
  };
@@ -2642,6 +2833,9 @@ export declare const schemaDict: {
2642
2833
  type: string;
2643
2834
  format: string;
2644
2835
  };
2836
+ didDoc: {
2837
+ type: string;
2838
+ };
2645
2839
  };
2646
2840
  };
2647
2841
  };
@@ -2715,6 +2909,41 @@ export declare const schemaDict: {
2715
2909
  };
2716
2910
  };
2717
2911
  };
2912
+ ComAtprotoServerReserveSigningKey: {
2913
+ lexicon: number;
2914
+ id: string;
2915
+ defs: {
2916
+ main: {
2917
+ type: string;
2918
+ description: string;
2919
+ input: {
2920
+ encoding: string;
2921
+ schema: {
2922
+ type: string;
2923
+ properties: {
2924
+ did: {
2925
+ type: string;
2926
+ description: string;
2927
+ };
2928
+ };
2929
+ };
2930
+ };
2931
+ output: {
2932
+ encoding: string;
2933
+ schema: {
2934
+ type: string;
2935
+ required: string[];
2936
+ properties: {
2937
+ signingKey: {
2938
+ type: string;
2939
+ description: string;
2940
+ };
2941
+ };
2942
+ };
2943
+ };
2944
+ };
2945
+ };
2946
+ };
2718
2947
  ComAtprotoServerResetPassword: {
2719
2948
  lexicon: number;
2720
2949
  id: string;
@@ -3125,6 +3354,9 @@ export declare const schemaDict: {
3125
3354
  type: string;
3126
3355
  format: string;
3127
3356
  };
3357
+ rev: {
3358
+ type: string;
3359
+ };
3128
3360
  };
3129
3361
  };
3130
3362
  };
@@ -3501,6 +3733,10 @@ export declare const schemaDict: {
3501
3733
  type: string;
3502
3734
  format: string;
3503
3735
  };
3736
+ blockingByList: {
3737
+ type: string;
3738
+ ref: string;
3739
+ };
3504
3740
  following: {
3505
3741
  type: string;
3506
3742
  format: string;
@@ -6901,6 +7137,7 @@ export declare const ids: {
6901
7137
  ComAtprotoAdminDisableAccountInvites: string;
6902
7138
  ComAtprotoAdminDisableInviteCodes: string;
6903
7139
  ComAtprotoAdminEnableAccountInvites: string;
7140
+ ComAtprotoAdminGetAccountInfo: string;
6904
7141
  ComAtprotoAdminGetInviteCodes: string;
6905
7142
  ComAtprotoAdminGetModerationAction: string;
6906
7143
  ComAtprotoAdminGetModerationActions: string;
@@ -6908,6 +7145,7 @@ export declare const ids: {
6908
7145
  ComAtprotoAdminGetModerationReports: string;
6909
7146
  ComAtprotoAdminGetRecord: string;
6910
7147
  ComAtprotoAdminGetRepo: string;
7148
+ ComAtprotoAdminGetSubjectStatus: string;
6911
7149
  ComAtprotoAdminResolveModerationReports: string;
6912
7150
  ComAtprotoAdminReverseModerationAction: string;
6913
7151
  ComAtprotoAdminSearchRepos: string;
@@ -6915,6 +7153,7 @@ export declare const ids: {
6915
7153
  ComAtprotoAdminTakeModerationAction: string;
6916
7154
  ComAtprotoAdminUpdateAccountEmail: string;
6917
7155
  ComAtprotoAdminUpdateAccountHandle: string;
7156
+ ComAtprotoAdminUpdateSubjectStatus: string;
6918
7157
  ComAtprotoIdentityResolveHandle: string;
6919
7158
  ComAtprotoIdentityUpdateHandle: string;
6920
7159
  ComAtprotoLabelDefs: string;
@@ -6949,6 +7188,7 @@ export declare const ids: {
6949
7188
  ComAtprotoServerRequestEmailConfirmation: string;
6950
7189
  ComAtprotoServerRequestEmailUpdate: string;
6951
7190
  ComAtprotoServerRequestPasswordReset: string;
7191
+ ComAtprotoServerReserveSigningKey: string;
6952
7192
  ComAtprotoServerResetPassword: string;
6953
7193
  ComAtprotoServerRevokeAppPassword: string;
6954
7194
  ComAtprotoServerUpdateEmail: string;
@@ -47,6 +47,7 @@ export interface ViewerState {
47
47
  mutedByList?: AppBskyGraphDefs.ListViewBasic;
48
48
  blockedBy?: boolean;
49
49
  blocking?: string;
50
+ blockingByList?: AppBskyGraphDefs.ListViewBasic;
50
51
  following?: string;
51
52
  followedBy?: string;
52
53
  [k: string]: unknown;