@atproto/api 0.6.19 → 0.6.21

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/README.md +4 -0
  3. package/definitions/moderation-behaviors.d.ts +1 -0
  4. package/definitions/profile-moderation-behaviors.json +25 -0
  5. package/dist/agent.d.ts +2 -0
  6. package/dist/bsky-agent.d.ts +7 -0
  7. package/dist/client/index.d.ts +15 -0
  8. package/dist/client/lexicons.d.ts +142 -0
  9. package/dist/client/types/app/bsky/actor/defs.d.ts +1 -0
  10. package/dist/client/types/com/atproto/server/confirmEmail.d.ts +30 -0
  11. package/dist/client/types/com/atproto/server/createAccount.d.ts +2 -0
  12. package/dist/client/types/com/atproto/server/createSession.d.ts +2 -0
  13. package/dist/client/types/com/atproto/server/getSession.d.ts +1 -0
  14. package/dist/client/types/com/atproto/server/refreshSession.d.ts +1 -0
  15. package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts +13 -0
  16. package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts +18 -0
  17. package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts +18 -0
  18. package/dist/client/types/com/atproto/server/updateEmail.d.ts +27 -0
  19. package/dist/client/types/com/atproto/sync/listRepos.d.ts +1 -0
  20. package/dist/index.js +754 -321
  21. package/dist/index.js.map +3 -3
  22. package/dist/moderation/accumulator.d.ts +1 -0
  23. package/dist/types.d.ts +1 -0
  24. package/docs/moderation-behaviors/profiles.md +17 -0
  25. package/package.json +8 -7
  26. package/src/agent.ts +32 -1
  27. package/src/bsky-agent.ts +43 -0
  28. package/src/client/index.ts +65 -0
  29. package/src/client/lexicons.ts +166 -1
  30. package/src/client/types/app/bsky/actor/defs.ts +1 -0
  31. package/src/client/types/com/atproto/server/confirmEmail.ts +61 -0
  32. package/src/client/types/com/atproto/server/createAccount.ts +2 -0
  33. package/src/client/types/com/atproto/server/createSession.ts +2 -0
  34. package/src/client/types/com/atproto/server/getSession.ts +1 -0
  35. package/src/client/types/com/atproto/server/refreshSession.ts +1 -0
  36. package/src/client/types/com/atproto/server/requestEmailConfirmation.ts +28 -0
  37. package/src/client/types/com/atproto/server/requestEmailUpdate.ts +34 -0
  38. package/src/client/types/com/atproto/server/reserveSigningKey.ts +35 -0
  39. package/src/client/types/com/atproto/server/updateEmail.ts +55 -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/src/types.ts +1 -0
  44. package/tests/agent.test.ts +27 -21
  45. package/tests/bsky-agent.test.ts +19 -25
  46. package/tests/errors.test.ts +5 -11
  47. package/tests/rich-text-detection.test.ts +3 -3
  48. package/tests/util/index.ts +3 -0
  49. package/tests/util/moderation-behavior.ts +10 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @atproto/api
2
2
 
3
+ ## 0.6.21
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ - [`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.
10
+
11
+ - Updated dependencies [[`35d108ce`](https://github.com/bluesky-social/atproto/commit/35d108ce94866ce1b3d147cd0620a0ba1c4ebcd7)]:
12
+ - @atproto/common-web@0.2.2
13
+ - @atproto/lexicon@0.2.3
14
+ - @atproto/syntax@0.1.3
15
+ - @atproto/xrpc@0.3.3
16
+
17
+ ## 0.6.20
18
+
19
+ ### Patch Changes
20
+
21
+ - [#1568](https://github.com/bluesky-social/atproto/pull/1568) [`41ee177f`](https://github.com/bluesky-social/atproto/commit/41ee177f5a440490280d17acd8a89bcddaffb23b) Thanks [@dholms](https://github.com/dholms)! - Added email verification and update flows
22
+
23
+ - Updated dependencies [[`41ee177f`](https://github.com/bluesky-social/atproto/commit/41ee177f5a440490280d17acd8a89bcddaffb23b)]:
24
+ - @atproto/common-web@0.2.1
25
+ - @atproto/lexicon@0.2.2
26
+ - @atproto/syntax@0.1.2
27
+ - @atproto/xrpc@0.3.2
28
+
3
29
  ## 0.6.19
4
30
 
5
31
  ### Patch Changes
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)
@@ -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<{
@@ -28,6 +28,7 @@ import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
28
28
  import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
29
29
  import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
30
30
  import * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
31
+ import * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail';
31
32
  import * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
32
33
  import * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword';
33
34
  import * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
@@ -41,9 +42,13 @@ import * as ComAtprotoServerGetSession from './types/com/atproto/server/getSessi
41
42
  import * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords';
42
43
  import * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession';
43
44
  import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete';
45
+ import * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation';
46
+ import * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate';
44
47
  import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
48
+ import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey';
45
49
  import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
46
50
  import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword';
51
+ import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail';
47
52
  import * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob';
48
53
  import * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
49
54
  import * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
@@ -145,6 +150,7 @@ export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords
145
150
  export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
146
151
  export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
147
152
  export * as ComAtprotoRepoUploadBlob from './types/com/atproto/repo/uploadBlob';
153
+ export * as ComAtprotoServerConfirmEmail from './types/com/atproto/server/confirmEmail';
148
154
  export * as ComAtprotoServerCreateAccount from './types/com/atproto/server/createAccount';
149
155
  export * as ComAtprotoServerCreateAppPassword from './types/com/atproto/server/createAppPassword';
150
156
  export * as ComAtprotoServerCreateInviteCode from './types/com/atproto/server/createInviteCode';
@@ -159,9 +165,13 @@ export * as ComAtprotoServerGetSession from './types/com/atproto/server/getSessi
159
165
  export * as ComAtprotoServerListAppPasswords from './types/com/atproto/server/listAppPasswords';
160
166
  export * as ComAtprotoServerRefreshSession from './types/com/atproto/server/refreshSession';
161
167
  export * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/server/requestAccountDelete';
168
+ export * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation';
169
+ export * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate';
162
170
  export * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
171
+ export * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey';
163
172
  export * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
164
173
  export * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword';
174
+ export * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail';
165
175
  export * as ComAtprotoSyncGetBlob from './types/com/atproto/sync/getBlob';
166
176
  export * as ComAtprotoSyncGetBlocks from './types/com/atproto/sync/getBlocks';
167
177
  export * as ComAtprotoSyncGetCheckout from './types/com/atproto/sync/getCheckout';
@@ -338,6 +348,7 @@ export declare class RepoNS {
338
348
  export declare class ServerNS {
339
349
  _service: AtpServiceClient;
340
350
  constructor(service: AtpServiceClient);
351
+ confirmEmail(data?: ComAtprotoServerConfirmEmail.InputSchema, opts?: ComAtprotoServerConfirmEmail.CallOptions): Promise<ComAtprotoServerConfirmEmail.Response>;
341
352
  createAccount(data?: ComAtprotoServerCreateAccount.InputSchema, opts?: ComAtprotoServerCreateAccount.CallOptions): Promise<ComAtprotoServerCreateAccount.Response>;
342
353
  createAppPassword(data?: ComAtprotoServerCreateAppPassword.InputSchema, opts?: ComAtprotoServerCreateAppPassword.CallOptions): Promise<ComAtprotoServerCreateAppPassword.Response>;
343
354
  createInviteCode(data?: ComAtprotoServerCreateInviteCode.InputSchema, opts?: ComAtprotoServerCreateInviteCode.CallOptions): Promise<ComAtprotoServerCreateInviteCode.Response>;
@@ -351,9 +362,13 @@ export declare class ServerNS {
351
362
  listAppPasswords(params?: ComAtprotoServerListAppPasswords.QueryParams, opts?: ComAtprotoServerListAppPasswords.CallOptions): Promise<ComAtprotoServerListAppPasswords.Response>;
352
363
  refreshSession(data?: ComAtprotoServerRefreshSession.InputSchema, opts?: ComAtprotoServerRefreshSession.CallOptions): Promise<ComAtprotoServerRefreshSession.Response>;
353
364
  requestAccountDelete(data?: ComAtprotoServerRequestAccountDelete.InputSchema, opts?: ComAtprotoServerRequestAccountDelete.CallOptions): Promise<ComAtprotoServerRequestAccountDelete.Response>;
365
+ requestEmailConfirmation(data?: ComAtprotoServerRequestEmailConfirmation.InputSchema, opts?: ComAtprotoServerRequestEmailConfirmation.CallOptions): Promise<ComAtprotoServerRequestEmailConfirmation.Response>;
366
+ requestEmailUpdate(data?: ComAtprotoServerRequestEmailUpdate.InputSchema, opts?: ComAtprotoServerRequestEmailUpdate.CallOptions): Promise<ComAtprotoServerRequestEmailUpdate.Response>;
354
367
  requestPasswordReset(data?: ComAtprotoServerRequestPasswordReset.InputSchema, opts?: ComAtprotoServerRequestPasswordReset.CallOptions): Promise<ComAtprotoServerRequestPasswordReset.Response>;
368
+ reserveSigningKey(data?: ComAtprotoServerReserveSigningKey.InputSchema, opts?: ComAtprotoServerReserveSigningKey.CallOptions): Promise<ComAtprotoServerReserveSigningKey.Response>;
355
369
  resetPassword(data?: ComAtprotoServerResetPassword.InputSchema, opts?: ComAtprotoServerResetPassword.CallOptions): Promise<ComAtprotoServerResetPassword.Response>;
356
370
  revokeAppPassword(data?: ComAtprotoServerRevokeAppPassword.InputSchema, opts?: ComAtprotoServerRevokeAppPassword.CallOptions): Promise<ComAtprotoServerRevokeAppPassword.Response>;
371
+ updateEmail(data?: ComAtprotoServerUpdateEmail.InputSchema, opts?: ComAtprotoServerUpdateEmail.CallOptions): Promise<ComAtprotoServerUpdateEmail.Response>;
357
372
  }
358
373
  export declare class SyncNS {
359
374
  _service: AtpServiceClient;
@@ -2060,6 +2060,34 @@ export declare const schemaDict: {
2060
2060
  };
2061
2061
  };
2062
2062
  };
2063
+ ComAtprotoServerConfirmEmail: {
2064
+ lexicon: number;
2065
+ id: string;
2066
+ defs: {
2067
+ main: {
2068
+ type: string;
2069
+ description: string;
2070
+ input: {
2071
+ encoding: string;
2072
+ schema: {
2073
+ type: string;
2074
+ required: string[];
2075
+ properties: {
2076
+ email: {
2077
+ type: string;
2078
+ };
2079
+ token: {
2080
+ type: string;
2081
+ };
2082
+ };
2083
+ };
2084
+ };
2085
+ errors: {
2086
+ name: string;
2087
+ }[];
2088
+ };
2089
+ };
2090
+ };
2063
2091
  ComAtprotoServerCreateAccount: {
2064
2092
  lexicon: number;
2065
2093
  id: string;
@@ -2093,6 +2121,9 @@ export declare const schemaDict: {
2093
2121
  recoveryKey: {
2094
2122
  type: string;
2095
2123
  };
2124
+ plcOp: {
2125
+ type: string;
2126
+ };
2096
2127
  };
2097
2128
  };
2098
2129
  };
@@ -2116,6 +2147,9 @@ export declare const schemaDict: {
2116
2147
  type: string;
2117
2148
  format: string;
2118
2149
  };
2150
+ didDoc: {
2151
+ type: string;
2152
+ };
2119
2153
  };
2120
2154
  };
2121
2155
  };
@@ -2318,9 +2352,15 @@ export declare const schemaDict: {
2318
2352
  type: string;
2319
2353
  format: string;
2320
2354
  };
2355
+ didDoc: {
2356
+ type: string;
2357
+ };
2321
2358
  email: {
2322
2359
  type: string;
2323
2360
  };
2361
+ emailConfirmed: {
2362
+ type: string;
2363
+ };
2324
2364
  };
2325
2365
  };
2326
2366
  };
@@ -2533,6 +2573,9 @@ export declare const schemaDict: {
2533
2573
  email: {
2534
2574
  type: string;
2535
2575
  };
2576
+ emailConfirmed: {
2577
+ type: string;
2578
+ };
2536
2579
  };
2537
2580
  };
2538
2581
  };
@@ -2608,6 +2651,9 @@ export declare const schemaDict: {
2608
2651
  type: string;
2609
2652
  format: string;
2610
2653
  };
2654
+ didDoc: {
2655
+ type: string;
2656
+ };
2611
2657
  };
2612
2658
  };
2613
2659
  };
@@ -2627,6 +2673,38 @@ export declare const schemaDict: {
2627
2673
  };
2628
2674
  };
2629
2675
  };
2676
+ ComAtprotoServerRequestEmailConfirmation: {
2677
+ lexicon: number;
2678
+ id: string;
2679
+ defs: {
2680
+ main: {
2681
+ type: string;
2682
+ description: string;
2683
+ };
2684
+ };
2685
+ };
2686
+ ComAtprotoServerRequestEmailUpdate: {
2687
+ lexicon: number;
2688
+ id: string;
2689
+ defs: {
2690
+ main: {
2691
+ type: string;
2692
+ description: string;
2693
+ output: {
2694
+ encoding: string;
2695
+ schema: {
2696
+ type: string;
2697
+ required: string[];
2698
+ properties: {
2699
+ tokenRequired: {
2700
+ type: string;
2701
+ };
2702
+ };
2703
+ };
2704
+ };
2705
+ };
2706
+ };
2707
+ };
2630
2708
  ComAtprotoServerRequestPasswordReset: {
2631
2709
  lexicon: number;
2632
2710
  id: string;
@@ -2649,6 +2727,29 @@ export declare const schemaDict: {
2649
2727
  };
2650
2728
  };
2651
2729
  };
2730
+ ComAtprotoServerReserveSigningKey: {
2731
+ lexicon: number;
2732
+ id: string;
2733
+ defs: {
2734
+ main: {
2735
+ type: string;
2736
+ description: string;
2737
+ output: {
2738
+ encoding: string;
2739
+ schema: {
2740
+ type: string;
2741
+ required: string[];
2742
+ properties: {
2743
+ signingKey: {
2744
+ type: string;
2745
+ description: string;
2746
+ };
2747
+ };
2748
+ };
2749
+ };
2750
+ };
2751
+ };
2752
+ };
2652
2753
  ComAtprotoServerResetPassword: {
2653
2754
  lexicon: number;
2654
2755
  id: string;
@@ -2699,6 +2800,35 @@ export declare const schemaDict: {
2699
2800
  };
2700
2801
  };
2701
2802
  };
2803
+ ComAtprotoServerUpdateEmail: {
2804
+ lexicon: number;
2805
+ id: string;
2806
+ defs: {
2807
+ main: {
2808
+ type: string;
2809
+ description: string;
2810
+ input: {
2811
+ encoding: string;
2812
+ schema: {
2813
+ type: string;
2814
+ required: string[];
2815
+ properties: {
2816
+ email: {
2817
+ type: string;
2818
+ };
2819
+ token: {
2820
+ type: string;
2821
+ description: string;
2822
+ };
2823
+ };
2824
+ };
2825
+ };
2826
+ errors: {
2827
+ name: string;
2828
+ }[];
2829
+ };
2830
+ };
2831
+ };
2702
2832
  ComAtprotoSyncGetBlob: {
2703
2833
  lexicon: number;
2704
2834
  id: string;
@@ -3030,6 +3160,9 @@ export declare const schemaDict: {
3030
3160
  type: string;
3031
3161
  format: string;
3032
3162
  };
3163
+ rev: {
3164
+ type: string;
3165
+ };
3033
3166
  };
3034
3167
  };
3035
3168
  };
@@ -3406,6 +3539,10 @@ export declare const schemaDict: {
3406
3539
  type: string;
3407
3540
  format: string;
3408
3541
  };
3542
+ blockingByList: {
3543
+ type: string;
3544
+ ref: string;
3545
+ };
3409
3546
  following: {
3410
3547
  type: string;
3411
3548
  format: string;
@@ -6836,6 +6973,7 @@ export declare const ids: {
6836
6973
  ComAtprotoRepoPutRecord: string;
6837
6974
  ComAtprotoRepoStrongRef: string;
6838
6975
  ComAtprotoRepoUploadBlob: string;
6976
+ ComAtprotoServerConfirmEmail: string;
6839
6977
  ComAtprotoServerCreateAccount: string;
6840
6978
  ComAtprotoServerCreateAppPassword: string;
6841
6979
  ComAtprotoServerCreateInviteCode: string;
@@ -6850,9 +6988,13 @@ export declare const ids: {
6850
6988
  ComAtprotoServerListAppPasswords: string;
6851
6989
  ComAtprotoServerRefreshSession: string;
6852
6990
  ComAtprotoServerRequestAccountDelete: string;
6991
+ ComAtprotoServerRequestEmailConfirmation: string;
6992
+ ComAtprotoServerRequestEmailUpdate: string;
6853
6993
  ComAtprotoServerRequestPasswordReset: string;
6994
+ ComAtprotoServerReserveSigningKey: string;
6854
6995
  ComAtprotoServerResetPassword: string;
6855
6996
  ComAtprotoServerRevokeAppPassword: string;
6997
+ ComAtprotoServerUpdateEmail: string;
6856
6998
  ComAtprotoSyncGetBlob: string;
6857
6999
  ComAtprotoSyncGetBlocks: string;
6858
7000
  ComAtprotoSyncGetCheckout: 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;
@@ -0,0 +1,30 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export interface InputSchema {
5
+ email: string;
6
+ token: string;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ encoding: 'application/json';
13
+ }
14
+ export interface Response {
15
+ success: boolean;
16
+ headers: Headers;
17
+ }
18
+ export declare class AccountNotFoundError extends XRPCError {
19
+ constructor(src: XRPCError);
20
+ }
21
+ export declare class ExpiredTokenError extends XRPCError {
22
+ constructor(src: XRPCError);
23
+ }
24
+ export declare class InvalidTokenError extends XRPCError {
25
+ constructor(src: XRPCError);
26
+ }
27
+ export declare class InvalidEmailError extends XRPCError {
28
+ constructor(src: XRPCError);
29
+ }
30
+ export declare function toKnownErr(e: any): any;
@@ -8,6 +8,7 @@ export interface InputSchema {
8
8
  inviteCode?: string;
9
9
  password: string;
10
10
  recoveryKey?: string;
11
+ plcOp?: Uint8Array;
11
12
  [k: string]: unknown;
12
13
  }
13
14
  export interface OutputSchema {
@@ -15,6 +16,7 @@ export interface OutputSchema {
15
16
  refreshJwt: string;
16
17
  handle: string;
17
18
  did: string;
19
+ didDoc?: {};
18
20
  [k: string]: unknown;
19
21
  }
20
22
  export interface CallOptions {
@@ -11,7 +11,9 @@ export interface OutputSchema {
11
11
  refreshJwt: string;
12
12
  handle: string;
13
13
  did: string;
14
+ didDoc?: {};
14
15
  email?: string;
16
+ emailConfirmed?: boolean;
15
17
  [k: string]: unknown;
16
18
  }
17
19
  export interface CallOptions {
@@ -6,6 +6,7 @@ export interface OutputSchema {
6
6
  handle: string;
7
7
  did: string;
8
8
  email?: string;
9
+ emailConfirmed?: boolean;
9
10
  [k: string]: unknown;
10
11
  }
11
12
  export interface CallOptions {
@@ -7,6 +7,7 @@ export interface OutputSchema {
7
7
  refreshJwt: string;
8
8
  handle: string;
9
9
  did: string;
10
+ didDoc?: {};
10
11
  [k: string]: unknown;
11
12
  }
12
13
  export interface CallOptions {
@@ -0,0 +1,13 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = undefined;
5
+ export interface CallOptions {
6
+ headers?: Headers;
7
+ qp?: QueryParams;
8
+ }
9
+ export interface Response {
10
+ success: boolean;
11
+ headers: Headers;
12
+ }
13
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = undefined;
5
+ export interface OutputSchema {
6
+ tokenRequired: boolean;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ data: OutputSchema;
17
+ }
18
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,18 @@
1
+ import { Headers } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export declare type InputSchema = undefined;
5
+ export interface OutputSchema {
6
+ signingKey: string;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ }
13
+ export interface Response {
14
+ success: boolean;
15
+ headers: Headers;
16
+ data: OutputSchema;
17
+ }
18
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,27 @@
1
+ import { Headers, XRPCError } from '@atproto/xrpc';
2
+ export interface QueryParams {
3
+ }
4
+ export interface InputSchema {
5
+ email: string;
6
+ token?: string;
7
+ [k: string]: unknown;
8
+ }
9
+ export interface CallOptions {
10
+ headers?: Headers;
11
+ qp?: QueryParams;
12
+ encoding: 'application/json';
13
+ }
14
+ export interface Response {
15
+ success: boolean;
16
+ headers: Headers;
17
+ }
18
+ export declare class ExpiredTokenError extends XRPCError {
19
+ constructor(src: XRPCError);
20
+ }
21
+ export declare class InvalidTokenError extends XRPCError {
22
+ constructor(src: XRPCError);
23
+ }
24
+ export declare class TokenRequiredError extends XRPCError {
25
+ constructor(src: XRPCError);
26
+ }
27
+ export declare function toKnownErr(e: any): any;
@@ -22,6 +22,7 @@ export declare function toKnownErr(e: any): any;
22
22
  export interface Repo {
23
23
  did: string;
24
24
  head: string;
25
+ rev: string;
25
26
  [k: string]: unknown;
26
27
  }
27
28
  export declare function isRepo(v: unknown): v is Repo;